| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/element.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/element.h>cxx . . $ `<file>/gstreamer/gstreamermm/element.h`/ |
| 7 | #include <gstreamermm/private/element_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/element_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008-2016 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 | #include <gst/gst.h> |
| 30 | #include <gstreamermm/bus.h>cxx . . $ `<file>/gstreamer/gstreamermm/bus.h`/ |
| 31 | #include <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/ |
| 32 | #include <gstreamermm/elementfactory.h>cxx . . $ `<file>/gstreamer/gstreamermm/elementfactory.h`/ |
| 33 | #include <gstreamermm/event.h>cxx . . $ `<file>/gstreamer/gstreamermm/event.h`/ |
| 34 | #include <gstreamermm/pad.h>cxx . . $ `<file>/gstreamer/gstreamermm/pad.h`/ |
| 35 | #include <gstreamermm/padtemplate.h>cxx . . $ `<file>/gstreamer/gstreamermm/padtemplate.h`/ |
| 36 | #include <gstreamermm/query.h>cxx . . $ `<file>/gstreamer/gstreamermm/query.h`/ |
| 37 | #include <gstreamermm/iterator.h>cxx . . $ `<file>/gstreamer/gstreamermm/iterator.h`/ |
| 38 | #include <gstreamermm/handle_error.h>cxx . . $ `<file>/gstreamer/gstreamermm/handle_error.h`/ |
| 39 | |
| 40 | |
| 41 | namespace Gstcxx . . $ Gst/ |
| 42 | { |
| 43 | |
| 44 | namespace Enumscxx . . $ Gst/Enums/ |
| 45 | { |
| 46 | |
| 47 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# get_namecxx . . $ Gst/Enums/get_name(47fa988766e80c0c).(Statecxx . . $ Gst/State# s) |
| 48 | { |
| 49 | return gst_element_state_get_namecxx . . $ Glib/ustring#ustring(85c52e162fed56f9).(GstState(s)); |
| 50 | } |
| 51 | |
| 52 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# get_namecxx . . $ Gst/Enums/get_name(3907d0fb142b45ff).(StateChangeReturncxx . . $ Gst/StateChangeReturn# s) |
| 53 | { |
| 54 | return gst_element_state_change_return_get_namecxx . . $ Glib/ustring#ustring(85c52e162fed56f9).(GstStateChangeReturn(s)); |
| 55 | } |
| 56 | |
| 57 | } //namespace Enums |
| 58 | |
| 59 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Elementcxx . . $ Gst/Element#::linkcxx . . $ Gst/Element#link(52e71ea9673343b3).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& dest) |
| 60 | { |
| 61 | if(!dest) |
| 62 | gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("Failed to link null element."cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).); |
| 63 | |
| 64 | const bool result = gst_element_link(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(dest)); |
| 65 | |
| 66 | if(result) |
| 67 | return destcxx . . $ Glib/RefPtr#RefPtr(4702e9e750c63a8f).; |
| 68 | else |
| 69 | { |
| 70 | gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("failed to link: " +cxx . . $ Glib/operator+(733d8bb4b557ea40). get_namecxx . . $ Gst/Object#get_name(fff0f585954e56f3).() +cxx . . $ Glib/operator+(6b0655b476210372). "->" +cxx . . $ Glib/operator+(a085081755b563c5). |
| 71 | dest->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).get_namecxx . . $ Gst/Object#get_name(fff0f585954e56f3).()); |
| 72 | return Glibcxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Elementcxx . . $ Gst/Element#::linkcxx . . $ Gst/Element#link(53a72213e2ef62f8).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& dest, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& filter) |
| 77 | { |
| 78 | if(!dest) |
| 79 | gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("Failed to link null element."cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).); |
| 80 | |
| 81 | const bool result = gst_element_link_filtered(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(dest), |
| 82 | Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(filter)); |
| 83 | |
| 84 | if(result) |
| 85 | return destcxx . . $ Glib/RefPtr#RefPtr(4702e9e750c63a8f).; |
| 86 | else |
| 87 | { |
| 88 | gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("failed to link: " +cxx . . $ Glib/operator+(733d8bb4b557ea40). get_namecxx . . $ Gst/Object#get_name(fff0f585954e56f3).() +cxx . . $ Glib/operator+(6b0655b476210372). "->" +cxx . . $ Glib/operator+(a085081755b563c5). |
| 89 | dest->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).get_namecxx . . $ Gst/Object#get_name(fff0f585954e56f3).()); |
| 90 | return Glibcxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | void Elementcxx . . $ Gst/Element#::post_messagecxx . . $ Gst/Element#post_message(9b731103f342a9e7).(int code, int line, MessageTypecxx . . $ Gst/MessageType# type, |
| 95 | const Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark#& domain, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& text, |
| 96 | const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& debug, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& file, |
| 97 | const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& function) |
| 98 | { |
| 99 | gchar* gst_text = g_strdupcxx . . $ `<external>/7822753393113922331/gstrfuncs.h:324:9`!(text.c_str()); |
| 100 | gchar* gst_debug = g_strdupcxx . . $ `<external>/7822753393113922331/gstrfuncs.h:324:9`!(debug.c_str()); |
| 101 | |
| 102 | gst_element_message_full(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), static_cast<GstMessageType>(type), |
| 103 | domain, code, gst_text, gst_debug, file.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), function.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), line); |
| 104 | } |
| 105 | |
| 106 | bool Elementcxx . . $ Gst/Element#::send_eventcxx . . $ Gst/Element#send_event(2055ffde69ae5030).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event) |
| 107 | { |
| 108 | event->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Event#reference(83f5f38750778ac8).(); |
| 109 | return gst_element_send_event(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(event)); |
| 110 | } |
| 111 | |
| 112 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::get_pad_templatecxx . . $ Gst/Element#get_pad_template(c9217be5c367a067).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# &factory_name) const |
| 113 | { |
| 114 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3668c1526acfc0ed).(gst_element_class_get_pad_template(GST_ELEMENT_GET_CLASScxx . . $ `<external>/7744406149854824820/gstelement.h:197:9`!(gobject_), factory_name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), true); |
| 115 | } |
| 116 | |
| 117 | } //namespace Gst |
| 118 | |
| 119 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/ |
| 120 | { |
| 121 | |
| 122 | |
| 123 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Element_signal_no_more_pads_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_no_more_pads_info. = |
| 124 | { |
| 125 | "no-more-pads", |
| 126 | (GCallback) &Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::slot0_void_callbackcxx . . $ Glib/SignalProxyNormal#slot0_void_callback(6ba43ccca1a2deea)., |
| 127 | (GCallback) &Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::slot0_void_callbackcxx . . $ Glib/SignalProxyNormal#slot0_void_callback(6ba43ccca1a2deea). |
| 128 | }; |
| 129 | |
| 130 | |
| 131 | static void Element_signal_pad_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_added_callback(dde4ed65bff788c3).(GstElementcxx . . $ GstElement#* self, GstPadcxx . . $ GstPad#* p0,void* data) |
| 132 | { |
| 133 | using namespace Gst; |
| 134 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_added_callback(dde4ed65bff788c3).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >; |
| 135 | |
| 136 | auto obj = dynamic_cast<Elementcxx . . $ Gst/Element#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 137 | // Do not try to call a signal on a disassociated wrapper. |
| 138 | if(obj) |
| 139 | { |
| 140 | try |
| 141 | { |
| 142 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 143 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_added_callback(dde4ed65bff788c3).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true) |
| 144 | ); |
| 145 | } |
| 146 | catch(...) |
| 147 | { |
| 148 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 149 | } |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Element_signal_pad_added_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_added_info. = |
| 154 | { |
| 155 | "pad-added", |
| 156 | (GCallback) &Element_signal_pad_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_added_callback(dde4ed65bff788c3)., |
| 157 | (GCallback) &Element_signal_pad_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_added_callback(dde4ed65bff788c3). |
| 158 | }; |
| 159 | |
| 160 | |
| 161 | static void Element_signal_pad_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_removed_callback(dde4ed65bff788c3).(GstElementcxx . . $ GstElement#* self, GstPadcxx . . $ GstPad#* p0,void* data) |
| 162 | { |
| 163 | using namespace Gst; |
| 164 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_removed_callback(dde4ed65bff788c3).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >; |
| 165 | |
| 166 | auto obj = dynamic_cast<Elementcxx . . $ Gst/Element#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 167 | // Do not try to call a signal on a disassociated wrapper. |
| 168 | if(obj) |
| 169 | { |
| 170 | try |
| 171 | { |
| 172 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 173 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_removed_callback(dde4ed65bff788c3).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true) |
| 174 | ); |
| 175 | } |
| 176 | catch(...) |
| 177 | { |
| 178 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 179 | } |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Element_signal_pad_removed_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_removed_info. = |
| 184 | { |
| 185 | "pad-removed", |
| 186 | (GCallback) &Element_signal_pad_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_removed_callback(dde4ed65bff788c3)., |
| 187 | (GCallback) &Element_signal_pad_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_removed_callback(dde4ed65bff788c3). |
| 188 | }; |
| 189 | |
| 190 | |
| 191 | } // anonymous namespace |
| 192 | |
| 193 | // static |
| 194 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::ElementFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 195 | { |
| 196 | return gst_element_flags_get_type(); |
| 197 | } |
| 198 | |
| 199 | // static |
| 200 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::StateChange>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 201 | { |
| 202 | return gst_state_change_get_type(); |
| 203 | } |
| 204 | |
| 205 | // static |
| 206 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::StateChangeReturn>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 207 | { |
| 208 | return gst_state_change_return_get_type(); |
| 209 | } |
| 210 | |
| 211 | |
| 212 | namespace Glibcxx . . $ Glib/ |
| 213 | { |
| 214 | |
| 215 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(GstElementcxx . . $ GstElement#* object, bool take_copy) |
| 216 | { |
| 217 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>( dynamic_cast<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 218 | //We use dynamic_cast<> in case of multiple inheritance. |
| 219 | } |
| 220 | |
| 221 | } /* namespace Glib */ |
| 222 | |
| 223 | |
| 224 | namespace Gstcxx . . $ Gst/ |
| 225 | { |
| 226 | |
| 227 | |
| 228 | /* The *_Class implementation: */ |
| 229 | |
| 230 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Element_Classcxx . . $ Gst/Element_Class#::initcxx . . $ Gst/Element_Class#init(bf348c0cd369184d).() |
| 231 | { |
| 232 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 233 | { |
| 234 | // Glib::Class has to know the class init function to clone custom types. |
| 235 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Element_Classcxx . . $ Gst/Element_Class#::class_init_functioncxx . . $ Gst/Element_Class#class_init_function(6c58c5e2437d25a2).; |
| 236 | |
| 237 | // This is actually just optimized away, apparently with no harm. |
| 238 | // Make sure that the parent type has been created. |
| 239 | //CppClassParent::CppObjectType::get_type(); |
| 240 | |
| 241 | // Create the wrapper type, with the same class/instance size as the base type. |
| 242 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_element_get_type()); |
| 243 | |
| 244 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 245 | |
| 246 | } |
| 247 | |
| 248 | return *this; |
| 249 | } |
| 250 | |
| 251 | |
| 252 | void Element_Classcxx . . $ Gst/Element_Class#::class_init_functioncxx . . $ Gst/Element_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 253 | { |
| 254 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>(g_class); |
| 255 | CppClassParentcxx . . $ Gst/Element_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 256 | |
| 257 | klass->release_padcxx . . $ _GstElementClass#release_pad. = &release_pad_vfunc_callbackcxx . . $ Gst/Element_Class#release_pad_vfunc_callback(4ff3f0bcbc1399d2).; |
| 258 | klass->request_new_padcxx . . $ _GstElementClass#request_new_pad. = &request_new_pad_vfunc_callbackcxx . . $ Gst/Element_Class#request_new_pad_vfunc_callback(9e9cd290582e60f).; |
| 259 | klass->get_statecxx . . $ _GstElementClass#get_state. = &get_state_vfunc_callbackcxx . . $ Gst/Element_Class#get_state_vfunc_callback(4ba938760be42832).; |
| 260 | klass->set_statecxx . . $ _GstElementClass#set_state. = &set_state_vfunc_callbackcxx . . $ Gst/Element_Class#set_state_vfunc_callback(c247dd86760e3910).; |
| 261 | klass->change_statecxx . . $ _GstElementClass#change_state. = &change_state_vfunc_callbackcxx . . $ Gst/Element_Class#change_state_vfunc_callback(9d9188bc7bd2dfc0).; |
| 262 | klass->state_changedcxx . . $ _GstElementClass#state_changed. = &state_changed_vfunc_callbackcxx . . $ Gst/Element_Class#state_changed_vfunc_callback(dc6e91bdd79f9703).; |
| 263 | klass->set_buscxx . . $ _GstElementClass#set_bus. = &set_bus_vfunc_callbackcxx . . $ Gst/Element_Class#set_bus_vfunc_callback(aa3b986b94aefc6d).; |
| 264 | klass->provide_clockcxx . . $ _GstElementClass#provide_clock. = &provide_clock_vfunc_callbackcxx . . $ Gst/Element_Class#provide_clock_vfunc_callback(3edfd605966b76).; |
| 265 | klass->set_clockcxx . . $ _GstElementClass#set_clock. = &set_clock_vfunc_callbackcxx . . $ Gst/Element_Class#set_clock_vfunc_callback(5590beaf220239be).; |
| 266 | klass->send_eventcxx . . $ _GstElementClass#send_event. = &send_event_vfunc_callbackcxx . . $ Gst/Element_Class#send_event_vfunc_callback(166c0defca7d2549).; |
| 267 | klass->querycxx . . $ _GstElementClass#query. = &query_vfunc_callbackcxx . . $ Gst/Element_Class#query_vfunc_callback(ab6ea543e343c797).; |
| 268 | klass->set_contextcxx . . $ _GstElementClass#set_context. = &set_context_vfunc_callbackcxx . . $ Gst/Element_Class#set_context_vfunc_callback(207f4df3f9d27b19).; |
| 269 | klass->post_messagecxx . . $ _GstElementClass#post_message. = &post_message_vfunc_callbackcxx . . $ Gst/Element_Class#post_message_vfunc_callback(a4bc57d84268259f).; |
| 270 | |
| 271 | klass->no_more_padscxx . . $ _GstElementClass#no_more_pads. = &no_more_pads_callbackcxx . . $ Gst/Element_Class#no_more_pads_callback(175aa13ace29d0d5).; |
| 272 | klass->pad_addedcxx . . $ _GstElementClass#pad_added. = &pad_added_callbackcxx . . $ Gst/Element_Class#pad_added_callback(4ff3f0bcbc1399d2).; |
| 273 | klass->pad_removedcxx . . $ _GstElementClass#pad_removed. = &pad_removed_callbackcxx . . $ Gst/Element_Class#pad_removed_callback(4ff3f0bcbc1399d2).; |
| 274 | } |
| 275 | |
| 276 | void Element_Classcxx . . $ Gst/Element_Class#::release_pad_vfunc_callbackcxx . . $ Gst/Element_Class#release_pad_vfunc_callback(4ff3f0bcbc1399d2).(GstElementcxx . . $ GstElement#* self, GstPadcxx . . $ GstPad#* pad) |
| 277 | { |
| 278 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 279 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 280 | |
| 281 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 282 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 283 | // generated classes can use this optimisation, which avoids the unnecessary |
| 284 | // parameter conversions if there is no possibility of the virtual function |
| 285 | // being overridden: |
| 286 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 287 | { |
| 288 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 289 | if(obj) // This can be NULL during destruction. |
| 290 | { |
| 291 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 292 | { |
| 293 | // Call the virtual member method, which derived classes might override. |
| 294 | obj->release_pad_vfunccxx . . $ Gst/Element#release_pad_vfunc(6d8541f3277dd441).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(pad, true) |
| 295 | ); |
| 296 | return; |
| 297 | } |
| 298 | catch(...) |
| 299 | { |
| 300 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 301 | } |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 306 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 307 | ); |
| 308 | |
| 309 | // Call the original underlying C function: |
| 310 | if(base && base->release_padcxx . . $ _GstElementClass#release_pad.) |
| 311 | (*base->release_padcxx . . $ _GstElementClass#release_pad.)(self, pad); |
| 312 | } |
| 313 | GstPadcxx . . $ GstPad#* Element_Classcxx . . $ Gst/Element_Class#::request_new_pad_vfunc_callbackcxx . . $ Gst/Element_Class#request_new_pad_vfunc_callback(9e9cd290582e60f).(GstElementcxx . . $ GstElement#* self, GstPadTemplatecxx . . $ GstPadTemplate#* templ, const gchar* name, const GstCaps* caps) |
| 314 | { |
| 315 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 316 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 317 | |
| 318 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 319 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 320 | // generated classes can use this optimisation, which avoids the unnecessary |
| 321 | // parameter conversions if there is no possibility of the virtual function |
| 322 | // being overridden: |
| 323 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 324 | { |
| 325 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 326 | if(obj) // This can be NULL during destruction. |
| 327 | { |
| 328 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 329 | { |
| 330 | // Call the virtual member method, which derived classes might override. |
| 331 | return Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(obj->request_new_pad_vfunccxx . . $ Gst/Element#request_new_pad_vfunc(a375135f9cd5a1).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3668c1526acfc0ed).(templ) |
| 332 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(name) |
| 333 | , Glibcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(const_cast<GstCaps*>(caps)) |
| 334 | )); |
| 335 | } |
| 336 | catch(...) |
| 337 | { |
| 338 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 339 | } |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 344 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 345 | ); |
| 346 | |
| 347 | // Call the original underlying C function: |
| 348 | if(base && base->request_new_padcxx . . $ _GstElementClass#request_new_pad.) |
| 349 | return (*base->request_new_padcxx . . $ _GstElementClass#request_new_pad.)(self, templ, name, caps); |
| 350 | |
| 351 | using RTypecxx . . $ Gst/Element_Class#request_new_pad_vfunc_callback(9e9cd290582e60f).RType# = GstPadcxx . . $ GstPad#*; |
| 352 | return RTypecxx . . $ Gst/Element_Class#request_new_pad_vfunc_callback(9e9cd290582e60f).RType#(); |
| 353 | } |
| 354 | GstStateChangeReturn Element_Classcxx . . $ Gst/Element_Class#::get_state_vfunc_callbackcxx . . $ Gst/Element_Class#get_state_vfunc_callback(4ba938760be42832).(GstElementcxx . . $ GstElement#* self, GstState* state, GstState* pending, GstClockTime timeout) |
| 355 | { |
| 356 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 357 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 358 | |
| 359 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 360 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 361 | // generated classes can use this optimisation, which avoids the unnecessary |
| 362 | // parameter conversions if there is no possibility of the virtual function |
| 363 | // being overridden: |
| 364 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 365 | { |
| 366 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 367 | if(obj) // This can be NULL during destruction. |
| 368 | { |
| 369 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 370 | { |
| 371 | // Call the virtual member method, which derived classes might override. |
| 372 | return ((GstStateChangeReturn)(obj->get_state_vfunccxx . . $ Gst/Element#get_state_vfunc(6712af1af8576b01).(*reinterpret_cast<Gstcxx . . $ Gst/::Statecxx . . $ Gst/State#*>(state) |
| 373 | , *reinterpret_cast<Gstcxx . . $ Gst/::Statecxx . . $ Gst/State#*>(pending) |
| 374 | , ((ClockTimecxx . . $ Gst/ClockTime#)(timeout)) |
| 375 | ))); |
| 376 | } |
| 377 | catch(...) |
| 378 | { |
| 379 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 380 | } |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 385 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 386 | ); |
| 387 | |
| 388 | // Call the original underlying C function: |
| 389 | if(base && base->get_statecxx . . $ _GstElementClass#get_state.) |
| 390 | return (*base->get_statecxx . . $ _GstElementClass#get_state.)(self, state, pending, timeout); |
| 391 | |
| 392 | using RTypecxx . . $ Gst/Element_Class#get_state_vfunc_callback(4ba938760be42832).RType# = GstStateChangeReturn; |
| 393 | return RTypecxx . . $ Gst/Element_Class#get_state_vfunc_callback(4ba938760be42832).RType#(); |
| 394 | } |
| 395 | GstStateChangeReturn Element_Classcxx . . $ Gst/Element_Class#::set_state_vfunc_callbackcxx . . $ Gst/Element_Class#set_state_vfunc_callback(c247dd86760e3910).(GstElementcxx . . $ GstElement#* self, GstState state) |
| 396 | { |
| 397 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 398 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 399 | |
| 400 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 401 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 402 | // generated classes can use this optimisation, which avoids the unnecessary |
| 403 | // parameter conversions if there is no possibility of the virtual function |
| 404 | // being overridden: |
| 405 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 406 | { |
| 407 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 408 | if(obj) // This can be NULL during destruction. |
| 409 | { |
| 410 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 411 | { |
| 412 | // Call the virtual member method, which derived classes might override. |
| 413 | return ((GstStateChangeReturn)(obj->set_state_vfunccxx . . $ Gst/Element#set_state_vfunc(17bf573d41f9253f).(((Statecxx . . $ Gst/State#)(state)) |
| 414 | ))); |
| 415 | } |
| 416 | catch(...) |
| 417 | { |
| 418 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 419 | } |
| 420 | } |
| 421 | } |
| 422 | |
| 423 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 424 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 425 | ); |
| 426 | |
| 427 | // Call the original underlying C function: |
| 428 | if(base && base->set_statecxx . . $ _GstElementClass#set_state.) |
| 429 | return (*base->set_statecxx . . $ _GstElementClass#set_state.)(self, state); |
| 430 | |
| 431 | using RTypecxx . . $ Gst/Element_Class#set_state_vfunc_callback(c247dd86760e3910).RType# = GstStateChangeReturn; |
| 432 | return RTypecxx . . $ Gst/Element_Class#set_state_vfunc_callback(c247dd86760e3910).RType#(); |
| 433 | } |
| 434 | GstStateChangeReturn Element_Classcxx . . $ Gst/Element_Class#::change_state_vfunc_callbackcxx . . $ Gst/Element_Class#change_state_vfunc_callback(9d9188bc7bd2dfc0).(GstElementcxx . . $ GstElement#* self, GstStateChange transition) |
| 435 | { |
| 436 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 437 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 438 | |
| 439 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 440 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 441 | // generated classes can use this optimisation, which avoids the unnecessary |
| 442 | // parameter conversions if there is no possibility of the virtual function |
| 443 | // being overridden: |
| 444 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 445 | { |
| 446 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 447 | if(obj) // This can be NULL during destruction. |
| 448 | { |
| 449 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 450 | { |
| 451 | // Call the virtual member method, which derived classes might override. |
| 452 | return ((GstStateChangeReturn)(obj->change_state_vfunccxx . . $ Gst/Element#change_state_vfunc(540d5c6bac753bc3).(((StateChangecxx . . $ Gst/StateChange#)(transition)) |
| 453 | ))); |
| 454 | } |
| 455 | catch(...) |
| 456 | { |
| 457 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 458 | } |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 463 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 464 | ); |
| 465 | |
| 466 | // Call the original underlying C function: |
| 467 | if(base && base->change_statecxx . . $ _GstElementClass#change_state.) |
| 468 | return (*base->change_statecxx . . $ _GstElementClass#change_state.)(self, transition); |
| 469 | |
| 470 | using RTypecxx . . $ Gst/Element_Class#change_state_vfunc_callback(9d9188bc7bd2dfc0).RType# = GstStateChangeReturn; |
| 471 | return RTypecxx . . $ Gst/Element_Class#change_state_vfunc_callback(9d9188bc7bd2dfc0).RType#(); |
| 472 | } |
| 473 | void Element_Classcxx . . $ Gst/Element_Class#::state_changed_vfunc_callbackcxx . . $ Gst/Element_Class#state_changed_vfunc_callback(dc6e91bdd79f9703).(GstElementcxx . . $ GstElement#* self, GstState oldstate, GstState newstate, GstState pending) |
| 474 | { |
| 475 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 476 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 477 | |
| 478 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 479 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 480 | // generated classes can use this optimisation, which avoids the unnecessary |
| 481 | // parameter conversions if there is no possibility of the virtual function |
| 482 | // being overridden: |
| 483 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 484 | { |
| 485 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 486 | if(obj) // This can be NULL during destruction. |
| 487 | { |
| 488 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 489 | { |
| 490 | // Call the virtual member method, which derived classes might override. |
| 491 | obj->state_changed_vfunccxx . . $ Gst/Element#state_changed_vfunc(f5c93066139c1ae4).(((Gstcxx . . $ Gst/::Statecxx . . $ Gst/State#)(oldstate)) |
| 492 | , ((Gstcxx . . $ Gst/::Statecxx . . $ Gst/State#)(newstate)) |
| 493 | , ((Gstcxx . . $ Gst/::Statecxx . . $ Gst/State#)(pending)) |
| 494 | ); |
| 495 | return; |
| 496 | } |
| 497 | catch(...) |
| 498 | { |
| 499 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 500 | } |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 505 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 506 | ); |
| 507 | |
| 508 | // Call the original underlying C function: |
| 509 | if(base && base->state_changedcxx . . $ _GstElementClass#state_changed.) |
| 510 | (*base->state_changedcxx . . $ _GstElementClass#state_changed.)(self, oldstate, newstate, pending); |
| 511 | } |
| 512 | void Element_Classcxx . . $ Gst/Element_Class#::set_bus_vfunc_callbackcxx . . $ Gst/Element_Class#set_bus_vfunc_callback(aa3b986b94aefc6d).(GstElementcxx . . $ GstElement#* self, GstBuscxx . . $ GstBus#* bus) |
| 513 | { |
| 514 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 515 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 516 | |
| 517 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 518 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 519 | // generated classes can use this optimisation, which avoids the unnecessary |
| 520 | // parameter conversions if there is no possibility of the virtual function |
| 521 | // being overridden: |
| 522 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 523 | { |
| 524 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 525 | if(obj) // This can be NULL during destruction. |
| 526 | { |
| 527 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 528 | { |
| 529 | // Call the virtual member method, which derived classes might override. |
| 530 | obj->set_bus_vfunccxx . . $ Gst/Element#set_bus_vfunc(cf84632c3222d6b0).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(79deee541be19870).(bus, true) |
| 531 | ); |
| 532 | return; |
| 533 | } |
| 534 | catch(...) |
| 535 | { |
| 536 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 537 | } |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 542 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 543 | ); |
| 544 | |
| 545 | // Call the original underlying C function: |
| 546 | if(base && base->set_buscxx . . $ _GstElementClass#set_bus.) |
| 547 | (*base->set_buscxx . . $ _GstElementClass#set_bus.)(self, bus); |
| 548 | } |
| 549 | GstClockcxx . . $ GstClock#* Element_Classcxx . . $ Gst/Element_Class#::provide_clock_vfunc_callbackcxx . . $ Gst/Element_Class#provide_clock_vfunc_callback(3edfd605966b76).(GstElementcxx . . $ GstElement#* self) |
| 550 | { |
| 551 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 552 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 553 | |
| 554 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 555 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 556 | // generated classes can use this optimisation, which avoids the unnecessary |
| 557 | // parameter conversions if there is no possibility of the virtual function |
| 558 | // being overridden: |
| 559 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 560 | { |
| 561 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 562 | if(obj) // This can be NULL during destruction. |
| 563 | { |
| 564 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 565 | { |
| 566 | // Call the virtual member method, which derived classes might override. |
| 567 | return Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(obj->provide_clock_vfunccxx . . $ Gst/Element#provide_clock_vfunc(675458b535f1101e).()); |
| 568 | } |
| 569 | catch(...) |
| 570 | { |
| 571 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 572 | } |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 577 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 578 | ); |
| 579 | |
| 580 | // Call the original underlying C function: |
| 581 | if(base && base->provide_clockcxx . . $ _GstElementClass#provide_clock.) |
| 582 | return (*base->provide_clockcxx . . $ _GstElementClass#provide_clock.)(self); |
| 583 | |
| 584 | using RTypecxx . . $ Gst/Element_Class#provide_clock_vfunc_callback(3edfd605966b76).RType# = GstClockcxx . . $ GstClock#*; |
| 585 | return RTypecxx . . $ Gst/Element_Class#provide_clock_vfunc_callback(3edfd605966b76).RType#(); |
| 586 | } |
| 587 | gboolean Element_Classcxx . . $ Gst/Element_Class#::set_clock_vfunc_callbackcxx . . $ Gst/Element_Class#set_clock_vfunc_callback(5590beaf220239be).(GstElementcxx . . $ GstElement#* self, GstClockcxx . . $ GstClock#* clock) |
| 588 | { |
| 589 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 590 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 591 | |
| 592 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 593 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 594 | // generated classes can use this optimisation, which avoids the unnecessary |
| 595 | // parameter conversions if there is no possibility of the virtual function |
| 596 | // being overridden: |
| 597 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 598 | { |
| 599 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 600 | if(obj) // This can be NULL during destruction. |
| 601 | { |
| 602 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 603 | { |
| 604 | // Call the virtual member method, which derived classes might override. |
| 605 | return static_cast<int>(obj->set_clock_vfunccxx . . $ Gst/Element#set_clock_vfunc(1ff05c66ddfda83a).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).(clock, true) |
| 606 | )); |
| 607 | } |
| 608 | catch(...) |
| 609 | { |
| 610 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 611 | } |
| 612 | } |
| 613 | } |
| 614 | |
| 615 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 616 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 617 | ); |
| 618 | |
| 619 | // Call the original underlying C function: |
| 620 | if(base && base->set_clockcxx . . $ _GstElementClass#set_clock.) |
| 621 | return (*base->set_clockcxx . . $ _GstElementClass#set_clock.)(self, clock); |
| 622 | |
| 623 | return static_cast<int>(true); |
| 624 | } |
| 625 | gboolean Element_Classcxx . . $ Gst/Element_Class#::send_event_vfunc_callbackcxx . . $ Gst/Element_Class#send_event_vfunc_callback(166c0defca7d2549).(GstElementcxx . . $ GstElement#* self, GstEvent* event) |
| 626 | { |
| 627 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 628 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 629 | |
| 630 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 631 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 632 | // generated classes can use this optimisation, which avoids the unnecessary |
| 633 | // parameter conversions if there is no possibility of the virtual function |
| 634 | // being overridden: |
| 635 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 636 | { |
| 637 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 638 | if(obj) // This can be NULL during destruction. |
| 639 | { |
| 640 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 641 | { |
| 642 | // Call the virtual member method, which derived classes might override. |
| 643 | return static_cast<int>(obj->send_event_vfunccxx . . $ Gst/Element#send_event_vfunc(2055ffde69ae5030).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(event, true) |
| 644 | )); |
| 645 | } |
| 646 | catch(...) |
| 647 | { |
| 648 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 649 | } |
| 650 | } |
| 651 | } |
| 652 | |
| 653 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 654 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 655 | ); |
| 656 | |
| 657 | // Call the original underlying C function: |
| 658 | if(base && base->send_eventcxx . . $ _GstElementClass#send_event.) |
| 659 | return (*base->send_eventcxx . . $ _GstElementClass#send_event.)(self, event); |
| 660 | |
| 661 | using RTypecxx . . $ Gst/Element_Class#send_event_vfunc_callback(166c0defca7d2549).RType# = gboolean; |
| 662 | return RTypecxx . . $ Gst/Element_Class#send_event_vfunc_callback(166c0defca7d2549).RType#(); |
| 663 | } |
| 664 | gboolean Element_Classcxx . . $ Gst/Element_Class#::query_vfunc_callbackcxx . . $ Gst/Element_Class#query_vfunc_callback(ab6ea543e343c797).(GstElementcxx . . $ GstElement#* self, GstQuery* query) |
| 665 | { |
| 666 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 667 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 668 | |
| 669 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 670 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 671 | // generated classes can use this optimisation, which avoids the unnecessary |
| 672 | // parameter conversions if there is no possibility of the virtual function |
| 673 | // being overridden: |
| 674 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 675 | { |
| 676 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 677 | if(obj) // This can be NULL during destruction. |
| 678 | { |
| 679 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 680 | { |
| 681 | // Call the virtual member method, which derived classes might override. |
| 682 | return static_cast<int>(obj->query_vfunccxx . . $ Gst/Element#query_vfunc(49f3f197415ffc07).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, true) |
| 683 | )); |
| 684 | } |
| 685 | catch(...) |
| 686 | { |
| 687 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 688 | } |
| 689 | } |
| 690 | } |
| 691 | |
| 692 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 693 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 694 | ); |
| 695 | |
| 696 | // Call the original underlying C function: |
| 697 | if(base && base->querycxx . . $ _GstElementClass#query.) |
| 698 | return (*base->querycxx . . $ _GstElementClass#query.)(self, query); |
| 699 | |
| 700 | using RTypecxx . . $ Gst/Element_Class#query_vfunc_callback(ab6ea543e343c797).RType# = gboolean; |
| 701 | return RTypecxx . . $ Gst/Element_Class#query_vfunc_callback(ab6ea543e343c797).RType#(); |
| 702 | } |
| 703 | void Element_Classcxx . . $ Gst/Element_Class#::set_context_vfunc_callbackcxx . . $ Gst/Element_Class#set_context_vfunc_callback(207f4df3f9d27b19).(GstElementcxx . . $ GstElement#* self, GstContext* context) |
| 704 | { |
| 705 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 706 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 707 | |
| 708 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 709 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 710 | // generated classes can use this optimisation, which avoids the unnecessary |
| 711 | // parameter conversions if there is no possibility of the virtual function |
| 712 | // being overridden: |
| 713 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 714 | { |
| 715 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 716 | if(obj) // This can be NULL during destruction. |
| 717 | { |
| 718 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 719 | { |
| 720 | // Call the virtual member method, which derived classes might override. |
| 721 | obj->set_context_vfunccxx . . $ Gst/Element#set_context_vfunc(5cec048a07afcf14).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f29c29259afac997).(context) |
| 722 | ); |
| 723 | return; |
| 724 | } |
| 725 | catch(...) |
| 726 | { |
| 727 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 728 | } |
| 729 | } |
| 730 | } |
| 731 | |
| 732 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 733 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 734 | ); |
| 735 | |
| 736 | // Call the original underlying C function: |
| 737 | if(base && base->set_contextcxx . . $ _GstElementClass#set_context.) |
| 738 | (*base->set_contextcxx . . $ _GstElementClass#set_context.)(self, context); |
| 739 | } |
| 740 | gboolean Element_Classcxx . . $ Gst/Element_Class#::post_message_vfunc_callbackcxx . . $ Gst/Element_Class#post_message_vfunc_callback(a4bc57d84268259f).(GstElementcxx . . $ GstElement#* self, GstMessage* message) |
| 741 | { |
| 742 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 743 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 744 | |
| 745 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 746 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 747 | // generated classes can use this optimisation, which avoids the unnecessary |
| 748 | // parameter conversions if there is no possibility of the virtual function |
| 749 | // being overridden: |
| 750 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 751 | { |
| 752 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 753 | if(obj) // This can be NULL during destruction. |
| 754 | { |
| 755 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 756 | { |
| 757 | // Call the virtual member method, which derived classes might override. |
| 758 | return static_cast<int>(obj->post_message_vfunccxx . . $ Gst/Element#post_message_vfunc(df51b648d29dd2d9).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(message, true) |
| 759 | )); |
| 760 | } |
| 761 | catch(...) |
| 762 | { |
| 763 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 764 | } |
| 765 | } |
| 766 | } |
| 767 | |
| 768 | BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 769 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 770 | ); |
| 771 | |
| 772 | // Call the original underlying C function: |
| 773 | if(base && base->post_messagecxx . . $ _GstElementClass#post_message.) |
| 774 | return (*base->post_messagecxx . . $ _GstElementClass#post_message.)(self, message); |
| 775 | |
| 776 | using RTypecxx . . $ Gst/Element_Class#post_message_vfunc_callback(a4bc57d84268259f).RType# = gboolean; |
| 777 | return RTypecxx . . $ Gst/Element_Class#post_message_vfunc_callback(a4bc57d84268259f).RType#(); |
| 778 | } |
| 779 | |
| 780 | void Element_Classcxx . . $ Gst/Element_Class#::no_more_pads_callbackcxx . . $ Gst/Element_Class#no_more_pads_callback(175aa13ace29d0d5).(GstElementcxx . . $ GstElement#* self) |
| 781 | { |
| 782 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 783 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 784 | |
| 785 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 786 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 787 | // generated classes can use this optimisation, which avoids the unnecessary |
| 788 | // parameter conversions if there is no possibility of the virtual function |
| 789 | // being overridden: |
| 790 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 791 | { |
| 792 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 793 | if(obj) // This can be NULL during destruction. |
| 794 | { |
| 795 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 796 | { |
| 797 | // Call the virtual member method, which derived classes might override. |
| 798 | obj->on_no_more_padscxx . . $ Gst/Element#on_no_more_pads(49f6e7a06ebc5aa8).(); |
| 799 | return; |
| 800 | } |
| 801 | catch(...) |
| 802 | { |
| 803 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 804 | } |
| 805 | } |
| 806 | } |
| 807 | |
| 808 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 809 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 810 | ); |
| 811 | |
| 812 | // Call the original underlying C function: |
| 813 | if(base && base->no_more_padscxx . . $ _GstElementClass#no_more_pads.) |
| 814 | (*base->no_more_padscxx . . $ _GstElementClass#no_more_pads.)(self); |
| 815 | } |
| 816 | void Element_Classcxx . . $ Gst/Element_Class#::pad_added_callbackcxx . . $ Gst/Element_Class#pad_added_callback(4ff3f0bcbc1399d2).(GstElementcxx . . $ GstElement#* self, GstPadcxx . . $ GstPad#* p0) |
| 817 | { |
| 818 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 819 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 820 | |
| 821 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 822 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 823 | // generated classes can use this optimisation, which avoids the unnecessary |
| 824 | // parameter conversions if there is no possibility of the virtual function |
| 825 | // being overridden: |
| 826 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 827 | { |
| 828 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 829 | if(obj) // This can be NULL during destruction. |
| 830 | { |
| 831 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 832 | { |
| 833 | // Call the virtual member method, which derived classes might override. |
| 834 | obj->on_pad_addedcxx . . $ Gst/Element#on_pad_added(6d8541f3277dd441).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true) |
| 835 | ); |
| 836 | return; |
| 837 | } |
| 838 | catch(...) |
| 839 | { |
| 840 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 841 | } |
| 842 | } |
| 843 | } |
| 844 | |
| 845 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 846 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 847 | ); |
| 848 | |
| 849 | // Call the original underlying C function: |
| 850 | if(base && base->pad_addedcxx . . $ _GstElementClass#pad_added.) |
| 851 | (*base->pad_addedcxx . . $ _GstElementClass#pad_added.)(self, p0); |
| 852 | } |
| 853 | void Element_Classcxx . . $ Gst/Element_Class#::pad_removed_callbackcxx . . $ Gst/Element_Class#pad_removed_callback(4ff3f0bcbc1399d2).(GstElementcxx . . $ GstElement#* self, GstPadcxx . . $ GstPad#* p0) |
| 854 | { |
| 855 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 856 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 857 | |
| 858 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 859 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 860 | // generated classes can use this optimisation, which avoids the unnecessary |
| 861 | // parameter conversions if there is no possibility of the virtual function |
| 862 | // being overridden: |
| 863 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 864 | { |
| 865 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Element_Class#CppObjectType#* const>(obj_base); |
| 866 | if(obj) // This can be NULL during destruction. |
| 867 | { |
| 868 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 869 | { |
| 870 | // Call the virtual member method, which derived classes might override. |
| 871 | obj->on_pad_removedcxx . . $ Gst/Element#on_pad_removed(6d8541f3277dd441).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true) |
| 872 | ); |
| 873 | return; |
| 874 | } |
| 875 | catch(...) |
| 876 | { |
| 877 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 878 | } |
| 879 | } |
| 880 | } |
| 881 | |
| 882 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element_Class#BaseClassType#*>( |
| 883 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 884 | ); |
| 885 | |
| 886 | // Call the original underlying C function: |
| 887 | if(base && base->pad_removedcxx . . $ _GstElementClass#pad_removed.) |
| 888 | (*base->pad_removedcxx . . $ _GstElementClass#pad_removed.)(self, p0); |
| 889 | } |
| 890 | |
| 891 | |
| 892 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Element_Classcxx . . $ Gst/Element_Class#::wrap_newcxx . . $ Gst/Element_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 893 | { |
| 894 | return new Elementcxx . . $ Gst/Element#Element(175aa13ace29d0d5).((GstElementcxx . . $ GstElement#*)object); |
| 895 | } |
| 896 | |
| 897 | |
| 898 | /* The implementation: */ |
| 899 | |
| 900 | GstElementcxx . . $ GstElement#* Elementcxx . . $ Gst/Element#::gobj_copycxx . . $ Gst/Element#gobj_copy(f5e3ed92ee6596f1).() |
| 901 | { |
| 902 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 903 | return gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(); |
| 904 | } |
| 905 | |
| 906 | Elementcxx . . $ Gst/Element#::Elementcxx . . $ Gst/Element#Element(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 907 | : |
| 908 | Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#(construct_params) |
| 909 | { |
| 910 | |
| 911 | } |
| 912 | |
| 913 | Elementcxx . . $ Gst/Element#::Elementcxx . . $ Gst/Element#Element(175aa13ace29d0d5).(GstElementcxx . . $ GstElement#* castitem) |
| 914 | : |
| 915 | Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem)) |
| 916 | {} |
| 917 | |
| 918 | |
| 919 | Elementcxx . . $ Gst/Element#::Elementcxx . . $ Gst/Element#Element(9bd74731f3b9d759).(Elementcxx . . $ Gst/Element#&& src) noexcept |
| 920 | : Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 921 | {} |
| 922 | |
| 923 | Elementcxx . . $ Gst/Element#& Elementcxx . . $ Gst/Element#::operatorcxx . . $ Gst/Element#`operator=`(6d0fd653891eb021).=(Elementcxx . . $ Gst/Element#&& src) noexcept |
| 924 | { |
| 925 | Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 926 | return *this; |
| 927 | } |
| 928 | |
| 929 | |
| 930 | Elementcxx . . $ Gst/Element#::~cxx . . $ Gst/Element#`~Element`(ced63f7c635d850d).Elementcxx . . $ Gst/Element#() noexcept |
| 931 | {} |
| 932 | |
| 933 | |
| 934 | Elementcxx . . $ Gst/Element#::CppClassTypecxx . . $ Gst/Element#CppClassType# Elementcxx . . $ Gst/Element#::element_class_cxx . . $ Gst/Element#element_class_.; // initialize static member |
| 935 | |
| 936 | GType Elementcxx . . $ Gst/Element#::get_typecxx . . $ Gst/Element#get_type(f708dce9a8856c70).() |
| 937 | { |
| 938 | return element_class_cxx . . $ Gst/Element#element_class_..initcxx . . $ Gst/Element_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 939 | } |
| 940 | |
| 941 | |
| 942 | GType Elementcxx . . $ Gst/Element#::get_base_typecxx . . $ Gst/Element#get_base_type(f708dce9a8856c70).() |
| 943 | { |
| 944 | return gst_element_get_type(); |
| 945 | } |
| 946 | |
| 947 | |
| 948 | bool Elementcxx . . $ Gst/Element#::add_padcxx . . $ Gst/Element#add_pad(9b3f380b23eb461).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& pad) |
| 949 | { |
| 950 | return gst_element_add_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(pad)); |
| 951 | } |
| 952 | |
| 953 | void Elementcxx . . $ Gst/Element#::create_all_padscxx . . $ Gst/Element#create_all_pads(49f6e7a06ebc5aa8).() |
| 954 | { |
| 955 | gst_element_create_all_pads(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).()); |
| 956 | } |
| 957 | |
| 958 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::create_compatible_padcxx . . $ Gst/Element#create_compatible_pad(78f458785cb9c60e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& pad, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 959 | { |
| 960 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_element_get_compatible_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), const_cast<GstPadcxx . . $ GstPad#*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(pad)), const_cast<GstCaps*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(caps)))); |
| 961 | } |
| 962 | |
| 963 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> Elementcxx . . $ Gst/Element#::get_compatible_pad_templatecxx . . $ Gst/Element#get_compatible_pad_template(c84880d3198eb9fb).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& compattempl) |
| 964 | { |
| 965 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> retvalue = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3668c1526acfc0ed).(gst_element_get_compatible_pad_template(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), const_cast<GstPadTemplatecxx . . $ GstPadTemplate#*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(compattempl)))); |
| 966 | if(retvalue) |
| 967 | retvalue->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); //The function does not do a ref for us. |
| 968 | return retvaluecxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 969 | } |
| 970 | |
| 971 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> Elementcxx . . $ Gst/Element#::get_compatible_pad_templatecxx . . $ Gst/Element#get_compatible_pad_template(b4cd0aad4aa4337c).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& compattempl) const |
| 972 | { |
| 973 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Elementcxx . . $ Gst/Element#*>(this)->get_compatible_pad_templatecxx . . $ Gst/Element#get_compatible_pad_template(c84880d3198eb9fb).(compattempl); |
| 974 | } |
| 975 | |
| 976 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::get_request_padcxx . . $ Gst/Element#get_request_pad(d41a58e7b5052139).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 977 | { |
| 978 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_element_get_request_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 979 | } |
| 980 | |
| 981 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::request_padcxx . . $ Gst/Element#request_pad(5c5bd80a78a5ed7a).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& templ, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 982 | { |
| 983 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_element_request_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(templ), name.emptycxx . . $ Glib/ustring#empty(50ce9a9e25b4a850).() ? nullptr : name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(caps))); |
| 984 | } |
| 985 | |
| 986 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::request_padcxx . . $ Gst/Element#request_pad(6d8eb6529f43e5a2).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& templ, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 987 | { |
| 988 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_element_request_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(templ), name.emptycxx . . $ Glib/ustring#empty(50ce9a9e25b4a850).() ? nullptr : name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr)); |
| 989 | } |
| 990 | |
| 991 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::request_padcxx . . $ Gst/Element#request_pad(f8ccb9e73e56632d).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& templ, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 992 | { |
| 993 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_element_request_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(templ), nullptr, Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(caps))); |
| 994 | } |
| 995 | |
| 996 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::request_padcxx . . $ Gst/Element#request_pad(9128074496de6b9e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& templ) |
| 997 | { |
| 998 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_element_request_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(templ), nullptr, nullptr)); |
| 999 | } |
| 1000 | |
| 1001 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::get_static_padcxx . . $ Gst/Element#get_static_pad(d41a58e7b5052139).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 1002 | { |
| 1003 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_element_get_static_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 1004 | } |
| 1005 | |
| 1006 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::get_static_padcxx . . $ Gst/Element#get_static_pad(da6eff847f8658b).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 1007 | { |
| 1008 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Elementcxx . . $ Gst/Element#*>(this)->get_static_padcxx . . $ Gst/Element#get_static_pad(d41a58e7b5052139).(name); |
| 1009 | } |
| 1010 | |
| 1011 | void Elementcxx . . $ Gst/Element#::no_more_padscxx . . $ Gst/Element#no_more_pads(49f6e7a06ebc5aa8).() |
| 1012 | { |
| 1013 | gst_element_no_more_pads(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).()); |
| 1014 | } |
| 1015 | |
| 1016 | void Elementcxx . . $ Gst/Element#::release_request_padcxx . . $ Gst/Element#release_request_pad(6d8541f3277dd441).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& pad) |
| 1017 | { |
| 1018 | gst_element_release_request_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(pad)); |
| 1019 | } |
| 1020 | |
| 1021 | bool Elementcxx . . $ Gst/Element#::remove_padcxx . . $ Gst/Element#remove_pad(9b3f380b23eb461).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& pad) |
| 1022 | { |
| 1023 | return gst_element_remove_pad(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(pad)); |
| 1024 | } |
| 1025 | |
| 1026 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::iterate_padscxx . . $ Gst/Element#iterate_pads(10d94222ba1c486f).() |
| 1027 | { |
| 1028 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_element_iterate_pads(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).())); |
| 1029 | } |
| 1030 | |
| 1031 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::iterate_padscxx . . $ Gst/Element#iterate_pads(d2e147ad024c55a4).() const |
| 1032 | { |
| 1033 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_element_iterate_pads(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()))); |
| 1034 | } |
| 1035 | |
| 1036 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::iterate_sink_padscxx . . $ Gst/Element#iterate_sink_pads(10d94222ba1c486f).() |
| 1037 | { |
| 1038 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_element_iterate_sink_pads(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).())); |
| 1039 | } |
| 1040 | |
| 1041 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::iterate_sink_padscxx . . $ Gst/Element#iterate_sink_pads(d2e147ad024c55a4).() const |
| 1042 | { |
| 1043 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_element_iterate_sink_pads(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()))); |
| 1044 | } |
| 1045 | |
| 1046 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::iterate_src_padscxx . . $ Gst/Element#iterate_src_pads(10d94222ba1c486f).() |
| 1047 | { |
| 1048 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_element_iterate_src_pads(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).())); |
| 1049 | } |
| 1050 | |
| 1051 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Elementcxx . . $ Gst/Element#::iterate_src_padscxx . . $ Gst/Element#iterate_src_pads(d2e147ad024c55a4).() const |
| 1052 | { |
| 1053 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_element_iterate_src_pads(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()))); |
| 1054 | } |
| 1055 | |
| 1056 | void Elementcxx . . $ Gst/Element#::unlinkcxx . . $ Gst/Element#unlink(5d9012a0f12d5b8).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& dest) |
| 1057 | { |
| 1058 | gst_element_unlink(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(dest)); |
| 1059 | } |
| 1060 | |
| 1061 | void Elementcxx . . $ Gst/Element#::set_contextcxx . . $ Gst/Element#set_context(5cec048a07afcf14).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Contextcxx . . $ Gst/Context#>& context) |
| 1062 | { |
| 1063 | gst_element_set_context(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), context->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Context#gobj(de598bd2c1f81d21).()); |
| 1064 | } |
| 1065 | |
| 1066 | bool Elementcxx . . $ Gst/Element#::link_padscxx . . $ Gst/Element#link_pads(3d3a1fa0de024ef4).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& srcpadname, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& dest, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& destpadname) |
| 1067 | { |
| 1068 | return gst_element_link_pads(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), srcpadname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(dest), destpadname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 1069 | } |
| 1070 | |
| 1071 | void Elementcxx . . $ Gst/Element#::unlink_padscxx . . $ Gst/Element#unlink_pads(e878c66781c7e84f).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& srcpadname, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& dest, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& destpadname) |
| 1072 | { |
| 1073 | gst_element_unlink_pads(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), srcpadname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(dest), destpadname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 1074 | } |
| 1075 | |
| 1076 | bool Elementcxx . . $ Gst/Element#::link_padscxx . . $ Gst/Element#link_pads(518799be28f86aee).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& srcpadname, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& dest, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& destpadname, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& filter) |
| 1077 | { |
| 1078 | return gst_element_link_pads_filtered(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), srcpadname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(dest), destpadname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(filter)); |
| 1079 | } |
| 1080 | |
| 1081 | bool Elementcxx . . $ Gst/Element#::link_padscxx . . $ Gst/Element#link_pads(1a38eba5369cf889).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& srcpadname, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& dest, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& destpadname, PadLinkCheckcxx . . $ Gst/PadLinkCheck# flags) |
| 1082 | { |
| 1083 | return gst_element_link_pads_full(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), srcpadname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(dest), destpadname.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), ((GstPadLinkCheck)(flags))); |
| 1084 | } |
| 1085 | |
| 1086 | void Elementcxx . . $ Gst/Element#::set_base_timecxx . . $ Gst/Element#set_base_time(2c44cd906ae4e829).(ClockTimecxx . . $ Gst/ClockTime# time) |
| 1087 | { |
| 1088 | gst_element_set_base_time(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), ((GstClockTime)(time))); |
| 1089 | } |
| 1090 | |
| 1091 | ClockTimecxx . . $ Gst/ClockTime# Elementcxx . . $ Gst/Element#::get_base_timecxx . . $ Gst/Element#get_base_time(fe4d2d262d4164a8).() const |
| 1092 | { |
| 1093 | return ((ClockTimecxx . . $ Gst/ClockTime#)(gst_element_get_base_time(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).())))); |
| 1094 | } |
| 1095 | |
| 1096 | void Elementcxx . . $ Gst/Element#::set_start_timecxx . . $ Gst/Element#set_start_time(2c44cd906ae4e829).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# time) |
| 1097 | { |
| 1098 | gst_element_set_start_time(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), ((GstClockTime)(time))); |
| 1099 | } |
| 1100 | |
| 1101 | Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# Elementcxx . . $ Gst/Element#::get_start_timecxx . . $ Gst/Element#get_start_time(fe4d2d262d4164a8).() const |
| 1102 | { |
| 1103 | return ((Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#)(gst_element_get_start_time(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).())))); |
| 1104 | } |
| 1105 | |
| 1106 | void Elementcxx . . $ Gst/Element#::set_buscxx . . $ Gst/Element#set_bus(cf84632c3222d6b0).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#>& bus) |
| 1107 | { |
| 1108 | gst_element_set_bus(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(bus)); |
| 1109 | } |
| 1110 | |
| 1111 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> Elementcxx . . $ Gst/Element#::get_buscxx . . $ Gst/Element#get_bus(ada66d6ded80d30d).() |
| 1112 | { |
| 1113 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(79deee541be19870).(gst_element_get_bus(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).())); |
| 1114 | } |
| 1115 | |
| 1116 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> Elementcxx . . $ Gst/Element#::get_buscxx . . $ Gst/Element#get_bus(efc00cdb06f7ebfe).() const |
| 1117 | { |
| 1118 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Elementcxx . . $ Gst/Element#*>(this)->get_buscxx . . $ Gst/Element#get_bus(ada66d6ded80d30d).(); |
| 1119 | } |
| 1120 | |
| 1121 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ElementFactorycxx . . $ Gst/ElementFactory#> Elementcxx . . $ Gst/Element#::get_factorycxx . . $ Gst/Element#get_factory(cdc6d666dd2d9eec).() |
| 1122 | { |
| 1123 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ElementFactorycxx . . $ Gst/ElementFactory#> retvalue = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(ffd9a97917acb409).(gst_element_get_factory(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).())); |
| 1124 | if(retvalue) |
| 1125 | retvalue->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); //The function does not do a ref for us. |
| 1126 | return retvaluecxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1127 | } |
| 1128 | |
| 1129 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ElementFactorycxx . . $ Gst/ElementFactory#> Elementcxx . . $ Gst/Element#::get_factorycxx . . $ Gst/Element#get_factory(6834d0deeb400f97).() const |
| 1130 | { |
| 1131 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Elementcxx . . $ Gst/Element#*>(this)->get_factorycxx . . $ Gst/Element#get_factory(cdc6d666dd2d9eec).(); |
| 1132 | } |
| 1133 | |
| 1134 | bool Elementcxx . . $ Gst/Element#::set_clockcxx . . $ Gst/Element#set_clock(1ff05c66ddfda83a).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#>& clock) |
| 1135 | { |
| 1136 | return gst_element_set_clock(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(clock)); |
| 1137 | } |
| 1138 | |
| 1139 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Elementcxx . . $ Gst/Element#::get_clockcxx . . $ Gst/Element#get_clock(675458b535f1101e).() |
| 1140 | { |
| 1141 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).(gst_element_get_clock(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).())); |
| 1142 | } |
| 1143 | |
| 1144 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Elementcxx . . $ Gst/Element#::get_clockcxx . . $ Gst/Element#get_clock(d423a9683e0d77bf).() const |
| 1145 | { |
| 1146 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Elementcxx . . $ Gst/Element#*>(this)->get_clockcxx . . $ Gst/Element#get_clock(675458b535f1101e).(); |
| 1147 | } |
| 1148 | |
| 1149 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Elementcxx . . $ Gst/Element#::provide_clockcxx . . $ Gst/Element#provide_clock(675458b535f1101e).() |
| 1150 | { |
| 1151 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).(gst_element_provide_clock(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).())); |
| 1152 | } |
| 1153 | |
| 1154 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Elementcxx . . $ Gst/Element#::provide_clockcxx . . $ Gst/Element#provide_clock(d423a9683e0d77bf).() const |
| 1155 | { |
| 1156 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Elementcxx . . $ Gst/Element#*>(this)->provide_clockcxx . . $ Gst/Element#provide_clock(675458b535f1101e).(); |
| 1157 | } |
| 1158 | |
| 1159 | StateChangeReturncxx . . $ Gst/StateChangeReturn# Elementcxx . . $ Gst/Element#::set_statecxx . . $ Gst/Element#set_state(17bf573d41f9253f).(Statecxx . . $ Gst/State# state) |
| 1160 | { |
| 1161 | return ((StateChangeReturncxx . . $ Gst/StateChangeReturn#)(gst_element_set_state(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), ((GstState)(state))))); |
| 1162 | } |
| 1163 | |
| 1164 | StateChangeReturncxx . . $ Gst/StateChangeReturn# Elementcxx . . $ Gst/Element#::get_statecxx . . $ Gst/Element#get_state(6712af1af8576b01).(Statecxx . . $ Gst/State#& state, Statecxx . . $ Gst/State#& pending, ClockTimecxx . . $ Gst/ClockTime# timeout) const |
| 1165 | { |
| 1166 | return ((StateChangeReturncxx . . $ Gst/StateChangeReturn#)(gst_element_get_state(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()), (GstState*)(&state), (GstState*)(&pending), ((GstClockTime)(timeout))))); |
| 1167 | } |
| 1168 | |
| 1169 | bool Elementcxx . . $ Gst/Element#::set_locked_statecxx . . $ Gst/Element#set_locked_state(83c267b20bac841a).(gboolean locked_state) |
| 1170 | { |
| 1171 | return gst_element_set_locked_state(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), locked_state); |
| 1172 | } |
| 1173 | |
| 1174 | bool Elementcxx . . $ Gst/Element#::is_locked_statecxx . . $ Gst/Element#is_locked_state(50ce9a9e25b4a850).() const |
| 1175 | { |
| 1176 | return gst_element_is_locked_state(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).())); |
| 1177 | } |
| 1178 | |
| 1179 | void Elementcxx . . $ Gst/Element#::abort_statecxx . . $ Gst/Element#abort_state(49f6e7a06ebc5aa8).() |
| 1180 | { |
| 1181 | gst_element_abort_state(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).()); |
| 1182 | } |
| 1183 | |
| 1184 | StateChangeReturncxx . . $ Gst/StateChangeReturn# Elementcxx . . $ Gst/Element#::continue_statecxx . . $ Gst/Element#continue_state(cdd6201639042157).(StateChangeReturncxx . . $ Gst/StateChangeReturn# ret) |
| 1185 | { |
| 1186 | return ((StateChangeReturncxx . . $ Gst/StateChangeReturn#)(gst_element_continue_state(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), ((GstStateChangeReturn)(ret))))); |
| 1187 | } |
| 1188 | |
| 1189 | void Elementcxx . . $ Gst/Element#::lost_statecxx . . $ Gst/Element#lost_state(49f6e7a06ebc5aa8).() |
| 1190 | { |
| 1191 | gst_element_lost_state(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).()); |
| 1192 | } |
| 1193 | |
| 1194 | bool Elementcxx . . $ Gst/Element#::sync_state_with_parentcxx . . $ Gst/Element#sync_state_with_parent(c9857a73d68e59ba).() |
| 1195 | { |
| 1196 | return gst_element_sync_state_with_parent(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).()); |
| 1197 | } |
| 1198 | |
| 1199 | StateChangeReturncxx . . $ Gst/StateChangeReturn# Elementcxx . . $ Gst/Element#::change_statecxx . . $ Gst/Element#change_state(540d5c6bac753bc3).(StateChangecxx . . $ Gst/StateChange# transition) |
| 1200 | { |
| 1201 | return ((StateChangeReturncxx . . $ Gst/StateChangeReturn#)(gst_element_change_state(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), ((GstStateChange)(transition))))); |
| 1202 | } |
| 1203 | |
| 1204 | bool Elementcxx . . $ Gst/Element#::post_messagecxx . . $ Gst/Element#post_message(4f74b222eb4db4d7).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>&& message) |
| 1205 | { |
| 1206 | return gst_element_post_message(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), (message) ? message.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Message#gobj(151b13470f02eae9).() : nullptr); |
| 1207 | } |
| 1208 | |
| 1209 | bool Elementcxx . . $ Gst/Element#::querycxx . . $ Gst/Element#query(49f3f197415ffc07).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) const |
| 1210 | { |
| 1211 | return gst_element_query(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query)); |
| 1212 | } |
| 1213 | |
| 1214 | bool Elementcxx . . $ Gst/Element#::query_convertcxx . . $ Gst/Element#query_convert(71f0eba8c39f35a9).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# src_format, gint64 src_val, Formatcxx . . $ Gst/Format# dest_format, gint64& dest_val) const |
| 1215 | { |
| 1216 | return gst_element_query_convert(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()), ((GstFormat)(src_format)), src_val, ((GstFormat)(dest_format)), &(dest_val)); |
| 1217 | } |
| 1218 | |
| 1219 | bool Elementcxx . . $ Gst/Element#::query_positioncxx . . $ Gst/Element#query_position(8ddfbfb863f611fe).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format, gint64& cur) const |
| 1220 | { |
| 1221 | return gst_element_query_position(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()), ((GstFormat)(format)), &(cur)); |
| 1222 | } |
| 1223 | |
| 1224 | bool Elementcxx . . $ Gst/Element#::query_positioncxx . . $ Gst/Element#query_position(ad8c45bb83b8444d).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format) const |
| 1225 | { |
| 1226 | return gst_element_query_position(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()), ((GstFormat)(format)), nullptr); |
| 1227 | } |
| 1228 | |
| 1229 | bool Elementcxx . . $ Gst/Element#::query_durationcxx . . $ Gst/Element#query_duration(8ddfbfb863f611fe).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format, gint64& duration) const |
| 1230 | { |
| 1231 | return gst_element_query_duration(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()), ((GstFormat)(format)), &(duration)); |
| 1232 | } |
| 1233 | |
| 1234 | bool Elementcxx . . $ Gst/Element#::query_durationcxx . . $ Gst/Element#query_duration(ad8c45bb83b8444d).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format) const |
| 1235 | { |
| 1236 | return gst_element_query_duration(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()), ((GstFormat)(format)), nullptr); |
| 1237 | } |
| 1238 | |
| 1239 | bool Elementcxx . . $ Gst/Element#::seekcxx . . $ Gst/Element#seek(3fc49026ee28a16d).(Formatcxx . . $ Gst/Format# format, SeekFlagscxx . . $ Gst/SeekFlags# seek_flags, gint64 seek_pos) |
| 1240 | { |
| 1241 | return gst_element_seek_simple(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), ((GstFormat)(format)), ((GstSeekFlags)(seek_flags)), seek_pos); |
| 1242 | } |
| 1243 | |
| 1244 | bool Elementcxx . . $ Gst/Element#::seekcxx . . $ Gst/Element#seek(a8eac7ee415ae75a).(double rate, Formatcxx . . $ Gst/Format# format, SeekFlagscxx . . $ Gst/SeekFlags# flags, SeekTypecxx . . $ Gst/SeekType# cur_type, gint64 cur, SeekTypecxx . . $ Gst/SeekType# stop_type, gint64 stop) |
| 1245 | { |
| 1246 | return gst_element_seek(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), rate, ((GstFormat)(format)), ((GstSeekFlags)(flags)), ((GstSeekType)(cur_type)), cur, ((GstSeekType)(stop_type)), stop); |
| 1247 | } |
| 1248 | |
| 1249 | bool Elementcxx . . $ Gst/Element#::send_eventcxx . . $ Gst/Element#send_event(9ae445a8aac77a84).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>&& event) |
| 1250 | { |
| 1251 | return gst_element_send_event(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), (event) ? event.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).() : nullptr); |
| 1252 | } |
| 1253 | |
| 1254 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Contextcxx . . $ Gst/Context#> Elementcxx . . $ Gst/Element#::get_contextcxx . . $ Gst/Element#get_context(a945f3136e0c07c4).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& context_type) |
| 1255 | { |
| 1256 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f29c29259afac997).(gst_element_get_context(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), context_type.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 1257 | } |
| 1258 | |
| 1259 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Contextcxx . . $ Gst/Context#> Elementcxx . . $ Gst/Element#::get_context_unlockedcxx . . $ Gst/Element#get_context_unlocked(a945f3136e0c07c4).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& context_type) |
| 1260 | { |
| 1261 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f29c29259afac997).(gst_element_get_context_unlocked(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(), context_type.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 1262 | } |
| 1263 | |
| 1264 | stdcxx . . $ std/::vectorcxx . . $ std/vector#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Contextcxx . . $ Gst/Context#> > Elementcxx . . $ Gst/Element#::get_contextscxx . . $ Gst/Element#get_contexts(235f0092c108440b).() |
| 1265 | { |
| 1266 | return Glibcxx . . $ Glib/::ListHandlercxx . . $ Glib/ListHandler#< Glib::RefPtr<Gst::Context> >::list_to_vectorcxx . . $ Glib/ListHandler#list_to_vector(ab7b59f495f3dcd3).(const_cast<GList*>(gst_element_get_contexts(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 1267 | } |
| 1268 | |
| 1269 | |
| 1270 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void > Elementcxx . . $ Gst/Element#::signal_no_more_padscxx . . $ Gst/Element#signal_no_more_pads(5db58c3a758c1880).() |
| 1271 | { |
| 1272 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void >(this, &Element_signal_no_more_pads_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_no_more_pads_info.); |
| 1273 | } |
| 1274 | |
| 1275 | |
| 1276 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& > Elementcxx . . $ Gst/Element#::signal_pad_addedcxx . . $ Gst/Element#signal_pad_added(b8ac1dfc5db9f846).() |
| 1277 | { |
| 1278 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >(this, &Element_signal_pad_added_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_added_info.); |
| 1279 | } |
| 1280 | |
| 1281 | |
| 1282 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& > Elementcxx . . $ Gst/Element#::signal_pad_removedcxx . . $ Gst/Element#signal_pad_removed(b8ac1dfc5db9f846).() |
| 1283 | { |
| 1284 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >(this, &Element_signal_pad_removed_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/element.cc`/Element_signal_pad_removed_info.); |
| 1285 | } |
| 1286 | |
| 1287 | |
| 1288 | void Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::on_no_more_padscxx . . $ Gst/Element#on_no_more_pads(49f6e7a06ebc5aa8).() |
| 1289 | { |
| 1290 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1291 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1292 | ); |
| 1293 | |
| 1294 | if(base && base->no_more_padscxx . . $ _GstElementClass#no_more_pads.) |
| 1295 | (*base->no_more_padscxx . . $ _GstElementClass#no_more_pads.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).()); |
| 1296 | } |
| 1297 | void Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::on_pad_addedcxx . . $ Gst/Element#on_pad_added(6d8541f3277dd441).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& new_pad) |
| 1298 | { |
| 1299 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1300 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1301 | ); |
| 1302 | |
| 1303 | if(base && base->pad_addedcxx . . $ _GstElementClass#pad_added.) |
| 1304 | (*base->pad_addedcxx . . $ _GstElementClass#pad_added.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(new_pad)); |
| 1305 | } |
| 1306 | void Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::on_pad_removedcxx . . $ Gst/Element#on_pad_removed(6d8541f3277dd441).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& old_pad) |
| 1307 | { |
| 1308 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1309 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1310 | ); |
| 1311 | |
| 1312 | if(base && base->pad_removedcxx . . $ _GstElementClass#pad_removed.) |
| 1313 | (*base->pad_removedcxx . . $ _GstElementClass#pad_removed.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(old_pad)); |
| 1314 | } |
| 1315 | |
| 1316 | void Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::release_pad_vfunccxx . . $ Gst/Element#release_pad_vfunc(6d8541f3277dd441).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& pad) |
| 1317 | { |
| 1318 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1319 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1320 | ); |
| 1321 | |
| 1322 | if(base && base->release_padcxx . . $ _GstElementClass#release_pad.) |
| 1323 | { |
| 1324 | (*base->release_padcxx . . $ _GstElementClass#release_pad.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(pad)); |
| 1325 | } |
| 1326 | } |
| 1327 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::request_new_pad_vfunccxx . . $ Gst/Element#request_new_pad_vfunc(a375135f9cd5a1).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> templ, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 1328 | { |
| 1329 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1330 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1331 | ); |
| 1332 | |
| 1333 | if(base && base->request_new_padcxx . . $ _GstElementClass#request_new_pad.) |
| 1334 | { |
| 1335 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).((*base->request_new_padcxx . . $ _GstElementClass#request_new_pad.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(templ),name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(caps)))); |
| 1336 | return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1337 | } |
| 1338 | |
| 1339 | using RTypecxx . . $ Gst/Element#request_new_pad_vfunc(a375135f9cd5a1).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>; |
| 1340 | return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).(); |
| 1341 | } |
| 1342 | StateChangeReturncxx . . $ Gst/StateChangeReturn# Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::get_state_vfunccxx . . $ Gst/Element#get_state_vfunc(6712af1af8576b01).(Statecxx . . $ Gst/State#& state, Statecxx . . $ Gst/State#& pending, ClockTimecxx . . $ Gst/ClockTime# timeout) const |
| 1343 | { |
| 1344 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1345 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1346 | ); |
| 1347 | |
| 1348 | if(base && base->get_statecxx . . $ _GstElementClass#get_state.) |
| 1349 | { |
| 1350 | StateChangeReturncxx . . $ Gst/StateChangeReturn# retval(((StateChangeReturncxx . . $ Gst/StateChangeReturn#)((*base->get_statecxx . . $ _GstElementClass#get_state.)(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()),(GstState*)(&state),(GstState*)(&pending),((GstClockTime)(timeout)))))); |
| 1351 | return retval; |
| 1352 | } |
| 1353 | |
| 1354 | using RTypecxx . . $ Gst/Element#get_state_vfunc(6712af1af8576b01).RType# = StateChangeReturncxx . . $ Gst/StateChangeReturn#; |
| 1355 | return RTypecxx . . $ Gst/Element#get_state_vfunc(6712af1af8576b01).RType#(); |
| 1356 | } |
| 1357 | StateChangeReturncxx . . $ Gst/StateChangeReturn# Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::set_state_vfunccxx . . $ Gst/Element#set_state_vfunc(17bf573d41f9253f).(Statecxx . . $ Gst/State# state) |
| 1358 | { |
| 1359 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1360 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1361 | ); |
| 1362 | |
| 1363 | if(base && base->set_statecxx . . $ _GstElementClass#set_state.) |
| 1364 | { |
| 1365 | StateChangeReturncxx . . $ Gst/StateChangeReturn# retval(((StateChangeReturncxx . . $ Gst/StateChangeReturn#)((*base->set_statecxx . . $ _GstElementClass#set_state.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),((GstState)(state)))))); |
| 1366 | return retval; |
| 1367 | } |
| 1368 | |
| 1369 | using RTypecxx . . $ Gst/Element#set_state_vfunc(17bf573d41f9253f).RType# = StateChangeReturncxx . . $ Gst/StateChangeReturn#; |
| 1370 | return RTypecxx . . $ Gst/Element#set_state_vfunc(17bf573d41f9253f).RType#(); |
| 1371 | } |
| 1372 | StateChangeReturncxx . . $ Gst/StateChangeReturn# Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::change_state_vfunccxx . . $ Gst/Element#change_state_vfunc(540d5c6bac753bc3).(StateChangecxx . . $ Gst/StateChange# transition) |
| 1373 | { |
| 1374 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1375 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1376 | ); |
| 1377 | |
| 1378 | if(base && base->change_statecxx . . $ _GstElementClass#change_state.) |
| 1379 | { |
| 1380 | StateChangeReturncxx . . $ Gst/StateChangeReturn# retval(((StateChangeReturncxx . . $ Gst/StateChangeReturn#)((*base->change_statecxx . . $ _GstElementClass#change_state.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),((GstStateChange)(transition)))))); |
| 1381 | return retval; |
| 1382 | } |
| 1383 | |
| 1384 | using RTypecxx . . $ Gst/Element#change_state_vfunc(540d5c6bac753bc3).RType# = StateChangeReturncxx . . $ Gst/StateChangeReturn#; |
| 1385 | return RTypecxx . . $ Gst/Element#change_state_vfunc(540d5c6bac753bc3).RType#(); |
| 1386 | } |
| 1387 | void Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::state_changed_vfunccxx . . $ Gst/Element#state_changed_vfunc(f5c93066139c1ae4).(Gstcxx . . $ Gst/::Statecxx . . $ Gst/State# oldstate, Gstcxx . . $ Gst/::Statecxx . . $ Gst/State# newstate, Gstcxx . . $ Gst/::Statecxx . . $ Gst/State# pending) |
| 1388 | { |
| 1389 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1390 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1391 | ); |
| 1392 | |
| 1393 | if(base && base->state_changedcxx . . $ _GstElementClass#state_changed.) |
| 1394 | { |
| 1395 | (*base->state_changedcxx . . $ _GstElementClass#state_changed.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),((GstState)(oldstate)),((GstState)(newstate)),((GstState)(pending))); |
| 1396 | } |
| 1397 | } |
| 1398 | void Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::set_bus_vfunccxx . . $ Gst/Element#set_bus_vfunc(cf84632c3222d6b0).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#>& bus) |
| 1399 | { |
| 1400 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1401 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1402 | ); |
| 1403 | |
| 1404 | if(base && base->set_buscxx . . $ _GstElementClass#set_bus.) |
| 1405 | { |
| 1406 | (*base->set_buscxx . . $ _GstElementClass#set_bus.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(bus)); |
| 1407 | } |
| 1408 | } |
| 1409 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::provide_clock_vfunccxx . . $ Gst/Element#provide_clock_vfunc(675458b535f1101e).() |
| 1410 | { |
| 1411 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1412 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1413 | ); |
| 1414 | |
| 1415 | if(base && base->provide_clockcxx . . $ _GstElementClass#provide_clock.) |
| 1416 | { |
| 1417 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).((*base->provide_clockcxx . . $ _GstElementClass#provide_clock.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).()))); |
| 1418 | return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1419 | } |
| 1420 | |
| 1421 | using RTypecxx . . $ Gst/Element#provide_clock_vfunc(675458b535f1101e).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#>; |
| 1422 | return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).(); |
| 1423 | } |
| 1424 | bool Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::set_clock_vfunccxx . . $ Gst/Element#set_clock_vfunc(1ff05c66ddfda83a).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#>& clock) |
| 1425 | { |
| 1426 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1427 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1428 | ); |
| 1429 | |
| 1430 | if(base && base->set_clockcxx . . $ _GstElementClass#set_clock.) |
| 1431 | { |
| 1432 | bool retval((*base->set_clockcxx . . $ _GstElementClass#set_clock.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(clock))); |
| 1433 | return retval; |
| 1434 | } |
| 1435 | |
| 1436 | return true; |
| 1437 | } |
| 1438 | bool Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::send_event_vfunccxx . . $ Gst/Element#send_event_vfunc(2055ffde69ae5030).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event) |
| 1439 | { |
| 1440 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1441 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1442 | ); |
| 1443 | |
| 1444 | if(base && base->send_eventcxx . . $ _GstElementClass#send_event.) |
| 1445 | { |
| 1446 | bool retval((*base->send_eventcxx . . $ _GstElementClass#send_event.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(event))); |
| 1447 | return retval; |
| 1448 | } |
| 1449 | |
| 1450 | using RTypecxx . . $ Gst/Element#send_event_vfunc(2055ffde69ae5030).RType# = bool; |
| 1451 | return RTypecxx . . $ Gst/Element#send_event_vfunc(2055ffde69ae5030).RType#(); |
| 1452 | } |
| 1453 | bool Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::query_vfunccxx . . $ Gst/Element#query_vfunc(49f3f197415ffc07).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) const |
| 1454 | { |
| 1455 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1456 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1457 | ); |
| 1458 | |
| 1459 | if(base && base->querycxx . . $ _GstElementClass#query.) |
| 1460 | { |
| 1461 | bool retval((*base->querycxx . . $ _GstElementClass#query.)(const_cast<GstElementcxx . . $ GstElement#*>(gobjcxx . . $ Gst/Element#gobj(ee439b72f313f9ba).()),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query))); |
| 1462 | return retval; |
| 1463 | } |
| 1464 | |
| 1465 | using RTypecxx . . $ Gst/Element#query_vfunc(49f3f197415ffc07).RType# = bool; |
| 1466 | return RTypecxx . . $ Gst/Element#query_vfunc(49f3f197415ffc07).RType#(); |
| 1467 | } |
| 1468 | void Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::set_context_vfunccxx . . $ Gst/Element#set_context_vfunc(5cec048a07afcf14).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Contextcxx . . $ Gst/Context#>& context) |
| 1469 | { |
| 1470 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1471 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1472 | ); |
| 1473 | |
| 1474 | if(base && base->set_contextcxx . . $ _GstElementClass#set_context.) |
| 1475 | { |
| 1476 | (*base->set_contextcxx . . $ _GstElementClass#set_context.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),context->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Context#gobj(de598bd2c1f81d21).()); |
| 1477 | } |
| 1478 | } |
| 1479 | bool Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::post_message_vfunccxx . . $ Gst/Element#post_message_vfunc(df51b648d29dd2d9).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& message) |
| 1480 | { |
| 1481 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Element#BaseClassType#*>( |
| 1482 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1483 | ); |
| 1484 | |
| 1485 | if(base && base->post_messagecxx . . $ _GstElementClass#post_message.) |
| 1486 | { |
| 1487 | bool retval((*base->post_messagecxx . . $ _GstElementClass#post_message.)(gobjcxx . . $ Gst/Element#gobj(f5e3ed92ee6596f1).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(message))); |
| 1488 | return retval; |
| 1489 | } |
| 1490 | |
| 1491 | using RTypecxx . . $ Gst/Element#post_message_vfunc(df51b648d29dd2d9).RType# = bool; |
| 1492 | return RTypecxx . . $ Gst/Element#post_message_vfunc(df51b648d29dd2d9).RType#(); |
| 1493 | } |
| 1494 | |
| 1495 | |
| 1496 | } // namespace Gst |
| 1497 | |
| 1498 |