Debian Codegraph @

gstreamer/gstreamermm/basesrc.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/basesrc.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/basesrc.h>cxx . . $ `<file>/gstreamer/gstreamermm/basesrc.h`/
7 #include <gstreamermm/private/basesrc_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/basesrc_p.h`/
8
9
10 /* gstreamermm - a C++ wrapper for gstreamer
11 *
12 * Copyright 2008-2016 The gstreamermm Development Team
13 *
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free
26 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 */
28
29 #include <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/
30 #include <gstreamermm/buffer.h>cxx . . $ `<file>/gstreamer/gstreamermm/buffer.h`/
31
32
33 #define IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basesrc.cc:33:9`!(x) { auto release_value = x; (void)release_value; }
34
35 namespace Gstcxx . . $ Gst/
36 {
37
38 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::do_seek_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#do_seek_vfunc_callback(ee2221a4a522d83d).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstSegment* segment)
39 {
40 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
41 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
42
43 // Non-gtkmmproc-generated custom classes implicitly call the default
44 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
45 // generated classes can use this optimisation, which avoids the unnecessary
46 // parameter conversions if there is no possibility of the virtual function
47 // being overridden:
48 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
49 {
50 CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
51 if(obj) // This can be NULL during destruction.
52 {
53 try // Trap C++ exceptions which would normally be lost because this is a C callback.
54 {
55 Gstcxx . . $ Gst/::Segmentcxx . . $ Gst/Segment# cpp_segmentcxx . . $ Gst/Segment#Segment(fe81ed18ca985276).(segment, true);
56 // Call the virtual member method, which derived classes might override.
57 return static_cast<int>(obj->do_seek_vfunccxx . . $ Gst/BaseSrc#do_seek_vfunc(59cd4886809070e2).(cpp_segment));
58 }
59 catch(...)
60 {
61 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
62 }
63 }
64 }
65
66 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
67 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).
68 );
69
70 // Call the original underlying C function:
71 if(base && base->do_seekcxx . . $ _GstBaseSrcClass#do_seek.)
72 return (*base->do_seekcxx . . $ _GstBaseSrcClass#do_seek.)(self, segment);
73
74
75 typedef gboolean RTypecxx . . $ Gst/BaseSrc_Class#do_seek_vfunc_callback(ee2221a4a522d83d).RType#;
76 return RTypecxx . . $ Gst/BaseSrc_Class#do_seek_vfunc_callback(ee2221a4a522d83d).RType#();
77 }
78 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::do_seek_vfunccxx . . $ Gst/BaseSrc#do_seek_vfunc(59cd4886809070e2).(Gstcxx . . $ Gst/::Segmentcxx . . $ Gst/Segment#& segment)
79 {
80 BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
81 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).
82 );
83
84 if(base && base->do_seekcxx . . $ _GstBaseSrcClass#do_seek.)
85 return (*base->do_seekcxx . . $ _GstBaseSrcClass#do_seek.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),(segment).gobjcxx . . $ Gst/Segment#gobj(31bffb9beca72774).());
86
87 typedef bool RTypecxx . . $ Gst/BaseSrc#do_seek_vfunc(59cd4886809070e2).RType#;
88 return RTypecxx . . $ Gst/BaseSrc#do_seek_vfunc(59cd4886809070e2).RType#();
89 }
90 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::prepare_seek_segment_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#prepare_seek_segment_vfunc_callback(54ebe8e15fc00432).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstEvent* seek, GstSegment* segment)
91 {
92 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
93 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
94
95 // Non-gtkmmproc-generated custom classes implicitly call the default
96 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
97 // generated classes can use this optimisation, which avoids the unnecessary
98 // parameter conversions if there is no possibility of the virtual function
99 // being overridden:
100 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
101 {
102 CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
103 if(obj) // This can be NULL during destruction.
104 {
105 try // Trap C++ exceptions which would normally be lost because this is a C callback.
106 {
107 // Call the virtual member method, which derived classes might override.
108 Gstcxx . . $ Gst/::Segmentcxx . . $ Gst/Segment# cpp_segmentcxx . . $ Gst/Segment#Segment(fe81ed18ca985276).(segment, true);
109 return static_cast<int>(obj->prepare_seek_segment_vfunccxx . . $ Gst/BaseSrc#prepare_seek_segment_vfunc(7eefb845b1ed4a76).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(seek, true) , cpp_segment));
110 }
111 catch(...)
112 {
113 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
114 }
115 }
116 }
117
118 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
119 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).
120 );
121
122 // Call the original underlying C function:
123 if(base && base->prepare_seek_segmentcxx . . $ _GstBaseSrcClass#prepare_seek_segment.)
124 return (*base->prepare_seek_segmentcxx . . $ _GstBaseSrcClass#prepare_seek_segment.)(self, seek, segment);
125
126
127 typedef gboolean RTypecxx . . $ Gst/BaseSrc_Class#prepare_seek_segment_vfunc_callback(54ebe8e15fc00432).RType#;
128 return RTypecxx . . $ Gst/BaseSrc_Class#prepare_seek_segment_vfunc_callback(54ebe8e15fc00432).RType#();
129 }
130 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::prepare_seek_segment_vfunccxx . . $ Gst/BaseSrc#prepare_seek_segment_vfunc(7eefb845b1ed4a76).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& seek, Gstcxx . . $ Gst/::Segmentcxx . . $ Gst/Segment#& segment)
131 {
132 BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
133 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).
134 );
135
136 if(base && base->prepare_seek_segmentcxx . . $ _GstBaseSrcClass#prepare_seek_segment.)
137 return (*base->prepare_seek_segmentcxx . . $ _GstBaseSrcClass#prepare_seek_segment.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(seek),(segment).gobjcxx . . $ Gst/Segment#gobj(31bffb9beca72774).());
138
139 typedef bool RTypecxx . . $ Gst/BaseSrc#prepare_seek_segment_vfunc(7eefb845b1ed4a76).RType#;
140 return RTypecxx . . $ Gst/BaseSrc#prepare_seek_segment_vfunc(7eefb845b1ed4a76).RType#();
141 }
142 GstFlowReturn BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::create_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#create_vfunc_callback(a551be37d2024c13).(GstBaseSrccxx . . $ GstBaseSrc#* self, guint64 offset, guint size, GstBuffer** buf)
143 {
144 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
145 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
146
147 // Non-gtkmmproc-generated custom classes implicitly call the default
148 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
149 // generated classes can use this optimisation, which avoids the unnecessary
150 // parameter conversions if there is no possibility of the virtual function
151 // being overridden:
152 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
153 {
154 CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
155 if(obj) // This can be NULL during destruction.
156 {
157 try // Trap C++ exceptions which would normally be lost because this is a C callback.
158 {
159 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> cpp_buffercxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).;
160 // Call the virtual member method, which derived classes might override.
161 GstFlowReturn const result = static_cast<GstFlowReturn>(obj->create_vfunccxx . . $ Gst/BaseSrc#create_vfunc(3e8a842ebd68c874).(offset, size, cpp_buffer));
162 *buf = cpp_buffer ? cpp_buffer->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobj_copycxx . . $ Gst/Buffer#gobj_copy(59f4d47c2cb1ef1a).() : 0;
163 return result;
164 }
165 catch(...)
166 {
167 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
168 }
169 }
170 }
171
172 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
173 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).
174 );
175
176 // Call the original underlying C function:
177 if(base && base->createcxx . . $ _GstBaseSrcClass#create.)
178 return (*base->createcxx . . $ _GstBaseSrcClass#create.)(self, offset, size, buf);
179
180
181 typedef GstFlowReturn RTypecxx . . $ Gst/BaseSrc_Class#create_vfunc_callback(a551be37d2024c13).RType#;
182 return RTypecxx . . $ Gst/BaseSrc_Class#create_vfunc_callback(a551be37d2024c13).RType#();
183 }
184 FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::create_vfunccxx . . $ Gst/BaseSrc#create_vfunc(3e8a842ebd68c874).(guint64 offset, guint size, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer)
185 {
186 BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
187 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).
188 );
189
190 if(base && base->createcxx . . $ _GstBaseSrcClass#create.)
191 {
192 GstBuffer* gst_buffer = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!;
193 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# const result =
194 static_cast<FlowReturncxx . . $ Gst/FlowReturn#>((*base->createcxx . . $ _GstBaseSrcClass#create.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),offset, size,&gst_buffer));
195 buffer =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(gst_buffer, false); // Don't take copy because callback returns a newly created copy.
196 return result;
197 }
198
199 typedef FlowReturncxx . . $ Gst/FlowReturn# RTypecxx . . $ Gst/BaseSrc#create_vfunc(3e8a842ebd68c874).RType#;
200 return RTypecxx . . $ Gst/BaseSrc#create_vfunc(3e8a842ebd68c874).RType#();
201 }
202
203 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Allocatorcxx . . $ Gst/Allocator#> BaseSrccxx . . $ Gst/BaseSrc#::get_allocatorcxx . . $ Gst/BaseSrc#get_allocator(83c1a0bc496c7b91).(AllocationParamscxx . . $ Gst/AllocationParams#& params)
204 {
205 GstAllocatorcxx . . $ GstAllocator#* alloc;
206 gst_base_src_get_allocator(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), &alloc, params.gobjcxx . . $ Gst/AllocationParams#gobj(52bfd5f39dfd).());
207 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(c608c0ab6ce247e5).(alloc, false);
208 }
209
210 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::query_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#query_vfunc_callback(bd932b31d63a7989).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstQuery* query)
211 {
212 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
213 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
214
215 // Non-gtkmmproc-generated custom classes implicitly call the default
216 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
217 // generated classes can use this optimisation, which avoids the unnecessary
218 // parameter conversions if there is no possibility of the virtual function
219 // being overridden:
220 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
221 {
222 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
223 if(obj) // This can be NULL during destruction.
224 {
225 try // Trap C++ exceptions which would normally be lost because this is a C callback.
226 {
227 // Call the virtual member method, which derived classes might override.
228 auto query_cpp = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, false);
229 int ret = static_cast<int>(obj->base_src_query_vfunccxx . . $ Gst/BaseSrc#base_src_query_vfunc(363e9ac1e31c4481).(query_cpp));
230 IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basesrc.cc:33:9`!(query_cpp.release());
231 return ret;
232 }
233 catch(...)
234 {
235 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
236 }
237 }
238 }
239
240 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
241 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).
242 );
243
244 // Call the original underlying C function:
245 if(base && base->querycxx . . $ _GstBaseSrcClass#query.)
246 {
247 gboolean retval = (*base->querycxx . . $ _GstBaseSrcClass#query.)(self, query);
248 return retval;
249 }
250
251 typedef gboolean RTypecxx . . $ Gst/BaseSrc_Class#query_vfunc_callback(bd932b31d63a7989).RType#;
252 return RTypecxx . . $ Gst/BaseSrc_Class#query_vfunc_callback(bd932b31d63a7989).RType#();
253 }
254
255 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::base_src_query_vfunccxx . . $ Gst/BaseSrc#base_src_query_vfunc(363e9ac1e31c4481).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query)
256 {
257 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
258 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).
259 );
260
261 if(base && base->querycxx . . $ _GstBaseSrcClass#query.)
262 {
263 bool retval((*base->querycxx . . $ _GstBaseSrcClass#query.)(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).()),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query)));
264 return retval;
265 }
266
267 typedef bool RTypecxx . . $ Gst/BaseSrc#base_src_query_vfunc(363e9ac1e31c4481).RType#;
268 return RTypecxx . . $ Gst/BaseSrc#base_src_query_vfunc(363e9ac1e31c4481).RType#();
269 }
270
271 GstFlowReturn BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::alloc_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#alloc_vfunc_callback(a551be37d2024c13).(GstBaseSrccxx . . $ GstBaseSrc#* self, guint64 offset, guint size, GstBuffer** buf)
272 {
273 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
274 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
275
276 // Non-gtkmmproc-generated custom classes implicitly call the default
277 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
278 // generated classes can use this optimisation, which avoids the unnecessary
279 // parameter conversions if there is no possibility of the virtual function
280 // being overridden:
281 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
282 {
283 CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
284 if(obj) // This can be NULL during destruction.
285 {
286 try // Trap C++ exceptions which would normally be lost because this is a C callback.
287 {
288 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> cpp_buffercxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).;
289 // Call the virtual member method, which derived classes might override.
290 GstFlowReturn const result = static_cast<GstFlowReturn>(obj->alloc_vfunccxx . . $ Gst/BaseSrc#alloc_vfunc(3e8a842ebd68c874).(offset, size, cpp_buffer));
291 *buf = cpp_buffer ? cpp_buffer->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobj_copycxx . . $ Gst/Buffer#gobj_copy(59f4d47c2cb1ef1a).() : 0;
292 return result;
293 }
294 catch(...)
295 {
296 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
297 }
298 }
299 }
300
301 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
302 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).
303 );
304
305 // Call the original underlying C function:
306 if(base && base->alloccxx . . $ _GstBaseSrcClass#alloc.)
307 return (*base->alloccxx . . $ _GstBaseSrcClass#alloc.)(self, offset, size, buf);
308
309
310 typedef GstFlowReturn RTypecxx . . $ Gst/BaseSrc_Class#alloc_vfunc_callback(a551be37d2024c13).RType#;
311 return RTypecxx . . $ Gst/BaseSrc_Class#alloc_vfunc_callback(a551be37d2024c13).RType#();
312 }
313 FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::alloc_vfunccxx . . $ Gst/BaseSrc#alloc_vfunc(3e8a842ebd68c874).(guint64 offset, guint size, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer)
314 {
315 BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
316 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).
317 );
318
319 if(base && base->alloccxx . . $ _GstBaseSrcClass#alloc.)
320 {
321 GstBuffer* gst_buffer = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!;
322 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# const result =
323 static_cast<FlowReturncxx . . $ Gst/FlowReturn#>((*base->alloccxx . . $ _GstBaseSrcClass#alloc.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),offset, size,&gst_buffer));
324 buffer =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(gst_buffer, false); // Don't take copy because callback returns a newly created copy.
325 return result;
326 }
327
328 typedef FlowReturncxx . . $ Gst/FlowReturn# RTypecxx . . $ Gst/BaseSrc#alloc_vfunc(3e8a842ebd68c874).RType#;
329 return RTypecxx . . $ Gst/BaseSrc#alloc_vfunc(3e8a842ebd68c874).RType#();
330 }
331
332
333 } // namespace Gst
334
335 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/basesrc.cc`/
336 {
337 } // anonymous namespace
338
339
340 namespace Glibcxx . . $ Glib/
341 {
342
343 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#> wrapcxx . . $ Glib/wrap(f9eb66dd7dc65d41).(GstBaseSrccxx . . $ GstBaseSrc#* object, bool take_copy)
344 {
345 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#>( dynamic_cast<Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
346 //We use dynamic_cast<> in case of multiple inheritance.
347 }
348
349 } /* namespace Glib */
350
351
352 namespace Gstcxx . . $ Gst/
353 {
354
355
356 /* The *_Class implementation: */
357
358 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::initcxx . . $ Gst/BaseSrc_Class#init(bf348c0cd369184d).()
359 {
360 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
361 {
362 // Glib::Class has to know the class init function to clone custom types.
363 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::class_init_functioncxx . . $ Gst/BaseSrc_Class#class_init_function(6c58c5e2437d25a2).;
364
365 // This is actually just optimized away, apparently with no harm.
366 // Make sure that the parent type has been created.
367 //CppClassParent::CppObjectType::get_type();
368
369 // Create the wrapper type, with the same class/instance size as the base type.
370 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_base_src_get_type());
371
372 // Add derived versions of interfaces, if the C type implements any interfaces:
373
374 }
375
376 return *this;
377 }
378
379
380 void BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::class_init_functioncxx . . $ Gst/BaseSrc_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
381 {
382 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(g_class);
383 CppClassParentcxx . . $ Gst/BaseSrc_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Element_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
384
385 klass->get_capscxx . . $ _GstBaseSrcClass#get_caps. = &get_caps_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#get_caps_vfunc_callback(a5fb83ea453ba4eb).;
386 klass->set_capscxx . . $ _GstBaseSrcClass#set_caps. = &set_caps_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#set_caps_vfunc_callback(841dbd0496d0f126).;
387 klass->negotiatecxx . . $ _GstBaseSrcClass#negotiate. = &negotiate_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#negotiate_vfunc_callback(f75662342e6a7eb3).;
388 klass->stopcxx . . $ _GstBaseSrcClass#stop. = &stop_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#stop_vfunc_callback(f75662342e6a7eb3).;
389 klass->startcxx . . $ _GstBaseSrcClass#start. = &start_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#start_vfunc_callback(f75662342e6a7eb3).;
390 klass->get_timescxx . . $ _GstBaseSrcClass#get_times. = &get_times_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#get_times_vfunc_callback(cb70d2645e73b5c0).;
391 klass->get_sizecxx . . $ _GstBaseSrcClass#get_size. = &get_size_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#get_size_vfunc_callback(3900d9367404dfe0).;
392 klass->is_seekablecxx . . $ _GstBaseSrcClass#is_seekable. = &is_seekable_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#is_seekable_vfunc_callback(f75662342e6a7eb3).;
393 klass->unlockcxx . . $ _GstBaseSrcClass#unlock. = &unlock_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#unlock_vfunc_callback(f75662342e6a7eb3).;
394 klass->eventcxx . . $ _GstBaseSrcClass#event. = &event_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#event_vfunc_callback(19f6910c35fd51da).;
395 klass->fixatecxx . . $ _GstBaseSrcClass#fixate. = &fixate_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#fixate_vfunc_callback(a5fb83ea453ba4eb).;
396 klass->unlock_stopcxx . . $ _GstBaseSrcClass#unlock_stop. = &unlock_stop_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#unlock_stop_vfunc_callback(f75662342e6a7eb3).;
397 klass->decide_allocationcxx . . $ _GstBaseSrcClass#decide_allocation. = &decide_allocation_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#decide_allocation_vfunc_callback(bd932b31d63a7989).;
398 klass->fillcxx . . $ _GstBaseSrcClass#fill. = &fill_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#fill_vfunc_callback(3369a56bc031405b).;
399 klass->do_seekcxx . . $ _GstBaseSrcClass#do_seek. = &do_seek_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#do_seek_vfunc_callback(ee2221a4a522d83d).;
400 klass->prepare_seek_segmentcxx . . $ _GstBaseSrcClass#prepare_seek_segment. = &prepare_seek_segment_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#prepare_seek_segment_vfunc_callback(54ebe8e15fc00432).;
401 klass->createcxx . . $ _GstBaseSrcClass#create. = &create_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#create_vfunc_callback(a551be37d2024c13).;
402 klass->querycxx . . $ _GstBaseSrcClass#query. = &query_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#query_vfunc_callback(bd932b31d63a7989).;
403 klass->alloccxx . . $ _GstBaseSrcClass#alloc. = &alloc_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#alloc_vfunc_callback(a551be37d2024c13).;
404
405 }
406
407 GstCaps* BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::get_caps_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#get_caps_vfunc_callback(a5fb83ea453ba4eb).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstCaps* filter)
408 {
409 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
410 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
411
412 // Non-gtkmmproc-generated custom classes implicitly call the default
413 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
414 // generated classes can use this optimisation, which avoids the unnecessary
415 // parameter conversions if there is no possibility of the virtual function
416 // being overridden:
417 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
418 {
419 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
420 if(obj) // This can be NULL during destruction.
421 {
422 try // Trap C++ exceptions which would normally be lost because this is a C callback.
423 {
424 // Call the virtual member method, which derived classes might override.
425 return Glibcxx . . $ Glib/::unwrap_copycxx . . $ Glib/unwrap_copy(d8611424b789c87e).(obj->get_caps_vfunccxx . . $ Gst/BaseSrc#get_caps_vfunc(74dce9e80895d45c).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(filter, true)
426 ));
427 }
428 catch(...)
429 {
430 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
431 }
432 }
433 }
434
435 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
436 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).
437 );
438
439 // Call the original underlying C function:
440 if(base && base->get_capscxx . . $ _GstBaseSrcClass#get_caps.)
441 return (*base->get_capscxx . . $ _GstBaseSrcClass#get_caps.)(self, filter);
442
443 using RTypecxx . . $ Gst/BaseSrc_Class#get_caps_vfunc_callback(a5fb83ea453ba4eb).RType# = GstCaps*;
444 return RTypecxx . . $ Gst/BaseSrc_Class#get_caps_vfunc_callback(a5fb83ea453ba4eb).RType#();
445 }
446 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::set_caps_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#set_caps_vfunc_callback(841dbd0496d0f126).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstCaps* caps)
447 {
448 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
449 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
450
451 // Non-gtkmmproc-generated custom classes implicitly call the default
452 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
453 // generated classes can use this optimisation, which avoids the unnecessary
454 // parameter conversions if there is no possibility of the virtual function
455 // being overridden:
456 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
457 {
458 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
459 if(obj) // This can be NULL during destruction.
460 {
461 try // Trap C++ exceptions which would normally be lost because this is a C callback.
462 {
463 // Call the virtual member method, which derived classes might override.
464 return static_cast<int>(obj->set_caps_vfunccxx . . $ Gst/BaseSrc#set_caps_vfunc(d71e2c92ee80648b).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true)
465 ));
466 }
467 catch(...)
468 {
469 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
470 }
471 }
472 }
473
474 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
475 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).
476 );
477
478 // Call the original underlying C function:
479 if(base && base->set_capscxx . . $ _GstBaseSrcClass#set_caps.)
480 return (*base->set_capscxx . . $ _GstBaseSrcClass#set_caps.)(self, caps);
481
482 using RTypecxx . . $ Gst/BaseSrc_Class#set_caps_vfunc_callback(841dbd0496d0f126).RType# = gboolean;
483 return RTypecxx . . $ Gst/BaseSrc_Class#set_caps_vfunc_callback(841dbd0496d0f126).RType#();
484 }
485 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::negotiate_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#negotiate_vfunc_callback(f75662342e6a7eb3).(GstBaseSrccxx . . $ GstBaseSrc#* self)
486 {
487 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
488 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
489
490 // Non-gtkmmproc-generated custom classes implicitly call the default
491 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
492 // generated classes can use this optimisation, which avoids the unnecessary
493 // parameter conversions if there is no possibility of the virtual function
494 // being overridden:
495 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
496 {
497 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
498 if(obj) // This can be NULL during destruction.
499 {
500 try // Trap C++ exceptions which would normally be lost because this is a C callback.
501 {
502 // Call the virtual member method, which derived classes might override.
503 return static_cast<int>(obj->negotiate_vfunccxx . . $ Gst/BaseSrc#negotiate_vfunc(c9857a73d68e59ba).());
504 }
505 catch(...)
506 {
507 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
508 }
509 }
510 }
511
512 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
513 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).
514 );
515
516 // Call the original underlying C function:
517 if(base && base->negotiatecxx . . $ _GstBaseSrcClass#negotiate.)
518 return (*base->negotiatecxx . . $ _GstBaseSrcClass#negotiate.)(self);
519
520 using RTypecxx . . $ Gst/BaseSrc_Class#negotiate_vfunc_callback(f75662342e6a7eb3).RType# = gboolean;
521 return RTypecxx . . $ Gst/BaseSrc_Class#negotiate_vfunc_callback(f75662342e6a7eb3).RType#();
522 }
523 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::stop_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#stop_vfunc_callback(f75662342e6a7eb3).(GstBaseSrccxx . . $ GstBaseSrc#* self)
524 {
525 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
526 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
527
528 // Non-gtkmmproc-generated custom classes implicitly call the default
529 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
530 // generated classes can use this optimisation, which avoids the unnecessary
531 // parameter conversions if there is no possibility of the virtual function
532 // being overridden:
533 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
534 {
535 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
536 if(obj) // This can be NULL during destruction.
537 {
538 try // Trap C++ exceptions which would normally be lost because this is a C callback.
539 {
540 // Call the virtual member method, which derived classes might override.
541 return static_cast<int>(obj->stop_vfunccxx . . $ Gst/BaseSrc#stop_vfunc(c9857a73d68e59ba).());
542 }
543 catch(...)
544 {
545 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
546 }
547 }
548 }
549
550 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
551 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).
552 );
553
554 // Call the original underlying C function:
555 if(base && base->stopcxx . . $ _GstBaseSrcClass#stop.)
556 return (*base->stopcxx . . $ _GstBaseSrcClass#stop.)(self);
557
558 return static_cast<int>(true);
559 }
560 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::start_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#start_vfunc_callback(f75662342e6a7eb3).(GstBaseSrccxx . . $ GstBaseSrc#* self)
561 {
562 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
563 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
564
565 // Non-gtkmmproc-generated custom classes implicitly call the default
566 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
567 // generated classes can use this optimisation, which avoids the unnecessary
568 // parameter conversions if there is no possibility of the virtual function
569 // being overridden:
570 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
571 {
572 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
573 if(obj) // This can be NULL during destruction.
574 {
575 try // Trap C++ exceptions which would normally be lost because this is a C callback.
576 {
577 // Call the virtual member method, which derived classes might override.
578 return static_cast<int>(obj->start_vfunccxx . . $ Gst/BaseSrc#start_vfunc(c9857a73d68e59ba).());
579 }
580 catch(...)
581 {
582 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
583 }
584 }
585 }
586
587 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
588 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).
589 );
590
591 // Call the original underlying C function:
592 if(base && base->startcxx . . $ _GstBaseSrcClass#start.)
593 return (*base->startcxx . . $ _GstBaseSrcClass#start.)(self);
594
595 return static_cast<int>(true);
596 }
597 void BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::get_times_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#get_times_vfunc_callback(cb70d2645e73b5c0).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstBuffer* buffer, GstClockTime* start, GstClockTime* end)
598 {
599 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
600 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
601
602 // Non-gtkmmproc-generated custom classes implicitly call the default
603 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
604 // generated classes can use this optimisation, which avoids the unnecessary
605 // parameter conversions if there is no possibility of the virtual function
606 // being overridden:
607 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
608 {
609 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
610 if(obj) // This can be NULL during destruction.
611 {
612 try // Trap C++ exceptions which would normally be lost because this is a C callback.
613 {
614 // Call the virtual member method, which derived classes might override.
615 obj->get_times_vfunccxx . . $ Gst/BaseSrc#get_times_vfunc(c439da376c492fdc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buffer, true)
616 , *(start)
617 , *(end)
618 );
619 return;
620 }
621 catch(...)
622 {
623 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
624 }
625 }
626 }
627
628 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
629 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).
630 );
631
632 // Call the original underlying C function:
633 if(base && base->get_timescxx . . $ _GstBaseSrcClass#get_times.)
634 (*base->get_timescxx . . $ _GstBaseSrcClass#get_times.)(self, buffer, start, end);
635 }
636 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::get_size_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#get_size_vfunc_callback(3900d9367404dfe0).(GstBaseSrccxx . . $ GstBaseSrc#* self, guint64* size)
637 {
638 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
639 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
640
641 // Non-gtkmmproc-generated custom classes implicitly call the default
642 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
643 // generated classes can use this optimisation, which avoids the unnecessary
644 // parameter conversions if there is no possibility of the virtual function
645 // being overridden:
646 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
647 {
648 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
649 if(obj) // This can be NULL during destruction.
650 {
651 try // Trap C++ exceptions which would normally be lost because this is a C callback.
652 {
653 // Call the virtual member method, which derived classes might override.
654 return static_cast<int>(obj->get_size_vfunccxx . . $ Gst/BaseSrc#get_size_vfunc(e336676645bf3277).(*(size)
655 ));
656 }
657 catch(...)
658 {
659 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
660 }
661 }
662 }
663
664 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
665 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).
666 );
667
668 // Call the original underlying C function:
669 if(base && base->get_sizecxx . . $ _GstBaseSrcClass#get_size.)
670 return (*base->get_sizecxx . . $ _GstBaseSrcClass#get_size.)(self, size);
671
672 using RTypecxx . . $ Gst/BaseSrc_Class#get_size_vfunc_callback(3900d9367404dfe0).RType# = gboolean;
673 return RTypecxx . . $ Gst/BaseSrc_Class#get_size_vfunc_callback(3900d9367404dfe0).RType#();
674 }
675 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::is_seekable_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#is_seekable_vfunc_callback(f75662342e6a7eb3).(GstBaseSrccxx . . $ GstBaseSrc#* self)
676 {
677 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
678 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
679
680 // Non-gtkmmproc-generated custom classes implicitly call the default
681 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
682 // generated classes can use this optimisation, which avoids the unnecessary
683 // parameter conversions if there is no possibility of the virtual function
684 // being overridden:
685 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
686 {
687 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
688 if(obj) // This can be NULL during destruction.
689 {
690 try // Trap C++ exceptions which would normally be lost because this is a C callback.
691 {
692 // Call the virtual member method, which derived classes might override.
693 return static_cast<int>(obj->is_seekable_vfunccxx . . $ Gst/BaseSrc#is_seekable_vfunc(50ce9a9e25b4a850).());
694 }
695 catch(...)
696 {
697 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
698 }
699 }
700 }
701
702 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
703 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).
704 );
705
706 // Call the original underlying C function:
707 if(base && base->is_seekablecxx . . $ _GstBaseSrcClass#is_seekable.)
708 return (*base->is_seekablecxx . . $ _GstBaseSrcClass#is_seekable.)(self);
709
710 using RTypecxx . . $ Gst/BaseSrc_Class#is_seekable_vfunc_callback(f75662342e6a7eb3).RType# = gboolean;
711 return RTypecxx . . $ Gst/BaseSrc_Class#is_seekable_vfunc_callback(f75662342e6a7eb3).RType#();
712 }
713 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::unlock_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#unlock_vfunc_callback(f75662342e6a7eb3).(GstBaseSrccxx . . $ GstBaseSrc#* self)
714 {
715 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
716 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
717
718 // Non-gtkmmproc-generated custom classes implicitly call the default
719 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
720 // generated classes can use this optimisation, which avoids the unnecessary
721 // parameter conversions if there is no possibility of the virtual function
722 // being overridden:
723 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
724 {
725 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
726 if(obj) // This can be NULL during destruction.
727 {
728 try // Trap C++ exceptions which would normally be lost because this is a C callback.
729 {
730 // Call the virtual member method, which derived classes might override.
731 return static_cast<int>(obj->unlock_vfunccxx . . $ Gst/BaseSrc#unlock_vfunc(c9857a73d68e59ba).());
732 }
733 catch(...)
734 {
735 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
736 }
737 }
738 }
739
740 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
741 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).
742 );
743
744 // Call the original underlying C function:
745 if(base && base->unlockcxx . . $ _GstBaseSrcClass#unlock.)
746 return (*base->unlockcxx . . $ _GstBaseSrcClass#unlock.)(self);
747
748 using RTypecxx . . $ Gst/BaseSrc_Class#unlock_vfunc_callback(f75662342e6a7eb3).RType# = gboolean;
749 return RTypecxx . . $ Gst/BaseSrc_Class#unlock_vfunc_callback(f75662342e6a7eb3).RType#();
750 }
751 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::event_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#event_vfunc_callback(19f6910c35fd51da).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstEvent* event)
752 {
753 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
754 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
755
756 // Non-gtkmmproc-generated custom classes implicitly call the default
757 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
758 // generated classes can use this optimisation, which avoids the unnecessary
759 // parameter conversions if there is no possibility of the virtual function
760 // being overridden:
761 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
762 {
763 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
764 if(obj) // This can be NULL during destruction.
765 {
766 try // Trap C++ exceptions which would normally be lost because this is a C callback.
767 {
768 // Call the virtual member method, which derived classes might override.
769 return static_cast<int>(obj->event_vfunccxx . . $ Gst/BaseSrc#event_vfunc(2055ffde69ae5030).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(event, true)
770 ));
771 }
772 catch(...)
773 {
774 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
775 }
776 }
777 }
778
779 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
780 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).
781 );
782
783 // Call the original underlying C function:
784 if(base && base->eventcxx . . $ _GstBaseSrcClass#event.)
785 return (*base->eventcxx . . $ _GstBaseSrcClass#event.)(self, event);
786
787 using RTypecxx . . $ Gst/BaseSrc_Class#event_vfunc_callback(19f6910c35fd51da).RType# = gboolean;
788 return RTypecxx . . $ Gst/BaseSrc_Class#event_vfunc_callback(19f6910c35fd51da).RType#();
789 }
790 GstCaps* BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::fixate_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#fixate_vfunc_callback(a5fb83ea453ba4eb).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstCaps* caps)
791 {
792 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
793 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
794
795 // Non-gtkmmproc-generated custom classes implicitly call the default
796 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
797 // generated classes can use this optimisation, which avoids the unnecessary
798 // parameter conversions if there is no possibility of the virtual function
799 // being overridden:
800 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
801 {
802 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
803 if(obj) // This can be NULL during destruction.
804 {
805 try // Trap C++ exceptions which would normally be lost because this is a C callback.
806 {
807 // Call the virtual member method, which derived classes might override.
808 return Glibcxx . . $ Glib/::unwrap_copycxx . . $ Glib/unwrap_copy(d8611424b789c87e).(obj->fixate_vfunccxx . . $ Gst/BaseSrc#fixate_vfunc(cac43ebfde7bbd09).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true)
809 ));
810 }
811 catch(...)
812 {
813 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
814 }
815 }
816 }
817
818 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
819 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).
820 );
821
822 // Call the original underlying C function:
823 if(base && base->fixatecxx . . $ _GstBaseSrcClass#fixate.)
824 return (*base->fixatecxx . . $ _GstBaseSrcClass#fixate.)(self, caps);
825
826 using RTypecxx . . $ Gst/BaseSrc_Class#fixate_vfunc_callback(a5fb83ea453ba4eb).RType# = GstCaps*;
827 return RTypecxx . . $ Gst/BaseSrc_Class#fixate_vfunc_callback(a5fb83ea453ba4eb).RType#();
828 }
829 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::unlock_stop_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#unlock_stop_vfunc_callback(f75662342e6a7eb3).(GstBaseSrccxx . . $ GstBaseSrc#* self)
830 {
831 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
832 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
833
834 // Non-gtkmmproc-generated custom classes implicitly call the default
835 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
836 // generated classes can use this optimisation, which avoids the unnecessary
837 // parameter conversions if there is no possibility of the virtual function
838 // being overridden:
839 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
840 {
841 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
842 if(obj) // This can be NULL during destruction.
843 {
844 try // Trap C++ exceptions which would normally be lost because this is a C callback.
845 {
846 // Call the virtual member method, which derived classes might override.
847 return static_cast<int>(obj->unlock_stop_vfunccxx . . $ Gst/BaseSrc#unlock_stop_vfunc(c9857a73d68e59ba).());
848 }
849 catch(...)
850 {
851 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
852 }
853 }
854 }
855
856 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
857 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).
858 );
859
860 // Call the original underlying C function:
861 if(base && base->unlock_stopcxx . . $ _GstBaseSrcClass#unlock_stop.)
862 return (*base->unlock_stopcxx . . $ _GstBaseSrcClass#unlock_stop.)(self);
863
864 using RTypecxx . . $ Gst/BaseSrc_Class#unlock_stop_vfunc_callback(f75662342e6a7eb3).RType# = gboolean;
865 return RTypecxx . . $ Gst/BaseSrc_Class#unlock_stop_vfunc_callback(f75662342e6a7eb3).RType#();
866 }
867 gboolean BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::decide_allocation_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#decide_allocation_vfunc_callback(bd932b31d63a7989).(GstBaseSrccxx . . $ GstBaseSrc#* self, GstQuery* query)
868 {
869 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
870 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
871
872 // Non-gtkmmproc-generated custom classes implicitly call the default
873 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
874 // generated classes can use this optimisation, which avoids the unnecessary
875 // parameter conversions if there is no possibility of the virtual function
876 // being overridden:
877 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
878 {
879 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
880 if(obj) // This can be NULL during destruction.
881 {
882 try // Trap C++ exceptions which would normally be lost because this is a C callback.
883 {
884 // Call the virtual member method, which derived classes might override.
885 return static_cast<int>(obj->decide_allocation_vfunccxx . . $ Gst/BaseSrc#decide_allocation_vfunc(363e9ac1e31c4481).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, true)
886 ));
887 }
888 catch(...)
889 {
890 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
891 }
892 }
893 }
894
895 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
896 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).
897 );
898
899 // Call the original underlying C function:
900 if(base && base->decide_allocationcxx . . $ _GstBaseSrcClass#decide_allocation.)
901 return (*base->decide_allocationcxx . . $ _GstBaseSrcClass#decide_allocation.)(self, query);
902
903 using RTypecxx . . $ Gst/BaseSrc_Class#decide_allocation_vfunc_callback(bd932b31d63a7989).RType# = gboolean;
904 return RTypecxx . . $ Gst/BaseSrc_Class#decide_allocation_vfunc_callback(bd932b31d63a7989).RType#();
905 }
906 GstFlowReturn BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::fill_vfunc_callbackcxx . . $ Gst/BaseSrc_Class#fill_vfunc_callback(3369a56bc031405b).(GstBaseSrccxx . . $ GstBaseSrc#* self, guint64 offset, guint size, GstBuffer* buf)
907 {
908 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
909 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
910
911 // Non-gtkmmproc-generated custom classes implicitly call the default
912 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
913 // generated classes can use this optimisation, which avoids the unnecessary
914 // parameter conversions if there is no possibility of the virtual function
915 // being overridden:
916 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
917 {
918 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseSrc_Class#CppObjectType#* const>(obj_base);
919 if(obj) // This can be NULL during destruction.
920 {
921 try // Trap C++ exceptions which would normally be lost because this is a C callback.
922 {
923 // Call the virtual member method, which derived classes might override.
924 return ((GstFlowReturn)(obj->fill_vfunccxx . . $ Gst/BaseSrc#fill_vfunc(462a3b94bd07269b).(offset, size, Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buf, true)
925 )));
926 }
927 catch(...)
928 {
929 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
930 }
931 }
932 }
933
934 BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc_Class#BaseClassType#*>(
935 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).
936 );
937
938 // Call the original underlying C function:
939 if(base && base->fillcxx . . $ _GstBaseSrcClass#fill.)
940 return (*base->fillcxx . . $ _GstBaseSrcClass#fill.)(self, offset, size, buf);
941
942 using RTypecxx . . $ Gst/BaseSrc_Class#fill_vfunc_callback(3369a56bc031405b).RType# = GstFlowReturn;
943 return RTypecxx . . $ Gst/BaseSrc_Class#fill_vfunc_callback(3369a56bc031405b).RType#();
944 }
945
946
947 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* BaseSrc_Classcxx . . $ Gst/BaseSrc_Class#::wrap_newcxx . . $ Gst/BaseSrc_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
948 {
949 return new BaseSrccxx . . $ Gst/BaseSrc#((GstBaseSrccxx . . $ GstBaseSrc#*)object);
950 }
951
952
953 /* The implementation: */
954
955 GstBaseSrccxx . . $ GstBaseSrc#* BaseSrccxx . . $ Gst/BaseSrc#::gobj_copycxx . . $ Gst/BaseSrc#gobj_copy(a2960c3f28421427).()
956 {
957 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
958 return gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).();
959 }
960
961 BaseSrccxx . . $ Gst/BaseSrc#::BaseSrccxx . . $ Gst/BaseSrc#BaseSrc(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
962 :
963 Elementcxx . . $ Gst/Element#Element(237165b4a42a691a).(construct_params)
964 {
965
966 }
967
968 BaseSrccxx . . $ Gst/BaseSrc#::BaseSrccxx . . $ Gst/BaseSrc#BaseSrc(ce7ed1b6913c9f3c).(GstBaseSrccxx . . $ GstBaseSrc#* castitem)
969 :
970 Elementcxx . . $ Gst/Element#Element(175aa13ace29d0d5).((GstElementcxx . . $ GstElement#*)(castitem))
971 {}
972
973
974 BaseSrccxx . . $ Gst/BaseSrc#::BaseSrccxx . . $ Gst/BaseSrc#BaseSrc(c1f48854013c1c36).(BaseSrccxx . . $ Gst/BaseSrc#&& src) noexcept
975 : Elementcxx . . $ Gst/Element#Element(9bd74731f3b9d759).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
976 {}
977
978 BaseSrccxx . . $ Gst/BaseSrc#& BaseSrccxx . . $ Gst/BaseSrc#::operatorcxx . . $ Gst/BaseSrc#`operator=`(c32245d37b3b8e16).=(BaseSrccxx . . $ Gst/BaseSrc#&& src) noexcept
979 {
980 Elementcxx . . $ Gst/Element#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
981 return *this;
982 }
983
984
985 BaseSrccxx . . $ Gst/BaseSrc#::~cxx . . $ Gst/BaseSrc#`~BaseSrc`(ced63f7c635d850d).BaseSrccxx . . $ Gst/BaseSrc#() noexcept
986 {}
987
988
989 BaseSrccxx . . $ Gst/BaseSrc#::CppClassTypecxx . . $ Gst/BaseSrc#CppClassType# BaseSrccxx . . $ Gst/BaseSrc#::basesrc_class_cxx . . $ Gst/BaseSrc#basesrc_class_.; // initialize static member
990
991 GType BaseSrccxx . . $ Gst/BaseSrc#::get_typecxx . . $ Gst/BaseSrc#get_type(f708dce9a8856c70).()
992 {
993 return basesrc_class_cxx . . $ Gst/BaseSrc#basesrc_class_..initcxx . . $ Gst/BaseSrc_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
994 }
995
996
997 GType BaseSrccxx . . $ Gst/BaseSrc#::get_base_typecxx . . $ Gst/BaseSrc#get_base_type(f708dce9a8856c70).()
998 {
999 return gst_base_src_get_type();
1000 }
1001
1002
1003 FlowReturncxx . . $ Gst/FlowReturn# BaseSrccxx . . $ Gst/BaseSrc#::wait_playingcxx . . $ Gst/BaseSrc#wait_playing(3a0c81c66b380fca).()
1004 {
1005 return ((FlowReturncxx . . $ Gst/FlowReturn#)(gst_base_src_wait_playing(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).())));
1006 }
1007
1008 bool BaseSrccxx . . $ Gst/BaseSrc#::is_livecxx . . $ Gst/BaseSrc#is_live(50ce9a9e25b4a850).() const
1009 {
1010 return gst_base_src_is_live(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).()));
1011 }
1012
1013 void BaseSrccxx . . $ Gst/BaseSrc#::set_livecxx . . $ Gst/BaseSrc#set_live(b45ddcbc8423892c).(bool live)
1014 {
1015 gst_base_src_set_live(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), static_cast<int>(live));
1016 }
1017
1018 void BaseSrccxx . . $ Gst/BaseSrc#::set_formatcxx . . $ Gst/BaseSrc#set_format(a5d60b7254be6bff).(Formatcxx . . $ Gst/Format# format)
1019 {
1020 gst_base_src_set_format(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), ((GstFormat)(format)));
1021 }
1022
1023 bool BaseSrccxx . . $ Gst/BaseSrc#::query_latencycxx . . $ Gst/BaseSrc#query_latency(cd391a3f64034206).(bool& live, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#& min_latency, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#& max_latency) const
1024 {
1025 return gst_base_src_query_latency(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).()), ((gboolean*) &(live)), (GstClockTime*)(&min_latency), (GstClockTime*)(&max_latency));
1026 }
1027
1028 guint BaseSrccxx . . $ Gst/BaseSrc#::get_blocksizecxx . . $ Gst/BaseSrc#get_blocksize(ddd8539a2fcdd4ce).() const
1029 {
1030 return gst_base_src_get_blocksize(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).()));
1031 }
1032
1033 void BaseSrccxx . . $ Gst/BaseSrc#::set_blocksizecxx . . $ Gst/BaseSrc#set_blocksize(cb2f890c2fdad230).(guint blocksize)
1034 {
1035 gst_base_src_set_blocksize(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), blocksize);
1036 }
1037
1038 bool BaseSrccxx . . $ Gst/BaseSrc#::get_do_timestampcxx . . $ Gst/BaseSrc#get_do_timestamp(50ce9a9e25b4a850).() const
1039 {
1040 return gst_base_src_get_do_timestamp(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).()));
1041 }
1042
1043 void BaseSrccxx . . $ Gst/BaseSrc#::set_do_timestampcxx . . $ Gst/BaseSrc#set_do_timestamp(b45ddcbc8423892c).(bool timestamp)
1044 {
1045 gst_base_src_set_do_timestamp(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), static_cast<int>(timestamp));
1046 }
1047
1048 bool BaseSrccxx . . $ Gst/BaseSrc#::new_seamless_segmentcxx . . $ Gst/BaseSrc#new_seamless_segment(b82a3ef6165a407e).(gint64 start, gint64 stop, gint64 position)
1049 {
1050 return gst_base_src_new_seamless_segment(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), start, stop, position);
1051 }
1052
1053 bool BaseSrccxx . . $ Gst/BaseSrc#::set_capscxx . . $ Gst/BaseSrc#set_caps(d71e2c92ee80648b).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps)
1054 {
1055 return gst_base_src_set_caps(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps));
1056 }
1057
1058 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# BaseSrccxx . . $ Gst/BaseSrc#::start_waitcxx . . $ Gst/BaseSrc#start_wait(3a0c81c66b380fca).()
1059 {
1060 return ((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)(gst_base_src_start_wait(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).())));
1061 }
1062
1063 void BaseSrccxx . . $ Gst/BaseSrc#::set_dynamic_sizecxx . . $ Gst/BaseSrc#set_dynamic_size(b45ddcbc8423892c).(bool dynamic_size)
1064 {
1065 gst_base_src_set_dynamic_size(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), static_cast<int>(dynamic_size));
1066 }
1067
1068 void BaseSrccxx . . $ Gst/BaseSrc#::set_asynccxx . . $ Gst/BaseSrc#set_async(b45ddcbc8423892c).(bool async)
1069 {
1070 gst_base_src_set_async(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), static_cast<int>(async));
1071 }
1072
1073 bool BaseSrccxx . . $ Gst/BaseSrc#::is_asynccxx . . $ Gst/BaseSrc#is_async(50ce9a9e25b4a850).() const
1074 {
1075 return gst_base_src_is_async(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).()));
1076 }
1077
1078 void BaseSrccxx . . $ Gst/BaseSrc#::start_completecxx . . $ Gst/BaseSrc#start_complete(85af068bdbdb1ab7).(Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# ret)
1079 {
1080 gst_base_src_start_complete(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), ((GstFlowReturn)(ret)));
1081 }
1082
1083 void BaseSrccxx . . $ Gst/BaseSrc#::set_automatic_eoscxx . . $ Gst/BaseSrc#set_automatic_eos(b45ddcbc8423892c).(bool automatic_eos)
1084 {
1085 gst_base_src_set_automatic_eos(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(), static_cast<int>(automatic_eos));
1086 }
1087
1088 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> BaseSrccxx . . $ Gst/BaseSrc#::get_src_padcxx . . $ Gst/BaseSrc#get_src_pad(933c6ba9162839d3).()
1089 {
1090 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> ref_ptr(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).()->srcpadcxx . . $ _GstBaseSrc#srcpad.));
1091
1092 if(ref_ptr)
1093 ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
1094
1095 return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1096 }
1097
1098 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> BaseSrccxx . . $ Gst/BaseSrc#::get_src_padcxx . . $ Gst/BaseSrc#get_src_pad(dca65d54e9e25cdd).() const
1099 {
1100 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/BaseSrc#gobj(934e8f75948f1d81).()->srcpadcxx . . $ _GstBaseSrc#srcpad.));
1101
1102 if(ref_ptr)
1103 ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
1104
1105 return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1106 }
1107
1108
1109 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< gulong > BaseSrccxx . . $ Gst/BaseSrc#::property_blocksizecxx . . $ Gst/BaseSrc#property_blocksize(d486e8c449033ce8).()
1110 {
1111 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< gulong >(this, "blocksize");
1112 }
1113
1114 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< gulong > BaseSrccxx . . $ Gst/BaseSrc#::property_blocksizecxx . . $ Gst/BaseSrc#property_blocksize(626cd103ac35282).() const
1115 {
1116 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< gulong >(this, "blocksize");
1117 }
1118
1119 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > BaseSrccxx . . $ Gst/BaseSrc#::property_do_timestampcxx . . $ Gst/BaseSrc#property_do_timestamp(962e4b383dc974dc).()
1120 {
1121 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "do-timestamp");
1122 }
1123
1124 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > BaseSrccxx . . $ Gst/BaseSrc#::property_do_timestampcxx . . $ Gst/BaseSrc#property_do_timestamp(bb701360c56d84c7).() const
1125 {
1126 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "do-timestamp");
1127 }
1128
1129 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< int > BaseSrccxx . . $ Gst/BaseSrc#::property_num_bufferscxx . . $ Gst/BaseSrc#property_num_buffers(bf3998fdb218c766).()
1130 {
1131 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< int >(this, "num-buffers");
1132 }
1133
1134 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int > BaseSrccxx . . $ Gst/BaseSrc#::property_num_bufferscxx . . $ Gst/BaseSrc#property_num_buffers(7e9006e11d14f0d6).() const
1135 {
1136 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int >(this, "num-buffers");
1137 }
1138
1139 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > BaseSrccxx . . $ Gst/BaseSrc#::property_typefindcxx . . $ Gst/BaseSrc#property_typefind(962e4b383dc974dc).()
1140 {
1141 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "typefind");
1142 }
1143
1144 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > BaseSrccxx . . $ Gst/BaseSrc#::property_typefindcxx . . $ Gst/BaseSrc#property_typefind(bb701360c56d84c7).() const
1145 {
1146 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "typefind");
1147 }
1148
1149
1150 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::get_caps_vfunccxx . . $ Gst/BaseSrc#get_caps_vfunc(74dce9e80895d45c).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) const
1151 {
1152 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1153 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).
1154 );
1155
1156 if(base && base->get_capscxx . . $ _GstBaseSrcClass#get_caps.)
1157 {
1158 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).((*base->get_capscxx . . $ _GstBaseSrcClass#get_caps.)(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).()),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps))));
1159 return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1160 }
1161
1162 using RTypecxx . . $ Gst/BaseSrc#get_caps_vfunc(74dce9e80895d45c).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>;
1163 return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).();
1164 }
1165 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::set_caps_vfunccxx . . $ Gst/BaseSrc#set_caps_vfunc(d71e2c92ee80648b).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps)
1166 {
1167 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1168 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).
1169 );
1170
1171 if(base && base->set_capscxx . . $ _GstBaseSrcClass#set_caps.)
1172 {
1173 bool retval((*base->set_capscxx . . $ _GstBaseSrcClass#set_caps.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps)));
1174 return retval;
1175 }
1176
1177 using RTypecxx . . $ Gst/BaseSrc#set_caps_vfunc(d71e2c92ee80648b).RType# = bool;
1178 return RTypecxx . . $ Gst/BaseSrc#set_caps_vfunc(d71e2c92ee80648b).RType#();
1179 }
1180 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::negotiate_vfunccxx . . $ Gst/BaseSrc#negotiate_vfunc(c9857a73d68e59ba).()
1181 {
1182 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#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->negotiatecxx . . $ _GstBaseSrcClass#negotiate.)
1187 {
1188 bool retval((*base->negotiatecxx . . $ _GstBaseSrcClass#negotiate.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).()));
1189 return retval;
1190 }
1191
1192 using RTypecxx . . $ Gst/BaseSrc#negotiate_vfunc(c9857a73d68e59ba).RType# = bool;
1193 return RTypecxx . . $ Gst/BaseSrc#negotiate_vfunc(c9857a73d68e59ba).RType#();
1194 }
1195 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::stop_vfunccxx . . $ Gst/BaseSrc#stop_vfunc(c9857a73d68e59ba).()
1196 {
1197 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1198 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).
1199 );
1200
1201 if(base && base->stopcxx . . $ _GstBaseSrcClass#stop.)
1202 {
1203 bool retval((*base->stopcxx . . $ _GstBaseSrcClass#stop.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).()));
1204 return retval;
1205 }
1206
1207 return true;
1208 }
1209 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::start_vfunccxx . . $ Gst/BaseSrc#start_vfunc(c9857a73d68e59ba).()
1210 {
1211 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1212 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).
1213 );
1214
1215 if(base && base->startcxx . . $ _GstBaseSrcClass#start.)
1216 {
1217 bool retval((*base->startcxx . . $ _GstBaseSrcClass#start.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).()));
1218 return retval;
1219 }
1220
1221 return true;
1222 }
1223 void Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::get_times_vfunccxx . . $ Gst/BaseSrc#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
1224 {
1225 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1226 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).
1227 );
1228
1229 if(base && base->get_timescxx . . $ _GstBaseSrcClass#get_times.)
1230 {
1231 (*base->get_timescxx . . $ _GstBaseSrcClass#get_times.)(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).()),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer),(GstClockTime*)(&start),(GstClockTime*)(&end));
1232 }
1233 }
1234 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::get_size_vfunccxx . . $ Gst/BaseSrc#get_size_vfunc(e336676645bf3277).(guint64& size) const
1235 {
1236 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1237 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).
1238 );
1239
1240 if(base && base->get_sizecxx . . $ _GstBaseSrcClass#get_size.)
1241 {
1242 bool retval((*base->get_sizecxx . . $ _GstBaseSrcClass#get_size.)(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).()),&(size)));
1243 return retval;
1244 }
1245
1246 using RTypecxx . . $ Gst/BaseSrc#get_size_vfunc(e336676645bf3277).RType# = bool;
1247 return RTypecxx . . $ Gst/BaseSrc#get_size_vfunc(e336676645bf3277).RType#();
1248 }
1249 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::is_seekable_vfunccxx . . $ Gst/BaseSrc#is_seekable_vfunc(50ce9a9e25b4a850).() const
1250 {
1251 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1252 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).
1253 );
1254
1255 if(base && base->is_seekablecxx . . $ _GstBaseSrcClass#is_seekable.)
1256 {
1257 bool retval((*base->is_seekablecxx . . $ _GstBaseSrcClass#is_seekable.)(const_cast<GstBaseSrccxx . . $ GstBaseSrc#*>(gobjcxx . . $ Gst/BaseSrc#gobj(934e8f75948f1d81).())));
1258 return retval;
1259 }
1260
1261 using RTypecxx . . $ Gst/BaseSrc#is_seekable_vfunc(50ce9a9e25b4a850).RType# = bool;
1262 return RTypecxx . . $ Gst/BaseSrc#is_seekable_vfunc(50ce9a9e25b4a850).RType#();
1263 }
1264 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::unlock_vfunccxx . . $ Gst/BaseSrc#unlock_vfunc(c9857a73d68e59ba).()
1265 {
1266 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1267 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).
1268 );
1269
1270 if(base && base->unlockcxx . . $ _GstBaseSrcClass#unlock.)
1271 {
1272 bool retval((*base->unlockcxx . . $ _GstBaseSrcClass#unlock.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).()));
1273 return retval;
1274 }
1275
1276 using RTypecxx . . $ Gst/BaseSrc#unlock_vfunc(c9857a73d68e59ba).RType# = bool;
1277 return RTypecxx . . $ Gst/BaseSrc#unlock_vfunc(c9857a73d68e59ba).RType#();
1278 }
1279 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::event_vfunccxx . . $ Gst/BaseSrc#event_vfunc(2055ffde69ae5030).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event)
1280 {
1281 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1282 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).
1283 );
1284
1285 if(base && base->eventcxx . . $ _GstBaseSrcClass#event.)
1286 {
1287 bool retval((*base->eventcxx . . $ _GstBaseSrcClass#event.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(event)));
1288 return retval;
1289 }
1290
1291 using RTypecxx . . $ Gst/BaseSrc#event_vfunc(2055ffde69ae5030).RType# = bool;
1292 return RTypecxx . . $ Gst/BaseSrc#event_vfunc(2055ffde69ae5030).RType#();
1293 }
1294 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::fixate_vfunccxx . . $ Gst/BaseSrc#fixate_vfunc(cac43ebfde7bbd09).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps)
1295 {
1296 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1297 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).
1298 );
1299
1300 if(base && base->fixatecxx . . $ _GstBaseSrcClass#fixate.)
1301 {
1302 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).((*base->fixatecxx . . $ _GstBaseSrcClass#fixate.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps))));
1303 return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1304 }
1305
1306 using RTypecxx . . $ Gst/BaseSrc#fixate_vfunc(cac43ebfde7bbd09).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>;
1307 return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).();
1308 }
1309 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::unlock_stop_vfunccxx . . $ Gst/BaseSrc#unlock_stop_vfunc(c9857a73d68e59ba).()
1310 {
1311 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1312 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).
1313 );
1314
1315 if(base && base->unlock_stopcxx . . $ _GstBaseSrcClass#unlock_stop.)
1316 {
1317 bool retval((*base->unlock_stopcxx . . $ _GstBaseSrcClass#unlock_stop.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).()));
1318 return retval;
1319 }
1320
1321 using RTypecxx . . $ Gst/BaseSrc#unlock_stop_vfunc(c9857a73d68e59ba).RType# = bool;
1322 return RTypecxx . . $ Gst/BaseSrc#unlock_stop_vfunc(c9857a73d68e59ba).RType#();
1323 }
1324 bool Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::decide_allocation_vfunccxx . . $ Gst/BaseSrc#decide_allocation_vfunc(363e9ac1e31c4481).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query)
1325 {
1326 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1327 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).
1328 );
1329
1330 if(base && base->decide_allocationcxx . . $ _GstBaseSrcClass#decide_allocation.)
1331 {
1332 bool retval((*base->decide_allocationcxx . . $ _GstBaseSrcClass#decide_allocation.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query)));
1333 return retval;
1334 }
1335
1336 using RTypecxx . . $ Gst/BaseSrc#decide_allocation_vfunc(363e9ac1e31c4481).RType# = bool;
1337 return RTypecxx . . $ Gst/BaseSrc#decide_allocation_vfunc(363e9ac1e31c4481).RType#();
1338 }
1339 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseSrccxx . . $ Gst/BaseSrc#::fill_vfunccxx . . $ Gst/BaseSrc#fill_vfunc(462a3b94bd07269b).(guint64 offset, guint size, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer)
1340 {
1341 const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseSrc#BaseClassType#*>(
1342 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).
1343 );
1344
1345 if(base && base->fillcxx . . $ _GstBaseSrcClass#fill.)
1346 {
1347 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# retval(((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)((*base->fillcxx . . $ _GstBaseSrcClass#fill.)(gobjcxx . . $ Gst/BaseSrc#gobj(a2960c3f28421427).(),offset,size,Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer)))));
1348 return retval;
1349 }
1350
1351 using RTypecxx . . $ Gst/BaseSrc#fill_vfunc(462a3b94bd07269b).RType# = Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#;
1352 return RTypecxx . . $ Gst/BaseSrc#fill_vfunc(462a3b94bd07269b).RType#();
1353 }
1354
1355
1356 } // namespace Gst
1357
1358