| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/childproxy.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/childproxy.h>cxx . . $ `<file>/gstreamer/gstreamermm/childproxy.h`/ |
| 7 | #include <gstreamermm/private/childproxy_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/childproxy_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 <gstreamermm/object.h>cxx . . $ `<file>/gstreamer/gstreamermm/object.h`/ |
| 30 | |
| 31 | namespace Gstcxx . . $ Gst/ |
| 32 | { |
| 33 | |
| 34 | bool ChildProxycxx . . $ Gst/ChildProxy#::lookupcxx . . $ Gst/ChildProxy#lookup(a975d894be87d8a1).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#>& target, |
| 35 | GParamSpec*& pspec) |
| 36 | { |
| 37 | GObjectcxx . . $ GObject#* g_object = nullptr; |
| 38 | bool const result = gst_child_proxy_lookup(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).(), |
| 39 | name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), &g_object, &pspec); |
| 40 | target =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(5149500efd461a82).(g_object); |
| 41 | return result; |
| 42 | } |
| 43 | |
| 44 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#> ChildProxycxx . . $ Gst/ChildProxy#::get_proxy_propertycxx . . $ Gst/ChildProxy#get_proxy_property(438a4313d58e5643).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#& value) |
| 45 | { |
| 46 | gst_child_proxy_get_property(const_cast<GstChildProxycxx . . $ GstChildProxy#*>(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).()), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), value.gobjcxx . . $ Glib/ValueBase#gobj(a6eb55b6100cf48b).()); |
| 47 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(562a3e6126e44d6d).(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).(), true); |
| 48 | } |
| 49 | |
| 50 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#> ChildProxycxx . . $ Gst/ChildProxy#::get_proxy_propertycxx . . $ Gst/ChildProxy#get_proxy_property(42320ce66b499371).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#& value) const |
| 51 | { |
| 52 | gst_child_proxy_get_property(const_cast<GstChildProxycxx . . $ GstChildProxy#*>(gobjcxx . . $ Gst/ChildProxy#gobj(2ce95b8f538e2b12).()), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), value.gobjcxx . . $ Glib/ValueBase#gobj(a6eb55b6100cf48b).()); |
| 53 | return Glibcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).::wrapcxx . . $ Glib/wrap(562a3e6126e44d6d).(const_cast<GstChildProxycxx . . $ GstChildProxy#*>(gobjcxx . . $ Gst/ChildProxy#gobj(2ce95b8f538e2b12).()), true); |
| 54 | } |
| 55 | |
| 56 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#> ChildProxycxx . . $ Gst/ChildProxy#::set_proxy_propertycxx . . $ Gst/ChildProxy#set_proxy_property(822b65eaed4a5bd3).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::ValueBasecxx . . $ Glib/ValueBase#& value) |
| 57 | { |
| 58 | gst_child_proxy_set_property(const_cast<GstChildProxycxx . . $ GstChildProxy#*>(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).()), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), value.gobjcxx . . $ Glib/ValueBase#gobj(2653be92411ed030).()); |
| 59 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(562a3e6126e44d6d).(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).(), true); |
| 60 | } |
| 61 | |
| 62 | } //namespace Gst |
| 63 | |
| 64 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ |
| 65 | { |
| 66 | |
| 67 | |
| 68 | static void ChildProxy_signal_child_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_added_callback(6aaa8f313baf0c7c).(GstChildProxycxx . . $ GstChildProxy#* self, GObjectcxx . . $ GObject#* p0,const gchar* p1,void* data) |
| 69 | { |
| 70 | using namespace Gst; |
| 71 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_added_callback(6aaa8f313baf0c7c).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& >; |
| 72 | |
| 73 | auto obj = dynamic_cast<ChildProxycxx . . $ Gst/ChildProxy#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 74 | // Do not try to call a signal on a disassociated wrapper. |
| 75 | if(obj) |
| 76 | { |
| 77 | try |
| 78 | { |
| 79 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 80 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_added_callback(6aaa8f313baf0c7c).SlotType#*>(slot))(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(d34af896c95462f9).(GST_OBJECTcxx . . $ `<external>/3075072394961518725/gstobject.h:37:9`!(p0), true) |
| 81 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(p1) |
| 82 | ); |
| 83 | } |
| 84 | catch(...) |
| 85 | { |
| 86 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# ChildProxy_signal_child_added_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_added_info. = |
| 92 | { |
| 93 | "child-added", |
| 94 | (GCallback) &ChildProxy_signal_child_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_added_callback(6aaa8f313baf0c7c)., |
| 95 | (GCallback) &ChildProxy_signal_child_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_added_callback(6aaa8f313baf0c7c). |
| 96 | }; |
| 97 | |
| 98 | |
| 99 | static void ChildProxy_signal_child_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_removed_callback(6aaa8f313baf0c7c).(GstChildProxycxx . . $ GstChildProxy#* self, GObjectcxx . . $ GObject#* p0,const gchar* p1,void* data) |
| 100 | { |
| 101 | using namespace Gst; |
| 102 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_removed_callback(6aaa8f313baf0c7c).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& >; |
| 103 | |
| 104 | auto obj = dynamic_cast<ChildProxycxx . . $ Gst/ChildProxy#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 105 | // Do not try to call a signal on a disassociated wrapper. |
| 106 | if(obj) |
| 107 | { |
| 108 | try |
| 109 | { |
| 110 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 111 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_removed_callback(6aaa8f313baf0c7c).SlotType#*>(slot))(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(d34af896c95462f9).(GST_OBJECTcxx . . $ `<external>/3075072394961518725/gstobject.h:37:9`!(p0), true) |
| 112 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(p1) |
| 113 | ); |
| 114 | } |
| 115 | catch(...) |
| 116 | { |
| 117 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# ChildProxy_signal_child_removed_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_removed_info. = |
| 123 | { |
| 124 | "child-removed", |
| 125 | (GCallback) &ChildProxy_signal_child_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_removed_callback(6aaa8f313baf0c7c)., |
| 126 | (GCallback) &ChildProxy_signal_child_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_removed_callback(6aaa8f313baf0c7c). |
| 127 | }; |
| 128 | |
| 129 | |
| 130 | } // anonymous namespace |
| 131 | |
| 132 | |
| 133 | namespace Glibcxx . . $ Glib/ |
| 134 | { |
| 135 | |
| 136 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#> wrapcxx . . $ Glib/wrap(562a3e6126e44d6d).(GstChildProxycxx . . $ GstChildProxy#* object, bool take_copy) |
| 137 | { |
| 138 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#>( dynamic_cast<Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#*> (Glibcxx . . $ Glib/::wrap_auto_interfacecxx . . $ Glib/wrap_auto_interface(895573aecd4fc9a4).<Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#> ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 139 | //We use dynamic_cast<> in case of multiple inheritance. |
| 140 | } |
| 141 | |
| 142 | } // namespace Glib |
| 143 | |
| 144 | |
| 145 | namespace Gstcxx . . $ Gst/ |
| 146 | { |
| 147 | |
| 148 | |
| 149 | /* The *_Class implementation: */ |
| 150 | |
| 151 | const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::initcxx . . $ Gst/ChildProxy_Class#init(abc04d6bda8aa5b8).() |
| 152 | { |
| 153 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 154 | { |
| 155 | // Glib::Interface_Class has to know the interface init function |
| 156 | // in order to add interfaces to implementing types. |
| 157 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::iface_init_functioncxx . . $ Gst/ChildProxy_Class#iface_init_function(6c58c5e2437d25a2).; |
| 158 | |
| 159 | // We can not derive from another interface, and it is not necessary anyway. |
| 160 | gtype_cxx . . $ Glib/Class#gtype_. = gst_child_proxy_get_type(); |
| 161 | } |
| 162 | |
| 163 | return *this; |
| 164 | } |
| 165 | |
| 166 | void ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::iface_init_functioncxx . . $ Gst/ChildProxy_Class#iface_init_function(6c58c5e2437d25a2).(void* g_iface, void*) |
| 167 | { |
| 168 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType#*>(g_iface); |
| 169 | |
| 170 | //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. |
| 171 | //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc |
| 172 | g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(klass != nullptr); |
| 173 | |
| 174 | klass->get_child_by_namecxx . . $ _GstChildProxyInterface#get_child_by_name. = &get_child_by_name_vfunc_callbackcxx . . $ Gst/ChildProxy_Class#get_child_by_name_vfunc_callback(438ce485e2884d54).; |
| 175 | klass->get_child_by_indexcxx . . $ _GstChildProxyInterface#get_child_by_index. = &get_child_by_index_vfunc_callbackcxx . . $ Gst/ChildProxy_Class#get_child_by_index_vfunc_callback(3dc59a5706b08a12).; |
| 176 | klass->get_children_countcxx . . $ _GstChildProxyInterface#get_children_count. = &get_children_count_vfunc_callbackcxx . . $ Gst/ChildProxy_Class#get_children_count_vfunc_callback(f92153952d8200de).; |
| 177 | |
| 178 | klass->child_addedcxx . . $ _GstChildProxyInterface#child_added. = &child_added_callbackcxx . . $ Gst/ChildProxy_Class#child_added_callback(10fdc2aca724f3).; |
| 179 | klass->child_removedcxx . . $ _GstChildProxyInterface#child_removed. = &child_removed_callbackcxx . . $ Gst/ChildProxy_Class#child_removed_callback(10fdc2aca724f3).; |
| 180 | } |
| 181 | |
| 182 | GObjectcxx . . $ GObject#* ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::get_child_by_name_vfunc_callbackcxx . . $ Gst/ChildProxy_Class#get_child_by_name_vfunc_callback(438ce485e2884d54).(GstChildProxycxx . . $ GstChildProxy#* self, const gchar* name) |
| 183 | { |
| 184 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 185 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 186 | |
| 187 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 188 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 189 | // generated classes can use this optimisation, which avoids the unnecessary |
| 190 | // parameter conversions if there is no possibility of the virtual function |
| 191 | // being overridden: |
| 192 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 193 | { |
| 194 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#* const>(obj_base); |
| 195 | if(obj) // This can be NULL during destruction. |
| 196 | { |
| 197 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 198 | { |
| 199 | // Call the virtual member method, which derived classes might override. |
| 200 | return Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(obj->get_child_by_name_vfunccxx . . $ Gst/ChildProxy#get_child_by_name_vfunc(b08c4544a9b5db2d).(Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(name) |
| 201 | )); |
| 202 | } |
| 203 | catch(...) |
| 204 | { |
| 205 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType#*>( |
| 211 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 212 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 213 | ) ); |
| 214 | |
| 215 | // Call the original underlying C function: |
| 216 | if(base && base->get_child_by_namecxx . . $ _GstChildProxyInterface#get_child_by_name.) |
| 217 | return (*base->get_child_by_namecxx . . $ _GstChildProxyInterface#get_child_by_name.)(self, name); |
| 218 | |
| 219 | using RTypecxx . . $ Gst/ChildProxy_Class#get_child_by_name_vfunc_callback(438ce485e2884d54).RType# = GObjectcxx . . $ GObject#*; |
| 220 | return RTypecxx . . $ Gst/ChildProxy_Class#get_child_by_name_vfunc_callback(438ce485e2884d54).RType#(); |
| 221 | } |
| 222 | GObjectcxx . . $ GObject#* ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::get_child_by_index_vfunc_callbackcxx . . $ Gst/ChildProxy_Class#get_child_by_index_vfunc_callback(3dc59a5706b08a12).(GstChildProxycxx . . $ GstChildProxy#* self, guint index) |
| 223 | { |
| 224 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 225 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 226 | |
| 227 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 228 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 229 | // generated classes can use this optimisation, which avoids the unnecessary |
| 230 | // parameter conversions if there is no possibility of the virtual function |
| 231 | // being overridden: |
| 232 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 233 | { |
| 234 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#* const>(obj_base); |
| 235 | if(obj) // This can be NULL during destruction. |
| 236 | { |
| 237 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 238 | { |
| 239 | // Call the virtual member method, which derived classes might override. |
| 240 | return Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(obj->get_child_by_index_vfunccxx . . $ Gst/ChildProxy#get_child_by_index_vfunc(91ff88ec768e062a).(index)); |
| 241 | } |
| 242 | catch(...) |
| 243 | { |
| 244 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 245 | } |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType#*>( |
| 250 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 251 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 252 | ) ); |
| 253 | |
| 254 | // Call the original underlying C function: |
| 255 | if(base && base->get_child_by_indexcxx . . $ _GstChildProxyInterface#get_child_by_index.) |
| 256 | return (*base->get_child_by_indexcxx . . $ _GstChildProxyInterface#get_child_by_index.)(self, index); |
| 257 | |
| 258 | using RTypecxx . . $ Gst/ChildProxy_Class#get_child_by_index_vfunc_callback(3dc59a5706b08a12).RType# = GObjectcxx . . $ GObject#*; |
| 259 | return RTypecxx . . $ Gst/ChildProxy_Class#get_child_by_index_vfunc_callback(3dc59a5706b08a12).RType#(); |
| 260 | } |
| 261 | guint ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::get_children_count_vfunc_callbackcxx . . $ Gst/ChildProxy_Class#get_children_count_vfunc_callback(f92153952d8200de).(GstChildProxycxx . . $ GstChildProxy#* self) |
| 262 | { |
| 263 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 264 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 265 | |
| 266 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 267 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 268 | // generated classes can use this optimisation, which avoids the unnecessary |
| 269 | // parameter conversions if there is no possibility of the virtual function |
| 270 | // being overridden: |
| 271 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 272 | { |
| 273 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#* const>(obj_base); |
| 274 | if(obj) // This can be NULL during destruction. |
| 275 | { |
| 276 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 277 | { |
| 278 | // Call the virtual member method, which derived classes might override. |
| 279 | return obj->get_children_count_vfunccxx . . $ Gst/ChildProxy#get_children_count_vfunc(ddd8539a2fcdd4ce).(); |
| 280 | } |
| 281 | catch(...) |
| 282 | { |
| 283 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 284 | } |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType#*>( |
| 289 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 290 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 291 | ) ); |
| 292 | |
| 293 | // Call the original underlying C function: |
| 294 | if(base && base->get_children_countcxx . . $ _GstChildProxyInterface#get_children_count.) |
| 295 | return (*base->get_children_countcxx . . $ _GstChildProxyInterface#get_children_count.)(self); |
| 296 | |
| 297 | using RTypecxx . . $ Gst/ChildProxy_Class#get_children_count_vfunc_callback(f92153952d8200de).RType# = guint; |
| 298 | return RTypecxx . . $ Gst/ChildProxy_Class#get_children_count_vfunc_callback(f92153952d8200de).RType#(); |
| 299 | } |
| 300 | |
| 301 | void ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::child_added_callbackcxx . . $ Gst/ChildProxy_Class#child_added_callback(10fdc2aca724f3).(GstChildProxycxx . . $ GstChildProxy#* self, GObjectcxx . . $ GObject#* p0, const gchar* p1) |
| 302 | { |
| 303 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 304 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 305 | |
| 306 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 307 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 308 | // generated classes can use this optimisation, which avoids the unnecessary |
| 309 | // parameter conversions if there is no possibility of the virtual function |
| 310 | // being overridden: |
| 311 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 312 | { |
| 313 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#* const>(obj_base); |
| 314 | if(obj) // This can be NULL during destruction. |
| 315 | { |
| 316 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 317 | { |
| 318 | // Call the virtual member method, which derived classes might override. |
| 319 | obj->on_child_addedcxx . . $ Gst/ChildProxy#on_child_added(cd289d41ce61ab4).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(d34af896c95462f9).(GST_OBJECTcxx . . $ `<external>/3075072394961518725/gstobject.h:37:9`!(p0), true) |
| 320 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(p1) |
| 321 | ); |
| 322 | return; |
| 323 | } |
| 324 | catch(...) |
| 325 | { |
| 326 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 327 | } |
| 328 | } |
| 329 | } |
| 330 | |
| 331 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType#*>( |
| 332 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 333 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 334 | ) ); |
| 335 | |
| 336 | // Call the original underlying C function: |
| 337 | if(base && base->child_addedcxx . . $ _GstChildProxyInterface#child_added.) |
| 338 | (*base->child_addedcxx . . $ _GstChildProxyInterface#child_added.)(self, p0, p1); |
| 339 | } |
| 340 | void ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::child_removed_callbackcxx . . $ Gst/ChildProxy_Class#child_removed_callback(10fdc2aca724f3).(GstChildProxycxx . . $ GstChildProxy#* self, GObjectcxx . . $ GObject#* p0, const gchar* p1) |
| 341 | { |
| 342 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 343 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 344 | |
| 345 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 346 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 347 | // generated classes can use this optimisation, which avoids the unnecessary |
| 348 | // parameter conversions if there is no possibility of the virtual function |
| 349 | // being overridden: |
| 350 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 351 | { |
| 352 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#* const>(obj_base); |
| 353 | if(obj) // This can be NULL during destruction. |
| 354 | { |
| 355 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 356 | { |
| 357 | // Call the virtual member method, which derived classes might override. |
| 358 | obj->on_child_removedcxx . . $ Gst/ChildProxy#on_child_removed(cd289d41ce61ab4).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(d34af896c95462f9).(GST_OBJECTcxx . . $ `<external>/3075072394961518725/gstobject.h:37:9`!(p0), true) |
| 359 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(p1) |
| 360 | ); |
| 361 | return; |
| 362 | } |
| 363 | catch(...) |
| 364 | { |
| 365 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 366 | } |
| 367 | } |
| 368 | } |
| 369 | |
| 370 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy_Class#BaseClassType#*>( |
| 371 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 372 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ChildProxy_Class#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 373 | ) ); |
| 374 | |
| 375 | // Call the original underlying C function: |
| 376 | if(base && base->child_removedcxx . . $ _GstChildProxyInterface#child_removed.) |
| 377 | (*base->child_removedcxx . . $ _GstChildProxyInterface#child_removed.)(self, p0, p1); |
| 378 | } |
| 379 | |
| 380 | |
| 381 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* ChildProxy_Classcxx . . $ Gst/ChildProxy_Class#::wrap_newcxx . . $ Gst/ChildProxy_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 382 | { |
| 383 | return new ChildProxycxx . . $ Gst/ChildProxy#((GstChildProxycxx . . $ GstChildProxy#*)(object)); |
| 384 | } |
| 385 | |
| 386 | |
| 387 | /* The implementation: */ |
| 388 | |
| 389 | ChildProxycxx . . $ Gst/ChildProxy#::ChildProxycxx . . $ Gst/ChildProxy#ChildProxy(49f6e7a06ebc5aa8).() |
| 390 | : |
| 391 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(childproxy_class_cxx . . $ Gst/ChildProxy#childproxy_class_..initcxx . . $ Gst/ChildProxy_Class#init(abc04d6bda8aa5b8).()) |
| 392 | {} |
| 393 | |
| 394 | ChildProxycxx . . $ Gst/ChildProxy#::ChildProxycxx . . $ Gst/ChildProxy#ChildProxy(7df1759cf0ac2b67).(GstChildProxycxx . . $ GstChildProxy#* castitem) |
| 395 | : |
| 396 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#((GObjectcxx . . $ GObject#*)(castitem)) |
| 397 | {} |
| 398 | |
| 399 | ChildProxycxx . . $ Gst/ChildProxy#::ChildProxycxx . . $ Gst/ChildProxy#ChildProxy(2ae54c1e3e0dc4a8).(const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& interface_class) |
| 400 | : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(interface_class) |
| 401 | { |
| 402 | } |
| 403 | |
| 404 | ChildProxycxx . . $ Gst/ChildProxy#::ChildProxycxx . . $ Gst/ChildProxy#ChildProxy(4fb247d10560d403).(ChildProxycxx . . $ Gst/ChildProxy#&& src) noexcept |
| 405 | : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 406 | {} |
| 407 | |
| 408 | ChildProxycxx . . $ Gst/ChildProxy#& ChildProxycxx . . $ Gst/ChildProxy#::operatorcxx . . $ Gst/ChildProxy#`operator=`(646df602fe8fc690).=(ChildProxycxx . . $ Gst/ChildProxy#&& src) noexcept |
| 409 | { |
| 410 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 411 | return *this; |
| 412 | } |
| 413 | |
| 414 | ChildProxycxx . . $ Gst/ChildProxy#::~cxx . . $ Gst/ChildProxy#`~ChildProxy`(ced63f7c635d850d).ChildProxycxx . . $ Gst/ChildProxy#() noexcept |
| 415 | {} |
| 416 | |
| 417 | // static |
| 418 | void ChildProxycxx . . $ Gst/ChildProxy#::add_interfacecxx . . $ Gst/ChildProxy#add_interface(2c44cd906ae4e829).(GType gtype_implementer) |
| 419 | { |
| 420 | childproxy_class_cxx . . $ Gst/ChildProxy#childproxy_class_..initcxx . . $ Gst/ChildProxy_Class#init(abc04d6bda8aa5b8).().add_interfacecxx . . $ Glib/Interface_Class#add_interface(cf8bf0a838713cc4).(gtype_implementer); |
| 421 | } |
| 422 | |
| 423 | ChildProxycxx . . $ Gst/ChildProxy#::CppClassTypecxx . . $ Gst/ChildProxy#CppClassType# ChildProxycxx . . $ Gst/ChildProxy#::childproxy_class_cxx . . $ Gst/ChildProxy#childproxy_class_.; // initialize static member |
| 424 | |
| 425 | GType ChildProxycxx . . $ Gst/ChildProxy#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).() |
| 426 | { |
| 427 | return childproxy_class_cxx . . $ Gst/ChildProxy#childproxy_class_..initcxx . . $ Gst/ChildProxy_Class#init(abc04d6bda8aa5b8).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 428 | } |
| 429 | |
| 430 | |
| 431 | GType ChildProxycxx . . $ Gst/ChildProxy#::get_base_typecxx . . $ Gst/ChildProxy#get_base_type(f708dce9a8856c70).() |
| 432 | { |
| 433 | return gst_child_proxy_get_type(); |
| 434 | } |
| 435 | |
| 436 | |
| 437 | guint ChildProxycxx . . $ Gst/ChildProxy#::get_children_countcxx . . $ Gst/ChildProxy#get_children_count(ddd8539a2fcdd4ce).() const |
| 438 | { |
| 439 | return gst_child_proxy_get_children_count(const_cast<GstChildProxycxx . . $ GstChildProxy#*>(gobjcxx . . $ Gst/ChildProxy#gobj(2ce95b8f538e2b12).())); |
| 440 | } |
| 441 | |
| 442 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> ChildProxycxx . . $ Gst/ChildProxy#::get_childcxx . . $ Gst/ChildProxy#get_child(3920cb45b22f74e0).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 443 | { |
| 444 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(d34af896c95462f9).(GST_OBJECTcxx . . $ `<external>/3075072394961518725/gstobject.h:37:9`!(gst_child_proxy_get_child_by_name(gobj(), name.c_str())), true); |
| 445 | } |
| 446 | |
| 447 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> ChildProxycxx . . $ Gst/ChildProxy#::get_childcxx . . $ Gst/ChildProxy#get_child(8b1e75baca9941f0).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 448 | { |
| 449 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<ChildProxycxx . . $ Gst/ChildProxy#*>(this)->get_childcxx . . $ Gst/ChildProxy#get_child(3920cb45b22f74e0).(name); |
| 450 | } |
| 451 | |
| 452 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#> ChildProxycxx . . $ Gst/ChildProxy#::get_childcxx . . $ Gst/ChildProxy#get_child(9b8b510f59797514).(guint index) |
| 453 | { |
| 454 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(5149500efd461a82).(gst_child_proxy_get_child_by_index(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).(), index)); |
| 455 | } |
| 456 | |
| 457 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#> ChildProxycxx . . $ Gst/ChildProxy#::get_childcxx . . $ Gst/ChildProxy#get_child(c122bf25baafc79a).(guint index) const |
| 458 | { |
| 459 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<ChildProxycxx . . $ Gst/ChildProxy#*>(this)->get_childcxx . . $ Gst/ChildProxy#get_child(9b8b510f59797514).(index); |
| 460 | } |
| 461 | |
| 462 | void ChildProxycxx . . $ Gst/ChildProxy#::child_addedcxx . . $ Gst/ChildProxy#child_added(cd289d41ce61ab4).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& child, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 463 | { |
| 464 | gst_child_proxy_child_added(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).(), G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(Glib::unwrap(child)), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 465 | } |
| 466 | |
| 467 | void ChildProxycxx . . $ Gst/ChildProxy#::child_removedcxx . . $ Gst/ChildProxy#child_removed(cd289d41ce61ab4).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& child, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 468 | { |
| 469 | gst_child_proxy_child_removed(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).(), G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(Glib::unwrap(child)), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 470 | } |
| 471 | |
| 472 | |
| 473 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& > ChildProxycxx . . $ Gst/ChildProxy#::signal_child_addedcxx . . $ Gst/ChildProxy#signal_child_added(30cca7036676f502).() |
| 474 | { |
| 475 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& >(this, &ChildProxy_signal_child_added_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_added_info.); |
| 476 | } |
| 477 | |
| 478 | |
| 479 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& > ChildProxycxx . . $ Gst/ChildProxy#::signal_child_removedcxx . . $ Gst/ChildProxy#signal_child_removed(30cca7036676f502).() |
| 480 | { |
| 481 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& >(this, &ChildProxy_signal_child_removed_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/childproxy.cc`/ChildProxy_signal_child_removed_info.); |
| 482 | } |
| 483 | |
| 484 | |
| 485 | void Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#::on_child_addedcxx . . $ Gst/ChildProxy#on_child_added(cd289d41ce61ab4).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& object, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 486 | { |
| 487 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy#BaseClassType#*>( |
| 488 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 489 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ChildProxy#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 490 | ) ); |
| 491 | |
| 492 | if(base && base->child_addedcxx . . $ _GstChildProxyInterface#child_added.) |
| 493 | (*base->child_addedcxx . . $ _GstChildProxyInterface#child_added.)(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).(),G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(Glib::unwrap(object)),name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 494 | } |
| 495 | void Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#::on_child_removedcxx . . $ Gst/ChildProxy#on_child_removed(cd289d41ce61ab4).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& object, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 496 | { |
| 497 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy#BaseClassType#*>( |
| 498 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 499 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ChildProxy#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 500 | ) ); |
| 501 | |
| 502 | if(base && base->child_removedcxx . . $ _GstChildProxyInterface#child_removed.) |
| 503 | (*base->child_removedcxx . . $ _GstChildProxyInterface#child_removed.)(gobjcxx . . $ Gst/ChildProxy#gobj(d27eeec0e9c60534).(),G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`!(Glib::unwrap(object)),name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 504 | } |
| 505 | |
| 506 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#> Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#::get_child_by_name_vfunccxx . . $ Gst/ChildProxy#get_child_by_name_vfunc(b08c4544a9b5db2d).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 507 | { |
| 508 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy#BaseClassType#*>( |
| 509 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 510 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ChildProxy#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 511 | ) ); |
| 512 | |
| 513 | if(base && base->get_child_by_namecxx . . $ _GstChildProxyInterface#get_child_by_name.) |
| 514 | { |
| 515 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(5149500efd461a82).((*base->get_child_by_namecxx . . $ _GstChildProxyInterface#get_child_by_name.)(const_cast<GstChildProxycxx . . $ GstChildProxy#*>(gobjcxx . . $ Gst/ChildProxy#gobj(2ce95b8f538e2b12).()),name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()))); |
| 516 | return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 517 | } |
| 518 | |
| 519 | using RTypecxx . . $ Gst/ChildProxy#get_child_by_name_vfunc(b08c4544a9b5db2d).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#>; |
| 520 | return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).(); |
| 521 | } |
| 522 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#> Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#::get_child_by_index_vfunccxx . . $ Gst/ChildProxy#get_child_by_index_vfunc(91ff88ec768e062a).(guint index) const |
| 523 | { |
| 524 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy#BaseClassType#*>( |
| 525 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 526 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ChildProxy#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 527 | ) ); |
| 528 | |
| 529 | if(base && base->get_child_by_indexcxx . . $ _GstChildProxyInterface#get_child_by_index.) |
| 530 | { |
| 531 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(5149500efd461a82).((*base->get_child_by_indexcxx . . $ _GstChildProxyInterface#get_child_by_index.)(const_cast<GstChildProxycxx . . $ GstChildProxy#*>(gobjcxx . . $ Gst/ChildProxy#gobj(2ce95b8f538e2b12).()),index))); |
| 532 | return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 533 | } |
| 534 | |
| 535 | using RTypecxx . . $ Gst/ChildProxy#get_child_by_index_vfunc(91ff88ec768e062a).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#>; |
| 536 | return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).(); |
| 537 | } |
| 538 | guint Gstcxx . . $ Gst/::ChildProxycxx . . $ Gst/ChildProxy#::get_children_count_vfunccxx . . $ Gst/ChildProxy#get_children_count_vfunc(ddd8539a2fcdd4ce).() const |
| 539 | { |
| 540 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/ChildProxy#BaseClassType#*>( |
| 541 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 542 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ChildProxy#CppObjectType#::get_typecxx . . $ Gst/ChildProxy#get_type(f708dce9a8856c70).()) // Get the interface. |
| 543 | ) ); |
| 544 | |
| 545 | if(base && base->get_children_countcxx . . $ _GstChildProxyInterface#get_children_count.) |
| 546 | { |
| 547 | guint retval((*base->get_children_countcxx . . $ _GstChildProxyInterface#get_children_count.)(const_cast<GstChildProxycxx . . $ GstChildProxy#*>(gobjcxx . . $ Gst/ChildProxy#gobj(2ce95b8f538e2b12).()))); |
| 548 | return retval; |
| 549 | } |
| 550 | |
| 551 | using RTypecxx . . $ Gst/ChildProxy#get_children_count_vfunc(ddd8539a2fcdd4ce).RType# = guint; |
| 552 | return RTypecxx . . $ Gst/ChildProxy#get_children_count_vfunc(ddd8539a2fcdd4ce).RType#(); |
| 553 | } |
| 554 | |
| 555 | |
| 556 | } // namespace Gst |
| 557 | |
| 558 |