Debian Codegraph @

gstreamer/gstreamermm/bus.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/bus.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/bus.h>cxx . . $ `<file>/gstreamer/gstreamermm/bus.h`/
7 #include <gstreamermm/private/bus_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/bus_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
30 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/
31 {
32
33 extern "C"
34 {
35
36 static gboolean Bus_Message_gstreamermm_callback(GstBuscxx . . $ GstBus#* bus, GstMessage* message, void* data)
37 {
38 Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#::SlotMessagecxx . . $ Gst/Bus#SlotMessage#* the_slot = static_cast<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#::SlotMessagecxx . . $ Gst/Bus#SlotMessage#*>(data);
39
40 try
41 {
42 return (*the_slot)(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(79deee541be19870).(bus, true), Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(message, true));
43 }
44 catch(...)
45 {
46 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
47 }
48
49 return false;
50 }
51
52 static void Bus_Message_gstreamermm_callback_destroy(void* data)
53 {
54 delete static_cast<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#::SlotMessagecxx . . $ Gst/Bus#SlotMessage#*>(data);
55 }
56
57 static GstBusSyncReply Bus_Message_Sync_gstreamermm_callback(GstBuscxx . . $ GstBus#* bus, GstMessage* message, void* data)
58 {
59 Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#::SlotMessageSynccxx . . $ Gst/Bus#SlotMessageSync#* the_slot = static_cast<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#::SlotMessageSynccxx . . $ Gst/Bus#SlotMessageSync#*>(data);
60
61 try
62 {
63 return static_cast<GstBusSyncReply>((*the_slot)(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(79deee541be19870).(bus, true), Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(message, true)));
64 }
65 catch(...)
66 {
67 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
68 }
69
70 return GST_BUS_PASS;
71 }
72
73 } // extern "C"
74
75 } // anonymous namespace
76
77 namespace Gstcxx . . $ Gst/
78 {
79
80 guint Buscxx . . $ Gst/Bus#::add_watchcxx . . $ Gst/Bus#add_watch(125cf56d22b1e63d).(const SlotMessagecxx . . $ Gst/Bus#SlotMessage#& slot, int priority)
81 {
82 //Create a copy of the slot. A pointer to this will be passed through the callback's data parameter.
83 //It will be deleted when Bus_Message_gstreamermm_callback_destroy() is called.
84 SlotMessagecxx . . $ Gst/Bus#SlotMessage#* slot_copy = new SlotMessagecxx . . $ Gst/Bus#SlotMessage#(slot);
85 return gst_bus_add_watch_full(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), priority,
86 &Bus_Message_gstreamermm_callback, slot_copy,
87 &Bus_Message_gstreamermm_callback_destroy);
88 }
89
90 bool Buscxx . . $ Gst/Bus#::remove_watchcxx . . $ Gst/Bus#remove_watch(dfa6e707f7696010).(guint id)
91 {
92 return g_source_remove(id);
93 }
94
95 void Buscxx . . $ Gst/Bus#::set_sync_handlercxx . . $ Gst/Bus#set_sync_handler(a2738f71fc9cafa8).(const SlotMessageSynccxx . . $ Gst/Bus#SlotMessageSync#& slot)
96 {
97 // Clear a possibly existing sync handler by calling with 0 before setting
98 // a new one (see gst_bus_set_sync_handler docs)
99 gst_bus_set_sync_handler(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), 0, 0, 0);
100
101 SlotMessageSynccxx . . $ Gst/Bus#SlotMessageSync#* slot_copy = new SlotMessageSynccxx . . $ Gst/Bus#SlotMessageSync#(slot);
102 gst_bus_set_sync_handler(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), &Bus_Message_Sync_gstreamermm_callback, slot_copy, &Bus_Message_gstreamermm_callback_destroy);
103 }
104
105 } //namespace Gst
106
107 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/
108 {
109
110
111 static void Bus_signal_message_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_message_callback(4f1e63e0623fdfec).(GstBuscxx . . $ GstBus#* self, GstMessage* p0,void* data)
112 {
113 using namespace Gst;
114 using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_message_callback(4f1e63e0623fdfec).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& >;
115
116 auto obj = dynamic_cast<Buscxx . . $ Gst/Bus#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self));
117 // Do not try to call a signal on a disassociated wrapper.
118 if(obj)
119 {
120 try
121 {
122 if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data))
123 (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_message_callback(4f1e63e0623fdfec).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(p0, true)
124 );
125 }
126 catch(...)
127 {
128 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
129 }
130 }
131 }
132
133 static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Bus_signal_message_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_message_info. =
134 {
135 "message",
136 (GCallback) &Bus_signal_message_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_message_callback(4f1e63e0623fdfec).,
137 (GCallback) &Bus_signal_message_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_message_callback(4f1e63e0623fdfec).
138 };
139
140
141 static void Bus_signal_sync_message_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_sync_message_callback(4f1e63e0623fdfec).(GstBuscxx . . $ GstBus#* self, GstMessage* p0,void* data)
142 {
143 using namespace Gst;
144 using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_sync_message_callback(4f1e63e0623fdfec).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& >;
145
146 auto obj = dynamic_cast<Buscxx . . $ Gst/Bus#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self));
147 // Do not try to call a signal on a disassociated wrapper.
148 if(obj)
149 {
150 try
151 {
152 if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data))
153 (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_sync_message_callback(4f1e63e0623fdfec).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(p0, true)
154 );
155 }
156 catch(...)
157 {
158 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
159 }
160 }
161 }
162
163 static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Bus_signal_sync_message_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_sync_message_info. =
164 {
165 "sync-message",
166 (GCallback) &Bus_signal_sync_message_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_sync_message_callback(4f1e63e0623fdfec).,
167 (GCallback) &Bus_signal_sync_message_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_sync_message_callback(4f1e63e0623fdfec).
168 };
169
170
171 } // anonymous namespace
172
173 // static
174 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::BusFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
175 {
176 return gst_bus_flags_get_type();
177 }
178
179 // static
180 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::BusSyncReply>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
181 {
182 return gst_bus_sync_reply_get_type();
183 }
184
185
186 namespace Glibcxx . . $ Glib/
187 {
188
189 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> wrapcxx . . $ Glib/wrap(79deee541be19870).(GstBuscxx . . $ GstBus#* object, bool take_copy)
190 {
191 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#>( dynamic_cast<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
192 //We use dynamic_cast<> in case of multiple inheritance.
193 }
194
195 } /* namespace Glib */
196
197
198 namespace Gstcxx . . $ Gst/
199 {
200
201
202 /* The *_Class implementation: */
203
204 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Bus_Classcxx . . $ Gst/Bus_Class#::initcxx . . $ Gst/Bus_Class#init(bf348c0cd369184d).()
205 {
206 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
207 {
208 // Glib::Class has to know the class init function to clone custom types.
209 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Bus_Classcxx . . $ Gst/Bus_Class#::class_init_functioncxx . . $ Gst/Bus_Class#class_init_function(6c58c5e2437d25a2).;
210
211 // This is actually just optimized away, apparently with no harm.
212 // Make sure that the parent type has been created.
213 //CppClassParent::CppObjectType::get_type();
214
215 // Create the wrapper type, with the same class/instance size as the base type.
216 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_bus_get_type());
217
218 // Add derived versions of interfaces, if the C type implements any interfaces:
219
220 }
221
222 return *this;
223 }
224
225
226 void Bus_Classcxx . . $ Gst/Bus_Class#::class_init_functioncxx . . $ Gst/Bus_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
227 {
228 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Bus_Class#BaseClassType#*>(g_class);
229 CppClassParentcxx . . $ Gst/Bus_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
230
231
232 klass->messagecxx . . $ _GstBusClass#message. = &message_callbackcxx . . $ Gst/Bus_Class#message_callback(f819d4f3349aad72).;
233 klass->sync_messagecxx . . $ _GstBusClass#sync_message. = &sync_message_callbackcxx . . $ Gst/Bus_Class#sync_message_callback(f819d4f3349aad72).;
234 }
235
236
237 void Bus_Classcxx . . $ Gst/Bus_Class#::message_callbackcxx . . $ Gst/Bus_Class#message_callback(f819d4f3349aad72).(GstBuscxx . . $ GstBus#* self, GstMessage* p0)
238 {
239 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
240 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
241
242 // Non-gtkmmproc-generated custom classes implicitly call the default
243 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
244 // generated classes can use this optimisation, which avoids the unnecessary
245 // parameter conversions if there is no possibility of the virtual function
246 // being overridden:
247 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
248 {
249 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Bus_Class#CppObjectType#* const>(obj_base);
250 if(obj) // This can be NULL during destruction.
251 {
252 try // Trap C++ exceptions which would normally be lost because this is a C callback.
253 {
254 // Call the virtual member method, which derived classes might override.
255 obj->on_messagecxx . . $ Gst/Bus#on_message(5822da6843d0e142).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(p0, true)
256 );
257 return;
258 }
259 catch(...)
260 {
261 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
262 }
263 }
264 }
265
266 const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bus_Class#BaseClassType#*>(
267 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).
268 );
269
270 // Call the original underlying C function:
271 if(base && base->messagecxx . . $ _GstBusClass#message.)
272 (*base->messagecxx . . $ _GstBusClass#message.)(self, p0);
273 }
274 void Bus_Classcxx . . $ Gst/Bus_Class#::sync_message_callbackcxx . . $ Gst/Bus_Class#sync_message_callback(f819d4f3349aad72).(GstBuscxx . . $ GstBus#* self, GstMessage* p0)
275 {
276 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
277 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
278
279 // Non-gtkmmproc-generated custom classes implicitly call the default
280 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
281 // generated classes can use this optimisation, which avoids the unnecessary
282 // parameter conversions if there is no possibility of the virtual function
283 // being overridden:
284 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
285 {
286 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Bus_Class#CppObjectType#* const>(obj_base);
287 if(obj) // This can be NULL during destruction.
288 {
289 try // Trap C++ exceptions which would normally be lost because this is a C callback.
290 {
291 // Call the virtual member method, which derived classes might override.
292 obj->on_sync_messagecxx . . $ Gst/Bus#on_sync_message(5822da6843d0e142).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(p0, true)
293 );
294 return;
295 }
296 catch(...)
297 {
298 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
299 }
300 }
301 }
302
303 const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bus_Class#BaseClassType#*>(
304 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).
305 );
306
307 // Call the original underlying C function:
308 if(base && base->sync_messagecxx . . $ _GstBusClass#sync_message.)
309 (*base->sync_messagecxx . . $ _GstBusClass#sync_message.)(self, p0);
310 }
311
312
313 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Bus_Classcxx . . $ Gst/Bus_Class#::wrap_newcxx . . $ Gst/Bus_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
314 {
315 return new Buscxx . . $ Gst/Bus#((GstBuscxx . . $ GstBus#*)object);
316 }
317
318
319 /* The implementation: */
320
321 GstBuscxx . . $ GstBus#* Buscxx . . $ Gst/Bus#::gobj_copycxx . . $ Gst/Bus#gobj_copy(1ac75375bbaf541c).()
322 {
323 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
324 return gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).();
325 }
326
327 Buscxx . . $ Gst/Bus#::Buscxx . . $ Gst/Bus#Bus(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
328 :
329 Objectcxx . . $ Gst/Object#(construct_params)
330 {
331
332 }
333
334 Buscxx . . $ Gst/Bus#::Buscxx . . $ Gst/Bus#Bus(ab502cdafec2b1e3).(GstBuscxx . . $ GstBus#* castitem)
335 :
336 Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem))
337 {}
338
339
340 Buscxx . . $ Gst/Bus#::Buscxx . . $ Gst/Bus#Bus(6338a80bda4b97b7).(Buscxx . . $ Gst/Bus#&& src) noexcept
341 : Objectcxx . . $ Gst/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
342 {}
343
344 Buscxx . . $ Gst/Bus#& Buscxx . . $ Gst/Bus#::operatorcxx . . $ Gst/Bus#`operator=`(e055c0280904710c).=(Buscxx . . $ Gst/Bus#&& src) noexcept
345 {
346 Objectcxx . . $ Gst/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
347 return *this;
348 }
349
350
351 Buscxx . . $ Gst/Bus#::~cxx . . $ Gst/Bus#`~Bus`(ced63f7c635d850d).Buscxx . . $ Gst/Bus#() noexcept
352 {}
353
354
355 Buscxx . . $ Gst/Bus#::CppClassTypecxx . . $ Gst/Bus#CppClassType# Buscxx . . $ Gst/Bus#::bus_class_cxx . . $ Gst/Bus#bus_class_.; // initialize static member
356
357 GType Buscxx . . $ Gst/Bus#::get_typecxx . . $ Gst/Bus#get_type(f708dce9a8856c70).()
358 {
359 return bus_class_cxx . . $ Gst/Bus#bus_class_..initcxx . . $ Gst/Bus_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
360 }
361
362
363 GType Buscxx . . $ Gst/Bus#::get_base_typecxx . . $ Gst/Bus#get_base_type(f708dce9a8856c70).()
364 {
365 return gst_bus_get_type();
366 }
367
368
369 Buscxx . . $ Gst/Bus#::Buscxx . . $ Gst/Bus#Bus(49f6e7a06ebc5aa8).()
370 :
371 // Mark this class as non-derived to allow C++ vfuncs to be skipped.
372 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
373 Objectcxx . . $ Gst/Object#(Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#(bus_class_cxx . . $ Gst/Bus#bus_class_..initcxx . . $ Gst/Bus_Class#init(bf348c0cd369184d).()))
374 {
375
376
377 }
378
379 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Buscxx . . $ Gst/Bus#> Buscxx . . $ Gst/Bus#::createcxx . . $ Gst/Bus#create(ada66d6ded80d30d).()
380 {
381 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Buscxx . . $ Gst/Bus#>( new Buscxx . . $ Gst/Bus#() );
382 }
383
384 bool Buscxx . . $ Gst/Bus#::postcxx . . $ Gst/Bus#post(4f74b222eb4db4d7).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>&& message)
385 {
386 return gst_bus_post(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), (message) ? message.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Message#gobj(151b13470f02eae9).() : nullptr);
387 }
388
389 bool Buscxx . . $ Gst/Bus#::have_pendingcxx . . $ Gst/Bus#have_pending(50ce9a9e25b4a850).() const
390 {
391 return gst_bus_have_pending(const_cast<GstBuscxx . . $ GstBus#*>(gobjcxx . . $ Gst/Bus#gobj(a58a62788014db2f).()));
392 }
393
394 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> Buscxx . . $ Gst/Bus#::peekcxx . . $ Gst/Bus#peek(e58b3417369805ec).()
395 {
396 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(gst_bus_peek(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).()));
397 }
398
399 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> Buscxx . . $ Gst/Bus#::peekcxx . . $ Gst/Bus#peek(a9d94273d2c2ea0).() const
400 {
401 return Glibcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(gst_bus_peek(const_cast<GstBuscxx . . $ GstBus#*>(gobjcxx . . $ Gst/Bus#gobj(a58a62788014db2f).())));
402 }
403
404 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> Buscxx . . $ Gst/Bus#::popcxx . . $ Gst/Bus#pop(e58b3417369805ec).()
405 {
406 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(gst_bus_pop(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).()));
407 }
408
409 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> Buscxx . . $ Gst/Bus#::popcxx . . $ Gst/Bus#pop(d6294cc3008fe06).(MessageTypecxx . . $ Gst/MessageType# message_type)
410 {
411 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(gst_bus_pop_filtered(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), ((GstMessageType)(message_type))));
412 }
413
414 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> Buscxx . . $ Gst/Bus#::popcxx . . $ Gst/Bus#pop(c7c1bc510f9c96bf).(ClockTimecxx . . $ Gst/ClockTime# timeout)
415 {
416 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(gst_bus_timed_pop(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), ((GstClockTime)(timeout))));
417 }
418
419 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> Buscxx . . $ Gst/Bus#::popcxx . . $ Gst/Bus#pop(de34a07cd4ec7a78).(ClockTimecxx . . $ Gst/ClockTime# timeout, MessageTypecxx . . $ Gst/MessageType# message_type)
420 {
421 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(gst_bus_timed_pop_filtered(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), ((GstClockTime)(timeout)), ((GstMessageType)(message_type))));
422 }
423
424 void Buscxx . . $ Gst/Bus#::set_flushingcxx . . $ Gst/Bus#set_flushing(b45ddcbc8423892c).(bool flushing)
425 {
426 gst_bus_set_flushing(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), static_cast<int>(flushing));
427 }
428
429 void Buscxx . . $ Gst/Bus#::disable_sync_message_emissioncxx . . $ Gst/Bus#disable_sync_message_emission(49f6e7a06ebc5aa8).()
430 {
431 gst_bus_disable_sync_message_emission(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).());
432 }
433
434 void Buscxx . . $ Gst/Bus#::enable_sync_message_emissioncxx . . $ Gst/Bus#enable_sync_message_emission(49f6e7a06ebc5aa8).()
435 {
436 gst_bus_enable_sync_message_emission(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).());
437 }
438
439 void Buscxx . . $ Gst/Bus#::add_signal_watchcxx . . $ Gst/Bus#add_signal_watch(d4f767463ce0a6b3).(int priority)
440 {
441 gst_bus_add_signal_watch_full(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), priority);
442 }
443
444 void Buscxx . . $ Gst/Bus#::remove_signal_watchcxx . . $ Gst/Bus#remove_signal_watch(49f6e7a06ebc5aa8).()
445 {
446 gst_bus_remove_signal_watch(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).());
447 }
448
449 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> Buscxx . . $ Gst/Bus#::pollcxx . . $ Gst/Bus#poll(cfc0414642fc042f).(MessageTypecxx . . $ Gst/MessageType# message_type, ClockTimecxx . . $ Gst/ClockTime# timeout)
450 {
451 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(gst_bus_poll(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(), ((GstMessageType)(message_type)), ((GstClockTime)(timeout))));
452 }
453
454
455 Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& > Buscxx . . $ Gst/Bus#::signal_messagecxx . . $ Gst/Bus#signal_message(2620bf99b8a06169).()
456 {
457 return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& >(this, &Bus_signal_message_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_message_info.);
458 }
459
460
461 Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& > Buscxx . . $ Gst/Bus#::signal_sync_messagecxx . . $ Gst/Bus#signal_sync_message(2620bf99b8a06169).()
462 {
463 return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& >(this, &Bus_signal_sync_message_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/bus.cc`/Bus_signal_sync_message_info.);
464 }
465
466
467 void Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#::on_messagecxx . . $ Gst/Bus#on_message(5822da6843d0e142).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& message)
468 {
469 const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bus#BaseClassType#*>(
470 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).
471 );
472
473 if(base && base->messagecxx . . $ _GstBusClass#message.)
474 (*base->messagecxx . . $ _GstBusClass#message.)(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(message));
475 }
476 void Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#::on_sync_messagecxx . . $ Gst/Bus#on_sync_message(5822da6843d0e142).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& message)
477 {
478 const auto base = static_cast<BaseClassTypecxx . . $ Gst/Bus#BaseClassType#*>(
479 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).
480 );
481
482 if(base && base->sync_messagecxx . . $ _GstBusClass#sync_message.)
483 (*base->sync_messagecxx . . $ _GstBusClass#sync_message.)(gobjcxx . . $ Gst/Bus#gobj(1ac75375bbaf541c).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(message));
484 }
485
486
487 } // namespace Gst
488
489