| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/videooverlay.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/videooverlay.h>cxx . . $ `<file>/gstreamer/gstreamermm/videooverlay.h`/ |
| 7 | #include <gstreamermm/private/videooverlay_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/videooverlay_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 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/videooverlay.cc`/ |
| 30 | { |
| 31 | } // anonymous namespace |
| 32 | |
| 33 | |
| 34 | namespace Glibcxx . . $ Glib/ |
| 35 | { |
| 36 | |
| 37 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::VideoOverlaycxx . . $ Gst/VideoOverlay#> wrapcxx . . $ Glib/wrap(f32243ccd2f5c29b).(GstVideoOverlaycxx . . $ GstVideoOverlay#* object, bool take_copy) |
| 38 | { |
| 39 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::VideoOverlaycxx . . $ Gst/VideoOverlay#>( dynamic_cast<Gstcxx . . $ Gst/::VideoOverlaycxx . . $ Gst/VideoOverlay#*> (Glibcxx . . $ Glib/::wrap_auto_interfacecxx . . $ Glib/wrap_auto_interface(895573aecd4fc9a4).<Gstcxx . . $ Gst/::VideoOverlaycxx . . $ Gst/VideoOverlay#> ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 40 | //We use dynamic_cast<> in case of multiple inheritance. |
| 41 | } |
| 42 | |
| 43 | } // namespace Glib |
| 44 | |
| 45 | |
| 46 | namespace Gstcxx . . $ Gst/ |
| 47 | { |
| 48 | |
| 49 | |
| 50 | /* The *_Class implementation: */ |
| 51 | |
| 52 | const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& VideoOverlay_Classcxx . . $ Gst/VideoOverlay_Class#::initcxx . . $ Gst/VideoOverlay_Class#init(abc04d6bda8aa5b8).() |
| 53 | { |
| 54 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 55 | { |
| 56 | // Glib::Interface_Class has to know the interface init function |
| 57 | // in order to add interfaces to implementing types. |
| 58 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &VideoOverlay_Classcxx . . $ Gst/VideoOverlay_Class#::iface_init_functioncxx . . $ Gst/VideoOverlay_Class#iface_init_function(6c58c5e2437d25a2).; |
| 59 | |
| 60 | // We can not derive from another interface, and it is not necessary anyway. |
| 61 | gtype_cxx . . $ Glib/Class#gtype_. = gst_video_overlay_get_type(); |
| 62 | } |
| 63 | |
| 64 | return *this; |
| 65 | } |
| 66 | |
| 67 | void VideoOverlay_Classcxx . . $ Gst/VideoOverlay_Class#::iface_init_functioncxx . . $ Gst/VideoOverlay_Class#iface_init_function(6c58c5e2437d25a2).(void* g_iface, void*) |
| 68 | { |
| 69 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType#*>(g_iface); |
| 70 | |
| 71 | //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. |
| 72 | //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc |
| 73 | g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(klass != nullptr); |
| 74 | |
| 75 | klass->set_window_handlecxx . . $ _GstVideoOverlayInterface#set_window_handle. = &set_window_handle_vfunc_callbackcxx . . $ Gst/VideoOverlay_Class#set_window_handle_vfunc_callback(a1673752528830ae).; |
| 76 | klass->exposecxx . . $ _GstVideoOverlayInterface#expose. = &expose_vfunc_callbackcxx . . $ Gst/VideoOverlay_Class#expose_vfunc_callback(2470bdd21f9e242e).; |
| 77 | klass->handle_eventscxx . . $ _GstVideoOverlayInterface#handle_events. = &handle_events_vfunc_callbackcxx . . $ Gst/VideoOverlay_Class#handle_events_vfunc_callback(99459ae7f41011c9).; |
| 78 | klass->set_render_rectanglecxx . . $ _GstVideoOverlayInterface#set_render_rectangle. = &set_render_rectangle_vfunc_callbackcxx . . $ Gst/VideoOverlay_Class#set_render_rectangle_vfunc_callback(82f004340d53b9b4).; |
| 79 | |
| 80 | } |
| 81 | |
| 82 | void VideoOverlay_Classcxx . . $ Gst/VideoOverlay_Class#::set_window_handle_vfunc_callbackcxx . . $ Gst/VideoOverlay_Class#set_window_handle_vfunc_callback(a1673752528830ae).(GstVideoOverlaycxx . . $ GstVideoOverlay#* self, guintptr handle) |
| 83 | { |
| 84 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 85 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 86 | |
| 87 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 88 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 89 | // generated classes can use this optimisation, which avoids the unnecessary |
| 90 | // parameter conversions if there is no possibility of the virtual function |
| 91 | // being overridden: |
| 92 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 93 | { |
| 94 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOverlay_Class#CppObjectType#* const>(obj_base); |
| 95 | if(obj) // This can be NULL during destruction. |
| 96 | { |
| 97 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 98 | { |
| 99 | // Call the virtual member method, which derived classes might override. |
| 100 | obj->set_window_handle_vfunccxx . . $ Gst/VideoOverlay#set_window_handle_vfunc(2c44cd906ae4e829).(handle); |
| 101 | return; |
| 102 | } |
| 103 | catch(...) |
| 104 | { |
| 105 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 106 | } |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType#*>( |
| 111 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 112 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOverlay_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).()) // Get the interface. |
| 113 | ) ); |
| 114 | |
| 115 | // Call the original underlying C function: |
| 116 | if(base && base->set_window_handlecxx . . $ _GstVideoOverlayInterface#set_window_handle.) |
| 117 | (*base->set_window_handlecxx . . $ _GstVideoOverlayInterface#set_window_handle.)(self, handle); |
| 118 | } |
| 119 | void VideoOverlay_Classcxx . . $ Gst/VideoOverlay_Class#::expose_vfunc_callbackcxx . . $ Gst/VideoOverlay_Class#expose_vfunc_callback(2470bdd21f9e242e).(GstVideoOverlaycxx . . $ GstVideoOverlay#* self) |
| 120 | { |
| 121 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 122 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 123 | |
| 124 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 125 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 126 | // generated classes can use this optimisation, which avoids the unnecessary |
| 127 | // parameter conversions if there is no possibility of the virtual function |
| 128 | // being overridden: |
| 129 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 130 | { |
| 131 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOverlay_Class#CppObjectType#* const>(obj_base); |
| 132 | if(obj) // This can be NULL during destruction. |
| 133 | { |
| 134 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 135 | { |
| 136 | // Call the virtual member method, which derived classes might override. |
| 137 | obj->expose_vfunccxx . . $ Gst/VideoOverlay#expose_vfunc(49f6e7a06ebc5aa8).(); |
| 138 | return; |
| 139 | } |
| 140 | catch(...) |
| 141 | { |
| 142 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 143 | } |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType#*>( |
| 148 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 149 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOverlay_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).()) // Get the interface. |
| 150 | ) ); |
| 151 | |
| 152 | // Call the original underlying C function: |
| 153 | if(base && base->exposecxx . . $ _GstVideoOverlayInterface#expose.) |
| 154 | (*base->exposecxx . . $ _GstVideoOverlayInterface#expose.)(self); |
| 155 | } |
| 156 | void VideoOverlay_Classcxx . . $ Gst/VideoOverlay_Class#::handle_events_vfunc_callbackcxx . . $ Gst/VideoOverlay_Class#handle_events_vfunc_callback(99459ae7f41011c9).(GstVideoOverlaycxx . . $ GstVideoOverlay#* self, gboolean handle_events) |
| 157 | { |
| 158 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 159 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 160 | |
| 161 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 162 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 163 | // generated classes can use this optimisation, which avoids the unnecessary |
| 164 | // parameter conversions if there is no possibility of the virtual function |
| 165 | // being overridden: |
| 166 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 167 | { |
| 168 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOverlay_Class#CppObjectType#* const>(obj_base); |
| 169 | if(obj) // This can be NULL during destruction. |
| 170 | { |
| 171 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 172 | { |
| 173 | // Call the virtual member method, which derived classes might override. |
| 174 | obj->handle_events_vfunccxx . . $ Gst/VideoOverlay#handle_events_vfunc(b45ddcbc8423892c).(handle_events |
| 175 | ); |
| 176 | return; |
| 177 | } |
| 178 | catch(...) |
| 179 | { |
| 180 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType#*>( |
| 186 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 187 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOverlay_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).()) // Get the interface. |
| 188 | ) ); |
| 189 | |
| 190 | // Call the original underlying C function: |
| 191 | if(base && base->handle_eventscxx . . $ _GstVideoOverlayInterface#handle_events.) |
| 192 | (*base->handle_eventscxx . . $ _GstVideoOverlayInterface#handle_events.)(self, handle_events); |
| 193 | } |
| 194 | void VideoOverlay_Classcxx . . $ Gst/VideoOverlay_Class#::set_render_rectangle_vfunc_callbackcxx . . $ Gst/VideoOverlay_Class#set_render_rectangle_vfunc_callback(82f004340d53b9b4).(GstVideoOverlaycxx . . $ GstVideoOverlay#* self, gint x, gint y, gint width, gint height) |
| 195 | { |
| 196 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 197 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 198 | |
| 199 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 200 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 201 | // generated classes can use this optimisation, which avoids the unnecessary |
| 202 | // parameter conversions if there is no possibility of the virtual function |
| 203 | // being overridden: |
| 204 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 205 | { |
| 206 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/VideoOverlay_Class#CppObjectType#* const>(obj_base); |
| 207 | if(obj) // This can be NULL during destruction. |
| 208 | { |
| 209 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 210 | { |
| 211 | // Call the virtual member method, which derived classes might override. |
| 212 | obj->set_render_rectangle_vfunccxx . . $ Gst/VideoOverlay#set_render_rectangle_vfunc(748afa4755bc9595).(x |
| 213 | , y |
| 214 | , width |
| 215 | , height |
| 216 | ); |
| 217 | return; |
| 218 | } |
| 219 | catch(...) |
| 220 | { |
| 221 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 222 | } |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay_Class#BaseClassType#*>( |
| 227 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 228 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/VideoOverlay_Class#CppObjectType#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).()) // Get the interface. |
| 229 | ) ); |
| 230 | |
| 231 | // Call the original underlying C function: |
| 232 | if(base && base->set_render_rectanglecxx . . $ _GstVideoOverlayInterface#set_render_rectangle.) |
| 233 | (*base->set_render_rectanglecxx . . $ _GstVideoOverlayInterface#set_render_rectangle.)(self, x, y, width, height); |
| 234 | } |
| 235 | |
| 236 | |
| 237 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* VideoOverlay_Classcxx . . $ Gst/VideoOverlay_Class#::wrap_newcxx . . $ Gst/VideoOverlay_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 238 | { |
| 239 | return new VideoOverlaycxx . . $ Gst/VideoOverlay#((GstVideoOverlaycxx . . $ GstVideoOverlay#*)(object)); |
| 240 | } |
| 241 | |
| 242 | |
| 243 | /* The implementation: */ |
| 244 | |
| 245 | VideoOverlaycxx . . $ Gst/VideoOverlay#::VideoOverlaycxx . . $ Gst/VideoOverlay#VideoOverlay(49f6e7a06ebc5aa8).() |
| 246 | : |
| 247 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(videooverlay_class_cxx . . $ Gst/VideoOverlay#videooverlay_class_..initcxx . . $ Gst/VideoOverlay_Class#init(abc04d6bda8aa5b8).()) |
| 248 | {} |
| 249 | |
| 250 | VideoOverlaycxx . . $ Gst/VideoOverlay#::VideoOverlaycxx . . $ Gst/VideoOverlay#VideoOverlay(2470bdd21f9e242e).(GstVideoOverlaycxx . . $ GstVideoOverlay#* castitem) |
| 251 | : |
| 252 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#((GObjectcxx . . $ GObject#*)(castitem)) |
| 253 | {} |
| 254 | |
| 255 | VideoOverlaycxx . . $ Gst/VideoOverlay#::VideoOverlaycxx . . $ Gst/VideoOverlay#VideoOverlay(2ae54c1e3e0dc4a8).(const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& interface_class) |
| 256 | : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(interface_class) |
| 257 | { |
| 258 | } |
| 259 | |
| 260 | VideoOverlaycxx . . $ Gst/VideoOverlay#::VideoOverlaycxx . . $ Gst/VideoOverlay#VideoOverlay(82705c1905964226).(VideoOverlaycxx . . $ Gst/VideoOverlay#&& src) noexcept |
| 261 | : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 262 | {} |
| 263 | |
| 264 | VideoOverlaycxx . . $ Gst/VideoOverlay#& VideoOverlaycxx . . $ Gst/VideoOverlay#::operatorcxx . . $ Gst/VideoOverlay#`operator=`(682bbb0023467fc).=(VideoOverlaycxx . . $ Gst/VideoOverlay#&& src) noexcept |
| 265 | { |
| 266 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 267 | return *this; |
| 268 | } |
| 269 | |
| 270 | VideoOverlaycxx . . $ Gst/VideoOverlay#::~cxx . . $ Gst/VideoOverlay#`~VideoOverlay`(ced63f7c635d850d).VideoOverlaycxx . . $ Gst/VideoOverlay#() noexcept |
| 271 | {} |
| 272 | |
| 273 | // static |
| 274 | void VideoOverlaycxx . . $ Gst/VideoOverlay#::add_interfacecxx . . $ Gst/VideoOverlay#add_interface(2c44cd906ae4e829).(GType gtype_implementer) |
| 275 | { |
| 276 | videooverlay_class_cxx . . $ Gst/VideoOverlay#videooverlay_class_..initcxx . . $ Gst/VideoOverlay_Class#init(abc04d6bda8aa5b8).().add_interfacecxx . . $ Glib/Interface_Class#add_interface(cf8bf0a838713cc4).(gtype_implementer); |
| 277 | } |
| 278 | |
| 279 | VideoOverlaycxx . . $ Gst/VideoOverlay#::CppClassTypecxx . . $ Gst/VideoOverlay#CppClassType# VideoOverlaycxx . . $ Gst/VideoOverlay#::videooverlay_class_cxx . . $ Gst/VideoOverlay#videooverlay_class_.; // initialize static member |
| 280 | |
| 281 | GType VideoOverlaycxx . . $ Gst/VideoOverlay#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).() |
| 282 | { |
| 283 | return videooverlay_class_cxx . . $ Gst/VideoOverlay#videooverlay_class_..initcxx . . $ Gst/VideoOverlay_Class#init(abc04d6bda8aa5b8).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 284 | } |
| 285 | |
| 286 | |
| 287 | GType VideoOverlaycxx . . $ Gst/VideoOverlay#::get_base_typecxx . . $ Gst/VideoOverlay#get_base_type(f708dce9a8856c70).() |
| 288 | { |
| 289 | return gst_video_overlay_get_type(); |
| 290 | } |
| 291 | |
| 292 | |
| 293 | void VideoOverlaycxx . . $ Gst/VideoOverlay#::set_window_handlecxx . . $ Gst/VideoOverlay#set_window_handle(2c44cd906ae4e829).(guintptr window_handle) |
| 294 | { |
| 295 | gst_video_overlay_set_window_handle(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).(), window_handle); |
| 296 | } |
| 297 | |
| 298 | void VideoOverlaycxx . . $ Gst/VideoOverlay#::got_window_handlecxx . . $ Gst/VideoOverlay#got_window_handle(2c44cd906ae4e829).(guintptr window_handle) |
| 299 | { |
| 300 | gst_video_overlay_got_window_handle(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).(), window_handle); |
| 301 | } |
| 302 | |
| 303 | void VideoOverlaycxx . . $ Gst/VideoOverlay#::prepare_window_handlecxx . . $ Gst/VideoOverlay#prepare_window_handle(49f6e7a06ebc5aa8).() |
| 304 | { |
| 305 | gst_video_overlay_prepare_window_handle(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).()); |
| 306 | } |
| 307 | |
| 308 | void VideoOverlaycxx . . $ Gst/VideoOverlay#::exposecxx . . $ Gst/VideoOverlay#expose(49f6e7a06ebc5aa8).() |
| 309 | { |
| 310 | gst_video_overlay_expose(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).()); |
| 311 | } |
| 312 | |
| 313 | void VideoOverlaycxx . . $ Gst/VideoOverlay#::handle_eventscxx . . $ Gst/VideoOverlay#handle_events(b45ddcbc8423892c).(bool handle_events) |
| 314 | { |
| 315 | gst_video_overlay_handle_events(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).(), static_cast<int>(handle_events)); |
| 316 | } |
| 317 | |
| 318 | bool VideoOverlaycxx . . $ Gst/VideoOverlay#::set_render_rectanglecxx . . $ Gst/VideoOverlay#set_render_rectangle(a1642a0ee405ca20).(int x, int y, int width, int height) |
| 319 | { |
| 320 | return gst_video_overlay_set_render_rectangle(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).(), x, y, width, height); |
| 321 | } |
| 322 | |
| 323 | |
| 324 | void Gstcxx . . $ Gst/::VideoOverlaycxx . . $ Gst/VideoOverlay#::set_window_handle_vfunccxx . . $ Gst/VideoOverlay#set_window_handle_vfunc(2c44cd906ae4e829).(guintptr handle) |
| 325 | { |
| 326 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay#BaseClassType#*>( |
| 327 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 328 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOverlay#CppObjectType#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).()) // Get the interface. |
| 329 | ) ); |
| 330 | |
| 331 | if(base && base->set_window_handlecxx . . $ _GstVideoOverlayInterface#set_window_handle.) |
| 332 | { |
| 333 | (*base->set_window_handlecxx . . $ _GstVideoOverlayInterface#set_window_handle.)(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).(),handle); |
| 334 | } |
| 335 | } |
| 336 | void Gstcxx . . $ Gst/::VideoOverlaycxx . . $ Gst/VideoOverlay#::expose_vfunccxx . . $ Gst/VideoOverlay#expose_vfunc(49f6e7a06ebc5aa8).() |
| 337 | { |
| 338 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay#BaseClassType#*>( |
| 339 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 340 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOverlay#CppObjectType#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).()) // Get the interface. |
| 341 | ) ); |
| 342 | |
| 343 | if(base && base->exposecxx . . $ _GstVideoOverlayInterface#expose.) |
| 344 | { |
| 345 | (*base->exposecxx . . $ _GstVideoOverlayInterface#expose.)(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).()); |
| 346 | } |
| 347 | } |
| 348 | void Gstcxx . . $ Gst/::VideoOverlaycxx . . $ Gst/VideoOverlay#::handle_events_vfunccxx . . $ Gst/VideoOverlay#handle_events_vfunc(b45ddcbc8423892c).(bool handle_events) |
| 349 | { |
| 350 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay#BaseClassType#*>( |
| 351 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 352 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOverlay#CppObjectType#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).()) // Get the interface. |
| 353 | ) ); |
| 354 | |
| 355 | if(base && base->handle_eventscxx . . $ _GstVideoOverlayInterface#handle_events.) |
| 356 | { |
| 357 | (*base->handle_eventscxx . . $ _GstVideoOverlayInterface#handle_events.)(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).(),static_cast<int>(handle_events)); |
| 358 | } |
| 359 | } |
| 360 | void Gstcxx . . $ Gst/::VideoOverlaycxx . . $ Gst/VideoOverlay#::set_render_rectangle_vfunccxx . . $ Gst/VideoOverlay#set_render_rectangle_vfunc(748afa4755bc9595).(int x, int y, int width, int height) |
| 361 | { |
| 362 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/VideoOverlay#BaseClassType#*>( |
| 363 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 364 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/VideoOverlay#CppObjectType#::get_typecxx . . $ Gst/VideoOverlay#get_type(f708dce9a8856c70).()) // Get the interface. |
| 365 | ) ); |
| 366 | |
| 367 | if(base && base->set_render_rectanglecxx . . $ _GstVideoOverlayInterface#set_render_rectangle.) |
| 368 | { |
| 369 | (*base->set_render_rectanglecxx . . $ _GstVideoOverlayInterface#set_render_rectangle.)(gobjcxx . . $ Gst/VideoOverlay#gobj(3d7316d726ca7d8b).(),x,y,width,height); |
| 370 | } |
| 371 | } |
| 372 | |
| 373 | |
| 374 | } // namespace Gst |
| 375 | |
| 376 |