| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/videoorientation.h`/ |
| 2 | #ifndef _GSTREAMERMM_VIDEOORIENTATION_H |
| 3 | #define _GSTREAMERMM_VIDEOORIENTATION_Hcxx . . $ `gstreamer/gstreamermm/videoorientation.h:3:9`! |
| 4 | |
| 5 | |
| 6 | #include <glibmm/ustring.h> |
| 7 | #include <sigc++/sigc++.h> |
| 8 | |
| 9 | /* gstreamermm - a C++ wrapper for gstreamer |
| 10 | * |
| 11 | * Copyright 2008 The gstreamermm Development Team |
| 12 | * |
| 13 | * This library is free software; you can redistribute it and/or |
| 14 | * modify it under the terms of the GNU Lesser General Public |
| 15 | * License as published by the Free Software Foundation; either |
| 16 | * version 2.1 of the License, or (at your option) any later version. |
| 17 | * |
| 18 | * This library is distributed in the hope that it will be useful, |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 21 | * Lesser General Public License for more details. |
| 22 | * |
| 23 | * You should have received a copy of the GNU Lesser General Public |
| 24 | * License along with this library; if not, write to the Free |
| 25 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 26 | */ |
| 27 | |
| 28 | #include <gst/video/videoorientation.h> |
| 29 | #include <glibmm/interface.h> |
| 30 | |
| 31 | |
| 32 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 33 | using GstVideoOrientationcxx . . $ GstVideoOrientation# = struct _GstVideoOrientationcxx . . $ _GstVideoOrientation#; |
| 34 | using GstVideoOrientationClasscxx . . $ GstVideoOrientationClass# = struct _GstVideoOrientationClasscxx . . $ _GstVideoOrientationClass#; |
| 35 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 36 | |
| 37 | |
| 38 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 39 | namespace Gstcxx . . $ Gst/ |
| 40 | { class VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#; } // namespace Gst |
| 41 | #endif // DOXYGEN_SHOULD_SKIP_THIS |
| 42 | |
| 43 | namespace Gstcxx . . $ Gst/ |
| 44 | { |
| 45 | |
| 46 | /** An interface for elements providing video orientation controls. |
| 47 | * The interface allows unified access to control flipping and autocenter |
| 48 | * operation of video-sources or operators. |
| 49 | * @ingroup GstInterfaces |
| 50 | */ |
| 51 | |
| 52 | class VideoOrientationcxx . . $ Gst/VideoOrientation# : public Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface# |
| 53 | { |
| 54 | |
| 55 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 56 | |
| 57 | public: |
| 58 | using CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType# = VideoOrientationcxx . . $ Gst/VideoOrientation#; |
| 59 | using CppClassTypecxx . . $ Gst/VideoOrientation#CppClassType# = VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#; |
| 60 | using BaseObjectTypecxx . . $ Gst/VideoOrientation#BaseObjectType# = GstVideoOrientationcxx . . $ GstVideoOrientation#; |
| 61 | using BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType# = GstVideoOrientationInterface; |
| 62 | |
| 63 | // noncopyable |
| 64 | VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(ea828b42638aadf9).(const VideoOrientationcxx . . $ Gst/VideoOrientation#&) = delete; |
| 65 | VideoOrientationcxx . . $ Gst/VideoOrientation#& operatorcxx . . $ Gst/VideoOrientation#`operator=`(ba3bf7fe39cd2719).=(const VideoOrientationcxx . . $ Gst/VideoOrientation#&) = delete; |
| 66 | |
| 67 | private: |
| 68 | friend class VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#; |
| 69 | static CppClassTypecxx . . $ Gst/VideoOrientation#CppClassType# videoorientation_class_cxx . . $ Gst/VideoOrientation#videoorientation_class_.; |
| 70 | |
| 71 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 72 | protected: |
| 73 | /** |
| 74 | * You should derive from this class to use it. |
| 75 | */ |
| 76 | VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(49f6e7a06ebc5aa8).(); |
| 77 | |
| 78 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 79 | /** Called by constructors of derived classes. Provide the result of |
| 80 | * the Class init() function to ensure that it is properly |
| 81 | * initialized. |
| 82 | * |
| 83 | * @param interface_class The Class object for the derived type. |
| 84 | */ |
| 85 | explicit VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(2ae54c1e3e0dc4a8).(const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& interface_class); |
| 86 | |
| 87 | public: |
| 88 | // This is public so that C++ wrapper instances can be |
| 89 | // created for C instances of unwrapped types. |
| 90 | // For instance, if an unexpected C type implements the C interface. |
| 91 | explicit VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(54d8cc0129384c07).(GstVideoOrientationcxx . . $ GstVideoOrientation#* castitem); |
| 92 | |
| 93 | protected: |
| 94 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 95 | |
| 96 | public: |
| 97 | |
| 98 | VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(a6488eef80e1559f).(VideoOrientationcxx . . $ Gst/VideoOrientation#&& src) noexcept; |
| 99 | VideoOrientationcxx . . $ Gst/VideoOrientation#& operatorcxx . . $ Gst/VideoOrientation#`operator=`(2d2d761029367caa).=(VideoOrientationcxx . . $ Gst/VideoOrientation#&& src) noexcept; |
| 100 | |
| 101 | ~cxx . . $ Gst/VideoOrientation#`~VideoOrientation`(ced63f7c635d850d).VideoOrientationcxx . . $ Gst/VideoOrientation#() noexcept override; |
| 102 | |
| 103 | static void add_interfacecxx . . $ Gst/VideoOrientation#add_interface(2c44cd906ae4e829).(GType gtype_implementer); |
| 104 | |
| 105 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 106 | */ |
| 107 | static GType get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `gstreamer/gstreamermm/wrap_init.cc:9:9`!; |
| 108 | |
| 109 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 110 | static GType get_base_typecxx . . $ Gst/VideoOrientation#get_base_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `gstreamer/gstreamermm/wrap_init.cc:9:9`!; |
| 111 | #endif |
| 112 | |
| 113 | ///Provides access to the underlying C GObject. |
| 114 | GstVideoOrientationcxx . . $ GstVideoOrientation#* gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).() { return reinterpret_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); } |
| 115 | |
| 116 | ///Provides access to the underlying C GObject. |
| 117 | const GstVideoOrientationcxx . . $ GstVideoOrientation#* gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).() const { return reinterpret_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); } |
| 118 | |
| 119 | private: |
| 120 | |
| 121 | |
| 122 | public: |
| 123 | |
| 124 | /** Get the horizontal centering offset from the given object. |
| 125 | * |
| 126 | * @param center Return location for the result. |
| 127 | * @return <tt>true</tt> in case the element supports centering. |
| 128 | */ |
| 129 | bool get_hcentercxx . . $ Gst/VideoOrientation#get_hcenter(792b76c179d3cac8).(int& center) const; |
| 130 | |
| 131 | /** Get the horizontal flipping state (<tt>true</tt> for flipped) from the given object. |
| 132 | * |
| 133 | * @param flip Return location for the result. |
| 134 | * @return <tt>true</tt> in case the element supports flipping. |
| 135 | */ |
| 136 | |
| 137 | bool get_hflipcxx . . $ Gst/VideoOrientation#get_hflip(dadd4ad61e27fbc).(bool& flip) const; |
| 138 | |
| 139 | /** Get the vertical centering offset from the given object. |
| 140 | * |
| 141 | * @param center Return location for the result. |
| 142 | * @return <tt>true</tt> in case the element supports centering. |
| 143 | */ |
| 144 | bool get_vcentercxx . . $ Gst/VideoOrientation#get_vcenter(792b76c179d3cac8).(int& center) const; |
| 145 | |
| 146 | /** Get the vertical flipping state (<tt>true</tt> for flipped) from the given object. |
| 147 | * |
| 148 | * @param flip Return location for the result. |
| 149 | * @return <tt>true</tt> in case the element supports flipping. |
| 150 | */ |
| 151 | |
| 152 | bool get_vflipcxx . . $ Gst/VideoOrientation#get_vflip(dadd4ad61e27fbc).(bool& flip) const; |
| 153 | |
| 154 | /** Set the horizontal centering offset for the given object. |
| 155 | * |
| 156 | * @param center Centering offset. |
| 157 | * @return <tt>true</tt> in case the element supports centering. |
| 158 | */ |
| 159 | bool set_hcentercxx . . $ Gst/VideoOrientation#set_hcenter(83c267b20bac841a).(int center); |
| 160 | |
| 161 | /** Set the horizontal flipping state (<tt>true</tt> for flipped) for the given object. |
| 162 | * |
| 163 | * @param flip Use flipping. |
| 164 | * @return <tt>true</tt> in case the element supports flipping. |
| 165 | */ |
| 166 | bool set_hflipcxx . . $ Gst/VideoOrientation#set_hflip(efaadfb7dc14930a).(bool flip); |
| 167 | |
| 168 | /** Set the vertical centering offset for the given object. |
| 169 | * |
| 170 | * @param center Centering offset. |
| 171 | * @return <tt>true</tt> in case the element supports centering. |
| 172 | */ |
| 173 | bool set_vcentercxx . . $ Gst/VideoOrientation#set_vcenter(83c267b20bac841a).(int center); |
| 174 | |
| 175 | /** Set the vertical flipping state (<tt>true</tt> for flipped) for the given object. |
| 176 | * |
| 177 | * @param flip Use flipping. |
| 178 | * @return <tt>true</tt> in case the element supports flipping. |
| 179 | */ |
| 180 | bool set_vflipcxx . . $ Gst/VideoOrientation#set_vflip(efaadfb7dc14930a).(bool flip); |
| 181 | |
| 182 | virtual bool get_hflip_vfunccxx . . $ Gst/VideoOrientation#get_hflip_vfunc(dadd4ad61e27fbc).(bool& flip) const; |
| 183 | virtual bool get_vflip_vfunccxx . . $ Gst/VideoOrientation#get_vflip_vfunc(dadd4ad61e27fbc).(bool& flip) const; |
| 184 | |
| 185 | virtual bool get_hcenter_vfunccxx . . $ Gst/VideoOrientation#get_hcenter_vfunc(792b76c179d3cac8).(int& center) const; |
| 186 | |
| 187 | virtual bool get_vcenter_vfunccxx . . $ Gst/VideoOrientation#get_vcenter_vfunc(792b76c179d3cac8).(int& center) const; |
| 188 | |
| 189 | virtual bool set_hflip_vfunccxx . . $ Gst/VideoOrientation#set_hflip_vfunc(efaadfb7dc14930a).(bool flip); |
| 190 | |
| 191 | virtual bool set_vflip_vfunccxx . . $ Gst/VideoOrientation#set_vflip_vfunc(efaadfb7dc14930a).(bool flip); |
| 192 | |
| 193 | virtual bool set_hcenter_vfunccxx . . $ Gst/VideoOrientation#set_hcenter_vfunc(83c267b20bac841a).(int center); |
| 194 | |
| 195 | virtual bool set_vcenter_vfunccxx . . $ Gst/VideoOrientation#set_vcenter_vfunc(83c267b20bac841a).(int center); |
| 196 | |
| 197 | |
| 198 | protected: |
| 199 | |
| 200 | |
| 201 | public: |
| 202 | |
| 203 | public: |
| 204 | //C++ methods used to invoke GTK+ virtual functions: |
| 205 | |
| 206 | protected: |
| 207 | //GTK+ Virtual Functions (override these to change behaviour): |
| 208 | |
| 209 | //Default Signal Handlers:: |
| 210 | |
| 211 | |
| 212 | }; |
| 213 | |
| 214 | } // namespace Gst |
| 215 | |
| 216 | |
| 217 | namespace Glibcxx . . $ Glib/ |
| 218 | { |
| 219 | /** A Glib::wrap() method for this object. |
| 220 | * |
| 221 | * @param object The C instance. |
| 222 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 223 | * @result A C++ instance that wraps this C instance. |
| 224 | * |
| 225 | * @relates Gst::VideoOrientation |
| 226 | */ |
| 227 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#> wrapcxx . . $ Glib/wrap(265868fa5acc894c).(GstVideoOrientationcxx . . $ GstVideoOrientation#* object, bool take_copy = false); |
| 228 | |
| 229 | } // namespace Glib |
| 230 | |
| 231 | |
| 232 | #endif /* _GSTREAMERMM_VIDEOORIENTATION_H */ |
| 233 |