| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/bin.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/bin.h>cxx . . $ `<file>/gstreamer/gstreamermm/bin.h`/ |
| 7 | #include <gstreamermm/private/bin_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/bin_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/pad.h>cxx . . $ `<file>/gstreamer/gstreamermm/pad.h`/ |
| 31 | #include <gstreamermm/ghostpad.h>cxx . . $ `<file>/gstreamer/gstreamermm/ghostpad.h`/ |
| 32 | #include <gstreamermm/iterator.h>cxx . . $ `<file>/gstreamer/gstreamermm/iterator.h`/ |
| 33 | #include <gstreamermm/bus.h>cxx . . $ `<file>/gstreamer/gstreamermm/bus.h`/ |
| 34 | #include <gstreamermm/handle_error.h>cxx . . $ `<file>/gstreamer/gstreamermm/handle_error.h`/ |
| 35 | |
| 36 | |
| 37 | namespace Gstcxx . . $ Gst/ |
| 38 | { |
| 39 | |
| 40 | Bincxx . . $ Gst/Bin#::Bincxx . . $ Gst/Bin#Bin(49f6e7a06ebc5aa8).() |
| 41 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 42 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 43 | Elementcxx . . $ Gst/Element#Element(237165b4a42a691a).(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(bin_class_cxx . . $ Gst/Bin#bin_class_..initcxx . . $ Gst/Bin_Class#init(bf348c0cd369184d).(), "name",nullptr, nullptr)) |
| 44 | {} |
| 45 | |
| 46 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#> Bincxx . . $ Gst/Bin#::addcxx . . $ Gst/Bin#add(25e1dc1b4b432bb3).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& element) |
| 47 | { |
| 48 | if(!element) |
| 49 | gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("Failed to add null element."cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).); |
| 50 | |
| 51 | GstElementcxx . . $ GstElement#* celement = Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(element); |
| 52 | |
| 53 | // The following is needed because when adding an element to a bin, the bin |
| 54 | // likes to have the last reference and then destroy it when the bin itself |
| 55 | // is destroyed. Without the extra reference, when the last Glib::RefPtr<> |
| 56 | // to the element goes out of scope, the element may be destroyed before the |
| 57 | // bin and GStreamer complains about it. The extra reference to the element |
| 58 | // is removed when the bin is destroyed or when the element is removed from |
| 59 | // the bin (see gst_bin_remove). |
| 60 | if(G_LIKELYcxx . . $ `<external>/12741050725406041920/gmacros.h:1284:9`!(g_object_is_floating(celement))) |
| 61 | element->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 62 | |
| 63 | const bool result = gst_bin_add(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), celement); |
| 64 | |
| 65 | // If addition successful, return RefPtr<..> to this bin, otherwise throw an |
| 66 | // exception |
| 67 | if(!result) |
| 68 | gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("Failed to add " +cxx . . $ Glib/operator+(733d8bb4b557ea40). element->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).get_namecxx . . $ Gst/Object#get_name(fff0f585954e56f3).() +cxx . . $ Glib/operator+(6b0655b476210372). |
| 69 | " element."); |
| 70 | |
| 71 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(23a4cc1e8a47315).(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), true); |
| 72 | } |
| 73 | |
| 74 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#> Bincxx . . $ Gst/Bin#::removecxx . . $ Gst/Bin#remove(25e1dc1b4b432bb3).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& element) |
| 75 | { |
| 76 | if(!element) |
| 77 | gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("Failed to remove null element."cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).); |
| 78 | |
| 79 | |
| 80 | const bool result = gst_bin_remove(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(element)); |
| 81 | |
| 82 | // If removal successful, return RefPtr<..> to this bin, otherwise throw an |
| 83 | // exception |
| 84 | if(!result) |
| 85 | gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("Failed to remove " +cxx . . $ Glib/operator+(733d8bb4b557ea40). element->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).get_namecxx . . $ Gst/Object#get_name(fff0f585954e56f3).() +cxx . . $ Glib/operator+(6b0655b476210372). |
| 86 | " element."); |
| 87 | |
| 88 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(23a4cc1e8a47315).(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), true); |
| 89 | } |
| 90 | |
| 91 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::GhostPadcxx . . $ Gst/GhostPad#> Bincxx . . $ Gst/Bin#::add_ghost_padcxx . . $ Gst/Bin#add_ghost_pad(35139312e7161071).(const |
| 92 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& element, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& pad_name, const |
| 93 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 94 | { |
| 95 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> static_pad = element->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).get_static_padcxx . . $ Gst/Element#get_static_pad(d41a58e7b5052139).(pad_name); |
| 96 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::GhostPadcxx . . $ Gst/GhostPad#> ghost_pad = Gstcxx . . $ Gst/::GhostPadcxx . . $ Gst/GhostPad#::createcxx . . $ Gst/GhostPad#create(52b4bff365f639a0).(static_pad, |
| 97 | name); |
| 98 | add_padcxx . . $ Gst/Element#add_pad(9b3f380b23eb461).(ghost_padcxx . . $ Glib/RefPtr#RefPtr(8440a00309d85a0).); |
| 99 | return ghost_padcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 100 | } |
| 101 | |
| 102 | } //namespace Gst |
| 103 | |
| 104 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/ |
| 105 | { |
| 106 | |
| 107 | |
| 108 | static void Bin_signal_element_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_added_callback(3ca8ae5752c75d57).(GstBincxx . . $ GstBin#* self, GstElementcxx . . $ GstElement#* p0,void* data) |
| 109 | { |
| 110 | using namespace Gst; |
| 111 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_added_callback(3ca8ae5752c75d57).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& >; |
| 112 | |
| 113 | auto obj = dynamic_cast<Bincxx . . $ Gst/Bin#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 114 | // Do not try to call a signal on a disassociated wrapper. |
| 115 | if(obj) |
| 116 | { |
| 117 | try |
| 118 | { |
| 119 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 120 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_added_callback(3ca8ae5752c75d57).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(p0, true) |
| 121 | ); |
| 122 | } |
| 123 | catch(...) |
| 124 | { |
| 125 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 126 | } |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Bin_signal_element_added_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_added_info. = |
| 131 | { |
| 132 | "element-added", |
| 133 | (GCallback) &Bin_signal_element_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_added_callback(3ca8ae5752c75d57)., |
| 134 | (GCallback) &Bin_signal_element_added_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_added_callback(3ca8ae5752c75d57). |
| 135 | }; |
| 136 | |
| 137 | |
| 138 | static void Bin_signal_element_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_removed_callback(3ca8ae5752c75d57).(GstBincxx . . $ GstBin#* self, GstElementcxx . . $ GstElement#* p0,void* data) |
| 139 | { |
| 140 | using namespace Gst; |
| 141 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_removed_callback(3ca8ae5752c75d57).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& >; |
| 142 | |
| 143 | auto obj = dynamic_cast<Bincxx . . $ Gst/Bin#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 144 | // Do not try to call a signal on a disassociated wrapper. |
| 145 | if(obj) |
| 146 | { |
| 147 | try |
| 148 | { |
| 149 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 150 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_removed_callback(3ca8ae5752c75d57).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(p0, true) |
| 151 | ); |
| 152 | } |
| 153 | catch(...) |
| 154 | { |
| 155 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 156 | } |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Bin_signal_element_removed_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_removed_info. = |
| 161 | { |
| 162 | "element-removed", |
| 163 | (GCallback) &Bin_signal_element_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_removed_callback(3ca8ae5752c75d57)., |
| 164 | (GCallback) &Bin_signal_element_removed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_removed_callback(3ca8ae5752c75d57). |
| 165 | }; |
| 166 | |
| 167 | |
| 168 | static gboolean Bin_signal_do_latency_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_callback(622f37ad3d4a440c).(GstBincxx . . $ GstBin#* self, void* data) |
| 169 | { |
| 170 | using namespace Gst; |
| 171 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_callback(622f37ad3d4a440c).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< bool >; |
| 172 | |
| 173 | auto obj = dynamic_cast<Bincxx . . $ Gst/Bin#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 174 | // Do not try to call a signal on a disassociated wrapper. |
| 175 | if(obj) |
| 176 | { |
| 177 | try |
| 178 | { |
| 179 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 180 | return static_cast<int>((*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_callback(622f37ad3d4a440c).SlotType#*>(slot))(cxx . . $ sigc/slot0#`operator()`(8f5363d873dd4781).)); |
| 181 | } |
| 182 | catch(...) |
| 183 | { |
| 184 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | using RTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_callback(622f37ad3d4a440c).RType# = gboolean; |
| 189 | return RTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_callback(622f37ad3d4a440c).RType#(); |
| 190 | } |
| 191 | |
| 192 | static gboolean Bin_signal_do_latency_notify_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_notify_callback(622f37ad3d4a440c).(GstBincxx . . $ GstBin#* self, void* data) |
| 193 | { |
| 194 | using namespace Gst; |
| 195 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_notify_callback(622f37ad3d4a440c).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void >; |
| 196 | |
| 197 | auto obj = dynamic_cast<Bincxx . . $ Gst/Bin#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 198 | // Do not try to call a signal on a disassociated wrapper. |
| 199 | if(obj) |
| 200 | { |
| 201 | try |
| 202 | { |
| 203 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 204 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_notify_callback(622f37ad3d4a440c).SlotType#*>(slot))(cxx . . $ sigc/slot0#`operator()`(8f5363d873dd4781).); |
| 205 | } |
| 206 | catch(...) |
| 207 | { |
| 208 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | using RTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_notify_callback(622f37ad3d4a440c).RType# = gboolean; |
| 213 | return RTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_notify_callback(622f37ad3d4a440c).RType#(); |
| 214 | } |
| 215 | |
| 216 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Bin_signal_do_latency_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_info. = |
| 217 | { |
| 218 | "do-latency", |
| 219 | (GCallback) &Bin_signal_do_latency_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_callback(622f37ad3d4a440c)., |
| 220 | (GCallback) &Bin_signal_do_latency_notify_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_notify_callback(622f37ad3d4a440c). |
| 221 | }; |
| 222 | |
| 223 | |
| 224 | } // anonymous namespace |
| 225 | |
| 226 | // static |
| 227 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::BinFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 228 | { |
| 229 | return gst_bin_flags_get_type(); |
| 230 | } |
| 231 | |
| 232 | |
| 233 | namespace Glibcxx . . $ Glib/ |
| 234 | { |
| 235 | |
| 236 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#> wrapcxx . . $ Glib/wrap(23a4cc1e8a47315).(GstBincxx . . $ GstBin#* object, bool take_copy) |
| 237 | { |
| 238 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#>( dynamic_cast<Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 239 | //We use dynamic_cast<> in case of multiple inheritance. |
| 240 | } |
| 241 | |
| 242 | } /* namespace Glib */ |
| 243 | |
| 244 | |
| 245 | namespace Gstcxx . . $ Gst/ |
| 246 | { |
| 247 | |
| 248 | |
| 249 | /* The *_Class implementation: */ |
| 250 | |
| 251 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Bin_Classcxx . . $ Gst/Bin_Class#::initcxx . . $ Gst/Bin_Class#init(bf348c0cd369184d).() |
| 252 | { |
| 253 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 254 | { |
| 255 | // Glib::Class has to know the class init function to clone custom types. |
| 256 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Bin_Classcxx . . $ Gst/Bin_Class#::class_init_functioncxx . . $ Gst/Bin_Class#class_init_function(6c58c5e2437d25a2).; |
| 257 | |
| 258 | // This is actually just optimized away, apparently with no harm. |
| 259 | // Make sure that the parent type has been created. |
| 260 | //CppClassParent::CppObjectType::get_type(); |
| 261 | |
| 262 | // Create the wrapper type, with the same class/instance size as the base type. |
| 263 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_bin_get_type()); |
| 264 | |
| 265 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 266 | ChildProxycxx . . $ Gst/ChildProxy#::add_interfacecxx . . $ Gst/ChildProxy#add_interface(2c44cd906ae4e829).(get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).()); |
| 267 | |
| 268 | } |
| 269 | |
| 270 | return *this; |
| 271 | } |
| 272 | |
| 273 | |
| 274 | void Bin_Classcxx . . $ Gst/Bin_Class#::class_init_functioncxx . . $ Gst/Bin_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 275 | { |
| 276 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType#*>(g_class); |
| 277 | CppClassParentcxx . . $ Gst/Bin_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Element_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 278 | |
| 279 | klass->add_elementcxx . . $ _GstBinClass#add_element. = &add_element_vfunc_callbackcxx . . $ Gst/Bin_Class#add_element_vfunc_callback(5a84857fcc5fed6e).; |
| 280 | klass->remove_elementcxx . . $ _GstBinClass#remove_element. = &remove_element_vfunc_callbackcxx . . $ Gst/Bin_Class#remove_element_vfunc_callback(5a84857fcc5fed6e).; |
| 281 | klass->handle_messagecxx . . $ _GstBinClass#handle_message. = &handle_message_vfunc_callbackcxx . . $ Gst/Bin_Class#handle_message_vfunc_callback(f0e3d1807244a917).; |
| 282 | |
| 283 | klass->element_addedcxx . . $ _GstBinClass#element_added. = &element_added_callbackcxx . . $ Gst/Bin_Class#element_added_callback(208fa2defffb0918).; |
| 284 | klass->element_removedcxx . . $ _GstBinClass#element_removed. = &element_removed_callbackcxx . . $ Gst/Bin_Class#element_removed_callback(208fa2defffb0918).; |
| 285 | klass->do_latencycxx . . $ _GstBinClass#do_latency. = &do_latency_callbackcxx . . $ Gst/Bin_Class#do_latency_callback(aff1399ccbdf1b2a).; |
| 286 | } |
| 287 | |
| 288 | gboolean Bin_Classcxx . . $ Gst/Bin_Class#::add_element_vfunc_callbackcxx . . $ Gst/Bin_Class#add_element_vfunc_callback(5a84857fcc5fed6e).(GstBincxx . . $ GstBin#* self, GstElementcxx . . $ GstElement#* element) |
| 289 | { |
| 290 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 291 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 292 | |
| 293 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 294 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 295 | // generated classes can use this optimisation, which avoids the unnecessary |
| 296 | // parameter conversions if there is no possibility of the virtual function |
| 297 | // being overridden: |
| 298 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 299 | { |
| 300 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Bin_Class#CppObjectType#* const>(obj_base); |
| 301 | if(obj) // This can be NULL during destruction. |
| 302 | { |
| 303 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 304 | { |
| 305 | // Call the virtual member method, which derived classes might override. |
| 306 | return static_cast<int>(obj->add_element_vfunccxx . . $ Gst/Bin#add_element_vfunc(a7d59ed7951d6c50).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(element, true) |
| 307 | )); |
| 308 | } |
| 309 | catch(...) |
| 310 | { |
| 311 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 312 | } |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType#*>( |
| 317 | 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). |
| 318 | ); |
| 319 | |
| 320 | // Call the original underlying C function: |
| 321 | if(base && base->add_elementcxx . . $ _GstBinClass#add_element.) |
| 322 | return (*base->add_elementcxx . . $ _GstBinClass#add_element.)(self, element); |
| 323 | |
| 324 | using RTypecxx . . $ Gst/Bin_Class#add_element_vfunc_callback(5a84857fcc5fed6e).RType# = gboolean; |
| 325 | return RTypecxx . . $ Gst/Bin_Class#add_element_vfunc_callback(5a84857fcc5fed6e).RType#(); |
| 326 | } |
| 327 | gboolean Bin_Classcxx . . $ Gst/Bin_Class#::remove_element_vfunc_callbackcxx . . $ Gst/Bin_Class#remove_element_vfunc_callback(5a84857fcc5fed6e).(GstBincxx . . $ GstBin#* self, GstElementcxx . . $ GstElement#* element) |
| 328 | { |
| 329 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 330 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 331 | |
| 332 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 333 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 334 | // generated classes can use this optimisation, which avoids the unnecessary |
| 335 | // parameter conversions if there is no possibility of the virtual function |
| 336 | // being overridden: |
| 337 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 338 | { |
| 339 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Bin_Class#CppObjectType#* const>(obj_base); |
| 340 | if(obj) // This can be NULL during destruction. |
| 341 | { |
| 342 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 343 | { |
| 344 | // Call the virtual member method, which derived classes might override. |
| 345 | return static_cast<int>(obj->remove_element_vfunccxx . . $ Gst/Bin#remove_element_vfunc(a7d59ed7951d6c50).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(element, true) |
| 346 | )); |
| 347 | } |
| 348 | catch(...) |
| 349 | { |
| 350 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 351 | } |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType#*>( |
| 356 | 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). |
| 357 | ); |
| 358 | |
| 359 | // Call the original underlying C function: |
| 360 | if(base && base->remove_elementcxx . . $ _GstBinClass#remove_element.) |
| 361 | return (*base->remove_elementcxx . . $ _GstBinClass#remove_element.)(self, element); |
| 362 | |
| 363 | using RTypecxx . . $ Gst/Bin_Class#remove_element_vfunc_callback(5a84857fcc5fed6e).RType# = gboolean; |
| 364 | return RTypecxx . . $ Gst/Bin_Class#remove_element_vfunc_callback(5a84857fcc5fed6e).RType#(); |
| 365 | } |
| 366 | void Bin_Classcxx . . $ Gst/Bin_Class#::handle_message_vfunc_callbackcxx . . $ Gst/Bin_Class#handle_message_vfunc_callback(f0e3d1807244a917).(GstBincxx . . $ GstBin#* self, GstMessage* message) |
| 367 | { |
| 368 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 369 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 370 | |
| 371 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 372 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 373 | // generated classes can use this optimisation, which avoids the unnecessary |
| 374 | // parameter conversions if there is no possibility of the virtual function |
| 375 | // being overridden: |
| 376 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 377 | { |
| 378 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Bin_Class#CppObjectType#* const>(obj_base); |
| 379 | if(obj) // This can be NULL during destruction. |
| 380 | { |
| 381 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 382 | { |
| 383 | // Call the virtual member method, which derived classes might override. |
| 384 | obj->handle_message_vfunccxx . . $ Gst/Bin#handle_message_vfunc(5822da6843d0e142).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(message, true) |
| 385 | ); |
| 386 | return; |
| 387 | } |
| 388 | catch(...) |
| 389 | { |
| 390 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 391 | } |
| 392 | } |
| 393 | } |
| 394 | |
| 395 | BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType#*>( |
| 396 | 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). |
| 397 | ); |
| 398 | |
| 399 | // Call the original underlying C function: |
| 400 | if(base && base->handle_messagecxx . . $ _GstBinClass#handle_message.) |
| 401 | (*base->handle_messagecxx . . $ _GstBinClass#handle_message.)(self, message); |
| 402 | } |
| 403 | |
| 404 | void Bin_Classcxx . . $ Gst/Bin_Class#::element_added_callbackcxx . . $ Gst/Bin_Class#element_added_callback(208fa2defffb0918).(GstBincxx . . $ GstBin#* self, GstElementcxx . . $ GstElement#* p0) |
| 405 | { |
| 406 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 407 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 408 | |
| 409 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 410 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 411 | // generated classes can use this optimisation, which avoids the unnecessary |
| 412 | // parameter conversions if there is no possibility of the virtual function |
| 413 | // being overridden: |
| 414 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 415 | { |
| 416 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Bin_Class#CppObjectType#* const>(obj_base); |
| 417 | if(obj) // This can be NULL during destruction. |
| 418 | { |
| 419 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 420 | { |
| 421 | // Call the virtual member method, which derived classes might override. |
| 422 | obj->on_element_addedcxx . . $ Gst/Bin#on_element_added(5d9012a0f12d5b8).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(p0, true) |
| 423 | ); |
| 424 | return; |
| 425 | } |
| 426 | catch(...) |
| 427 | { |
| 428 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 429 | } |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType#*>( |
| 434 | 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). |
| 435 | ); |
| 436 | |
| 437 | // Call the original underlying C function: |
| 438 | if(base && base->element_addedcxx . . $ _GstBinClass#element_added.) |
| 439 | (*base->element_addedcxx . . $ _GstBinClass#element_added.)(self, p0); |
| 440 | } |
| 441 | void Bin_Classcxx . . $ Gst/Bin_Class#::element_removed_callbackcxx . . $ Gst/Bin_Class#element_removed_callback(208fa2defffb0918).(GstBincxx . . $ GstBin#* self, GstElementcxx . . $ GstElement#* p0) |
| 442 | { |
| 443 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 444 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 445 | |
| 446 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 447 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 448 | // generated classes can use this optimisation, which avoids the unnecessary |
| 449 | // parameter conversions if there is no possibility of the virtual function |
| 450 | // being overridden: |
| 451 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 452 | { |
| 453 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Bin_Class#CppObjectType#* const>(obj_base); |
| 454 | if(obj) // This can be NULL during destruction. |
| 455 | { |
| 456 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 457 | { |
| 458 | // Call the virtual member method, which derived classes might override. |
| 459 | obj->on_element_removedcxx . . $ Gst/Bin#on_element_removed(5d9012a0f12d5b8).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(p0, true) |
| 460 | ); |
| 461 | return; |
| 462 | } |
| 463 | catch(...) |
| 464 | { |
| 465 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 466 | } |
| 467 | } |
| 468 | } |
| 469 | |
| 470 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType#*>( |
| 471 | 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). |
| 472 | ); |
| 473 | |
| 474 | // Call the original underlying C function: |
| 475 | if(base && base->element_removedcxx . . $ _GstBinClass#element_removed.) |
| 476 | (*base->element_removedcxx . . $ _GstBinClass#element_removed.)(self, p0); |
| 477 | } |
| 478 | gboolean Bin_Classcxx . . $ Gst/Bin_Class#::do_latency_callbackcxx . . $ Gst/Bin_Class#do_latency_callback(aff1399ccbdf1b2a).(GstBincxx . . $ GstBin#* self) |
| 479 | { |
| 480 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 481 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 482 | |
| 483 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 484 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 485 | // generated classes can use this optimisation, which avoids the unnecessary |
| 486 | // parameter conversions if there is no possibility of the virtual function |
| 487 | // being overridden: |
| 488 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 489 | { |
| 490 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Bin_Class#CppObjectType#* const>(obj_base); |
| 491 | if(obj) // This can be NULL during destruction. |
| 492 | { |
| 493 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 494 | { |
| 495 | // Call the virtual member method, which derived classes might override. |
| 496 | return static_cast<int>(obj->on_do_latencycxx . . $ Gst/Bin#on_do_latency(c9857a73d68e59ba).()); |
| 497 | } |
| 498 | catch(...) |
| 499 | { |
| 500 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 501 | } |
| 502 | } |
| 503 | } |
| 504 | |
| 505 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin_Class#BaseClassType#*>( |
| 506 | 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). |
| 507 | ); |
| 508 | |
| 509 | // Call the original underlying C function: |
| 510 | if(base && base->do_latencycxx . . $ _GstBinClass#do_latency.) |
| 511 | return (*base->do_latencycxx . . $ _GstBinClass#do_latency.)(self); |
| 512 | |
| 513 | using RTypecxx . . $ Gst/Bin_Class#do_latency_callback(aff1399ccbdf1b2a).RType# = gboolean; |
| 514 | return RTypecxx . . $ Gst/Bin_Class#do_latency_callback(aff1399ccbdf1b2a).RType#(); |
| 515 | } |
| 516 | |
| 517 | |
| 518 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Bin_Classcxx . . $ Gst/Bin_Class#::wrap_newcxx . . $ Gst/Bin_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 519 | { |
| 520 | return new Bincxx . . $ Gst/Bin#((GstBincxx . . $ GstBin#*)object); |
| 521 | } |
| 522 | |
| 523 | |
| 524 | /* The implementation: */ |
| 525 | |
| 526 | GstBincxx . . $ GstBin#* Bincxx . . $ Gst/Bin#::gobj_copycxx . . $ Gst/Bin#gobj_copy(22816196b927ba5f).() |
| 527 | { |
| 528 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 529 | return gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(); |
| 530 | } |
| 531 | |
| 532 | Bincxx . . $ Gst/Bin#::Bincxx . . $ Gst/Bin#Bin(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 533 | : |
| 534 | Elementcxx . . $ Gst/Element#Element(237165b4a42a691a).(construct_params) |
| 535 | { |
| 536 | |
| 537 | } |
| 538 | |
| 539 | Bincxx . . $ Gst/Bin#::Bincxx . . $ Gst/Bin#Bin(a35d6b58de6b1d54).(GstBincxx . . $ GstBin#* castitem) |
| 540 | : |
| 541 | Elementcxx . . $ Gst/Element#Element(175aa13ace29d0d5).((GstElementcxx . . $ GstElement#*)(castitem)) |
| 542 | {} |
| 543 | |
| 544 | |
| 545 | Bincxx . . $ Gst/Bin#::Bincxx . . $ Gst/Bin#Bin(bb6d74402c7e0e75).(Bincxx . . $ Gst/Bin#&& src) noexcept |
| 546 | : Elementcxx . . $ Gst/Element#Element(9bd74731f3b9d759).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 547 | , ChildProxycxx . . $ Gst/ChildProxy#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 548 | {} |
| 549 | |
| 550 | Bincxx . . $ Gst/Bin#& Bincxx . . $ Gst/Bin#::operatorcxx . . $ Gst/Bin#`operator=`(714f3b66326721c).=(Bincxx . . $ Gst/Bin#&& src) noexcept |
| 551 | { |
| 552 | Elementcxx . . $ Gst/Element#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 553 | ChildProxycxx . . $ Gst/ChildProxy#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 554 | return *this; |
| 555 | } |
| 556 | |
| 557 | |
| 558 | Bincxx . . $ Gst/Bin#::~cxx . . $ Gst/Bin#`~Bin`(ced63f7c635d850d).Bincxx . . $ Gst/Bin#() noexcept |
| 559 | {} |
| 560 | |
| 561 | |
| 562 | Bincxx . . $ Gst/Bin#::CppClassTypecxx . . $ Gst/Bin#CppClassType# Bincxx . . $ Gst/Bin#::bin_class_cxx . . $ Gst/Bin#bin_class_.; // initialize static member |
| 563 | |
| 564 | GType Bincxx . . $ Gst/Bin#::get_typecxx . . $ Gst/Bin#get_type(f708dce9a8856c70).() |
| 565 | { |
| 566 | return bin_class_cxx . . $ Gst/Bin#bin_class_..initcxx . . $ Gst/Bin_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 567 | } |
| 568 | |
| 569 | |
| 570 | GType Bincxx . . $ Gst/Bin#::get_base_typecxx . . $ Gst/Bin#get_base_type(f708dce9a8856c70).() |
| 571 | { |
| 572 | return gst_bin_get_type(); |
| 573 | } |
| 574 | |
| 575 | |
| 576 | Bincxx . . $ Gst/Bin#::Bincxx . . $ Gst/Bin#Bin(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 577 | : |
| 578 | // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 579 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 580 | Elementcxx . . $ Gst/Element#Element(237165b4a42a691a).(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(bin_class_cxx . . $ Gst/Bin#bin_class_..initcxx . . $ Gst/Bin_Class#init(bf348c0cd369184d).(), "name", name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr)) |
| 581 | { |
| 582 | |
| 583 | |
| 584 | } |
| 585 | |
| 586 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Bincxx . . $ Gst/Bin#> Bincxx . . $ Gst/Bin#::createcxx . . $ Gst/Bin#create(b51080e4f37e7146).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 587 | { |
| 588 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Bincxx . . $ Gst/Bin#>( new Bincxx . . $ Gst/Bin#(name) ); |
| 589 | } |
| 590 | |
| 591 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Bincxx . . $ Gst/Bin#> Bincxx . . $ Gst/Bin#::createcxx . . $ Gst/Bin#create(de3e8e84a44fb186).() |
| 592 | { |
| 593 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Bincxx . . $ Gst/Bin#>( new Bincxx . . $ Gst/Bin#() ); |
| 594 | } |
| 595 | |
| 596 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::get_elementcxx . . $ Gst/Bin#get_element(1ef5e1ee31814ad5).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 597 | { |
| 598 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(gst_bin_get_by_name(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 599 | } |
| 600 | |
| 601 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::get_elementcxx . . $ Gst/Bin#get_element(e740453d17760273).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 602 | { |
| 603 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Bincxx . . $ Gst/Bin#*>(this)->get_elementcxx . . $ Gst/Bin#get_element(1ef5e1ee31814ad5).(name); |
| 604 | } |
| 605 | |
| 606 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::get_element_recurse_upcxx . . $ Gst/Bin#get_element_recurse_up(1ef5e1ee31814ad5).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 607 | { |
| 608 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(gst_bin_get_by_name_recurse_up(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 609 | } |
| 610 | |
| 611 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::get_element_recurse_upcxx . . $ Gst/Bin#get_element_recurse_up(e740453d17760273).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 612 | { |
| 613 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Bincxx . . $ Gst/Bin#*>(this)->get_element_recurse_upcxx . . $ Gst/Bin#get_element_recurse_up(1ef5e1ee31814ad5).(name); |
| 614 | } |
| 615 | |
| 616 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::get_elementcxx . . $ Gst/Bin#get_element(7f6f8101c75e435b).(GType interface) |
| 617 | { |
| 618 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(gst_bin_get_by_interface(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), interface)); |
| 619 | } |
| 620 | |
| 621 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::get_elementcxx . . $ Gst/Bin#get_element(f04f357c22ecd9a6).(GType interface) const |
| 622 | { |
| 623 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Bincxx . . $ Gst/Bin#*>(this)->get_elementcxx . . $ Gst/Bin#get_element(7f6f8101c75e435b).(interface); |
| 624 | } |
| 625 | |
| 626 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Bincxx . . $ Gst/Bin#::find_unlinked_padcxx . . $ Gst/Bin#find_unlinked_pad(4e01fc00a112fd49).(PadDirectioncxx . . $ Gst/PadDirection# dir) |
| 627 | { |
| 628 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_bin_find_unlinked_pad(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), ((GstPadDirection)(dir)))); |
| 629 | } |
| 630 | |
| 631 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Bincxx . . $ Gst/Bin#::find_unlinked_padcxx . . $ Gst/Bin#find_unlinked_pad(82869e9a818bb86e).(PadDirectioncxx . . $ Gst/PadDirection# dir) const |
| 632 | { |
| 633 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Bincxx . . $ Gst/Bin#*>(this)->find_unlinked_padcxx . . $ Gst/Bin#find_unlinked_pad(4e01fc00a112fd49).(dir); |
| 634 | } |
| 635 | |
| 636 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_elementscxx . . $ Gst/Bin#iterate_elements(7f8530c72496f9ec).() |
| 637 | { |
| 638 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_elements(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).())); |
| 639 | } |
| 640 | |
| 641 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_elementscxx . . $ Gst/Bin#iterate_elements(796c5a4012deeedd).() const |
| 642 | { |
| 643 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_elements(const_cast<GstBincxx . . $ GstBin#*>(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()))); |
| 644 | } |
| 645 | |
| 646 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_recursecxx . . $ Gst/Bin#iterate_recurse(7f8530c72496f9ec).() |
| 647 | { |
| 648 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_recurse(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).())); |
| 649 | } |
| 650 | |
| 651 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_recursecxx . . $ Gst/Bin#iterate_recurse(796c5a4012deeedd).() const |
| 652 | { |
| 653 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_recurse(const_cast<GstBincxx . . $ GstBin#*>(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()))); |
| 654 | } |
| 655 | |
| 656 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_sortedcxx . . $ Gst/Bin#iterate_sorted(7f8530c72496f9ec).() |
| 657 | { |
| 658 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_sorted(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).())); |
| 659 | } |
| 660 | |
| 661 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_sortedcxx . . $ Gst/Bin#iterate_sorted(796c5a4012deeedd).() const |
| 662 | { |
| 663 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_sorted(const_cast<GstBincxx . . $ GstBin#*>(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()))); |
| 664 | } |
| 665 | |
| 666 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_sourcescxx . . $ Gst/Bin#iterate_sources(7f8530c72496f9ec).() |
| 667 | { |
| 668 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_sources(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).())); |
| 669 | } |
| 670 | |
| 671 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_sourcescxx . . $ Gst/Bin#iterate_sources(796c5a4012deeedd).() const |
| 672 | { |
| 673 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_sources(const_cast<GstBincxx . . $ GstBin#*>(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()))); |
| 674 | } |
| 675 | |
| 676 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_sinkscxx . . $ Gst/Bin#iterate_sinks(7f8530c72496f9ec).() |
| 677 | { |
| 678 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_sinks(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).())); |
| 679 | } |
| 680 | |
| 681 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_sinkscxx . . $ Gst/Bin#iterate_sinks(796c5a4012deeedd).() const |
| 682 | { |
| 683 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_sinks(const_cast<GstBincxx . . $ GstBin#*>(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()))); |
| 684 | } |
| 685 | |
| 686 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_by_interfacecxx . . $ Gst/Bin#iterate_by_interface(c132329adee85b0b).(GType iface) |
| 687 | { |
| 688 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_all_by_interface(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(), iface)); |
| 689 | } |
| 690 | |
| 691 | Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::iterate_by_interfacecxx . . $ Gst/Bin#iterate_by_interface(888c16acca13bda0).(GType iface) const |
| 692 | { |
| 693 | return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>(gst_bin_iterate_all_by_interface(const_cast<GstBincxx . . $ GstBin#*>(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()), iface)); |
| 694 | } |
| 695 | |
| 696 | bool Bincxx . . $ Gst/Bin#::sync_children_statescxx . . $ Gst/Bin#sync_children_states(c9857a73d68e59ba).() |
| 697 | { |
| 698 | return gst_bin_sync_children_states(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).()); |
| 699 | } |
| 700 | |
| 701 | bool Bincxx . . $ Gst/Bin#::recalculate_latencycxx . . $ Gst/Bin#recalculate_latency(c9857a73d68e59ba).() |
| 702 | { |
| 703 | return gst_bin_recalculate_latency(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).()); |
| 704 | } |
| 705 | |
| 706 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> > Bincxx . . $ Gst/Bin#::get_childrencxx . . $ Gst/Bin#get_children(a2bfc726c1dabc42).() const |
| 707 | { |
| 708 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> >(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->childrencxx . . $ _GstBin#children., Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.); |
| 709 | } |
| 710 | |
| 711 | guint32 Bincxx . . $ Gst/Bin#::get_children_cookiecxx . . $ Gst/Bin#get_children_cookie(ddd8539a2fcdd4ce).() const |
| 712 | { |
| 713 | return gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->children_cookiecxx . . $ _GstBin#children_cookie.; |
| 714 | } |
| 715 | |
| 716 | int Bincxx . . $ Gst/Bin#::get_num_childrencxx . . $ Gst/Bin#get_num_children(455f465bc33b4cdf).() const |
| 717 | { |
| 718 | return gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->numchildrencxx . . $ _GstBin#numchildren.; |
| 719 | } |
| 720 | |
| 721 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> Bincxx . . $ Gst/Bin#::get_child_buscxx . . $ Gst/Bin#get_child_bus(ada66d6ded80d30d).() |
| 722 | { |
| 723 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> ref_ptr(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(79deee541be19870).(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).()->child_buscxx . . $ _GstBin#child_bus.)); |
| 724 | |
| 725 | if(ref_ptr) |
| 726 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 727 | |
| 728 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 729 | } |
| 730 | |
| 731 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> Bincxx . . $ Gst/Bin#::get_child_buscxx . . $ Gst/Bin#get_child_bus(efc00cdb06f7ebfe).() const |
| 732 | { |
| 733 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> ref_ptrcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(79deee541be19870).(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->child_buscxx . . $ _GstBin#child_bus.)); |
| 734 | |
| 735 | if(ref_ptr) |
| 736 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 737 | |
| 738 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 739 | } |
| 740 | |
| 741 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> > Bincxx . . $ Gst/Bin#::get_messagescxx . . $ Gst/Bin#get_messages(384829ea905ac843).() const |
| 742 | { |
| 743 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> >(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->messagescxx . . $ _GstBin#messages., Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.); |
| 744 | } |
| 745 | |
| 746 | bool Bincxx . . $ Gst/Bin#::get_pollingcxx . . $ Gst/Bin#get_polling(50ce9a9e25b4a850).() const |
| 747 | { |
| 748 | return gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->pollingcxx . . $ _GstBin#polling.; |
| 749 | } |
| 750 | |
| 751 | bool Bincxx . . $ Gst/Bin#::get_clock_dirtycxx . . $ Gst/Bin#get_clock_dirty(50ce9a9e25b4a850).() const |
| 752 | { |
| 753 | return gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->clock_dirtycxx . . $ _GstBin#clock_dirty.; |
| 754 | } |
| 755 | |
| 756 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Bincxx . . $ Gst/Bin#::get_provided_clockcxx . . $ Gst/Bin#get_provided_clock(675458b535f1101e).() |
| 757 | { |
| 758 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> ref_ptr(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).()->provided_clockcxx . . $ _GstBin#provided_clock.)); |
| 759 | |
| 760 | if(ref_ptr) |
| 761 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 762 | |
| 763 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 764 | } |
| 765 | |
| 766 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Bincxx . . $ Gst/Bin#::get_provided_clockcxx . . $ Gst/Bin#get_provided_clock(d423a9683e0d77bf).() const |
| 767 | { |
| 768 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> ref_ptrcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->provided_clockcxx . . $ _GstBin#provided_clock.)); |
| 769 | |
| 770 | if(ref_ptr) |
| 771 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 772 | |
| 773 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 774 | } |
| 775 | |
| 776 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::get_clock_providercxx . . $ Gst/Bin#get_clock_provider(3e7872c5483971d5).() |
| 777 | { |
| 778 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> ref_ptr(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).()->clock_providercxx . . $ _GstBin#clock_provider.)); |
| 779 | |
| 780 | if(ref_ptr) |
| 781 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 782 | |
| 783 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 784 | } |
| 785 | |
| 786 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Bincxx . . $ Gst/Bin#::get_clock_providercxx . . $ Gst/Bin#get_clock_provider(b1c5af571c4925b8).() const |
| 787 | { |
| 788 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> ref_ptrcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(gobjcxx . . $ Gst/Bin#gobj(8622dc27271ccc18).()->clock_providercxx . . $ _GstBin#clock_provider.)); |
| 789 | |
| 790 | if(ref_ptr) |
| 791 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 792 | |
| 793 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 794 | } |
| 795 | |
| 796 | |
| 797 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& > Bincxx . . $ Gst/Bin#::signal_element_addedcxx . . $ Gst/Bin#signal_element_added(89eed8b771d92eb).() |
| 798 | { |
| 799 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& >(this, &Bin_signal_element_added_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_added_info.); |
| 800 | } |
| 801 | |
| 802 | |
| 803 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& > Bincxx . . $ Gst/Bin#::signal_element_removedcxx . . $ Gst/Bin#signal_element_removed(89eed8b771d92eb).() |
| 804 | { |
| 805 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& >(this, &Bin_signal_element_removed_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_element_removed_info.); |
| 806 | } |
| 807 | |
| 808 | |
| 809 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< bool > Bincxx . . $ Gst/Bin#::signal_do_latencycxx . . $ Gst/Bin#signal_do_latency(99d804532330f623).() |
| 810 | { |
| 811 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< bool >(this, &Bin_signal_do_latency_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bin.cc`/Bin_signal_do_latency_info.); |
| 812 | } |
| 813 | |
| 814 | |
| 815 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > Bincxx . . $ Gst/Bin#::property_async_handlingcxx . . $ Gst/Bin#property_async_handling(962e4b383dc974dc).() |
| 816 | { |
| 817 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "async-handling"); |
| 818 | } |
| 819 | |
| 820 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > Bincxx . . $ Gst/Bin#::property_async_handlingcxx . . $ Gst/Bin#property_async_handling(bb701360c56d84c7).() const |
| 821 | { |
| 822 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "async-handling"); |
| 823 | } |
| 824 | |
| 825 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > Bincxx . . $ Gst/Bin#::property_message_forwardcxx . . $ Gst/Bin#property_message_forward(962e4b383dc974dc).() |
| 826 | { |
| 827 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "message-forward"); |
| 828 | } |
| 829 | |
| 830 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > Bincxx . . $ Gst/Bin#::property_message_forwardcxx . . $ Gst/Bin#property_message_forward(bb701360c56d84c7).() const |
| 831 | { |
| 832 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "message-forward"); |
| 833 | } |
| 834 | |
| 835 | |
| 836 | void Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#::on_element_addedcxx . . $ Gst/Bin#on_element_added(5d9012a0f12d5b8).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& element) |
| 837 | { |
| 838 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin#BaseClassType#*>( |
| 839 | 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). |
| 840 | ); |
| 841 | |
| 842 | if(base && base->element_addedcxx . . $ _GstBinClass#element_added.) |
| 843 | (*base->element_addedcxx . . $ _GstBinClass#element_added.)(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(element)); |
| 844 | } |
| 845 | void Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#::on_element_removedcxx . . $ Gst/Bin#on_element_removed(5d9012a0f12d5b8).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& element) |
| 846 | { |
| 847 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin#BaseClassType#*>( |
| 848 | 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). |
| 849 | ); |
| 850 | |
| 851 | if(base && base->element_removedcxx . . $ _GstBinClass#element_removed.) |
| 852 | (*base->element_removedcxx . . $ _GstBinClass#element_removed.)(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(element)); |
| 853 | } |
| 854 | bool Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#::on_do_latencycxx . . $ Gst/Bin#on_do_latency(c9857a73d68e59ba).() |
| 855 | { |
| 856 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin#BaseClassType#*>( |
| 857 | 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). |
| 858 | ); |
| 859 | |
| 860 | if(base && base->do_latencycxx . . $ _GstBinClass#do_latency.) |
| 861 | return (*base->do_latencycxx . . $ _GstBinClass#do_latency.)(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).()); |
| 862 | |
| 863 | using RTypecxx . . $ Gst/Bin#on_do_latency(c9857a73d68e59ba).RType# = bool; |
| 864 | return RTypecxx . . $ Gst/Bin#on_do_latency(c9857a73d68e59ba).RType#(); |
| 865 | } |
| 866 | |
| 867 | bool Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#::add_element_vfunccxx . . $ Gst/Bin#add_element_vfunc(a7d59ed7951d6c50).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& element) |
| 868 | { |
| 869 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin#BaseClassType#*>( |
| 870 | 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). |
| 871 | ); |
| 872 | |
| 873 | if(base && base->add_elementcxx . . $ _GstBinClass#add_element.) |
| 874 | { |
| 875 | bool retval((*base->add_elementcxx . . $ _GstBinClass#add_element.)(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(element))); |
| 876 | return retval; |
| 877 | } |
| 878 | |
| 879 | using RTypecxx . . $ Gst/Bin#add_element_vfunc(a7d59ed7951d6c50).RType# = bool; |
| 880 | return RTypecxx . . $ Gst/Bin#add_element_vfunc(a7d59ed7951d6c50).RType#(); |
| 881 | } |
| 882 | bool Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#::remove_element_vfunccxx . . $ Gst/Bin#remove_element_vfunc(a7d59ed7951d6c50).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& element) |
| 883 | { |
| 884 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin#BaseClassType#*>( |
| 885 | 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). |
| 886 | ); |
| 887 | |
| 888 | if(base && base->remove_elementcxx . . $ _GstBinClass#remove_element.) |
| 889 | { |
| 890 | bool retval((*base->remove_elementcxx . . $ _GstBinClass#remove_element.)(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(element))); |
| 891 | return retval; |
| 892 | } |
| 893 | |
| 894 | using RTypecxx . . $ Gst/Bin#remove_element_vfunc(a7d59ed7951d6c50).RType# = bool; |
| 895 | return RTypecxx . . $ Gst/Bin#remove_element_vfunc(a7d59ed7951d6c50).RType#(); |
| 896 | } |
| 897 | void Gstcxx . . $ Gst/::Bincxx . . $ Gst/Bin#::handle_message_vfunccxx . . $ Gst/Bin#handle_message_vfunc(5822da6843d0e142).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& message) |
| 898 | { |
| 899 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bin#BaseClassType#*>( |
| 900 | 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). |
| 901 | ); |
| 902 | |
| 903 | if(base && base->handle_messagecxx . . $ _GstBinClass#handle_message.) |
| 904 | { |
| 905 | (*base->handle_messagecxx . . $ _GstBinClass#handle_message.)(gobjcxx . . $ Gst/Bin#gobj(22816196b927ba5f).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(message)); |
| 906 | } |
| 907 | } |
| 908 | |
| 909 | |
| 910 | } // namespace Gst |
| 911 | |
| 912 |