Debian Codegraph @

gstreamer/gstreamermm/multiqueue.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2
3
4 #include <gstreamermmconfig.h>
5 #ifndef GSTREAMERMM_DISABLE_DEPRECATED
6
7
8 #include <glibmm.h>
9
10 #include <gstreamermm/multiqueue.h>
11 #include <gstreamermm/private/multiqueue_p.h>
12
13
14 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
15
16
17 extern "C"
18 {
19
20 GType gst_multi_queue_gstreamermm_get_type()
21 {
22 static GType type = 0;
23 GstElementFactory* factory = 0;
24 GstPluginFeature* feature = 0;
25
26 if(!type)
27 {
28 factory = gst_element_factory_find("multiqueue");
29 // Make sure that the feature is actually loaded:
30 if(factory)
31 {
32 feature =
33 gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));
34
35 g_object_unref(factory);
36 factory = GST_ELEMENT_FACTORY(feature);
37 type = gst_element_factory_get_element_type(factory);
38 g_object_unref(factory);
39 }
40 }
41
42 return type;
43 }
44
45 } // extern "C"
46
47 namespace Gst
48 {
49
50 MultiQueue::MultiQueue()
51 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
52 Glib::ObjectBase(nullptr),
53 Gst::Element(Glib::ConstructParams(multiqueue_class_.init(), "name",static_cast<char*>(0), nullptr))
54 {}
55
56 MultiQueue::MultiQueue(const Glib::ustring& name)
57 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
58 Glib::ObjectBase(nullptr),
59 Gst::Element(Glib::ConstructParams(multiqueue_class_.init(), "name",name.c_str(), nullptr))
60 {}
61
62 }
63
64 namespace
65 {
66
67
68 static const Glib::SignalProxyInfo MultiQueue_signal_underrun_info =
69 {
70 "underrun",
71 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
72 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
73 };
74
75
76 static const Glib::SignalProxyInfo MultiQueue_signal_overrun_info =
77 {
78 "overrun",
79 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
80 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
81 };
82
83
84 } // anonymous namespace
85
86
87 namespace Glib
88 {
89
90 Glib::RefPtr<Gst::MultiQueue> wrap(GstMultiQueue* object, bool take_copy)
91 {
92 return Glib::RefPtr<Gst::MultiQueue>( dynamic_cast<Gst::MultiQueue*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
93 //We use dynamic_cast<> in case of multiple inheritance.
94 }
95
96 } /* namespace Glib */
97
98
99 namespace Gst
100 {
101
102
103 /* The *_Class implementation: */
104
105 const Glib::Class& MultiQueue_Class::init()
106 {
107 if(!gtype_) // create the GType if necessary
108 {
109 // Glib::Class has to know the class init function to clone custom types.
110 class_init_func_ = &MultiQueue_Class::class_init_function;
111
112 // This is actually just optimized away, apparently with no harm.
113 // Make sure that the parent type has been created.
114 //CppClassParent::CppObjectType::get_type();
115
116 // Create the wrapper type, with the same class/instance size as the base type.
117 register_derived_type(gst_multi_queue_gstreamermm_get_type());
118
119 // Add derived versions of interfaces, if the C type implements any interfaces:
120
121 }
122
123 return *this;
124 }
125
126
127 void MultiQueue_Class::class_init_function(void* g_class, void* class_data)
128 {
129 const auto klass = static_cast<BaseClassType*>(g_class);
130 CppClassParent::class_init_function(klass, class_data);
131
132
133 }
134
135
136 Glib::ObjectBase* MultiQueue_Class::wrap_new(GObject* object)
137 {
138 return new MultiQueue((GstMultiQueue*)object);
139 }
140
141
142 /* The implementation: */
143
144 GstMultiQueue* MultiQueue::gobj_copy()
145 {
146 reference();
147 return gobj();
148 }
149
150 MultiQueue::MultiQueue(const Glib::ConstructParams& construct_params)
151 :
152 Gst::Element(construct_params)
153 {
154
155 }
156
157 MultiQueue::MultiQueue(GstMultiQueue* castitem)
158 :
159 Gst::Element((GstElement*)(castitem))
160 {}
161
162
163 MultiQueue::MultiQueue(MultiQueue&& src) noexcept
164 : Gst::Element(std::move(src))
165 {}
166
167 MultiQueue& MultiQueue::operator=(MultiQueue&& src) noexcept
168 {
169 Gst::Element::operator=(std::move(src));
170 return *this;
171 }
172
173
174 MultiQueue::~MultiQueue() noexcept
175 {}
176
177
178 MultiQueue::CppClassType MultiQueue::multiqueue_class_; // initialize static member
179
180 GType MultiQueue::get_type()
181 {
182 return multiqueue_class_.init().get_type();
183 }
184
185
186 GType MultiQueue::get_base_type()
187 {
188 return gst_multi_queue_gstreamermm_get_type();
189 }
190
191
192 Glib::RefPtr<MultiQueue> MultiQueue::create()
193 {
194 return Glib::RefPtr<MultiQueue>( new MultiQueue() );
195 }
196
197 Glib::RefPtr<MultiQueue> MultiQueue::create(const Glib::ustring& name)
198 {
199 return Glib::RefPtr<MultiQueue>( new MultiQueue(name) );
200 }
201
202
203 Glib::SignalProxy< void > MultiQueue::signal_underrun()
204 {
205 return Glib::SignalProxy< void >(this, &MultiQueue_signal_underrun_info);
206 }
207
208
209 Glib::SignalProxy< void > MultiQueue::signal_overrun()
210 {
211 return Glib::SignalProxy< void >(this, &MultiQueue_signal_overrun_info);
212 }
213
214
215 Glib::PropertyProxy< guint > MultiQueue::property_extra_size_bytes()
216 {
217 return Glib::PropertyProxy< guint >(this, "extra-size-bytes");
218 }
219
220 Glib::PropertyProxy_ReadOnly< guint > MultiQueue::property_extra_size_bytes() const
221 {
222 return Glib::PropertyProxy_ReadOnly< guint >(this, "extra-size-bytes");
223 }
224
225 Glib::PropertyProxy< guint > MultiQueue::property_extra_size_buffers()
226 {
227 return Glib::PropertyProxy< guint >(this, "extra-size-buffers");
228 }
229
230 Glib::PropertyProxy_ReadOnly< guint > MultiQueue::property_extra_size_buffers() const
231 {
232 return Glib::PropertyProxy_ReadOnly< guint >(this, "extra-size-buffers");
233 }
234
235 Glib::PropertyProxy< guint64 > MultiQueue::property_extra_size_time()
236 {
237 return Glib::PropertyProxy< guint64 >(this, "extra-size-time");
238 }
239
240 Glib::PropertyProxy_ReadOnly< guint64 > MultiQueue::property_extra_size_time() const
241 {
242 return Glib::PropertyProxy_ReadOnly< guint64 >(this, "extra-size-time");
243 }
244
245 Glib::PropertyProxy< guint > MultiQueue::property_max_size_bytes()
246 {
247 return Glib::PropertyProxy< guint >(this, "max-size-bytes");
248 }
249
250 Glib::PropertyProxy_ReadOnly< guint > MultiQueue::property_max_size_bytes() const
251 {
252 return Glib::PropertyProxy_ReadOnly< guint >(this, "max-size-bytes");
253 }
254
255 Glib::PropertyProxy< guint > MultiQueue::property_max_size_buffers()
256 {
257 return Glib::PropertyProxy< guint >(this, "max-size-buffers");
258 }
259
260 Glib::PropertyProxy_ReadOnly< guint > MultiQueue::property_max_size_buffers() const
261 {
262 return Glib::PropertyProxy_ReadOnly< guint >(this, "max-size-buffers");
263 }
264
265 Glib::PropertyProxy< guint64 > MultiQueue::property_max_size_time()
266 {
267 return Glib::PropertyProxy< guint64 >(this, "max-size-time");
268 }
269
270 Glib::PropertyProxy_ReadOnly< guint64 > MultiQueue::property_max_size_time() const
271 {
272 return Glib::PropertyProxy_ReadOnly< guint64 >(this, "max-size-time");
273 }
274
275 Glib::PropertyProxy< bool > MultiQueue::property_use_buffering()
276 {
277 return Glib::PropertyProxy< bool >(this, "use-buffering");
278 }
279
280 Glib::PropertyProxy_ReadOnly< bool > MultiQueue::property_use_buffering() const
281 {
282 return Glib::PropertyProxy_ReadOnly< bool >(this, "use-buffering");
283 }
284
285 Glib::PropertyProxy< int > MultiQueue::property_low_percent()
286 {
287 return Glib::PropertyProxy< int >(this, "low-percent");
288 }
289
290 Glib::PropertyProxy_ReadOnly< int > MultiQueue::property_low_percent() const
291 {
292 return Glib::PropertyProxy_ReadOnly< int >(this, "low-percent");
293 }
294
295 Glib::PropertyProxy< int > MultiQueue::property_high_percent()
296 {
297 return Glib::PropertyProxy< int >(this, "high-percent");
298 }
299
300 Glib::PropertyProxy_ReadOnly< int > MultiQueue::property_high_percent() const
301 {
302 return Glib::PropertyProxy_ReadOnly< int >(this, "high-percent");
303 }
304
305 Glib::PropertyProxy< bool > MultiQueue::property_sync_by_running_time()
306 {
307 return Glib::PropertyProxy< bool >(this, "sync-by-running-time");
308 }
309
310 Glib::PropertyProxy_ReadOnly< bool > MultiQueue::property_sync_by_running_time() const
311 {
312 return Glib::PropertyProxy_ReadOnly< bool >(this, "sync-by-running-time");
313 }
314
315 Glib::PropertyProxy< bool > MultiQueue::property_use_interleave()
316 {
317 return Glib::PropertyProxy< bool >(this, "use-interleave");
318 }
319
320 Glib::PropertyProxy_ReadOnly< bool > MultiQueue::property_use_interleave() const
321 {
322 return Glib::PropertyProxy_ReadOnly< bool >(this, "use-interleave");
323 }
324
325 Glib::PropertyProxy< guint64 > MultiQueue::property_unlinked_cache_time()
326 {
327 return Glib::PropertyProxy< guint64 >(this, "unlinked-cache-time");
328 }
329
330 Glib::PropertyProxy_ReadOnly< guint64 > MultiQueue::property_unlinked_cache_time() const
331 {
332 return Glib::PropertyProxy_ReadOnly< guint64 >(this, "unlinked-cache-time");
333 }
334
335
336 } // namespace Gst
337
338 #endif // GSTREAMERMM_DISABLE_DEPRECATED
339
340