| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/videoorientation.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/videoorientation.h>cxx . . $ `<file>/gstreamer/gstreamermm/videoorientation.h`/ |
| 7 | #include <gstreamermm/private/videoorientation_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/videoorientation_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008 The gstreamermm Development Team |
| 13 | * |
| 14 | * This library is free software; you can redistribute it and/or |
| 15 | * modify it under the terms of the GNU Lesser General Public |
| 16 | * License as published by the Free Software Foundation; either |
| 17 | * version 2.1 of the License, or (at your option) any later version. |
| 18 | * |
| 19 | * This library is distributed in the hope that it will be useful, |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 22 | * Lesser General Public License for more details. |
| 23 | * |
| 24 | * You should have received a copy of the GNU Lesser General Public |
| 25 | * License along with this library; if not, write to the Free |
| 26 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 27 | */ |
| 28 | |
| 29 | namespace Gstcxx . . $ Gst/ |
| 30 | { |
| 31 | |
| 32 | bool VideoOrientationcxx . . $ Gst/VideoOrientation#::get_hflipcxx . . $ Gst/VideoOrientation#get_hflip(dadd4ad61e27fbc).(bool& flip) const |
| 33 | { |
| 34 | gboolean gst_flip = 0; |
| 35 | |
| 36 | const bool result = |
| 37 | gst_video_orientation_get_hflip(const_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).()), |
| 38 | &gst_flip); |
| 39 | flip = gst_flip; |
| 40 | return result; |
| 41 | } |
| 42 | |
| 43 | bool VideoOrientationcxx . . $ Gst/VideoOrientation#::get_vflipcxx . . $ Gst/VideoOrientation#get_vflip(dadd4ad61e27fbc).(bool& flip) const |
| 44 | { |
| 45 | gboolean gst_flip = 0; |
| 46 | const bool result = |
| 47 | gst_video_orientation_get_vflip(const_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).()), |
| 48 | &gst_flip); |
| 49 | flip = gst_flip; |
| 50 | return result; |
| 51 | } |
| 52 | |
| 53 | gboolean VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::get_hflip_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#get_hflip_vfunc_callback(1b9a70ea6d94075a).(GstVideoOrientationcxx . . $ GstVideoOrientation#* self, gboolean* flip) |
| 54 | { |
| 55 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 56 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 57 | |
| 58 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 59 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 60 | // generated classes can use this optimisation, which avoids the unnecessary |
| 61 | // parameter conversions if there is no possibility of the virtual function |
| 62 | // being overridden: |
| 63 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 64 | { |
| 65 | CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#* const>(obj_base); |
| 66 | if(obj) // This can be NULL during destruction. |
| 67 | { |
| 68 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 69 | { |
| 70 | // Call the virtual member method, which derived classes might override. |
| 71 | bool cpp_flip = false; |
| 72 | const gboolean result = |
| 73 | static_cast<int>(obj->get_hflip_vfunccxx . . $ Gst/VideoOrientation#get_hflip_vfunc(dadd4ad61e27fbc).(cpp_flip)); |
| 74 | *flip = cpp_flip; |
| 75 | return result; |
| 76 | } |
| 77 | catch(...) |
| 78 | { |
| 79 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>( |
| 85 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 86 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 87 | ) ); |
| 88 | |
| 89 | // Call the original underlying C function: |
| 90 | if(base && base->get_hflipcxx . . $ _GstVideoOrientationInterface#get_hflip.) |
| 91 | return (*base->get_hflipcxx . . $ _GstVideoOrientationInterface#get_hflip.)(self, flip); |
| 92 | |
| 93 | |
| 94 | typedef gboolean RTypecxx . . $ Gst/VideoOrientation_Class#get_hflip_vfunc_callback(1b9a70ea6d94075a).RType#; |
| 95 | return RTypecxx . . $ Gst/VideoOrientation_Class#get_hflip_vfunc_callback(1b9a70ea6d94075a).RType#(); |
| 96 | } |
| 97 | bool Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#::get_hflip_vfunccxx . . $ Gst/VideoOrientation#get_hflip_vfunc(dadd4ad61e27fbc).(bool& flip) const |
| 98 | { |
| 99 | BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType#*>( |
| 100 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 101 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 102 | ) ); |
| 103 | |
| 104 | if(base && base->get_hflipcxx . . $ _GstVideoOrientationInterface#get_hflip.) |
| 105 | { |
| 106 | gboolean gst_flip = 0; |
| 107 | |
| 108 | const bool result = |
| 109 | (*base->get_hflipcxx . . $ _GstVideoOrientationInterface#get_hflip.)(const_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).()),&gst_flip); |
| 110 | flip = gst_flip; |
| 111 | return result; |
| 112 | } |
| 113 | |
| 114 | typedef bool RTypecxx . . $ Gst/VideoOrientation#get_hflip_vfunc(dadd4ad61e27fbc).RType#; |
| 115 | return RTypecxx . . $ Gst/VideoOrientation#get_hflip_vfunc(dadd4ad61e27fbc).RType#(); |
| 116 | } |
| 117 | gboolean VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::get_vflip_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#get_vflip_vfunc_callback(1b9a70ea6d94075a).(GstVideoOrientationcxx . . $ GstVideoOrientation#* self, gboolean* flip) |
| 118 | { |
| 119 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 120 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 121 | |
| 122 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 123 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 124 | // generated classes can use this optimisation, which avoids the unnecessary |
| 125 | // parameter conversions if there is no possibility of the virtual function |
| 126 | // being overridden: |
| 127 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 128 | { |
| 129 | CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#* const>(obj_base); |
| 130 | if(obj) // This can be NULL during destruction. |
| 131 | { |
| 132 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 133 | { |
| 134 | // Call the virtual member method, which derived classes might override. |
| 135 | bool cpp_flip = false; |
| 136 | const gboolean result = |
| 137 | static_cast<int>(obj->get_vflip_vfunccxx . . $ Gst/VideoOrientation#get_vflip_vfunc(dadd4ad61e27fbc).(cpp_flip)); |
| 138 | *flip = cpp_flip; |
| 139 | return result; |
| 140 | } |
| 141 | catch(...) |
| 142 | { |
| 143 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>( |
| 149 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 150 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 151 | ) ); |
| 152 | |
| 153 | // Call the original underlying C function: |
| 154 | if(base && base->get_vflipcxx . . $ _GstVideoOrientationInterface#get_vflip.) |
| 155 | return (*base->get_vflipcxx . . $ _GstVideoOrientationInterface#get_vflip.)(self, flip); |
| 156 | |
| 157 | |
| 158 | typedef gboolean RTypecxx . . $ Gst/VideoOrientation_Class#get_vflip_vfunc_callback(1b9a70ea6d94075a).RType#; |
| 159 | return RTypecxx . . $ Gst/VideoOrientation_Class#get_vflip_vfunc_callback(1b9a70ea6d94075a).RType#(); |
| 160 | } |
| 161 | bool Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#::get_vflip_vfunccxx . . $ Gst/VideoOrientation#get_vflip_vfunc(dadd4ad61e27fbc).(bool& flip) const |
| 162 | { |
| 163 | BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType#*>( |
| 164 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 165 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 166 | ) ); |
| 167 | |
| 168 | if(base && base->get_vflipcxx . . $ _GstVideoOrientationInterface#get_vflip.) |
| 169 | { |
| 170 | gboolean gst_flip = 0; |
| 171 | |
| 172 | const bool result = |
| 173 | (*base->get_vflipcxx . . $ _GstVideoOrientationInterface#get_vflip.)(const_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).()),&gst_flip); |
| 174 | flip = gst_flip; |
| 175 | return result; |
| 176 | } |
| 177 | |
| 178 | typedef bool RTypecxx . . $ Gst/VideoOrientation#get_vflip_vfunc(dadd4ad61e27fbc).RType#; |
| 179 | return RTypecxx . . $ Gst/VideoOrientation#get_vflip_vfunc(dadd4ad61e27fbc).RType#(); |
| 180 | } |
| 181 | } // namespace Gst |
| 182 | |
| 183 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/videoorientation.cc`/ |
| 184 | { |
| 185 | } // anonymous namespace |
| 186 | |
| 187 | |
| 188 | namespace Glibcxx . . $ Glib/ |
| 189 | { |
| 190 | |
| 191 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#> wrapcxx . . $ Glib/wrap(265868fa5acc894c).(GstVideoOrientationcxx . . $ GstVideoOrientation#* object, bool take_copy) |
| 192 | { |
| 193 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#>( dynamic_cast<Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#*> (Glibcxx . . $ Glib/::wrap_auto_interfacecxx . . $ Glib/wrap_auto_interface(895573aecd4fc9a4).<Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#> ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 194 | //We use dynamic_cast<> in case of multiple inheritance. |
| 195 | } |
| 196 | |
| 197 | } // namespace Glib |
| 198 | |
| 199 | |
| 200 | namespace Gstcxx . . $ Gst/ |
| 201 | { |
| 202 | |
| 203 | |
| 204 | /* The *_Class implementation: */ |
| 205 | |
| 206 | const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::initcxx . . $ Gst/VideoOrientation_Class#init(abc04d6bda8aa5b8).() |
| 207 | { |
| 208 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 209 | { |
| 210 | // Glib::Interface_Class has to know the interface init function |
| 211 | // in order to add interfaces to implementing types. |
| 212 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::iface_init_functioncxx . . $ Gst/VideoOrientation_Class#iface_init_function(6c58c5e2437d25a2).; |
| 213 | |
| 214 | // We can not derive from another interface, and it is not necessary anyway. |
| 215 | gtype_cxx . . $ Glib/Class#gtype_. = gst_video_orientation_get_type(); |
| 216 | } |
| 217 | |
| 218 | return *this; |
| 219 | } |
| 220 | |
| 221 | void VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::iface_init_functioncxx . . $ Gst/VideoOrientation_Class#iface_init_function(6c58c5e2437d25a2).(void* g_iface, void*) |
| 222 | { |
| 223 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>(g_iface); |
| 224 | |
| 225 | //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. |
| 226 | //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc |
| 227 | g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(klass != nullptr); |
| 228 | |
| 229 | klass->get_hcentercxx . . $ _GstVideoOrientationInterface#get_hcenter. = &get_hcenter_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#get_hcenter_vfunc_callback(1b9a70ea6d94075a).; |
| 230 | klass->get_vcentercxx . . $ _GstVideoOrientationInterface#get_vcenter. = &get_vcenter_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#get_vcenter_vfunc_callback(1b9a70ea6d94075a).; |
| 231 | klass->set_hflipcxx . . $ _GstVideoOrientationInterface#set_hflip. = &set_hflip_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#set_hflip_vfunc_callback(1813ec125ab8d92a).; |
| 232 | klass->set_vflipcxx . . $ _GstVideoOrientationInterface#set_vflip. = &set_vflip_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#set_vflip_vfunc_callback(1813ec125ab8d92a).; |
| 233 | klass->set_hcentercxx . . $ _GstVideoOrientationInterface#set_hcenter. = &set_hcenter_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#set_hcenter_vfunc_callback(1813ec125ab8d92a).; |
| 234 | klass->set_vcentercxx . . $ _GstVideoOrientationInterface#set_vcenter. = &set_vcenter_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#set_vcenter_vfunc_callback(1813ec125ab8d92a).; |
| 235 | klass->get_hflipcxx . . $ _GstVideoOrientationInterface#get_hflip. = &get_hflip_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#get_hflip_vfunc_callback(1b9a70ea6d94075a).; |
| 236 | klass->get_vflipcxx . . $ _GstVideoOrientationInterface#get_vflip. = &get_vflip_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#get_vflip_vfunc_callback(1b9a70ea6d94075a).; |
| 237 | |
| 238 | } |
| 239 | |
| 240 | gboolean VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::get_hcenter_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#get_hcenter_vfunc_callback(1b9a70ea6d94075a).(GstVideoOrientationcxx . . $ GstVideoOrientation#* self, gint* center) |
| 241 | { |
| 242 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 243 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 244 | |
| 245 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 246 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 247 | // generated classes can use this optimisation, which avoids the unnecessary |
| 248 | // parameter conversions if there is no possibility of the virtual function |
| 249 | // being overridden: |
| 250 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 251 | { |
| 252 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#* const>(obj_base); |
| 253 | if(obj) // This can be NULL during destruction. |
| 254 | { |
| 255 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 256 | { |
| 257 | // Call the virtual member method, which derived classes might override. |
| 258 | return static_cast<int>(obj->get_hcenter_vfunccxx . . $ Gst/VideoOrientation#get_hcenter_vfunc(792b76c179d3cac8).(*(center) |
| 259 | )); |
| 260 | } |
| 261 | catch(...) |
| 262 | { |
| 263 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 264 | } |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>( |
| 269 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 270 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 271 | ) ); |
| 272 | |
| 273 | // Call the original underlying C function: |
| 274 | if(base && base->get_hcentercxx . . $ _GstVideoOrientationInterface#get_hcenter.) |
| 275 | return (*base->get_hcentercxx . . $ _GstVideoOrientationInterface#get_hcenter.)(self, center); |
| 276 | |
| 277 | using RTypecxx . . $ Gst/VideoOrientation_Class#get_hcenter_vfunc_callback(1b9a70ea6d94075a).RType# = gboolean; |
| 278 | return RTypecxx . . $ Gst/VideoOrientation_Class#get_hcenter_vfunc_callback(1b9a70ea6d94075a).RType#(); |
| 279 | } |
| 280 | gboolean VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::get_vcenter_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#get_vcenter_vfunc_callback(1b9a70ea6d94075a).(GstVideoOrientationcxx . . $ GstVideoOrientation#* self, gint* center) |
| 281 | { |
| 282 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 283 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 284 | |
| 285 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 286 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 287 | // generated classes can use this optimisation, which avoids the unnecessary |
| 288 | // parameter conversions if there is no possibility of the virtual function |
| 289 | // being overridden: |
| 290 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 291 | { |
| 292 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#* const>(obj_base); |
| 293 | if(obj) // This can be NULL during destruction. |
| 294 | { |
| 295 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 296 | { |
| 297 | // Call the virtual member method, which derived classes might override. |
| 298 | return static_cast<int>(obj->get_vcenter_vfunccxx . . $ Gst/VideoOrientation#get_vcenter_vfunc(792b76c179d3cac8).(*(center) |
| 299 | )); |
| 300 | } |
| 301 | catch(...) |
| 302 | { |
| 303 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 304 | } |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>( |
| 309 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 310 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 311 | ) ); |
| 312 | |
| 313 | // Call the original underlying C function: |
| 314 | if(base && base->get_vcentercxx . . $ _GstVideoOrientationInterface#get_vcenter.) |
| 315 | return (*base->get_vcentercxx . . $ _GstVideoOrientationInterface#get_vcenter.)(self, center); |
| 316 | |
| 317 | using RTypecxx . . $ Gst/VideoOrientation_Class#get_vcenter_vfunc_callback(1b9a70ea6d94075a).RType# = gboolean; |
| 318 | return RTypecxx . . $ Gst/VideoOrientation_Class#get_vcenter_vfunc_callback(1b9a70ea6d94075a).RType#(); |
| 319 | } |
| 320 | gboolean VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::set_hflip_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#set_hflip_vfunc_callback(1813ec125ab8d92a).(GstVideoOrientationcxx . . $ GstVideoOrientation#* self, gboolean flip) |
| 321 | { |
| 322 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 323 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 324 | |
| 325 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 326 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 327 | // generated classes can use this optimisation, which avoids the unnecessary |
| 328 | // parameter conversions if there is no possibility of the virtual function |
| 329 | // being overridden: |
| 330 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 331 | { |
| 332 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#* const>(obj_base); |
| 333 | if(obj) // This can be NULL during destruction. |
| 334 | { |
| 335 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 336 | { |
| 337 | // Call the virtual member method, which derived classes might override. |
| 338 | return static_cast<int>(obj->set_hflip_vfunccxx . . $ Gst/VideoOrientation#set_hflip_vfunc(efaadfb7dc14930a).(flip |
| 339 | )); |
| 340 | } |
| 341 | catch(...) |
| 342 | { |
| 343 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 344 | } |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>( |
| 349 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 350 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 351 | ) ); |
| 352 | |
| 353 | // Call the original underlying C function: |
| 354 | if(base && base->set_hflipcxx . . $ _GstVideoOrientationInterface#set_hflip.) |
| 355 | return (*base->set_hflipcxx . . $ _GstVideoOrientationInterface#set_hflip.)(self, flip); |
| 356 | |
| 357 | using RTypecxx . . $ Gst/VideoOrientation_Class#set_hflip_vfunc_callback(1813ec125ab8d92a).RType# = gboolean; |
| 358 | return RTypecxx . . $ Gst/VideoOrientation_Class#set_hflip_vfunc_callback(1813ec125ab8d92a).RType#(); |
| 359 | } |
| 360 | gboolean VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::set_vflip_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#set_vflip_vfunc_callback(1813ec125ab8d92a).(GstVideoOrientationcxx . . $ GstVideoOrientation#* self, gboolean flip) |
| 361 | { |
| 362 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 363 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 364 | |
| 365 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 366 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 367 | // generated classes can use this optimisation, which avoids the unnecessary |
| 368 | // parameter conversions if there is no possibility of the virtual function |
| 369 | // being overridden: |
| 370 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 371 | { |
| 372 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#* const>(obj_base); |
| 373 | if(obj) // This can be NULL during destruction. |
| 374 | { |
| 375 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 376 | { |
| 377 | // Call the virtual member method, which derived classes might override. |
| 378 | return static_cast<int>(obj->set_vflip_vfunccxx . . $ Gst/VideoOrientation#set_vflip_vfunc(efaadfb7dc14930a).(flip |
| 379 | )); |
| 380 | } |
| 381 | catch(...) |
| 382 | { |
| 383 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 384 | } |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>( |
| 389 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 390 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 391 | ) ); |
| 392 | |
| 393 | // Call the original underlying C function: |
| 394 | if(base && base->set_vflipcxx . . $ _GstVideoOrientationInterface#set_vflip.) |
| 395 | return (*base->set_vflipcxx . . $ _GstVideoOrientationInterface#set_vflip.)(self, flip); |
| 396 | |
| 397 | using RTypecxx . . $ Gst/VideoOrientation_Class#set_vflip_vfunc_callback(1813ec125ab8d92a).RType# = gboolean; |
| 398 | return RTypecxx . . $ Gst/VideoOrientation_Class#set_vflip_vfunc_callback(1813ec125ab8d92a).RType#(); |
| 399 | } |
| 400 | gboolean VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::set_hcenter_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#set_hcenter_vfunc_callback(1813ec125ab8d92a).(GstVideoOrientationcxx . . $ GstVideoOrientation#* self, gint center) |
| 401 | { |
| 402 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 403 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 404 | |
| 405 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 406 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 407 | // generated classes can use this optimisation, which avoids the unnecessary |
| 408 | // parameter conversions if there is no possibility of the virtual function |
| 409 | // being overridden: |
| 410 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 411 | { |
| 412 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#* const>(obj_base); |
| 413 | if(obj) // This can be NULL during destruction. |
| 414 | { |
| 415 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 416 | { |
| 417 | // Call the virtual member method, which derived classes might override. |
| 418 | return static_cast<int>(obj->set_hcenter_vfunccxx . . $ Gst/VideoOrientation#set_hcenter_vfunc(83c267b20bac841a).(center |
| 419 | )); |
| 420 | } |
| 421 | catch(...) |
| 422 | { |
| 423 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 424 | } |
| 425 | } |
| 426 | } |
| 427 | |
| 428 | BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>( |
| 429 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 430 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 431 | ) ); |
| 432 | |
| 433 | // Call the original underlying C function: |
| 434 | if(base && base->set_hcentercxx . . $ _GstVideoOrientationInterface#set_hcenter.) |
| 435 | return (*base->set_hcentercxx . . $ _GstVideoOrientationInterface#set_hcenter.)(self, center); |
| 436 | |
| 437 | using RTypecxx . . $ Gst/VideoOrientation_Class#set_hcenter_vfunc_callback(1813ec125ab8d92a).RType# = gboolean; |
| 438 | return RTypecxx . . $ Gst/VideoOrientation_Class#set_hcenter_vfunc_callback(1813ec125ab8d92a).RType#(); |
| 439 | } |
| 440 | gboolean VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::set_vcenter_vfunc_callbackcxx . . $ Gst/VideoOrientation_Class#set_vcenter_vfunc_callback(1813ec125ab8d92a).(GstVideoOrientationcxx . . $ GstVideoOrientation#* self, gint center) |
| 441 | { |
| 442 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 443 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 444 | |
| 445 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 446 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 447 | // generated classes can use this optimisation, which avoids the unnecessary |
| 448 | // parameter conversions if there is no possibility of the virtual function |
| 449 | // being overridden: |
| 450 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 451 | { |
| 452 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#* const>(obj_base); |
| 453 | if(obj) // This can be NULL during destruction. |
| 454 | { |
| 455 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 456 | { |
| 457 | // Call the virtual member method, which derived classes might override. |
| 458 | return static_cast<int>(obj->set_vcenter_vfunccxx . . $ Gst/VideoOrientation#set_vcenter_vfunc(83c267b20bac841a).(center |
| 459 | )); |
| 460 | } |
| 461 | catch(...) |
| 462 | { |
| 463 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 464 | } |
| 465 | } |
| 466 | } |
| 467 | |
| 468 | BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation_Class#BaseClassType#*>( |
| 469 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 470 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOrientation_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 471 | ) ); |
| 472 | |
| 473 | // Call the original underlying C function: |
| 474 | if(base && base->set_vcentercxx . . $ _GstVideoOrientationInterface#set_vcenter.) |
| 475 | return (*base->set_vcentercxx . . $ _GstVideoOrientationInterface#set_vcenter.)(self, center); |
| 476 | |
| 477 | using RTypecxx . . $ Gst/VideoOrientation_Class#set_vcenter_vfunc_callback(1813ec125ab8d92a).RType# = gboolean; |
| 478 | return RTypecxx . . $ Gst/VideoOrientation_Class#set_vcenter_vfunc_callback(1813ec125ab8d92a).RType#(); |
| 479 | } |
| 480 | |
| 481 | |
| 482 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* VideoOrientation_Classcxx . . $ Gst/VideoOrientation_Class#::wrap_newcxx . . $ Gst/VideoOrientation_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 483 | { |
| 484 | return new VideoOrientationcxx . . $ Gst/VideoOrientation#((GstVideoOrientationcxx . . $ GstVideoOrientation#*)(object)); |
| 485 | } |
| 486 | |
| 487 | |
| 488 | /* The implementation: */ |
| 489 | |
| 490 | VideoOrientationcxx . . $ Gst/VideoOrientation#::VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(49f6e7a06ebc5aa8).() |
| 491 | : |
| 492 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(videoorientation_class_cxx . . $ Gst/VideoOrientation#videoorientation_class_..initcxx . . $ Gst/VideoOrientation_Class#init(abc04d6bda8aa5b8).()) |
| 493 | {} |
| 494 | |
| 495 | VideoOrientationcxx . . $ Gst/VideoOrientation#::VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(54d8cc0129384c07).(GstVideoOrientationcxx . . $ GstVideoOrientation#* castitem) |
| 496 | : |
| 497 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#((GObjectcxx . . $ GObject#*)(castitem)) |
| 498 | {} |
| 499 | |
| 500 | VideoOrientationcxx . . $ Gst/VideoOrientation#::VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(2ae54c1e3e0dc4a8).(const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& interface_class) |
| 501 | : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(interface_class) |
| 502 | { |
| 503 | } |
| 504 | |
| 505 | VideoOrientationcxx . . $ Gst/VideoOrientation#::VideoOrientationcxx . . $ Gst/VideoOrientation#VideoOrientation(a6488eef80e1559f).(VideoOrientationcxx . . $ Gst/VideoOrientation#&& src) noexcept |
| 506 | : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 507 | {} |
| 508 | |
| 509 | VideoOrientationcxx . . $ Gst/VideoOrientation#& VideoOrientationcxx . . $ Gst/VideoOrientation#::operatorcxx . . $ Gst/VideoOrientation#`operator=`(2d2d761029367caa).=(VideoOrientationcxx . . $ Gst/VideoOrientation#&& src) noexcept |
| 510 | { |
| 511 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 512 | return *this; |
| 513 | } |
| 514 | |
| 515 | VideoOrientationcxx . . $ Gst/VideoOrientation#::~cxx . . $ Gst/VideoOrientation#`~VideoOrientation`(ced63f7c635d850d).VideoOrientationcxx . . $ Gst/VideoOrientation#() noexcept |
| 516 | {} |
| 517 | |
| 518 | // static |
| 519 | void VideoOrientationcxx . . $ Gst/VideoOrientation#::add_interfacecxx . . $ Gst/VideoOrientation#add_interface(2c44cd906ae4e829).(GType gtype_implementer) |
| 520 | { |
| 521 | videoorientation_class_cxx . . $ Gst/VideoOrientation#videoorientation_class_..initcxx . . $ Gst/VideoOrientation_Class#init(abc04d6bda8aa5b8).().add_interfacecxx . . $ Glib/Interface_Class#add_interface(cf8bf0a838713cc4).(gtype_implementer); |
| 522 | } |
| 523 | |
| 524 | VideoOrientationcxx . . $ Gst/VideoOrientation#::CppClassTypecxx . . $ Gst/VideoOrientation#CppClassType# VideoOrientationcxx . . $ Gst/VideoOrientation#::videoorientation_class_cxx . . $ Gst/VideoOrientation#videoorientation_class_.; // initialize static member |
| 525 | |
| 526 | GType VideoOrientationcxx . . $ Gst/VideoOrientation#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).() |
| 527 | { |
| 528 | return videoorientation_class_cxx . . $ Gst/VideoOrientation#videoorientation_class_..initcxx . . $ Gst/VideoOrientation_Class#init(abc04d6bda8aa5b8).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 529 | } |
| 530 | |
| 531 | |
| 532 | GType VideoOrientationcxx . . $ Gst/VideoOrientation#::get_base_typecxx . . $ Gst/VideoOrientation#get_base_type(f708dce9a8856c70).() |
| 533 | { |
| 534 | return gst_video_orientation_get_type(); |
| 535 | } |
| 536 | |
| 537 | |
| 538 | bool VideoOrientationcxx . . $ Gst/VideoOrientation#::get_hcentercxx . . $ Gst/VideoOrientation#get_hcenter(792b76c179d3cac8).(int& center) const |
| 539 | { |
| 540 | return gst_video_orientation_get_hcenter(const_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).()), &(center)); |
| 541 | } |
| 542 | |
| 543 | bool VideoOrientationcxx . . $ Gst/VideoOrientation#::get_vcentercxx . . $ Gst/VideoOrientation#get_vcenter(792b76c179d3cac8).(int& center) const |
| 544 | { |
| 545 | return gst_video_orientation_get_vcenter(const_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).()), &(center)); |
| 546 | } |
| 547 | |
| 548 | bool VideoOrientationcxx . . $ Gst/VideoOrientation#::set_hcentercxx . . $ Gst/VideoOrientation#set_hcenter(83c267b20bac841a).(int center) |
| 549 | { |
| 550 | return gst_video_orientation_set_hcenter(gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).(), center); |
| 551 | } |
| 552 | |
| 553 | bool VideoOrientationcxx . . $ Gst/VideoOrientation#::set_hflipcxx . . $ Gst/VideoOrientation#set_hflip(efaadfb7dc14930a).(bool flip) |
| 554 | { |
| 555 | return gst_video_orientation_set_hflip(gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).(), static_cast<int>(flip)); |
| 556 | } |
| 557 | |
| 558 | bool VideoOrientationcxx . . $ Gst/VideoOrientation#::set_vcentercxx . . $ Gst/VideoOrientation#set_vcenter(83c267b20bac841a).(int center) |
| 559 | { |
| 560 | return gst_video_orientation_set_vcenter(gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).(), center); |
| 561 | } |
| 562 | |
| 563 | bool VideoOrientationcxx . . $ Gst/VideoOrientation#::set_vflipcxx . . $ Gst/VideoOrientation#set_vflip(efaadfb7dc14930a).(bool flip) |
| 564 | { |
| 565 | return gst_video_orientation_set_vflip(gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).(), static_cast<int>(flip)); |
| 566 | } |
| 567 | |
| 568 | |
| 569 | bool Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#::get_hcenter_vfunccxx . . $ Gst/VideoOrientation#get_hcenter_vfunc(792b76c179d3cac8).(int& center) const |
| 570 | { |
| 571 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType#*>( |
| 572 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 573 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 574 | ) ); |
| 575 | |
| 576 | if(base && base->get_hcentercxx . . $ _GstVideoOrientationInterface#get_hcenter.) |
| 577 | { |
| 578 | bool retval((*base->get_hcentercxx . . $ _GstVideoOrientationInterface#get_hcenter.)(const_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).()),&(center))); |
| 579 | return retval; |
| 580 | } |
| 581 | |
| 582 | using RTypecxx . . $ Gst/VideoOrientation#get_hcenter_vfunc(792b76c179d3cac8).RType# = bool; |
| 583 | return RTypecxx . . $ Gst/VideoOrientation#get_hcenter_vfunc(792b76c179d3cac8).RType#(); |
| 584 | } |
| 585 | bool Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#::get_vcenter_vfunccxx . . $ Gst/VideoOrientation#get_vcenter_vfunc(792b76c179d3cac8).(int& center) const |
| 586 | { |
| 587 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType#*>( |
| 588 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 589 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 590 | ) ); |
| 591 | |
| 592 | if(base && base->get_vcentercxx . . $ _GstVideoOrientationInterface#get_vcenter.) |
| 593 | { |
| 594 | bool retval((*base->get_vcentercxx . . $ _GstVideoOrientationInterface#get_vcenter.)(const_cast<GstVideoOrientationcxx . . $ GstVideoOrientation#*>(gobjcxx . . $ Gst/VideoOrientation#gobj(5866ed32c724a105).()),&(center))); |
| 595 | return retval; |
| 596 | } |
| 597 | |
| 598 | using RTypecxx . . $ Gst/VideoOrientation#get_vcenter_vfunc(792b76c179d3cac8).RType# = bool; |
| 599 | return RTypecxx . . $ Gst/VideoOrientation#get_vcenter_vfunc(792b76c179d3cac8).RType#(); |
| 600 | } |
| 601 | bool Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#::set_hflip_vfunccxx . . $ Gst/VideoOrientation#set_hflip_vfunc(efaadfb7dc14930a).(bool flip) |
| 602 | { |
| 603 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType#*>( |
| 604 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 605 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 606 | ) ); |
| 607 | |
| 608 | if(base && base->set_hflipcxx . . $ _GstVideoOrientationInterface#set_hflip.) |
| 609 | { |
| 610 | bool retval((*base->set_hflipcxx . . $ _GstVideoOrientationInterface#set_hflip.)(gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).(),static_cast<int>(flip))); |
| 611 | return retval; |
| 612 | } |
| 613 | |
| 614 | using RTypecxx . . $ Gst/VideoOrientation#set_hflip_vfunc(efaadfb7dc14930a).RType# = bool; |
| 615 | return RTypecxx . . $ Gst/VideoOrientation#set_hflip_vfunc(efaadfb7dc14930a).RType#(); |
| 616 | } |
| 617 | bool Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#::set_vflip_vfunccxx . . $ Gst/VideoOrientation#set_vflip_vfunc(efaadfb7dc14930a).(bool flip) |
| 618 | { |
| 619 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType#*>( |
| 620 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 621 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 622 | ) ); |
| 623 | |
| 624 | if(base && base->set_vflipcxx . . $ _GstVideoOrientationInterface#set_vflip.) |
| 625 | { |
| 626 | bool retval((*base->set_vflipcxx . . $ _GstVideoOrientationInterface#set_vflip.)(gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).(),static_cast<int>(flip))); |
| 627 | return retval; |
| 628 | } |
| 629 | |
| 630 | using RTypecxx . . $ Gst/VideoOrientation#set_vflip_vfunc(efaadfb7dc14930a).RType# = bool; |
| 631 | return RTypecxx . . $ Gst/VideoOrientation#set_vflip_vfunc(efaadfb7dc14930a).RType#(); |
| 632 | } |
| 633 | bool Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#::set_hcenter_vfunccxx . . $ Gst/VideoOrientation#set_hcenter_vfunc(83c267b20bac841a).(int center) |
| 634 | { |
| 635 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType#*>( |
| 636 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 637 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 638 | ) ); |
| 639 | |
| 640 | if(base && base->set_hcentercxx . . $ _GstVideoOrientationInterface#set_hcenter.) |
| 641 | { |
| 642 | bool retval((*base->set_hcentercxx . . $ _GstVideoOrientationInterface#set_hcenter.)(gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).(),center)); |
| 643 | return retval; |
| 644 | } |
| 645 | |
| 646 | using RTypecxx . . $ Gst/VideoOrientation#set_hcenter_vfunc(83c267b20bac841a).RType# = bool; |
| 647 | return RTypecxx . . $ Gst/VideoOrientation#set_hcenter_vfunc(83c267b20bac841a).RType#(); |
| 648 | } |
| 649 | bool Gstcxx . . $ Gst/::VideoOrientationcxx . . $ Gst/VideoOrientation#::set_vcenter_vfunccxx . . $ Gst/VideoOrientation#set_vcenter_vfunc(83c267b20bac841a).(int center) |
| 650 | { |
| 651 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOrientation#BaseClassType#*>( |
| 652 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 653 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOrientation#CppObjectType#::get_typecxx . . $ Gst/VideoOrientation#get_type(f708dce9a8856c70).()) // Get the interface. |
| 654 | ) ); |
| 655 | |
| 656 | if(base && base->set_vcentercxx . . $ _GstVideoOrientationInterface#set_vcenter.) |
| 657 | { |
| 658 | bool retval((*base->set_vcentercxx . . $ _GstVideoOrientationInterface#set_vcenter.)(gobjcxx . . $ Gst/VideoOrientation#gobj(350e3f3592b4d971).(),center)); |
| 659 | return retval; |
| 660 | } |
| 661 | |
| 662 | using RTypecxx . . $ Gst/VideoOrientation#set_vcenter_vfunc(83c267b20bac841a).RType# = bool; |
| 663 | return RTypecxx . . $ Gst/VideoOrientation#set_vcenter_vfunc(83c267b20bac841a).RType#(); |
| 664 | } |
| 665 | |
| 666 | |
| 667 | } // namespace Gst |
| 668 | |
| 669 |