Debian Codegraph @

gstreamer/gstreamermm/basesink.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/basesink.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/basesink.h>cxx . . $ `<file>/gstreamer/gstreamermm/basesink.h`/
7 #include <gstreamermm/private/basesink_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/basesink_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 #define IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basesink.cc:30:9`!(x) { auto release_value = x; (void)release_value; }
31
32 namespace Gstcxx . . $ Gst/ {
33
34 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::query_vfunc_callbackcxx . . $ Gst/BaseSink_Class#query_vfunc_callback(5c05614bcbd2ae6c).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstQuery* query)
35 {
36 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
37 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
38
39 // Non-gtkmmproc-generated custom classes implicitly call the default
40 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
41 // generated classes can use this optimisation, which avoids the unnecessary
42 // parameter conversions if there is no possibility of the virtual function
43 // being overridden:
44 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
45 {
46 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
47 if(obj) // This can be NULL during destruction.
48 {
49 try // Trap C++ exceptions which would normally be lost because this is a C callback.
50 {
51 // Call the virtual member method, which derived classes might override.
52 auto qurery_wrapper = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, false);
53 int retval = static_cast<int>(obj->base_sink_query_vfunccxx . . $ Gst/BaseSink#base_sink_query_vfunc(363e9ac1e31c4481).(qurery_wrapper));
54 IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basesink.cc:30:9`!(qurery_wrapper.release());
55 return retval;
56 }
57 catch(...)
58 {
59 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
60 }
61 }
62 }
63
64 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
65 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).
66 );
67
68 // Call the original underlying C function:
69 if(base && base->querycxx . . $ _GstBaseSinkClass#query.)
70 {
71 gboolean retval = (*base->querycxx . . $ _GstBaseSinkClass#query.)(self, query);
72 return retval;
73 }
74
75 typedef gboolean RTypecxx . . $ Gst/BaseSink_Class#query_vfunc_callback(5c05614bcbd2ae6c).RType#;
76 return RTypecxx . . $ Gst/BaseSink_Class#query_vfunc_callback(5c05614bcbd2ae6c).RType#();
77 }
78
79 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::base_sink_query_vfunccxx . . $ Gst/BaseSink#base_sink_query_vfunc(363e9ac1e31c4481).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query)
80 {
81 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
82 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).
83 );
84
85 if(base && base->querycxx . . $ _GstBaseSinkClass#query.)
86 {
87 bool retval((*base->querycxx . . $ _GstBaseSinkClass#query.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query)));
88 return retval;
89 }
90
91 typedef bool RTypecxx . . $ Gst/BaseSink#base_sink_query_vfunc(363e9ac1e31c4481).RType#;
92 return RTypecxx . . $ Gst/BaseSink#base_sink_query_vfunc(363e9ac1e31c4481).RType#();
93 }
94
95
96 }
97
98 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/basesink.cc`/
99 {
100 } // anonymous namespace
101
102
103 namespace Glibcxx . . $ Glib/
104 {
105
106 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#> wrapcxx . . $ Glib/wrap(ff0d5f0961277c8c).(GstBaseSinkcxx . . $ GstBaseSink#* object, bool take_copy)
107 {
108 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#>( dynamic_cast<Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
109 //We use dynamic_cast<> in case of multiple inheritance.
110 }
111
112 } /* namespace Glib */
113
114
115 namespace Gstcxx . . $ Gst/
116 {
117
118
119 /* The *_Class implementation: */
120
121 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& BaseSink_Classcxx . . $ Gst/BaseSink_Class#::initcxx . . $ Gst/BaseSink_Class#init(bf348c0cd369184d).()
122 {
123 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
124 {
125 // Glib::Class has to know the class init function to clone custom types.
126 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &BaseSink_Classcxx . . $ Gst/BaseSink_Class#::class_init_functioncxx . . $ Gst/BaseSink_Class#class_init_function(6c58c5e2437d25a2).;
127
128 // This is actually just optimized away, apparently with no harm.
129 // Make sure that the parent type has been created.
130 //CppClassParent::CppObjectType::get_type();
131
132 // Create the wrapper type, with the same class/instance size as the base type.
133 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_base_sink_get_type());
134
135 // Add derived versions of interfaces, if the C type implements any interfaces:
136
137 }
138
139 return *this;
140 }
141
142
143 void BaseSink_Classcxx . . $ Gst/BaseSink_Class#::class_init_functioncxx . . $ Gst/BaseSink_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
144 {
145 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(g_class);
146 CppClassParentcxx . . $ Gst/BaseSink_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Element_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
147
148 klass->get_capscxx . . $ _GstBaseSinkClass#get_caps. = &get_caps_vfunc_callbackcxx . . $ Gst/BaseSink_Class#get_caps_vfunc_callback(777f30bfcf633e1a).;
149 klass->set_capscxx . . $ _GstBaseSinkClass#set_caps. = &set_caps_vfunc_callbackcxx . . $ Gst/BaseSink_Class#set_caps_vfunc_callback(7024afe0d443d223).;
150 klass->get_timescxx . . $ _GstBaseSinkClass#get_times. = &get_times_vfunc_callbackcxx . . $ Gst/BaseSink_Class#get_times_vfunc_callback(2acb87ed312fe84b).;
151 klass->startcxx . . $ _GstBaseSinkClass#start. = &start_vfunc_callbackcxx . . $ Gst/BaseSink_Class#start_vfunc_callback(ed8052f3fdf7e8f4).;
152 klass->stopcxx . . $ _GstBaseSinkClass#stop. = &stop_vfunc_callbackcxx . . $ Gst/BaseSink_Class#stop_vfunc_callback(ed8052f3fdf7e8f4).;
153 klass->unlockcxx . . $ _GstBaseSinkClass#unlock. = &unlock_vfunc_callbackcxx . . $ Gst/BaseSink_Class#unlock_vfunc_callback(ed8052f3fdf7e8f4).;
154 klass->eventcxx . . $ _GstBaseSinkClass#event. = &event_vfunc_callbackcxx . . $ Gst/BaseSink_Class#event_vfunc_callback(9273611193b2bbb3).;
155 klass->wait_eventcxx . . $ _GstBaseSinkClass#wait_event. = &wait_event_vfunc_callbackcxx . . $ Gst/BaseSink_Class#wait_event_vfunc_callback(b226a445a23567d1).;
156 klass->prerollcxx . . $ _GstBaseSinkClass#preroll. = &preroll_vfunc_callbackcxx . . $ Gst/BaseSink_Class#preroll_vfunc_callback(8c31ec4c4e3a669a).;
157 klass->rendercxx . . $ _GstBaseSinkClass#render. = &render_vfunc_callbackcxx . . $ Gst/BaseSink_Class#render_vfunc_callback(8c31ec4c4e3a669a).;
158 klass->activate_pullcxx . . $ _GstBaseSinkClass#activate_pull. = &activate_pull_vfunc_callbackcxx . . $ Gst/BaseSink_Class#activate_pull_vfunc_callback(c78751dbd87b61a5).;
159 klass->fixatecxx . . $ _GstBaseSinkClass#fixate. = &fixate_vfunc_callbackcxx . . $ Gst/BaseSink_Class#fixate_vfunc_callback(777f30bfcf633e1a).;
160 klass->unlock_stopcxx . . $ _GstBaseSinkClass#unlock_stop. = &unlock_stop_vfunc_callbackcxx . . $ Gst/BaseSink_Class#unlock_stop_vfunc_callback(ed8052f3fdf7e8f4).;
161 klass->render_listcxx . . $ _GstBaseSinkClass#render_list. = &render_list_vfunc_callbackcxx . . $ Gst/BaseSink_Class#render_list_vfunc_callback(d013729d041e7605).;
162 klass->preparecxx . . $ _GstBaseSinkClass#prepare. = &prepare_vfunc_callbackcxx . . $ Gst/BaseSink_Class#prepare_vfunc_callback(8c31ec4c4e3a669a).;
163 klass->prepare_listcxx . . $ _GstBaseSinkClass#prepare_list. = &prepare_list_vfunc_callbackcxx . . $ Gst/BaseSink_Class#prepare_list_vfunc_callback(d013729d041e7605).;
164 klass->propose_allocationcxx . . $ _GstBaseSinkClass#propose_allocation. = &propose_allocation_vfunc_callbackcxx . . $ Gst/BaseSink_Class#propose_allocation_vfunc_callback(5c05614bcbd2ae6c).;
165 klass->querycxx . . $ _GstBaseSinkClass#query. = &query_vfunc_callbackcxx . . $ Gst/BaseSink_Class#query_vfunc_callback(5c05614bcbd2ae6c).;
166
167 }
168
169 GstCaps* BaseSink_Classcxx . . $ Gst/BaseSink_Class#::get_caps_vfunc_callbackcxx . . $ Gst/BaseSink_Class#get_caps_vfunc_callback(777f30bfcf633e1a).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstCaps* filter)
170 {
171 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
172 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
173
174 // Non-gtkmmproc-generated custom classes implicitly call the default
175 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
176 // generated classes can use this optimisation, which avoids the unnecessary
177 // parameter conversions if there is no possibility of the virtual function
178 // being overridden:
179 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
180 {
181 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
182 if(obj) // This can be NULL during destruction.
183 {
184 try // Trap C++ exceptions which would normally be lost because this is a C callback.
185 {
186 // Call the virtual member method, which derived classes might override.
187 return Glibcxx . . $ Glib/::unwrap_copycxx . . $ Glib/unwrap_copy(d8611424b789c87e).(obj->get_caps_vfunccxx . . $ Gst/BaseSink#get_caps_vfunc(74dce9e80895d45c).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(filter, true)
188 ));
189 }
190 catch(...)
191 {
192 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
193 }
194 }
195 }
196
197 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
198 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).
199 );
200
201 // Call the original underlying C function:
202 if(base && base->get_capscxx . . $ _GstBaseSinkClass#get_caps.)
203 return (*base->get_capscxx . . $ _GstBaseSinkClass#get_caps.)(self, filter);
204
205 using RTypecxx . . $ Gst/BaseSink_Class#get_caps_vfunc_callback(777f30bfcf633e1a).RType# = GstCaps*;
206 return RTypecxx . . $ Gst/BaseSink_Class#get_caps_vfunc_callback(777f30bfcf633e1a).RType#();
207 }
208 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::set_caps_vfunc_callbackcxx . . $ Gst/BaseSink_Class#set_caps_vfunc_callback(7024afe0d443d223).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstCaps* caps)
209 {
210 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
211 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
212
213 // Non-gtkmmproc-generated custom classes implicitly call the default
214 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
215 // generated classes can use this optimisation, which avoids the unnecessary
216 // parameter conversions if there is no possibility of the virtual function
217 // being overridden:
218 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
219 {
220 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
221 if(obj) // This can be NULL during destruction.
222 {
223 try // Trap C++ exceptions which would normally be lost because this is a C callback.
224 {
225 // Call the virtual member method, which derived classes might override.
226 return static_cast<int>(obj->set_caps_vfunccxx . . $ Gst/BaseSink#set_caps_vfunc(d71e2c92ee80648b).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true)
227 ));
228 }
229 catch(...)
230 {
231 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
232 }
233 }
234 }
235
236 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
237 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).
238 );
239
240 // Call the original underlying C function:
241 if(base && base->set_capscxx . . $ _GstBaseSinkClass#set_caps.)
242 return (*base->set_capscxx . . $ _GstBaseSinkClass#set_caps.)(self, caps);
243
244 return static_cast<int>(true);
245 }
246 void BaseSink_Classcxx . . $ Gst/BaseSink_Class#::get_times_vfunc_callbackcxx . . $ Gst/BaseSink_Class#get_times_vfunc_callback(2acb87ed312fe84b).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstBuffer* buffer, GstClockTime* start, GstClockTime* end)
247 {
248 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
249 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
250
251 // Non-gtkmmproc-generated custom classes implicitly call the default
252 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
253 // generated classes can use this optimisation, which avoids the unnecessary
254 // parameter conversions if there is no possibility of the virtual function
255 // being overridden:
256 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
257 {
258 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
259 if(obj) // This can be NULL during destruction.
260 {
261 try // Trap C++ exceptions which would normally be lost because this is a C callback.
262 {
263 // Call the virtual member method, which derived classes might override.
264 obj->get_times_vfunccxx . . $ Gst/BaseSink#get_times_vfunc(c439da376c492fdc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buffer, true)
265 , *(start)
266 , *(end)
267 );
268 return;
269 }
270 catch(...)
271 {
272 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
273 }
274 }
275 }
276
277 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
278 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).
279 );
280
281 // Call the original underlying C function:
282 if(base && base->get_timescxx . . $ _GstBaseSinkClass#get_times.)
283 (*base->get_timescxx . . $ _GstBaseSinkClass#get_times.)(self, buffer, start, end);
284 }
285 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::start_vfunc_callbackcxx . . $ Gst/BaseSink_Class#start_vfunc_callback(ed8052f3fdf7e8f4).(GstBaseSinkcxx . . $ GstBaseSink#* self)
286 {
287 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
288 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
289
290 // Non-gtkmmproc-generated custom classes implicitly call the default
291 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
292 // generated classes can use this optimisation, which avoids the unnecessary
293 // parameter conversions if there is no possibility of the virtual function
294 // being overridden:
295 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
296 {
297 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
298 if(obj) // This can be NULL during destruction.
299 {
300 try // Trap C++ exceptions which would normally be lost because this is a C callback.
301 {
302 // Call the virtual member method, which derived classes might override.
303 return static_cast<int>(obj->start_vfunccxx . . $ Gst/BaseSink#start_vfunc(c9857a73d68e59ba).());
304 }
305 catch(...)
306 {
307 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
308 }
309 }
310 }
311
312 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
313 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).
314 );
315
316 // Call the original underlying C function:
317 if(base && base->startcxx . . $ _GstBaseSinkClass#start.)
318 return (*base->startcxx . . $ _GstBaseSinkClass#start.)(self);
319
320 return static_cast<int>(true);
321 }
322 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::stop_vfunc_callbackcxx . . $ Gst/BaseSink_Class#stop_vfunc_callback(ed8052f3fdf7e8f4).(GstBaseSinkcxx . . $ GstBaseSink#* self)
323 {
324 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
325 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
326
327 // Non-gtkmmproc-generated custom classes implicitly call the default
328 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
329 // generated classes can use this optimisation, which avoids the unnecessary
330 // parameter conversions if there is no possibility of the virtual function
331 // being overridden:
332 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
333 {
334 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
335 if(obj) // This can be NULL during destruction.
336 {
337 try // Trap C++ exceptions which would normally be lost because this is a C callback.
338 {
339 // Call the virtual member method, which derived classes might override.
340 return static_cast<int>(obj->stop_vfunccxx . . $ Gst/BaseSink#stop_vfunc(c9857a73d68e59ba).());
341 }
342 catch(...)
343 {
344 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
345 }
346 }
347 }
348
349 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
350 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).
351 );
352
353 // Call the original underlying C function:
354 if(base && base->stopcxx . . $ _GstBaseSinkClass#stop.)
355 return (*base->stopcxx . . $ _GstBaseSinkClass#stop.)(self);
356
357 return static_cast<int>(true);
358 }
359 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::unlock_vfunc_callbackcxx . . $ Gst/BaseSink_Class#unlock_vfunc_callback(ed8052f3fdf7e8f4).(GstBaseSinkcxx . . $ GstBaseSink#* self)
360 {
361 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
362 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
363
364 // Non-gtkmmproc-generated custom classes implicitly call the default
365 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
366 // generated classes can use this optimisation, which avoids the unnecessary
367 // parameter conversions if there is no possibility of the virtual function
368 // being overridden:
369 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
370 {
371 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
372 if(obj) // This can be NULL during destruction.
373 {
374 try // Trap C++ exceptions which would normally be lost because this is a C callback.
375 {
376 // Call the virtual member method, which derived classes might override.
377 return static_cast<int>(obj->unlock_vfunccxx . . $ Gst/BaseSink#unlock_vfunc(c9857a73d68e59ba).());
378 }
379 catch(...)
380 {
381 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
382 }
383 }
384 }
385
386 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
387 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).
388 );
389
390 // Call the original underlying C function:
391 if(base && base->unlockcxx . . $ _GstBaseSinkClass#unlock.)
392 return (*base->unlockcxx . . $ _GstBaseSinkClass#unlock.)(self);
393
394 return static_cast<int>(true);
395 }
396 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::event_vfunc_callbackcxx . . $ Gst/BaseSink_Class#event_vfunc_callback(9273611193b2bbb3).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstEvent* event)
397 {
398 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
399 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
400
401 // Non-gtkmmproc-generated custom classes implicitly call the default
402 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
403 // generated classes can use this optimisation, which avoids the unnecessary
404 // parameter conversions if there is no possibility of the virtual function
405 // being overridden:
406 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
407 {
408 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
409 if(obj) // This can be NULL during destruction.
410 {
411 try // Trap C++ exceptions which would normally be lost because this is a C callback.
412 {
413 // Call the virtual member method, which derived classes might override.
414 return static_cast<int>(obj->event_vfunccxx . . $ Gst/BaseSink#event_vfunc(2055ffde69ae5030).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(event, true)
415 ));
416 }
417 catch(...)
418 {
419 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
420 }
421 }
422 }
423
424 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
425 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).
426 );
427
428 // Call the original underlying C function:
429 if(base && base->eventcxx . . $ _GstBaseSinkClass#event.)
430 return (*base->eventcxx . . $ _GstBaseSinkClass#event.)(self, event);
431
432 return static_cast<int>(true);
433 }
434 GstFlowReturn BaseSink_Classcxx . . $ Gst/BaseSink_Class#::wait_event_vfunc_callbackcxx . . $ Gst/BaseSink_Class#wait_event_vfunc_callback(b226a445a23567d1).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstEvent* event)
435 {
436 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
437 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
438
439 // Non-gtkmmproc-generated custom classes implicitly call the default
440 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
441 // generated classes can use this optimisation, which avoids the unnecessary
442 // parameter conversions if there is no possibility of the virtual function
443 // being overridden:
444 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
445 {
446 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
447 if(obj) // This can be NULL during destruction.
448 {
449 try // Trap C++ exceptions which would normally be lost because this is a C callback.
450 {
451 // Call the virtual member method, which derived classes might override.
452 return ((GstFlowReturn)(obj->wait_event_vfunccxx . . $ Gst/BaseSink#wait_event_vfunc(107621086e23a603).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(event, true)
453 )));
454 }
455 catch(...)
456 {
457 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
458 }
459 }
460 }
461
462 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
463 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).
464 );
465
466 // Call the original underlying C function:
467 if(base && base->wait_eventcxx . . $ _GstBaseSinkClass#wait_event.)
468 return (*base->wait_eventcxx . . $ _GstBaseSinkClass#wait_event.)(self, event);
469
470 using RTypecxx . . $ Gst/BaseSink_Class#wait_event_vfunc_callback(b226a445a23567d1).RType# = GstFlowReturn;
471 return RTypecxx . . $ Gst/BaseSink_Class#wait_event_vfunc_callback(b226a445a23567d1).RType#();
472 }
473 GstFlowReturn BaseSink_Classcxx . . $ Gst/BaseSink_Class#::preroll_vfunc_callbackcxx . . $ Gst/BaseSink_Class#preroll_vfunc_callback(8c31ec4c4e3a669a).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstBuffer* buffer)
474 {
475 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
476 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
477
478 // Non-gtkmmproc-generated custom classes implicitly call the default
479 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
480 // generated classes can use this optimisation, which avoids the unnecessary
481 // parameter conversions if there is no possibility of the virtual function
482 // being overridden:
483 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
484 {
485 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
486 if(obj) // This can be NULL during destruction.
487 {
488 try // Trap C++ exceptions which would normally be lost because this is a C callback.
489 {
490 // Call the virtual member method, which derived classes might override.
491 return ((GstFlowReturn)(obj->preroll_vfunccxx . . $ Gst/BaseSink#preroll_vfunc(a9092e90601b697e).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buffer, true)
492 )));
493 }
494 catch(...)
495 {
496 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
497 }
498 }
499 }
500
501 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
502 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).
503 );
504
505 // Call the original underlying C function:
506 if(base && base->prerollcxx . . $ _GstBaseSinkClass#preroll.)
507 return (*base->prerollcxx . . $ _GstBaseSinkClass#preroll.)(self, buffer);
508
509 using RTypecxx . . $ Gst/BaseSink_Class#preroll_vfunc_callback(8c31ec4c4e3a669a).RType# = GstFlowReturn;
510 return RTypecxx . . $ Gst/BaseSink_Class#preroll_vfunc_callback(8c31ec4c4e3a669a).RType#();
511 }
512 GstFlowReturn BaseSink_Classcxx . . $ Gst/BaseSink_Class#::render_vfunc_callbackcxx . . $ Gst/BaseSink_Class#render_vfunc_callback(8c31ec4c4e3a669a).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstBuffer* buffer)
513 {
514 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
515 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
516
517 // Non-gtkmmproc-generated custom classes implicitly call the default
518 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
519 // generated classes can use this optimisation, which avoids the unnecessary
520 // parameter conversions if there is no possibility of the virtual function
521 // being overridden:
522 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
523 {
524 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
525 if(obj) // This can be NULL during destruction.
526 {
527 try // Trap C++ exceptions which would normally be lost because this is a C callback.
528 {
529 // Call the virtual member method, which derived classes might override.
530 return ((GstFlowReturn)(obj->render_vfunccxx . . $ Gst/BaseSink#render_vfunc(a9092e90601b697e).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buffer, true)
531 )));
532 }
533 catch(...)
534 {
535 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
536 }
537 }
538 }
539
540 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
541 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).
542 );
543
544 // Call the original underlying C function:
545 if(base && base->rendercxx . . $ _GstBaseSinkClass#render.)
546 return (*base->rendercxx . . $ _GstBaseSinkClass#render.)(self, buffer);
547
548 using RTypecxx . . $ Gst/BaseSink_Class#render_vfunc_callback(8c31ec4c4e3a669a).RType# = GstFlowReturn;
549 return RTypecxx . . $ Gst/BaseSink_Class#render_vfunc_callback(8c31ec4c4e3a669a).RType#();
550 }
551 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::activate_pull_vfunc_callbackcxx . . $ Gst/BaseSink_Class#activate_pull_vfunc_callback(c78751dbd87b61a5).(GstBaseSinkcxx . . $ GstBaseSink#* self, gboolean active)
552 {
553 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
554 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
555
556 // Non-gtkmmproc-generated custom classes implicitly call the default
557 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
558 // generated classes can use this optimisation, which avoids the unnecessary
559 // parameter conversions if there is no possibility of the virtual function
560 // being overridden:
561 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
562 {
563 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
564 if(obj) // This can be NULL during destruction.
565 {
566 try // Trap C++ exceptions which would normally be lost because this is a C callback.
567 {
568 // Call the virtual member method, which derived classes might override.
569 return static_cast<int>(obj->activate_pull_vfunccxx . . $ Gst/BaseSink#activate_pull_vfunc(efaadfb7dc14930a).(active
570 ));
571 }
572 catch(...)
573 {
574 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
575 }
576 }
577 }
578
579 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
580 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).
581 );
582
583 // Call the original underlying C function:
584 if(base && base->activate_pullcxx . . $ _GstBaseSinkClass#activate_pull.)
585 return (*base->activate_pullcxx . . $ _GstBaseSinkClass#activate_pull.)(self, active);
586
587 return static_cast<int>(true);
588 }
589 GstCaps* BaseSink_Classcxx . . $ Gst/BaseSink_Class#::fixate_vfunc_callbackcxx . . $ Gst/BaseSink_Class#fixate_vfunc_callback(777f30bfcf633e1a).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstCaps* caps)
590 {
591 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
592 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
593
594 // Non-gtkmmproc-generated custom classes implicitly call the default
595 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
596 // generated classes can use this optimisation, which avoids the unnecessary
597 // parameter conversions if there is no possibility of the virtual function
598 // being overridden:
599 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
600 {
601 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
602 if(obj) // This can be NULL during destruction.
603 {
604 try // Trap C++ exceptions which would normally be lost because this is a C callback.
605 {
606 // Call the virtual member method, which derived classes might override.
607 return Glibcxx . . $ Glib/::unwrap_copycxx . . $ Glib/unwrap_copy(d8611424b789c87e).(obj->fixate_vfunccxx . . $ Gst/BaseSink#fixate_vfunc(cac43ebfde7bbd09).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true)
608 ));
609 }
610 catch(...)
611 {
612 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
613 }
614 }
615 }
616
617 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
618 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).
619 );
620
621 // Call the original underlying C function:
622 if(base && base->fixatecxx . . $ _GstBaseSinkClass#fixate.)
623 return (*base->fixatecxx . . $ _GstBaseSinkClass#fixate.)(self, caps);
624
625 using RTypecxx . . $ Gst/BaseSink_Class#fixate_vfunc_callback(777f30bfcf633e1a).RType# = GstCaps*;
626 return RTypecxx . . $ Gst/BaseSink_Class#fixate_vfunc_callback(777f30bfcf633e1a).RType#();
627 }
628 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::unlock_stop_vfunc_callbackcxx . . $ Gst/BaseSink_Class#unlock_stop_vfunc_callback(ed8052f3fdf7e8f4).(GstBaseSinkcxx . . $ GstBaseSink#* self)
629 {
630 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
631 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
632
633 // Non-gtkmmproc-generated custom classes implicitly call the default
634 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
635 // generated classes can use this optimisation, which avoids the unnecessary
636 // parameter conversions if there is no possibility of the virtual function
637 // being overridden:
638 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
639 {
640 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
641 if(obj) // This can be NULL during destruction.
642 {
643 try // Trap C++ exceptions which would normally be lost because this is a C callback.
644 {
645 // Call the virtual member method, which derived classes might override.
646 return static_cast<int>(obj->unlock_stop_vfunccxx . . $ Gst/BaseSink#unlock_stop_vfunc(c9857a73d68e59ba).());
647 }
648 catch(...)
649 {
650 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
651 }
652 }
653 }
654
655 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
656 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).
657 );
658
659 // Call the original underlying C function:
660 if(base && base->unlock_stopcxx . . $ _GstBaseSinkClass#unlock_stop.)
661 return (*base->unlock_stopcxx . . $ _GstBaseSinkClass#unlock_stop.)(self);
662
663 return static_cast<int>(true);
664 }
665 GstFlowReturn BaseSink_Classcxx . . $ Gst/BaseSink_Class#::render_list_vfunc_callbackcxx . . $ Gst/BaseSink_Class#render_list_vfunc_callback(d013729d041e7605).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstBufferList* buffer_list)
666 {
667 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
668 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
669
670 // Non-gtkmmproc-generated custom classes implicitly call the default
671 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
672 // generated classes can use this optimisation, which avoids the unnecessary
673 // parameter conversions if there is no possibility of the virtual function
674 // being overridden:
675 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
676 {
677 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
678 if(obj) // This can be NULL during destruction.
679 {
680 try // Trap C++ exceptions which would normally be lost because this is a C callback.
681 {
682 // Call the virtual member method, which derived classes might override.
683 return ((GstFlowReturn)(obj->render_list_vfunccxx . . $ Gst/BaseSink#render_list_vfunc(f337cede21512d4).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3f30d858dd1cdfe1).(buffer_list, true)
684 )));
685 }
686 catch(...)
687 {
688 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
689 }
690 }
691 }
692
693 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
694 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).
695 );
696
697 // Call the original underlying C function:
698 if(base && base->render_listcxx . . $ _GstBaseSinkClass#render_list.)
699 return (*base->render_listcxx . . $ _GstBaseSinkClass#render_list.)(self, buffer_list);
700
701 using RTypecxx . . $ Gst/BaseSink_Class#render_list_vfunc_callback(d013729d041e7605).RType# = GstFlowReturn;
702 return RTypecxx . . $ Gst/BaseSink_Class#render_list_vfunc_callback(d013729d041e7605).RType#();
703 }
704 GstFlowReturn BaseSink_Classcxx . . $ Gst/BaseSink_Class#::prepare_vfunc_callbackcxx . . $ Gst/BaseSink_Class#prepare_vfunc_callback(8c31ec4c4e3a669a).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstBuffer* buffer)
705 {
706 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
707 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
708
709 // Non-gtkmmproc-generated custom classes implicitly call the default
710 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
711 // generated classes can use this optimisation, which avoids the unnecessary
712 // parameter conversions if there is no possibility of the virtual function
713 // being overridden:
714 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
715 {
716 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
717 if(obj) // This can be NULL during destruction.
718 {
719 try // Trap C++ exceptions which would normally be lost because this is a C callback.
720 {
721 // Call the virtual member method, which derived classes might override.
722 return ((GstFlowReturn)(obj->prepare_vfunccxx . . $ Gst/BaseSink#prepare_vfunc(a9092e90601b697e).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buffer, true)
723 )));
724 }
725 catch(...)
726 {
727 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
728 }
729 }
730 }
731
732 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
733 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).
734 );
735
736 // Call the original underlying C function:
737 if(base && base->preparecxx . . $ _GstBaseSinkClass#prepare.)
738 return (*base->preparecxx . . $ _GstBaseSinkClass#prepare.)(self, buffer);
739
740 using RTypecxx . . $ Gst/BaseSink_Class#prepare_vfunc_callback(8c31ec4c4e3a669a).RType# = GstFlowReturn;
741 return RTypecxx . . $ Gst/BaseSink_Class#prepare_vfunc_callback(8c31ec4c4e3a669a).RType#();
742 }
743 GstFlowReturn BaseSink_Classcxx . . $ Gst/BaseSink_Class#::prepare_list_vfunc_callbackcxx . . $ Gst/BaseSink_Class#prepare_list_vfunc_callback(d013729d041e7605).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstBufferList* buffer_list)
744 {
745 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
746 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
747
748 // Non-gtkmmproc-generated custom classes implicitly call the default
749 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
750 // generated classes can use this optimisation, which avoids the unnecessary
751 // parameter conversions if there is no possibility of the virtual function
752 // being overridden:
753 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
754 {
755 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
756 if(obj) // This can be NULL during destruction.
757 {
758 try // Trap C++ exceptions which would normally be lost because this is a C callback.
759 {
760 // Call the virtual member method, which derived classes might override.
761 return ((GstFlowReturn)(obj->prepare_list_vfunccxx . . $ Gst/BaseSink#prepare_list_vfunc(f337cede21512d4).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3f30d858dd1cdfe1).(buffer_list, true)
762 )));
763 }
764 catch(...)
765 {
766 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
767 }
768 }
769 }
770
771 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
772 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).
773 );
774
775 // Call the original underlying C function:
776 if(base && base->prepare_listcxx . . $ _GstBaseSinkClass#prepare_list.)
777 return (*base->prepare_listcxx . . $ _GstBaseSinkClass#prepare_list.)(self, buffer_list);
778
779 using RTypecxx . . $ Gst/BaseSink_Class#prepare_list_vfunc_callback(d013729d041e7605).RType# = GstFlowReturn;
780 return RTypecxx . . $ Gst/BaseSink_Class#prepare_list_vfunc_callback(d013729d041e7605).RType#();
781 }
782 gboolean BaseSink_Classcxx . . $ Gst/BaseSink_Class#::propose_allocation_vfunc_callbackcxx . . $ Gst/BaseSink_Class#propose_allocation_vfunc_callback(5c05614bcbd2ae6c).(GstBaseSinkcxx . . $ GstBaseSink#* self, GstQuery* query)
783 {
784 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
785 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
786
787 // Non-gtkmmproc-generated custom classes implicitly call the default
788 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
789 // generated classes can use this optimisation, which avoids the unnecessary
790 // parameter conversions if there is no possibility of the virtual function
791 // being overridden:
792 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
793 {
794 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSink_Class#CppObjectType#* const>(obj_base);
795 if(obj) // This can be NULL during destruction.
796 {
797 try // Trap C++ exceptions which would normally be lost because this is a C callback.
798 {
799 // Call the virtual member method, which derived classes might override.
800 return static_cast<int>(obj->propose_allocation_vfunccxx . . $ Gst/BaseSink#propose_allocation_vfunc(363e9ac1e31c4481).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, true)
801 ));
802 }
803 catch(...)
804 {
805 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
806 }
807 }
808 }
809
810 BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink_Class#BaseClassType#*>(
811 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).
812 );
813
814 // Call the original underlying C function:
815 if(base && base->propose_allocationcxx . . $ _GstBaseSinkClass#propose_allocation.)
816 return (*base->propose_allocationcxx . . $ _GstBaseSinkClass#propose_allocation.)(self, query);
817
818 using RTypecxx . . $ Gst/BaseSink_Class#propose_allocation_vfunc_callback(5c05614bcbd2ae6c).RType# = gboolean;
819 return RTypecxx . . $ Gst/BaseSink_Class#propose_allocation_vfunc_callback(5c05614bcbd2ae6c).RType#();
820 }
821
822
823 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* BaseSink_Classcxx . . $ Gst/BaseSink_Class#::wrap_newcxx . . $ Gst/BaseSink_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
824 {
825 return new BaseSinkcxx . . $ Gst/BaseSink#((GstBaseSinkcxx . . $ GstBaseSink#*)object);
826 }
827
828
829 /* The implementation: */
830
831 GstBaseSinkcxx . . $ GstBaseSink#* BaseSinkcxx . . $ Gst/BaseSink#::gobj_copycxx . . $ Gst/BaseSink#gobj_copy(9d3c92729ce34eae).()
832 {
833 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
834 return gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).();
835 }
836
837 BaseSinkcxx . . $ Gst/BaseSink#::BaseSinkcxx . . $ Gst/BaseSink#BaseSink(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
838 :
839 Elementcxx . . $ Gst/Element#Element(237165b4a42a691a).(construct_params)
840 {
841
842 }
843
844 BaseSinkcxx . . $ Gst/BaseSink#::BaseSinkcxx . . $ Gst/BaseSink#BaseSink(46ff2d7ca503841b).(GstBaseSinkcxx . . $ GstBaseSink#* castitem)
845 :
846 Elementcxx . . $ Gst/Element#Element(175aa13ace29d0d5).((GstElementcxx . . $ GstElement#*)(castitem))
847 {}
848
849
850 BaseSinkcxx . . $ Gst/BaseSink#::BaseSinkcxx . . $ Gst/BaseSink#BaseSink(25483a99279c67b9).(BaseSinkcxx . . $ Gst/BaseSink#&& src) noexcept
851 : Elementcxx . . $ Gst/Element#Element(9bd74731f3b9d759).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
852 {}
853
854 BaseSinkcxx . . $ Gst/BaseSink#& BaseSinkcxx . . $ Gst/BaseSink#::operatorcxx . . $ Gst/BaseSink#`operator=`(1937e6221bb2ab3c).=(BaseSinkcxx . . $ Gst/BaseSink#&& src) noexcept
855 {
856 Elementcxx . . $ Gst/Element#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
857 return *this;
858 }
859
860
861 BaseSinkcxx . . $ Gst/BaseSink#::~cxx . . $ Gst/BaseSink#`~BaseSink`(ced63f7c635d850d).BaseSinkcxx . . $ Gst/BaseSink#() noexcept
862 {}
863
864
865 BaseSinkcxx . . $ Gst/BaseSink#::CppClassTypecxx . . $ Gst/BaseSink#CppClassType# BaseSinkcxx . . $ Gst/BaseSink#::basesink_class_cxx . . $ Gst/BaseSink#basesink_class_.; // initialize static member
866
867 GType BaseSinkcxx . . $ Gst/BaseSink#::get_typecxx . . $ Gst/BaseSink#get_type(f708dce9a8856c70).()
868 {
869 return basesink_class_cxx . . $ Gst/BaseSink#basesink_class_..initcxx . . $ Gst/BaseSink_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
870 }
871
872
873 GType BaseSinkcxx . . $ Gst/BaseSink#::get_base_typecxx . . $ Gst/BaseSink#get_base_type(f708dce9a8856c70).()
874 {
875 return gst_base_sink_get_type();
876 }
877
878
879 bool BaseSinkcxx . . $ Gst/BaseSink#::query_latencycxx . . $ Gst/BaseSink#query_latency(77e856bc497700c8).(bool& live, bool& upstream_live, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#& min_latency, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#& max_latency) const
880 {
881 return gst_base_sink_query_latency(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()), ((gboolean*) &(live)), ((gboolean*) &(upstream_live)), (GstClockTime*)(&min_latency), (GstClockTime*)(&max_latency));
882 }
883
884 Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# BaseSinkcxx . . $ Gst/BaseSink#::get_latencycxx . . $ Gst/BaseSink#get_latency(fe4d2d262d4164a8).() const
885 {
886 return ((Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#)(gst_base_sink_get_latency(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()))));
887 }
888
889 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# BaseSinkcxx . . $ Gst/BaseSink#::do_prerollcxx . . $ Gst/BaseSink#do_preroll(26facef4ec8e0f45).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::MiniObjectcxx . . $ Gst/MiniObject#>& obj)
890 {
891 return ((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)(gst_base_sink_do_preroll(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(obj))));
892 }
893
894 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# BaseSinkcxx . . $ Gst/BaseSink#::wait_prerollcxx . . $ Gst/BaseSink#wait_preroll(3a0c81c66b380fca).()
895 {
896 return ((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)(gst_base_sink_wait_preroll(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).())));
897 }
898
899 Gstcxx . . $ Gst/::ClockReturncxx . . $ Gst/ClockReturn# BaseSinkcxx . . $ Gst/BaseSink#::wait_clockcxx . . $ Gst/BaseSink#wait_clock(22a9cf5eed0b5ccf).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# time, Gstcxx . . $ Gst/::ClockTimeDiffcxx . . $ Gst/ClockTimeDiff#& jitter)
900 {
901 return ((Gstcxx . . $ Gst/::ClockReturncxx . . $ Gst/ClockReturn#)(gst_base_sink_wait_clock(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), ((GstClockTime)(time)), (GstClockTimeDiff*)(&jitter))));
902 }
903
904 Gstcxx . . $ Gst/::ClockReturncxx . . $ Gst/ClockReturn# BaseSinkcxx . . $ Gst/BaseSink#::wait_clockcxx . . $ Gst/BaseSink#wait_clock(94284dc49be76417).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# time)
905 {
906 return ((Gstcxx . . $ Gst/::ClockReturncxx . . $ Gst/ClockReturn#)(gst_base_sink_wait_clock(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), ((GstClockTime)(time)), nullptr)));
907 }
908
909 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# BaseSinkcxx . . $ Gst/BaseSink#::waitcxx . . $ Gst/BaseSink#wait(5259dfb8b23b931a).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# time, Gstcxx . . $ Gst/::ClockTimeDiffcxx . . $ Gst/ClockTimeDiff#& jitter)
910 {
911 return ((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)(gst_base_sink_wait(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), ((GstClockTime)(time)), (GstClockTimeDiff*)(&jitter))));
912 }
913
914 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# BaseSinkcxx . . $ Gst/BaseSink#::waitcxx . . $ Gst/BaseSink#wait(13a03661c49e98e0).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# time)
915 {
916 return ((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)(gst_base_sink_wait(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), ((GstClockTime)(time)), nullptr)));
917 }
918
919 void BaseSinkcxx . . $ Gst/BaseSink#::set_synccxx . . $ Gst/BaseSink#set_sync(b45ddcbc8423892c).(bool sync)
920 {
921 gst_base_sink_set_sync(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), static_cast<int>(sync));
922 }
923
924 bool BaseSinkcxx . . $ Gst/BaseSink#::get_synccxx . . $ Gst/BaseSink#get_sync(50ce9a9e25b4a850).() const
925 {
926 return gst_base_sink_get_sync(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()));
927 }
928
929 void BaseSinkcxx . . $ Gst/BaseSink#::set_max_latenesscxx . . $ Gst/BaseSink#set_max_lateness(1624ee8275b10bda).(gint64 max_lateness)
930 {
931 gst_base_sink_set_max_lateness(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), max_lateness);
932 }
933
934 gint64 BaseSinkcxx . . $ Gst/BaseSink#::get_max_latenesscxx . . $ Gst/BaseSink#get_max_lateness(57a65ae535d7db84).() const
935 {
936 return gst_base_sink_get_max_lateness(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()));
937 }
938
939 void BaseSinkcxx . . $ Gst/BaseSink#::set_qos_enabledcxx . . $ Gst/BaseSink#set_qos_enabled(b45ddcbc8423892c).(bool enabled)
940 {
941 gst_base_sink_set_qos_enabled(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), static_cast<int>(enabled));
942 }
943
944 bool BaseSinkcxx . . $ Gst/BaseSink#::is_qos_enabledcxx . . $ Gst/BaseSink#is_qos_enabled(50ce9a9e25b4a850).() const
945 {
946 return gst_base_sink_is_qos_enabled(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()));
947 }
948
949 void BaseSinkcxx . . $ Gst/BaseSink#::set_async_enabledcxx . . $ Gst/BaseSink#set_async_enabled(b45ddcbc8423892c).(bool enabled)
950 {
951 gst_base_sink_set_async_enabled(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), static_cast<int>(enabled));
952 }
953
954 bool BaseSinkcxx . . $ Gst/BaseSink#::is_async_enabledcxx . . $ Gst/BaseSink#is_async_enabled(50ce9a9e25b4a850).() const
955 {
956 return gst_base_sink_is_async_enabled(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()));
957 }
958
959 void BaseSinkcxx . . $ Gst/BaseSink#::set_ts_offsetcxx . . $ Gst/BaseSink#set_ts_offset(1624ee8275b10bda).(Gstcxx . . $ Gst/::ClockTimeDiffcxx . . $ Gst/ClockTimeDiff# offset)
960 {
961 gst_base_sink_set_ts_offset(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), GstClockTimeDiff(offset));
962 }
963
964 Gstcxx . . $ Gst/::ClockTimeDiffcxx . . $ Gst/ClockTimeDiff# BaseSinkcxx . . $ Gst/BaseSink#::get_ts_offsetcxx . . $ Gst/BaseSink#get_ts_offset(57a65ae535d7db84).() const
965 {
966 return Gstcxx . . $ Gst/::ClockTimeDiffcxx . . $ Gst/ClockTimeDiff#(gst_base_sink_get_ts_offset(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).())));
967 }
968
969 void BaseSinkcxx . . $ Gst/BaseSink#::set_render_delaycxx . . $ Gst/BaseSink#set_render_delay(2c44cd906ae4e829).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# delay)
970 {
971 gst_base_sink_set_render_delay(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), ((GstClockTime)(delay)));
972 }
973
974 Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# BaseSinkcxx . . $ Gst/BaseSink#::get_render_delaycxx . . $ Gst/BaseSink#get_render_delay(fe4d2d262d4164a8).() const
975 {
976 return ((Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#)(gst_base_sink_get_render_delay(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()))));
977 }
978
979 void BaseSinkcxx . . $ Gst/BaseSink#::set_blocksizecxx . . $ Gst/BaseSink#set_blocksize(cb2f890c2fdad230).(guint blocksize)
980 {
981 gst_base_sink_set_blocksize(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), blocksize);
982 }
983
984 guint BaseSinkcxx . . $ Gst/BaseSink#::get_blocksizecxx . . $ Gst/BaseSink#get_blocksize(ddd8539a2fcdd4ce).() const
985 {
986 return gst_base_sink_get_blocksize(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()));
987 }
988
989 guint64 BaseSinkcxx . . $ Gst/BaseSink#::get_throttle_timecxx . . $ Gst/BaseSink#get_throttle_time(fe4d2d262d4164a8).() const
990 {
991 return gst_base_sink_get_throttle_time(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()));
992 }
993
994 void BaseSinkcxx . . $ Gst/BaseSink#::set_throttle_timecxx . . $ Gst/BaseSink#set_throttle_time(2c44cd906ae4e829).(guint64 throttle)
995 {
996 gst_base_sink_set_throttle_time(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), throttle);
997 }
998
999 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Samplecxx . . $ Gst/Sample#> BaseSinkcxx . . $ Gst/BaseSink#::get_last_samplecxx . . $ Gst/BaseSink#get_last_sample(aa585b6a0e4e4e3a).() const
1000 {
1001 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(9e4721cb9376f8a9).(gst_base_sink_get_last_sample(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).())));
1002 }
1003
1004 void BaseSinkcxx . . $ Gst/BaseSink#::set_max_bitratecxx . . $ Gst/BaseSink#set_max_bitrate(2c44cd906ae4e829).(guint64 max_bitrate)
1005 {
1006 gst_base_sink_set_max_bitrate(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), max_bitrate);
1007 }
1008
1009 guint64 BaseSinkcxx . . $ Gst/BaseSink#::get_max_bitratecxx . . $ Gst/BaseSink#get_max_bitrate(fe4d2d262d4164a8).() const
1010 {
1011 return gst_base_sink_get_max_bitrate(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()));
1012 }
1013
1014 void BaseSinkcxx . . $ Gst/BaseSink#::set_last_sample_enabledcxx . . $ Gst/BaseSink#set_last_sample_enabled(b45ddcbc8423892c).(bool enabled)
1015 {
1016 gst_base_sink_set_last_sample_enabled(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(), static_cast<int>(enabled));
1017 }
1018
1019 bool BaseSinkcxx . . $ Gst/BaseSink#::is_last_sample_enabledcxx . . $ Gst/BaseSink#is_last_sample_enabled(50ce9a9e25b4a850).() const
1020 {
1021 return gst_base_sink_is_last_sample_enabled(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()));
1022 }
1023
1024 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> BaseSinkcxx . . $ Gst/BaseSink#::get_sink_padcxx . . $ Gst/BaseSink#get_sink_pad(933c6ba9162839d3).()
1025 {
1026 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> ref_ptr(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).()->sinkpadcxx . . $ _GstBaseSink#sinkpad.));
1027
1028 if(ref_ptr)
1029 ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
1030
1031 return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1032 }
1033
1034 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> BaseSinkcxx . . $ Gst/BaseSink#::get_sink_padcxx . . $ Gst/BaseSink#get_sink_pad(dca65d54e9e25cdd).() const
1035 {
1036 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> ref_ptrcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()->sinkpadcxx . . $ _GstBaseSink#sinkpad.));
1037
1038 if(ref_ptr)
1039 ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
1040
1041 return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1042 }
1043
1044
1045 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > BaseSinkcxx . . $ Gst/BaseSink#::property_asynccxx . . $ Gst/BaseSink#property_async(962e4b383dc974dc).()
1046 {
1047 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "async");
1048 }
1049
1050 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > BaseSinkcxx . . $ Gst/BaseSink#::property_asynccxx . . $ Gst/BaseSink#property_async(bb701360c56d84c7).() const
1051 {
1052 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "async");
1053 }
1054
1055 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< gint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_max_latenesscxx . . $ Gst/BaseSink#property_max_lateness(6b69460574dd6a75).()
1056 {
1057 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< gint64 >(this, "max-lateness");
1058 }
1059
1060 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< gint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_max_latenesscxx . . $ Gst/BaseSink#property_max_lateness(593ac6380b69f4e9).() const
1061 {
1062 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< gint64 >(this, "max-lateness");
1063 }
1064
1065 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > BaseSinkcxx . . $ Gst/BaseSink#::property_qoscxx . . $ Gst/BaseSink#property_qos(962e4b383dc974dc).()
1066 {
1067 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "qos");
1068 }
1069
1070 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > BaseSinkcxx . . $ Gst/BaseSink#::property_qoscxx . . $ Gst/BaseSink#property_qos(bb701360c56d84c7).() const
1071 {
1072 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "qos");
1073 }
1074
1075 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > BaseSinkcxx . . $ Gst/BaseSink#::property_synccxx . . $ Gst/BaseSink#property_sync(962e4b383dc974dc).()
1076 {
1077 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "sync");
1078 }
1079
1080 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > BaseSinkcxx . . $ Gst/BaseSink#::property_synccxx . . $ Gst/BaseSink#property_sync(bb701360c56d84c7).() const
1081 {
1082 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "sync");
1083 }
1084
1085 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< gint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_ts_offsetcxx . . $ Gst/BaseSink#property_ts_offset(6b69460574dd6a75).()
1086 {
1087 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< gint64 >(this, "ts-offset");
1088 }
1089
1090 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< gint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_ts_offsetcxx . . $ Gst/BaseSink#property_ts_offset(593ac6380b69f4e9).() const
1091 {
1092 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< gint64 >(this, "ts-offset");
1093 }
1094
1095 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_render_delaycxx . . $ Gst/BaseSink#property_render_delay(d486e8c449033ce8).()
1096 {
1097 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 >(this, "render-delay");
1098 }
1099
1100 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_render_delaycxx . . $ Gst/BaseSink#property_render_delay(626cd103ac35282).() const
1101 {
1102 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "render-delay");
1103 }
1104
1105 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_throttle_timecxx . . $ Gst/BaseSink#property_throttle_time(d486e8c449033ce8).()
1106 {
1107 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 >(this, "throttle-time");
1108 }
1109
1110 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_throttle_timecxx . . $ Gst/BaseSink#property_throttle_time(626cd103ac35282).() const
1111 {
1112 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "throttle-time");
1113 }
1114
1115 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint > BaseSinkcxx . . $ Gst/BaseSink#::property_blocksizecxx . . $ Gst/BaseSink#property_blocksize(c06a410a81733cde).()
1116 {
1117 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint >(this, "blocksize");
1118 }
1119
1120 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint > BaseSinkcxx . . $ Gst/BaseSink#::property_blocksizecxx . . $ Gst/BaseSink#property_blocksize(9b12e6784ac5b9b).() const
1121 {
1122 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint >(this, "blocksize");
1123 }
1124
1125 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Samplecxx . . $ Gst/Sample#> > BaseSinkcxx . . $ Gst/BaseSink#::property_last_samplecxx . . $ Gst/BaseSink#property_last_sample(eaa5f2383002968d).() const
1126 {
1127 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Samplecxx . . $ Gst/Sample#> >(this, "last-sample");
1128 }
1129
1130 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > BaseSinkcxx . . $ Gst/BaseSink#::property_enable_last_samplecxx . . $ Gst/BaseSink#property_enable_last_sample(962e4b383dc974dc).()
1131 {
1132 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "enable-last-sample");
1133 }
1134
1135 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > BaseSinkcxx . . $ Gst/BaseSink#::property_enable_last_samplecxx . . $ Gst/BaseSink#property_enable_last_sample(bb701360c56d84c7).() const
1136 {
1137 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "enable-last-sample");
1138 }
1139
1140 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_max_bitratecxx . . $ Gst/BaseSink#property_max_bitrate(d486e8c449033ce8).()
1141 {
1142 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 >(this, "max-bitrate");
1143 }
1144
1145 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > BaseSinkcxx . . $ Gst/BaseSink#::property_max_bitratecxx . . $ Gst/BaseSink#property_max_bitrate(626cd103ac35282).() const
1146 {
1147 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "max-bitrate");
1148 }
1149
1150
1151 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::get_caps_vfunccxx . . $ Gst/BaseSink#get_caps_vfunc(74dce9e80895d45c).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) const
1152 {
1153 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1154 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).
1155 );
1156
1157 if(base && base->get_capscxx . . $ _GstBaseSinkClass#get_caps.)
1158 {
1159 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).((*base->get_capscxx . . $ _GstBaseSinkClass#get_caps.)(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps))));
1160 return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1161 }
1162
1163 using RTypecxx . . $ Gst/BaseSink#get_caps_vfunc(74dce9e80895d45c).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>;
1164 return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).();
1165 }
1166 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::set_caps_vfunccxx . . $ Gst/BaseSink#set_caps_vfunc(d71e2c92ee80648b).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps)
1167 {
1168 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1169 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).
1170 );
1171
1172 if(base && base->set_capscxx . . $ _GstBaseSinkClass#set_caps.)
1173 {
1174 bool retval((*base->set_capscxx . . $ _GstBaseSinkClass#set_caps.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps)));
1175 return retval;
1176 }
1177
1178 return true;
1179 }
1180 void Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::get_times_vfunccxx . . $ Gst/BaseSink#get_times_vfunc(c439da376c492fdc).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#& start, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#& end) const
1181 {
1182 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1183 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).
1184 );
1185
1186 if(base && base->get_timescxx . . $ _GstBaseSinkClass#get_times.)
1187 {
1188 (*base->get_timescxx . . $ _GstBaseSinkClass#get_times.)(const_cast<GstBaseSinkcxx . . $ GstBaseSink#*>(gobjcxx . . $ Gst/BaseSink#gobj(80a238b5dc0dfcad).()),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer),(GstClockTime*)(&start),(GstClockTime*)(&end));
1189 }
1190 }
1191 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::start_vfunccxx . . $ Gst/BaseSink#start_vfunc(c9857a73d68e59ba).()
1192 {
1193 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1194 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).
1195 );
1196
1197 if(base && base->startcxx . . $ _GstBaseSinkClass#start.)
1198 {
1199 bool retval((*base->startcxx . . $ _GstBaseSinkClass#start.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).()));
1200 return retval;
1201 }
1202
1203 return true;
1204 }
1205 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::stop_vfunccxx . . $ Gst/BaseSink#stop_vfunc(c9857a73d68e59ba).()
1206 {
1207 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1208 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).
1209 );
1210
1211 if(base && base->stopcxx . . $ _GstBaseSinkClass#stop.)
1212 {
1213 bool retval((*base->stopcxx . . $ _GstBaseSinkClass#stop.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).()));
1214 return retval;
1215 }
1216
1217 return true;
1218 }
1219 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::unlock_vfunccxx . . $ Gst/BaseSink#unlock_vfunc(c9857a73d68e59ba).()
1220 {
1221 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1222 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).
1223 );
1224
1225 if(base && base->unlockcxx . . $ _GstBaseSinkClass#unlock.)
1226 {
1227 bool retval((*base->unlockcxx . . $ _GstBaseSinkClass#unlock.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).()));
1228 return retval;
1229 }
1230
1231 return true;
1232 }
1233 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::event_vfunccxx . . $ Gst/BaseSink#event_vfunc(2055ffde69ae5030).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event)
1234 {
1235 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1236 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).
1237 );
1238
1239 if(base && base->eventcxx . . $ _GstBaseSinkClass#event.)
1240 {
1241 bool retval((*base->eventcxx . . $ _GstBaseSinkClass#event.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(event)));
1242 return retval;
1243 }
1244
1245 return true;
1246 }
1247 FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::wait_event_vfunccxx . . $ Gst/BaseSink#wait_event_vfunc(107621086e23a603).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event)
1248 {
1249 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1250 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).
1251 );
1252
1253 if(base && base->wait_eventcxx . . $ _GstBaseSinkClass#wait_event.)
1254 {
1255 FlowReturncxx . . $ Gst/FlowReturn# retval(((FlowReturncxx . . $ Gst/FlowReturn#)((*base->wait_eventcxx . . $ _GstBaseSinkClass#wait_event.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(event)))));
1256 return retval;
1257 }
1258
1259 using RTypecxx . . $ Gst/BaseSink#wait_event_vfunc(107621086e23a603).RType# = FlowReturncxx . . $ Gst/FlowReturn#;
1260 return RTypecxx . . $ Gst/BaseSink#wait_event_vfunc(107621086e23a603).RType#();
1261 }
1262 FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::preroll_vfunccxx . . $ Gst/BaseSink#preroll_vfunc(a9092e90601b697e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer)
1263 {
1264 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1265 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).
1266 );
1267
1268 if(base && base->prerollcxx . . $ _GstBaseSinkClass#preroll.)
1269 {
1270 FlowReturncxx . . $ Gst/FlowReturn# retval(((FlowReturncxx . . $ Gst/FlowReturn#)((*base->prerollcxx . . $ _GstBaseSinkClass#preroll.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer)))));
1271 return retval;
1272 }
1273
1274 using RTypecxx . . $ Gst/BaseSink#preroll_vfunc(a9092e90601b697e).RType# = FlowReturncxx . . $ Gst/FlowReturn#;
1275 return RTypecxx . . $ Gst/BaseSink#preroll_vfunc(a9092e90601b697e).RType#();
1276 }
1277 FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::render_vfunccxx . . $ Gst/BaseSink#render_vfunc(a9092e90601b697e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer)
1278 {
1279 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1280 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).
1281 );
1282
1283 if(base && base->rendercxx . . $ _GstBaseSinkClass#render.)
1284 {
1285 FlowReturncxx . . $ Gst/FlowReturn# retval(((FlowReturncxx . . $ Gst/FlowReturn#)((*base->rendercxx . . $ _GstBaseSinkClass#render.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer)))));
1286 return retval;
1287 }
1288
1289 using RTypecxx . . $ Gst/BaseSink#render_vfunc(a9092e90601b697e).RType# = FlowReturncxx . . $ Gst/FlowReturn#;
1290 return RTypecxx . . $ Gst/BaseSink#render_vfunc(a9092e90601b697e).RType#();
1291 }
1292 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::activate_pull_vfunccxx . . $ Gst/BaseSink#activate_pull_vfunc(efaadfb7dc14930a).(bool active)
1293 {
1294 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1295 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).
1296 );
1297
1298 if(base && base->activate_pullcxx . . $ _GstBaseSinkClass#activate_pull.)
1299 {
1300 bool retval((*base->activate_pullcxx . . $ _GstBaseSinkClass#activate_pull.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),static_cast<int>(active)));
1301 return retval;
1302 }
1303
1304 return true;
1305 }
1306 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::fixate_vfunccxx . . $ Gst/BaseSink#fixate_vfunc(cac43ebfde7bbd09).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps)
1307 {
1308 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1309 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).
1310 );
1311
1312 if(base && base->fixatecxx . . $ _GstBaseSinkClass#fixate.)
1313 {
1314 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).((*base->fixatecxx . . $ _GstBaseSinkClass#fixate.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps))));
1315 return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1316 }
1317
1318 using RTypecxx . . $ Gst/BaseSink#fixate_vfunc(cac43ebfde7bbd09).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>;
1319 return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).();
1320 }
1321 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::unlock_stop_vfunccxx . . $ Gst/BaseSink#unlock_stop_vfunc(c9857a73d68e59ba).()
1322 {
1323 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1324 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).
1325 );
1326
1327 if(base && base->unlock_stopcxx . . $ _GstBaseSinkClass#unlock_stop.)
1328 {
1329 bool retval((*base->unlock_stopcxx . . $ _GstBaseSinkClass#unlock_stop.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).()));
1330 return retval;
1331 }
1332
1333 return true;
1334 }
1335 FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::render_list_vfunccxx . . $ Gst/BaseSink#render_list_vfunc(f337cede21512d4).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BufferListcxx . . $ Gst/BufferList#>& buffer_list)
1336 {
1337 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1338 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).
1339 );
1340
1341 if(base && base->render_listcxx . . $ _GstBaseSinkClass#render_list.)
1342 {
1343 FlowReturncxx . . $ Gst/FlowReturn# retval(((FlowReturncxx . . $ Gst/FlowReturn#)((*base->render_listcxx . . $ _GstBaseSinkClass#render_list.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer_list)))));
1344 return retval;
1345 }
1346
1347 using RTypecxx . . $ Gst/BaseSink#render_list_vfunc(f337cede21512d4).RType# = FlowReturncxx . . $ Gst/FlowReturn#;
1348 return RTypecxx . . $ Gst/BaseSink#render_list_vfunc(f337cede21512d4).RType#();
1349 }
1350 FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::prepare_vfunccxx . . $ Gst/BaseSink#prepare_vfunc(a9092e90601b697e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer)
1351 {
1352 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1353 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).
1354 );
1355
1356 if(base && base->preparecxx . . $ _GstBaseSinkClass#prepare.)
1357 {
1358 FlowReturncxx . . $ Gst/FlowReturn# retval(((FlowReturncxx . . $ Gst/FlowReturn#)((*base->preparecxx . . $ _GstBaseSinkClass#prepare.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer)))));
1359 return retval;
1360 }
1361
1362 using RTypecxx . . $ Gst/BaseSink#prepare_vfunc(a9092e90601b697e).RType# = FlowReturncxx . . $ Gst/FlowReturn#;
1363 return RTypecxx . . $ Gst/BaseSink#prepare_vfunc(a9092e90601b697e).RType#();
1364 }
1365 FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::prepare_list_vfunccxx . . $ Gst/BaseSink#prepare_list_vfunc(f337cede21512d4).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BufferListcxx . . $ Gst/BufferList#>& buffer_list)
1366 {
1367 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1368 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).
1369 );
1370
1371 if(base && base->prepare_listcxx . . $ _GstBaseSinkClass#prepare_list.)
1372 {
1373 FlowReturncxx . . $ Gst/FlowReturn# retval(((FlowReturncxx . . $ Gst/FlowReturn#)((*base->prepare_listcxx . . $ _GstBaseSinkClass#prepare_list.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer_list)))));
1374 return retval;
1375 }
1376
1377 using RTypecxx . . $ Gst/BaseSink#prepare_list_vfunc(f337cede21512d4).RType# = FlowReturncxx . . $ Gst/FlowReturn#;
1378 return RTypecxx . . $ Gst/BaseSink#prepare_list_vfunc(f337cede21512d4).RType#();
1379 }
1380 bool Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::propose_allocation_vfunccxx . . $ Gst/BaseSink#propose_allocation_vfunc(363e9ac1e31c4481).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query)
1381 {
1382 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSink#BaseClassType#*>(
1383 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).
1384 );
1385
1386 if(base && base->propose_allocationcxx . . $ _GstBaseSinkClass#propose_allocation.)
1387 {
1388 bool retval((*base->propose_allocationcxx . . $ _GstBaseSinkClass#propose_allocation.)(gobjcxx . . $ Gst/BaseSink#gobj(9d3c92729ce34eae).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query)));
1389 return retval;
1390 }
1391
1392 using RTypecxx . . $ Gst/BaseSink#propose_allocation_vfunc(363e9ac1e31c4481).RType# = bool;
1393 return RTypecxx . . $ Gst/BaseSink#propose_allocation_vfunc(363e9ac1e31c4481).RType#();
1394 }
1395
1396
1397 } // namespace Gst
1398
1399