Debian Codegraph @

gstreamer/gstreamermm/taskpool.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/taskpool.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/taskpool.h>cxx . . $ `<file>/gstreamer/gstreamermm/taskpool.h`/
7 #include <gstreamermm/private/taskpool_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/taskpool_p.h`/
8
9
10 /* gstreamermm - a C++ wrapper for gstreamer
11 *
12 * Copyright 2008 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
31
32 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/taskpool.cc`/
33 {
34
35 extern "C"
36 {
37
38 static void TaskPool_Push_gstreamermm_callback(void* data)
39 {
40 Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#::SlotPushcxx . . $ Gst/TaskPool#SlotPush#* the_slot = static_cast<Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#::SlotPushcxx . . $ Gst/TaskPool#SlotPush#*>(data);
41
42 try
43 {
44 (*the_slot)(cxx . . $ sigc/slot0#`operator()`(8f5363d873dd4781).);
45 delete the_slot;
46 }
47 catch(...)
48 {
49 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
50 }
51 }
52
53 } // extern "C"
54
55 } // anonymous namespace
56
57 namespace Gstcxx . . $ Gst/
58 {
59
60 gpointer TaskPoolcxx . . $ Gst/TaskPool#::pushcxx . . $ Gst/TaskPool#push(90f353003dd622d7).(const SlotPushcxx . . $ Gst/TaskPool#SlotPush#& slot)
61 {
62 GError* gerror = 0;
63 SlotPushcxx . . $ Gst/TaskPool#SlotPush#* slot_copy = new SlotPushcxx . . $ Gst/TaskPool#SlotPush#(slot);
64
65 gpointer ret_val = gst_task_pool_push(gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).(),
66 &TaskPool_Push_gstreamermm_callback, slot_copy, &gerror);
67
68 if(gerror)
69 ::Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error#::throw_exceptioncxx . . $ Glib/Error#throw_exception(a52d1233dfa6cf57).(gerror);
70
71 return ret_val;
72 }
73
74 void TaskPool_Classcxx . . $ Gst/TaskPool_Class#::prepare_vfunc_callbackcxx . . $ Gst/TaskPool_Class#prepare_vfunc_callback(3b4d609a67464357).(GstTaskPoolcxx . . $ GstTaskPool#* self, GError** error)
75 {
76 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
77 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
78
79 // Non-gtkmmproc-generated custom classes implicitly call the default
80 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
81 // generated classes can use this optimisation, which avoids the unnecessary
82 // parameter conversions if there is no possibility of the virtual function
83 // being overridden:
84 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
85 {
86 CppObjectTypecxx . . $ Gst/TaskPool_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/TaskPool_Class#CppObjectType#* const>(obj_base);
87 if(obj) // This can be NULL during destruction.
88 {
89 try // Trap C++ exceptions which would normally be lost because this is a C callback.
90 {
91 // Call the virtual member method, which derived classes might override.
92 obj->prepare_vfunccxx . . $ Gst/TaskPool#prepare_vfunc(49f6e7a06ebc5aa8).();
93
94 return;
95 }
96 catch(...)
97 {
98 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
99 }
100 }
101 }
102
103 BaseClassTypecxx . . $ Gst/TaskPool_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/TaskPool_Class#BaseClassType#*>(
104 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).
105 );
106
107 // Call the original underlying C function:
108 if(base && base->preparecxx . . $ _GstTaskPoolClass#prepare.)
109 (*base->preparecxx . . $ _GstTaskPoolClass#prepare.)(self, error);
110
111 }
112 void Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#::prepare_vfunccxx . . $ Gst/TaskPool#prepare_vfunc(49f6e7a06ebc5aa8).()
113 {
114 BaseClassTypecxx . . $ Gst/TaskPool#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/TaskPool#BaseClassType#*>(
115 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).
116 );
117
118 if(base && base->preparecxx . . $ _GstTaskPoolClass#prepare.)
119 {
120 GError* gerror = 0;
121 (*base->preparecxx . . $ _GstTaskPoolClass#prepare.)(gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).(),&gerror);
122
123 if(gerror)
124 ::Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error#::throw_exceptioncxx . . $ Glib/Error#throw_exception(a52d1233dfa6cf57).(gerror);
125 }
126 }
127 gpointer TaskPool_Classcxx . . $ Gst/TaskPool_Class#::push_vfunc_callbackcxx . . $ Gst/TaskPool_Class#push_vfunc_callback(310468ba1d111f06).(GstTaskPoolcxx . . $ GstTaskPool#* self, GstTaskPoolFunction func, gpointer user_data, GError** error)
128 {
129 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
130 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
131
132 // Non-gtkmmproc-generated custom classes implicitly call the default
133 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
134 // generated classes can use this optimisation, which avoids the unnecessary
135 // parameter conversions if there is no possibility of the virtual function
136 // being overridden:
137 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
138 {
139 CppObjectTypecxx . . $ Gst/TaskPool_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/TaskPool_Class#CppObjectType#* const>(obj_base);
140 if(obj) // This can be NULL during destruction.
141 {
142 try // Trap C++ exceptions which would normally be lost because this is a C callback.
143 {
144 // Call the virtual member method, which derived classes might override.
145 Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#::SlotPushcxx . . $ Gst/TaskPool#SlotPush#* slot =
146 static_cast<Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#::SlotPushcxx . . $ Gst/TaskPool#SlotPush#*>(user_data);
147
148 return obj->push_vfunccxx . . $ Gst/TaskPool#push_vfunc(90f353003dd622d7).(*slot);
149
150 }
151 catch(...)
152 {
153 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
154 }
155 }
156 }
157
158 BaseClassTypecxx . . $ Gst/TaskPool_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/TaskPool_Class#BaseClassType#*>(
159 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).
160 );
161
162 // Call the original underlying C function:
163 if(base && base->pushcxx . . $ _GstTaskPoolClass#push.)
164 return (*base->pushcxx . . $ _GstTaskPoolClass#push.)(self, func, user_data, error);
165
166
167 typedef gpointer RTypecxx . . $ Gst/TaskPool_Class#push_vfunc_callback(310468ba1d111f06).RType#;
168 return RTypecxx . . $ Gst/TaskPool_Class#push_vfunc_callback(310468ba1d111f06).RType#();
169 }
170 gpointer Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#::push_vfunccxx . . $ Gst/TaskPool#push_vfunc(90f353003dd622d7).(const SlotPushcxx . . $ Gst/TaskPool#SlotPush#& slot)
171 {
172 BaseClassTypecxx . . $ Gst/TaskPool#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/TaskPool#BaseClassType#*>(
173 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).
174 );
175
176 if(base && base->pushcxx . . $ _GstTaskPoolClass#push.)
177 {
178 GError* gerror = 0;
179 gpointer result = (*base->pushcxx . . $ _GstTaskPoolClass#push.)(gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).(),
180 &TaskPool_Push_gstreamermm_callback, const_cast<SlotPushcxx . . $ Gst/TaskPool#SlotPush#*>(&slot),
181 &gerror);
182
183 if(gerror)
184 ::Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error#::throw_exceptioncxx . . $ Glib/Error#throw_exception(a52d1233dfa6cf57).(gerror);
185
186 return result;
187 }
188
189 typedef gpointer RTypecxx . . $ Gst/TaskPool#push_vfunc(90f353003dd622d7).RType#;
190 return RTypecxx . . $ Gst/TaskPool#push_vfunc(90f353003dd622d7).RType#();
191 }
192
193 } //namespace Gst
194
195 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/taskpool.cc`/
196 {
197 } // anonymous namespace
198
199
200 namespace Glibcxx . . $ Glib/
201 {
202
203 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#> wrapcxx . . $ Glib/wrap(6d0e21b0c22bfa6f).(GstTaskPoolcxx . . $ GstTaskPool#* object, bool take_copy)
204 {
205 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#>( dynamic_cast<Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
206 //We use dynamic_cast<> in case of multiple inheritance.
207 }
208
209 } /* namespace Glib */
210
211
212 namespace Gstcxx . . $ Gst/
213 {
214
215
216 /* The *_Class implementation: */
217
218 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& TaskPool_Classcxx . . $ Gst/TaskPool_Class#::initcxx . . $ Gst/TaskPool_Class#init(bf348c0cd369184d).()
219 {
220 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
221 {
222 // Glib::Class has to know the class init function to clone custom types.
223 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &TaskPool_Classcxx . . $ Gst/TaskPool_Class#::class_init_functioncxx . . $ Gst/TaskPool_Class#class_init_function(6c58c5e2437d25a2).;
224
225 // This is actually just optimized away, apparently with no harm.
226 // Make sure that the parent type has been created.
227 //CppClassParent::CppObjectType::get_type();
228
229 // Create the wrapper type, with the same class/instance size as the base type.
230 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_task_pool_get_type());
231
232 // Add derived versions of interfaces, if the C type implements any interfaces:
233
234 }
235
236 return *this;
237 }
238
239
240 void TaskPool_Classcxx . . $ Gst/TaskPool_Class#::class_init_functioncxx . . $ Gst/TaskPool_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
241 {
242 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/TaskPool_Class#BaseClassType#*>(g_class);
243 CppClassParentcxx . . $ Gst/TaskPool_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
244
245 klass->cleanupcxx . . $ _GstTaskPoolClass#cleanup. = &cleanup_vfunc_callbackcxx . . $ Gst/TaskPool_Class#cleanup_vfunc_callback(817be88a9e9deaaa).;
246 klass->joincxx . . $ _GstTaskPoolClass#join. = &join_vfunc_callbackcxx . . $ Gst/TaskPool_Class#join_vfunc_callback(a64ea8c38772bed4).;
247 klass->preparecxx . . $ _GstTaskPoolClass#prepare. = &prepare_vfunc_callbackcxx . . $ Gst/TaskPool_Class#prepare_vfunc_callback(3b4d609a67464357).;
248 klass->pushcxx . . $ _GstTaskPoolClass#push. = &push_vfunc_callbackcxx . . $ Gst/TaskPool_Class#push_vfunc_callback(310468ba1d111f06).;
249
250 }
251
252 void TaskPool_Classcxx . . $ Gst/TaskPool_Class#::cleanup_vfunc_callbackcxx . . $ Gst/TaskPool_Class#cleanup_vfunc_callback(817be88a9e9deaaa).(GstTaskPoolcxx . . $ GstTaskPool#* self)
253 {
254 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
255 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
256
257 // Non-gtkmmproc-generated custom classes implicitly call the default
258 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
259 // generated classes can use this optimisation, which avoids the unnecessary
260 // parameter conversions if there is no possibility of the virtual function
261 // being overridden:
262 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
263 {
264 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/TaskPool_Class#CppObjectType#* const>(obj_base);
265 if(obj) // This can be NULL during destruction.
266 {
267 try // Trap C++ exceptions which would normally be lost because this is a C callback.
268 {
269 // Call the virtual member method, which derived classes might override.
270 obj->cleanup_vfunccxx . . $ Gst/TaskPool#cleanup_vfunc(49f6e7a06ebc5aa8).();
271 return;
272 }
273 catch(...)
274 {
275 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
276 }
277 }
278 }
279
280 BaseClassTypecxx . . $ Gst/TaskPool_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/TaskPool_Class#BaseClassType#*>(
281 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).
282 );
283
284 // Call the original underlying C function:
285 if(base && base->cleanupcxx . . $ _GstTaskPoolClass#cleanup.)
286 (*base->cleanupcxx . . $ _GstTaskPoolClass#cleanup.)(self);
287 }
288 void TaskPool_Classcxx . . $ Gst/TaskPool_Class#::join_vfunc_callbackcxx . . $ Gst/TaskPool_Class#join_vfunc_callback(a64ea8c38772bed4).(GstTaskPoolcxx . . $ GstTaskPool#* self, gpointer id)
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/TaskPool_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 obj->join_vfunccxx . . $ Gst/TaskPool#join_vfunc(5d22bdacc48458e8).(id);
307 return;
308 }
309 catch(...)
310 {
311 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
312 }
313 }
314 }
315
316 BaseClassTypecxx . . $ Gst/TaskPool_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/TaskPool_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->joincxx . . $ _GstTaskPoolClass#join.)
322 (*base->joincxx . . $ _GstTaskPoolClass#join.)(self, id);
323 }
324
325
326 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* TaskPool_Classcxx . . $ Gst/TaskPool_Class#::wrap_newcxx . . $ Gst/TaskPool_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
327 {
328 return new TaskPoolcxx . . $ Gst/TaskPool#((GstTaskPoolcxx . . $ GstTaskPool#*)object);
329 }
330
331
332 /* The implementation: */
333
334 GstTaskPoolcxx . . $ GstTaskPool#* TaskPoolcxx . . $ Gst/TaskPool#::gobj_copycxx . . $ Gst/TaskPool#gobj_copy(f998cc088a00ecbc).()
335 {
336 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
337 return gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).();
338 }
339
340 TaskPoolcxx . . $ Gst/TaskPool#::TaskPoolcxx . . $ Gst/TaskPool#TaskPool(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
341 :
342 Objectcxx . . $ Gst/Object#(construct_params)
343 {
344
345 }
346
347 TaskPoolcxx . . $ Gst/TaskPool#::TaskPoolcxx . . $ Gst/TaskPool#TaskPool(817be88a9e9deaaa).(GstTaskPoolcxx . . $ GstTaskPool#* castitem)
348 :
349 Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem))
350 {}
351
352
353 TaskPoolcxx . . $ Gst/TaskPool#::TaskPoolcxx . . $ Gst/TaskPool#TaskPool(6c26addd7b67731d).(TaskPoolcxx . . $ Gst/TaskPool#&& src) noexcept
354 : Objectcxx . . $ Gst/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
355 {}
356
357 TaskPoolcxx . . $ Gst/TaskPool#& TaskPoolcxx . . $ Gst/TaskPool#::operatorcxx . . $ Gst/TaskPool#`operator=`(5aa5766e23437a56).=(TaskPoolcxx . . $ Gst/TaskPool#&& src) noexcept
358 {
359 Objectcxx . . $ Gst/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
360 return *this;
361 }
362
363
364 TaskPoolcxx . . $ Gst/TaskPool#::~cxx . . $ Gst/TaskPool#`~TaskPool`(ced63f7c635d850d).TaskPoolcxx . . $ Gst/TaskPool#() noexcept
365 {}
366
367
368 TaskPoolcxx . . $ Gst/TaskPool#::CppClassTypecxx . . $ Gst/TaskPool#CppClassType# TaskPoolcxx . . $ Gst/TaskPool#::taskpool_class_cxx . . $ Gst/TaskPool#taskpool_class_.; // initialize static member
369
370 GType TaskPoolcxx . . $ Gst/TaskPool#::get_typecxx . . $ Gst/TaskPool#get_type(f708dce9a8856c70).()
371 {
372 return taskpool_class_cxx . . $ Gst/TaskPool#taskpool_class_..initcxx . . $ Gst/TaskPool_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
373 }
374
375
376 GType TaskPoolcxx . . $ Gst/TaskPool#::get_base_typecxx . . $ Gst/TaskPool#get_base_type(f708dce9a8856c70).()
377 {
378 return gst_task_pool_get_type();
379 }
380
381
382 TaskPoolcxx . . $ Gst/TaskPool#::TaskPoolcxx . . $ Gst/TaskPool#TaskPool(49f6e7a06ebc5aa8).()
383 :
384 // Mark this class as non-derived to allow C++ vfuncs to be skipped.
385 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
386 Objectcxx . . $ Gst/Object#(Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#(taskpool_class_cxx . . $ Gst/TaskPool#taskpool_class_..initcxx . . $ Gst/TaskPool_Class#init(bf348c0cd369184d).()))
387 {
388
389
390 }
391
392 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TaskPoolcxx . . $ Gst/TaskPool#> TaskPoolcxx . . $ Gst/TaskPool#::createcxx . . $ Gst/TaskPool#create(b9c7358c4d373e33).()
393 {
394 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TaskPoolcxx . . $ Gst/TaskPool#>( new TaskPoolcxx . . $ Gst/TaskPool#() );
395 }
396
397 void TaskPoolcxx . . $ Gst/TaskPool#::preparecxx . . $ Gst/TaskPool#prepare(49f6e7a06ebc5aa8).()
398 {
399 GError* gerror = nullptr;
400 gst_task_pool_prepare(gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).(), &(gerror));
401 if(gerror)
402 ::Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error#::throw_exceptioncxx . . $ Glib/Error#throw_exception(a52d1233dfa6cf57).(gerror);
403 }
404
405 void TaskPoolcxx . . $ Gst/TaskPool#::joincxx . . $ Gst/TaskPool#join(5d22bdacc48458e8).(gpointer id)
406 {
407 gst_task_pool_join(gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).(), id);
408 }
409
410 void TaskPoolcxx . . $ Gst/TaskPool#::cleanupcxx . . $ Gst/TaskPool#cleanup(49f6e7a06ebc5aa8).()
411 {
412 gst_task_pool_cleanup(gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).());
413 }
414
415
416 void Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#::cleanup_vfunccxx . . $ Gst/TaskPool#cleanup_vfunc(49f6e7a06ebc5aa8).()
417 {
418 const auto base = static_cast<BaseClassTypecxx . . $ Gst/TaskPool#BaseClassType#*>(
419 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).
420 );
421
422 if(base && base->cleanupcxx . . $ _GstTaskPoolClass#cleanup.)
423 {
424 (*base->cleanupcxx . . $ _GstTaskPoolClass#cleanup.)(gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).());
425 }
426 }
427 void Gstcxx . . $ Gst/::TaskPoolcxx . . $ Gst/TaskPool#::join_vfunccxx . . $ Gst/TaskPool#join_vfunc(5d22bdacc48458e8).(gpointer id)
428 {
429 const auto base = static_cast<BaseClassTypecxx . . $ Gst/TaskPool#BaseClassType#*>(
430 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).
431 );
432
433 if(base && base->joincxx . . $ _GstTaskPoolClass#join.)
434 {
435 (*base->joincxx . . $ _GstTaskPoolClass#join.)(gobjcxx . . $ Gst/TaskPool#gobj(f998cc088a00ecbc).(),id);
436 }
437 }
438
439
440 } // namespace Gst
441
442