| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/object.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/object.h>cxx . . $ `<file>/gstreamer/gstreamermm/object.h`/ |
| 7 | #include <gstreamermm/private/object_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/object_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 <glibmm/threads.h> |
| 31 | |
| 32 | |
| 33 | namespace Gstcxx . . $ Gst/ |
| 34 | { |
| 35 | |
| 36 | Objectcxx . . $ Gst/Object#::Objectcxx . . $ Gst/Object#Object(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 37 | : |
| 38 | Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#(construct_params) |
| 39 | { |
| 40 | // Get rid of the floating reference for newly constructed Gst::Objects. |
| 41 | gst_object_ref_sink(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).()); |
| 42 | } |
| 43 | |
| 44 | Objectcxx . . $ Gst/Object#::Objectcxx . . $ Gst/Object#Object(22a1ecf9bc6426b1).(GstObjectcxx . . $ GstObject#* castitem) |
| 45 | : |
| 46 | Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#(reinterpret_cast<GObjectcxx . . $ GObject#*>(castitem)) |
| 47 | { |
| 48 | if(G_LIKELYcxx . . $ `<external>/12741050725406041920/gmacros.h:1284:9`!(g_object_is_floating(castitem))) |
| 49 | { |
| 50 | //The floating reference is convenience for C, |
| 51 | //but is useless and difficult for us: |
| 52 | gst_object_ref_sink(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).()); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | bool Objectcxx . . $ Gst/Object#::is_elementcxx . . $ Gst/Object#is_element(50ce9a9e25b4a850).() const |
| 57 | { |
| 58 | return GST_IS_ELEMENTcxx . . $ `<external>/7744406149854824820/gstelement.h:195:9`!(gobj()); |
| 59 | } |
| 60 | |
| 61 | bool Objectcxx . . $ Gst/Object#::is_element_factorycxx . . $ Gst/Object#is_element_factory(50ce9a9e25b4a850).() const |
| 62 | { |
| 63 | return GST_IS_ELEMENT_FACTORYcxx . . $ `<external>/15193377161217626871/gstelementfactory.h:49:9`!(gobj()); |
| 64 | } |
| 65 | |
| 66 | bool Objectcxx . . $ Gst/Object#::is_padcxx . . $ Gst/Object#is_pad(50ce9a9e25b4a850).() const |
| 67 | { |
| 68 | return GST_IS_PADcxx . . $ `<external>/7973622949010654678/gstpad.h:84:9`!(gobj()); |
| 69 | } |
| 70 | |
| 71 | bool Objectcxx . . $ Gst/Object#::is_pad_templatecxx . . $ Gst/Object#is_pad_template(50ce9a9e25b4a850).() const |
| 72 | { |
| 73 | return GST_IS_PAD_TEMPLATEcxx . . $ `<external>/8771887383014613966/gstpadtemplate.h:47:9`!(gobj()); |
| 74 | } |
| 75 | |
| 76 | bool Objectcxx . . $ Gst/Object#::is_bincxx . . $ Gst/Object#is_bin(50ce9a9e25b4a850).() const |
| 77 | { |
| 78 | return GST_IS_BINcxx . . $ `<external>/18072804031300516349/gstbin.h:34:9`!(gobj()); |
| 79 | } |
| 80 | |
| 81 | int Objectcxx . . $ Gst/Object#::get_refcountcxx . . $ Gst/Object#get_refcount(455f465bc33b4cdf).() const |
| 82 | { |
| 83 | return GST_OBJECT_REFCOUNTcxx . . $ `<external>/3075072394961518725/gstobject.h:84:9`!(gobj()); |
| 84 | } |
| 85 | |
| 86 | } // namespace Gst |
| 87 | |
| 88 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/object.cc`/ |
| 89 | { |
| 90 | |
| 91 | |
| 92 | static void Object_signal_deep_notify_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/object.cc`/Object_signal_deep_notify_callback(7c903ba0fe5495eb).(GstObjectcxx . . $ GstObject#* self, GstObjectcxx . . $ GstObject#* p0,GParamSpec* p1,void* data) |
| 93 | { |
| 94 | using namespace Gst; |
| 95 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/object.cc`/Object_signal_deep_notify_callback(7c903ba0fe5495eb).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,GParamSpec* >; |
| 96 | |
| 97 | auto obj = dynamic_cast<Objectcxx . . $ Gst/Object#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 98 | // Do not try to call a signal on a disassociated wrapper. |
| 99 | if(obj) |
| 100 | { |
| 101 | try |
| 102 | { |
| 103 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 104 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/object.cc`/Object_signal_deep_notify_callback(7c903ba0fe5495eb).SlotType#*>(slot))(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(d34af896c95462f9).(p0, true) |
| 105 | , p1); |
| 106 | } |
| 107 | catch(...) |
| 108 | { |
| 109 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Object_signal_deep_notify_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/object.cc`/Object_signal_deep_notify_info. = |
| 115 | { |
| 116 | "deep-notify", |
| 117 | (GCallback) &Object_signal_deep_notify_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/object.cc`/Object_signal_deep_notify_callback(7c903ba0fe5495eb)., |
| 118 | (GCallback) &Object_signal_deep_notify_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/object.cc`/Object_signal_deep_notify_callback(7c903ba0fe5495eb). |
| 119 | }; |
| 120 | |
| 121 | |
| 122 | } // anonymous namespace |
| 123 | |
| 124 | // static |
| 125 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::ObjectFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 126 | { |
| 127 | return gst_object_flags_get_type(); |
| 128 | } |
| 129 | |
| 130 | |
| 131 | namespace Glibcxx . . $ Glib/ |
| 132 | { |
| 133 | |
| 134 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> wrapcxx . . $ Glib/wrap(d34af896c95462f9).(GstObjectcxx . . $ GstObject#* object, bool take_copy) |
| 135 | { |
| 136 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>( dynamic_cast<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 137 | //We use dynamic_cast<> in case of multiple inheritance. |
| 138 | } |
| 139 | |
| 140 | } /* namespace Glib */ |
| 141 | |
| 142 | |
| 143 | namespace Gstcxx . . $ Gst/ |
| 144 | { |
| 145 | |
| 146 | |
| 147 | /* The *_Class implementation: */ |
| 148 | |
| 149 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Object_Classcxx . . $ Gst/Object_Class#::initcxx . . $ Gst/Object_Class#init(bf348c0cd369184d).() |
| 150 | { |
| 151 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 152 | { |
| 153 | // Glib::Class has to know the class init function to clone custom types. |
| 154 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Object_Classcxx . . $ Gst/Object_Class#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).; |
| 155 | |
| 156 | // This is actually just optimized away, apparently with no harm. |
| 157 | // Make sure that the parent type has been created. |
| 158 | //CppClassParent::CppObjectType::get_type(); |
| 159 | |
| 160 | // Create the wrapper type, with the same class/instance size as the base type. |
| 161 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_object_get_type()); |
| 162 | |
| 163 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 164 | |
| 165 | } |
| 166 | |
| 167 | return *this; |
| 168 | } |
| 169 | |
| 170 | |
| 171 | void Object_Classcxx . . $ Gst/Object_Class#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 172 | { |
| 173 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Object_Class#BaseClassType#*>(g_class); |
| 174 | CppClassParentcxx . . $ Gst/Object_Class#CppClassParent#::class_init_functioncxx . . $ Glib/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 175 | |
| 176 | |
| 177 | klass->deep_notifycxx . . $ _GstObjectClass#deep_notify. = &deep_notify_callbackcxx . . $ Gst/Object_Class#deep_notify_callback(a81c7b4b134f93).; |
| 178 | } |
| 179 | |
| 180 | |
| 181 | void Object_Classcxx . . $ Gst/Object_Class#::deep_notify_callbackcxx . . $ Gst/Object_Class#deep_notify_callback(a81c7b4b134f93).(GstObjectcxx . . $ GstObject#* self, GstObjectcxx . . $ GstObject#* p0, GParamSpec* p1) |
| 182 | { |
| 183 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 184 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 185 | |
| 186 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 187 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 188 | // generated classes can use this optimisation, which avoids the unnecessary |
| 189 | // parameter conversions if there is no possibility of the virtual function |
| 190 | // being overridden: |
| 191 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 192 | { |
| 193 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Object_Class#CppObjectType#* const>(obj_base); |
| 194 | if(obj) // This can be NULL during destruction. |
| 195 | { |
| 196 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 197 | { |
| 198 | // Call the virtual member method, which derived classes might override. |
| 199 | obj->on_deep_notifycxx . . $ Gst/Object#on_deep_notify(4837c56f72b9c88c).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(d34af896c95462f9).(p0, true) |
| 200 | , p1); |
| 201 | return; |
| 202 | } |
| 203 | catch(...) |
| 204 | { |
| 205 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Object_Class#BaseClassType#*>( |
| 211 | 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). |
| 212 | ); |
| 213 | |
| 214 | // Call the original underlying C function: |
| 215 | if(base && base->deep_notifycxx . . $ _GstObjectClass#deep_notify.) |
| 216 | (*base->deep_notifycxx . . $ _GstObjectClass#deep_notify.)(self, p0, p1); |
| 217 | } |
| 218 | |
| 219 | |
| 220 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Object_Classcxx . . $ Gst/Object_Class#::wrap_newcxx . . $ Gst/Object_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 221 | { |
| 222 | return new Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)object); |
| 223 | } |
| 224 | |
| 225 | |
| 226 | /* The implementation: */ |
| 227 | |
| 228 | GstObjectcxx . . $ GstObject#* Objectcxx . . $ Gst/Object#::gobj_copycxx . . $ Gst/Object#gobj_copy(99e0fe13ae1d746d).() |
| 229 | { |
| 230 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 231 | return gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).(); |
| 232 | } |
| 233 | |
| 234 | |
| 235 | Objectcxx . . $ Gst/Object#::Objectcxx . . $ Gst/Object#Object(b6000925fa12585b).(Objectcxx . . $ Gst/Object#&& src) noexcept |
| 236 | : Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 237 | {} |
| 238 | |
| 239 | Objectcxx . . $ Gst/Object#& Objectcxx . . $ Gst/Object#::operatorcxx . . $ Gst/Object#`operator=`(5c9ba8276fb87f1d).=(Objectcxx . . $ Gst/Object#&& src) noexcept |
| 240 | { |
| 241 | Glibcxx . . $ Glib/::Objectcxx . . $ Glib/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 242 | return *this; |
| 243 | } |
| 244 | |
| 245 | |
| 246 | Objectcxx . . $ Gst/Object#::~cxx . . $ Gst/Object#`~Object`(ced63f7c635d850d).Objectcxx . . $ Gst/Object#() noexcept |
| 247 | {} |
| 248 | |
| 249 | |
| 250 | Objectcxx . . $ Gst/Object#::CppClassTypecxx . . $ Gst/Object#CppClassType# Objectcxx . . $ Gst/Object#::object_class_cxx . . $ Gst/Object#object_class_.; // initialize static member |
| 251 | |
| 252 | GType Objectcxx . . $ Gst/Object#::get_typecxx . . $ Gst/Object#get_type(f708dce9a8856c70).() |
| 253 | { |
| 254 | return object_class_cxx . . $ Gst/Object#object_class_..initcxx . . $ Gst/Object_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 255 | } |
| 256 | |
| 257 | |
| 258 | GType Objectcxx . . $ Gst/Object#::get_base_typecxx . . $ Gst/Object#get_base_type(f708dce9a8856c70).() |
| 259 | { |
| 260 | return gst_object_get_type(); |
| 261 | } |
| 262 | |
| 263 | |
| 264 | guint32 Objectcxx . . $ Gst/Object#::get_flagscxx . . $ Gst/Object#get_flags(ddd8539a2fcdd4ce).() const |
| 265 | { |
| 266 | return gobjcxx . . $ Gst/Object#gobj(8dc46f7dc950048b).()->flagscxx . . $ _GstObject#flags.; |
| 267 | } |
| 268 | |
| 269 | bool Objectcxx . . $ Gst/Object#::set_namecxx . . $ Gst/Object#set_name(7186ea5d16af43ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 270 | { |
| 271 | return gst_object_set_name(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 272 | } |
| 273 | |
| 274 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Objectcxx . . $ Gst/Object#::get_namecxx . . $ Gst/Object#get_name(fff0f585954e56f3).() const |
| 275 | { |
| 276 | return Glibcxx . . $ Glib/::convert_return_gchar_ptr_to_ustringcxx . . $ Glib/convert_return_gchar_ptr_to_ustring(e404b3c0cee06cd1).(gst_object_get_name(const_cast<GstObjectcxx . . $ GstObject#*>(gobjcxx . . $ Gst/Object#gobj(8dc46f7dc950048b).()))); |
| 277 | } |
| 278 | |
| 279 | bool Objectcxx . . $ Gst/Object#::set_parentcxx . . $ Gst/Object#set_parent(c81fef4cddab1ddf).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& parent) |
| 280 | { |
| 281 | return gst_object_set_parent(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(parent)); |
| 282 | } |
| 283 | |
| 284 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> Objectcxx . . $ Gst/Object#::get_parentcxx . . $ Gst/Object#get_parent(9952950db3828d1a).() |
| 285 | { |
| 286 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(d34af896c95462f9).(gst_object_get_parent(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).())); |
| 287 | } |
| 288 | |
| 289 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> Objectcxx . . $ Gst/Object#::get_parentcxx . . $ Gst/Object#get_parent(c27605ef04b0002c).() const |
| 290 | { |
| 291 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Objectcxx . . $ Gst/Object#*>(this)->get_parentcxx . . $ Gst/Object#get_parent(9952950db3828d1a).(); |
| 292 | } |
| 293 | |
| 294 | void Objectcxx . . $ Gst/Object#::unparentcxx . . $ Gst/Object#unparent(49f6e7a06ebc5aa8).() |
| 295 | { |
| 296 | gst_object_unparent(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).()); |
| 297 | } |
| 298 | |
| 299 | void Objectcxx . . $ Gst/Object#::set_control_ratecxx . . $ Gst/Object#set_control_rate(2c44cd906ae4e829).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# control_rate) |
| 300 | { |
| 301 | gst_object_set_control_rate(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).(), ((GstClockTime)(control_rate))); |
| 302 | } |
| 303 | |
| 304 | Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# Objectcxx . . $ Gst/Object#::get_control_ratecxx . . $ Gst/Object#get_control_rate(fe4d2d262d4164a8).() const |
| 305 | { |
| 306 | return ((Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#)(gst_object_get_control_rate(const_cast<GstObjectcxx . . $ GstObject#*>(gobjcxx . . $ Gst/Object#gobj(8dc46f7dc950048b).())))); |
| 307 | } |
| 308 | |
| 309 | Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# Objectcxx . . $ Gst/Object#::suggest_next_synccxx . . $ Gst/Object#suggest_next_sync(fe4d2d262d4164a8).() const |
| 310 | { |
| 311 | return ((Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#)(gst_object_suggest_next_sync(const_cast<GstObjectcxx . . $ GstObject#*>(gobjcxx . . $ Gst/Object#gobj(8dc46f7dc950048b).())))); |
| 312 | } |
| 313 | |
| 314 | bool Objectcxx . . $ Gst/Object#::sync_valuescxx . . $ Gst/Object#sync_values(31596a199e1d8a50).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# timestamp) |
| 315 | { |
| 316 | return gst_object_sync_values(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).(), ((GstClockTime)(timestamp))); |
| 317 | } |
| 318 | |
| 319 | void Objectcxx . . $ Gst/Object#::set_control_bindings_disabledcxx . . $ Gst/Object#set_control_bindings_disabled(b45ddcbc8423892c).(bool disabled) |
| 320 | { |
| 321 | gst_object_set_control_bindings_disabled(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).(), static_cast<int>(disabled)); |
| 322 | } |
| 323 | |
| 324 | bool Objectcxx . . $ Gst/Object#::has_asctive_control_bindingscxx . . $ Gst/Object#has_asctive_control_bindings(50ce9a9e25b4a850).() const |
| 325 | { |
| 326 | return gst_object_has_active_control_bindings(const_cast<GstObjectcxx . . $ GstObject#*>(gobjcxx . . $ Gst/Object#gobj(8dc46f7dc950048b).())); |
| 327 | } |
| 328 | |
| 329 | bool Objectcxx . . $ Gst/Object#::check_uniquenesscxx . . $ Gst/Object#check_uniqueness(864be9a9a3e2ef2b).(const Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#<const Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& list, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 330 | { |
| 331 | return gst_object_check_uniqueness((list).datacxx . . $ Glib/ListHandle#data(f53ce1db5095ce80).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 332 | } |
| 333 | |
| 334 | bool Objectcxx . . $ Gst/Object#::has_ancestorcxx . . $ Gst/Object#has_ancestor(2ed31e26076b5a4f).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& ancestor) const |
| 335 | { |
| 336 | return gst_object_has_ancestor(const_cast<GstObjectcxx . . $ GstObject#*>(gobjcxx . . $ Gst/Object#gobj(8dc46f7dc950048b).()), const_cast<GstObjectcxx . . $ GstObject#*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(ancestor))); |
| 337 | } |
| 338 | |
| 339 | bool Objectcxx . . $ Gst/Object#::has_as_ancestorcxx . . $ Gst/Object#has_as_ancestor(a277e09cc582958e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& ancestor) const |
| 340 | { |
| 341 | return gst_object_has_as_ancestor(const_cast<GstObjectcxx . . $ GstObject#*>(gobjcxx . . $ Gst/Object#gobj(8dc46f7dc950048b).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(ancestor)); |
| 342 | } |
| 343 | |
| 344 | bool Objectcxx . . $ Gst/Object#::has_as_parentcxx . . $ Gst/Object#has_as_parent(a277e09cc582958e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& parent) const |
| 345 | { |
| 346 | return gst_object_has_as_parent(const_cast<GstObjectcxx . . $ GstObject#*>(gobjcxx . . $ Gst/Object#gobj(8dc46f7dc950048b).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(parent)); |
| 347 | } |
| 348 | |
| 349 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Objectcxx . . $ Gst/Object#::get_path_stringcxx . . $ Gst/Object#get_path_string(f6d16334134ff78f).() |
| 350 | { |
| 351 | return Glibcxx . . $ Glib/::convert_return_gchar_ptr_to_ustringcxx . . $ Glib/convert_return_gchar_ptr_to_ustring(e404b3c0cee06cd1).(gst_object_get_path_string(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).())); |
| 352 | } |
| 353 | |
| 354 | |
| 355 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,GParamSpec* > Objectcxx . . $ Gst/Object#::signal_deep_notifycxx . . $ Gst/Object#signal_deep_notify(d84a61265effe28a).() |
| 356 | { |
| 357 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>&,GParamSpec* >(this, &Object_signal_deep_notify_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/object.cc`/Object_signal_deep_notify_info.); |
| 358 | } |
| 359 | |
| 360 | |
| 361 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > Objectcxx . . $ Gst/Object#::property_namecxx . . $ Gst/Object#property_name(ee255b09b2ef680a).() |
| 362 | { |
| 363 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# >(this, "name"); |
| 364 | } |
| 365 | |
| 366 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > Objectcxx . . $ Gst/Object#::property_namecxx . . $ Gst/Object#property_name(a4e4efe7e17f9e88).() const |
| 367 | { |
| 368 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# >(this, "name"); |
| 369 | } |
| 370 | |
| 371 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> > Objectcxx . . $ Gst/Object#::property_parentcxx . . $ Gst/Object#property_parent(d9c881b58d9395bd).() |
| 372 | { |
| 373 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> >(this, "parent"); |
| 374 | } |
| 375 | |
| 376 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> > Objectcxx . . $ Gst/Object#::property_parentcxx . . $ Gst/Object#property_parent(b5498aef731a484d).() const |
| 377 | { |
| 378 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#> >(this, "parent"); |
| 379 | } |
| 380 | |
| 381 | |
| 382 | void Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#::on_deep_notifycxx . . $ Gst/Object#on_deep_notify(4837c56f72b9c88c).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& prop_object, GParamSpec* prop) |
| 383 | { |
| 384 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Object#BaseClassType#*>( |
| 385 | 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). |
| 386 | ); |
| 387 | |
| 388 | if(base && base->deep_notifycxx . . $ _GstObjectClass#deep_notify.) |
| 389 | (*base->deep_notifycxx . . $ _GstObjectClass#deep_notify.)(gobjcxx . . $ Gst/Object#gobj(99e0fe13ae1d746d).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(prop_object),prop); |
| 390 | } |
| 391 | |
| 392 | |
| 393 | } // namespace Gst |
| 394 | |
| 395 |