Debian Codegraph @

gstreamer/gstreamermm/queue2.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/queue2.h>
11 #include <gstreamermm/private/queue2_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_queue2_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("queue2");
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 Queue2::Queue2()
51 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
52 Glib::ObjectBase(nullptr),
53 Gst::Element(Glib::ConstructParams(queue2_class_.init(), "name",static_cast<char*>(0), nullptr))
54 {}
55
56 Queue2::Queue2(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(queue2_class_.init(), "name",name.c_str(), nullptr))
60 {}
61
62 }
63
64 namespace
65 {
66 } // anonymous namespace
67
68
69 namespace Glib
70 {
71
72 Glib::RefPtr<Gst::Queue2> wrap(GstQueue2* object, bool take_copy)
73 {
74 return Glib::RefPtr<Gst::Queue2>( dynamic_cast<Gst::Queue2*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
75 //We use dynamic_cast<> in case of multiple inheritance.
76 }
77
78 } /* namespace Glib */
79
80
81 namespace Gst
82 {
83
84
85 /* The *_Class implementation: */
86
87 const Glib::Class& Queue2_Class::init()
88 {
89 if(!gtype_) // create the GType if necessary
90 {
91 // Glib::Class has to know the class init function to clone custom types.
92 class_init_func_ = &Queue2_Class::class_init_function;
93
94 // This is actually just optimized away, apparently with no harm.
95 // Make sure that the parent type has been created.
96 //CppClassParent::CppObjectType::get_type();
97
98 // Create the wrapper type, with the same class/instance size as the base type.
99 register_derived_type(gst_queue2_gstreamermm_get_type());
100
101 // Add derived versions of interfaces, if the C type implements any interfaces:
102
103 }
104
105 return *this;
106 }
107
108
109 void Queue2_Class::class_init_function(void* g_class, void* class_data)
110 {
111 const auto klass = static_cast<BaseClassType*>(g_class);
112 CppClassParent::class_init_function(klass, class_data);
113
114
115 }
116
117
118 Glib::ObjectBase* Queue2_Class::wrap_new(GObject* object)
119 {
120 return new Queue2((GstQueue2*)object);
121 }
122
123
124 /* The implementation: */
125
126 GstQueue2* Queue2::gobj_copy()
127 {
128 reference();
129 return gobj();
130 }
131
132 Queue2::Queue2(const Glib::ConstructParams& construct_params)
133 :
134 Gst::Element(construct_params)
135 {
136
137 }
138
139 Queue2::Queue2(GstQueue2* castitem)
140 :
141 Gst::Element((GstElement*)(castitem))
142 {}
143
144
145 Queue2::Queue2(Queue2&& src) noexcept
146 : Gst::Element(std::move(src))
147 {}
148
149 Queue2& Queue2::operator=(Queue2&& src) noexcept
150 {
151 Gst::Element::operator=(std::move(src));
152 return *this;
153 }
154
155
156 Queue2::~Queue2() noexcept
157 {}
158
159
160 Queue2::CppClassType Queue2::queue2_class_; // initialize static member
161
162 GType Queue2::get_type()
163 {
164 return queue2_class_.init().get_type();
165 }
166
167
168 GType Queue2::get_base_type()
169 {
170 return gst_queue2_gstreamermm_get_type();
171 }
172
173
174 Glib::RefPtr<Queue2> Queue2::create()
175 {
176 return Glib::RefPtr<Queue2>( new Queue2() );
177 }
178
179 Glib::RefPtr<Queue2> Queue2::create(const Glib::ustring& name)
180 {
181 return Glib::RefPtr<Queue2>( new Queue2(name) );
182 }
183
184
185 Glib::PropertyProxy_ReadOnly< guint > Queue2::property_current_level_buffers() const
186 {
187 return Glib::PropertyProxy_ReadOnly< guint >(this, "current-level-buffers");
188 }
189
190 Glib::PropertyProxy_ReadOnly< guint > Queue2::property_current_level_bytes() const
191 {
192 return Glib::PropertyProxy_ReadOnly< guint >(this, "current-level-bytes");
193 }
194
195 Glib::PropertyProxy_ReadOnly< guint64 > Queue2::property_current_level_time() const
196 {
197 return Glib::PropertyProxy_ReadOnly< guint64 >(this, "current-level-time");
198 }
199
200 Glib::PropertyProxy< guint > Queue2::property_max_size_buffers()
201 {
202 return Glib::PropertyProxy< guint >(this, "max-size-buffers");
203 }
204
205 Glib::PropertyProxy_ReadOnly< guint > Queue2::property_max_size_buffers() const
206 {
207 return Glib::PropertyProxy_ReadOnly< guint >(this, "max-size-buffers");
208 }
209
210 Glib::PropertyProxy< guint > Queue2::property_max_size_bytes()
211 {
212 return Glib::PropertyProxy< guint >(this, "max-size-bytes");
213 }
214
215 Glib::PropertyProxy_ReadOnly< guint > Queue2::property_max_size_bytes() const
216 {
217 return Glib::PropertyProxy_ReadOnly< guint >(this, "max-size-bytes");
218 }
219
220 Glib::PropertyProxy< guint64 > Queue2::property_max_size_time()
221 {
222 return Glib::PropertyProxy< guint64 >(this, "max-size-time");
223 }
224
225 Glib::PropertyProxy_ReadOnly< guint64 > Queue2::property_max_size_time() const
226 {
227 return Glib::PropertyProxy_ReadOnly< guint64 >(this, "max-size-time");
228 }
229
230 Glib::PropertyProxy< bool > Queue2::property_use_buffering()
231 {
232 return Glib::PropertyProxy< bool >(this, "use-buffering");
233 }
234
235 Glib::PropertyProxy_ReadOnly< bool > Queue2::property_use_buffering() const
236 {
237 return Glib::PropertyProxy_ReadOnly< bool >(this, "use-buffering");
238 }
239
240 Glib::PropertyProxy< bool > Queue2::property_use_tags_bitrate()
241 {
242 return Glib::PropertyProxy< bool >(this, "use-tags-bitrate");
243 }
244
245 Glib::PropertyProxy_ReadOnly< bool > Queue2::property_use_tags_bitrate() const
246 {
247 return Glib::PropertyProxy_ReadOnly< bool >(this, "use-tags-bitrate");
248 }
249
250 Glib::PropertyProxy< bool > Queue2::property_use_rate_estimate()
251 {
252 return Glib::PropertyProxy< bool >(this, "use-rate-estimate");
253 }
254
255 Glib::PropertyProxy_ReadOnly< bool > Queue2::property_use_rate_estimate() const
256 {
257 return Glib::PropertyProxy_ReadOnly< bool >(this, "use-rate-estimate");
258 }
259
260 Glib::PropertyProxy< int > Queue2::property_low_percent()
261 {
262 return Glib::PropertyProxy< int >(this, "low-percent");
263 }
264
265 Glib::PropertyProxy_ReadOnly< int > Queue2::property_low_percent() const
266 {
267 return Glib::PropertyProxy_ReadOnly< int >(this, "low-percent");
268 }
269
270 Glib::PropertyProxy< int > Queue2::property_high_percent()
271 {
272 return Glib::PropertyProxy< int >(this, "high-percent");
273 }
274
275 Glib::PropertyProxy_ReadOnly< int > Queue2::property_high_percent() const
276 {
277 return Glib::PropertyProxy_ReadOnly< int >(this, "high-percent");
278 }
279
280 Glib::PropertyProxy< Glib::ustring > Queue2::property_temp_template()
281 {
282 return Glib::PropertyProxy< Glib::ustring >(this, "temp-template");
283 }
284
285 Glib::PropertyProxy_ReadOnly< Glib::ustring > Queue2::property_temp_template() const
286 {
287 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "temp-template");
288 }
289
290 Glib::PropertyProxy_ReadOnly< Glib::ustring > Queue2::property_temp_location() const
291 {
292 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "temp-location");
293 }
294
295 Glib::PropertyProxy< bool > Queue2::property_temp_remove()
296 {
297 return Glib::PropertyProxy< bool >(this, "temp-remove");
298 }
299
300 Glib::PropertyProxy_ReadOnly< bool > Queue2::property_temp_remove() const
301 {
302 return Glib::PropertyProxy_ReadOnly< bool >(this, "temp-remove");
303 }
304
305 Glib::PropertyProxy< guint64 > Queue2::property_ring_buffer_max_size()
306 {
307 return Glib::PropertyProxy< guint64 >(this, "ring-buffer-max-size");
308 }
309
310 Glib::PropertyProxy_ReadOnly< guint64 > Queue2::property_ring_buffer_max_size() const
311 {
312 return Glib::PropertyProxy_ReadOnly< guint64 >(this, "ring-buffer-max-size");
313 }
314
315 Glib::PropertyProxy_ReadOnly< gint64 > Queue2::property_avg_in_rate() const
316 {
317 return Glib::PropertyProxy_ReadOnly< gint64 >(this, "avg-in-rate");
318 }
319
320
321 } // namespace Gst
322
323 #endif // GSTREAMERMM_DISABLE_DEPRECATED
324
325