Debian Codegraph @

gstreamer/gstreamermm/queue2.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_QUEUE2_H
3 #define _GSTREAMERMM_QUEUE2_H
4
5 #include <gstreamermmconfig.h>
6
7 #ifndef GSTREAMERMM_DISABLE_DEPRECATED
8
9
10 #include <glibmm/ustring.h>
11 #include <sigc++/sigc++.h>
12
13 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
14
15
16 #include <gstreamermm/element.h>
17
18
19 #ifndef DOXYGEN_SHOULD_SKIP_THIS
20 using GstQueue2 = struct _GstQueue2;
21 using GstQueue2Class = struct _GstQueue2Class;
22 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
23
24
25 #ifndef DOXYGEN_SHOULD_SKIP_THIS
26 namespace Gst
27 { class Queue2_Class; } // namespace Gst
28 #endif //DOXYGEN_SHOULD_SKIP_THIS
29
30 namespace Gst
31 {
32
33 /** A Wrapper for the queue2 plugin.
34 * Please note that not all plug-ins are available on all systems so care
35 * must be taken that they exist before they are used otherwise there will
36 * be errors and possibly a crash.
37 *
38 * @ingroup GstPlugins
39 * @deprecated Plugins API is deprecated, and should not be used in a new code.
40 */
41
42 class Queue2
43 : public Gst::Element
44 {
45
46 #ifndef DOXYGEN_SHOULD_SKIP_THIS
47
48 public:
49 using CppObjectType = Queue2;
50 using CppClassType = Queue2_Class;
51 using BaseObjectType = GstQueue2;
52 using BaseClassType = GstQueue2Class;
53
54 // noncopyable
55 Queue2(const Queue2&) = delete;
56 Queue2& operator=(const Queue2&) = delete;
57
58 private: friend class Queue2_Class;
59 static CppClassType queue2_class_;
60
61 protected:
62 explicit Queue2(const Glib::ConstructParams& construct_params);
63 explicit Queue2(GstQueue2* castitem);
64
65 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
66
67 public:
68
69 Queue2(Queue2&& src) noexcept;
70 Queue2& operator=(Queue2&& src) noexcept;
71
72 ~Queue2() noexcept override;
73
74 /** Get the GType for this class, for use with the underlying GObject type system.
75 */
76 static GType get_type() G_GNUC_CONST;
77
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79
80
81 static GType get_base_type() G_GNUC_CONST;
82 #endif
83
84 ///Provides access to the underlying C GObject.
85 GstQueue2* gobj() { return reinterpret_cast<GstQueue2*>(gobject_); }
86
87 ///Provides access to the underlying C GObject.
88 const GstQueue2* gobj() const { return reinterpret_cast<GstQueue2*>(gobject_); }
89
90 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
91 GstQueue2* gobj_copy();
92
93 private:
94
95
96 protected:
97 Queue2();
98 explicit Queue2(const Glib::ustring& name);
99
100 public:
101 /** Creates a new queue2 plugin with a unique name.
102 */
103
104 static Glib::RefPtr<Queue2> create();
105
106
107 /** Creates a new queue2 plugin with the given name.
108 */
109
110 static Glib::RefPtr<Queue2> create(const Glib::ustring& name);
111
112
113 /** Current number of buffers in the queue.
114 *
115 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
116 * or receive notification when the value of the property changes.
117 */
118 Glib::PropertyProxy_ReadOnly< guint > property_current_level_buffers() const;
119
120
121 /** Current amount of data in the queue (bytes).
122 *
123 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
124 * or receive notification when the value of the property changes.
125 */
126 Glib::PropertyProxy_ReadOnly< guint > property_current_level_bytes() const;
127
128
129 /** Current amount of data in the queue (in ns).
130 *
131 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
132 * or receive notification when the value of the property changes.
133 */
134 Glib::PropertyProxy_ReadOnly< guint64 > property_current_level_time() const;
135
136
137 /** Max. number of buffers in the queue (0=disable).
138 *
139 * @return A PropertyProxy that allows you to get or set the value of the property,
140 * or receive notification when the value of the property changes.
141 */
142 Glib::PropertyProxy< guint > property_max_size_buffers() ;
143
144 /** Max. number of buffers in the queue (0=disable).
145 *
146 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
147 * or receive notification when the value of the property changes.
148 */
149 Glib::PropertyProxy_ReadOnly< guint > property_max_size_buffers() const;
150
151 /** Max. amount of data in the queue (bytes, 0=disable).
152 *
153 * @return A PropertyProxy that allows you to get or set the value of the property,
154 * or receive notification when the value of the property changes.
155 */
156 Glib::PropertyProxy< guint > property_max_size_bytes() ;
157
158 /** Max. amount of data in the queue (bytes, 0=disable).
159 *
160 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
161 * or receive notification when the value of the property changes.
162 */
163 Glib::PropertyProxy_ReadOnly< guint > property_max_size_bytes() const;
164
165 /** Max. amount of data in the queue (in ns, 0=disable).
166 *
167 * @return A PropertyProxy that allows you to get or set the value of the property,
168 * or receive notification when the value of the property changes.
169 */
170 Glib::PropertyProxy< guint64 > property_max_size_time() ;
171
172 /** Max. amount of data in the queue (in ns, 0=disable).
173 *
174 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
175 * or receive notification when the value of the property changes.
176 */
177 Glib::PropertyProxy_ReadOnly< guint64 > property_max_size_time() const;
178
179 /** Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds.
180 *
181 * @return A PropertyProxy that allows you to get or set the value of the property,
182 * or receive notification when the value of the property changes.
183 */
184 Glib::PropertyProxy< bool > property_use_buffering() ;
185
186 /** Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds.
187 *
188 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
189 * or receive notification when the value of the property changes.
190 */
191 Glib::PropertyProxy_ReadOnly< bool > property_use_buffering() const;
192
193 /** Use a bitrate from upstream tags to estimate buffer duration if not provided.
194 *
195 * @return A PropertyProxy that allows you to get or set the value of the property,
196 * or receive notification when the value of the property changes.
197 */
198 Glib::PropertyProxy< bool > property_use_tags_bitrate() ;
199
200 /** Use a bitrate from upstream tags to estimate buffer duration if not provided.
201 *
202 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
203 * or receive notification when the value of the property changes.
204 */
205 Glib::PropertyProxy_ReadOnly< bool > property_use_tags_bitrate() const;
206
207 /** Estimate the bitrate of the stream to calculate time level.
208 *
209 * @return A PropertyProxy that allows you to get or set the value of the property,
210 * or receive notification when the value of the property changes.
211 */
212 Glib::PropertyProxy< bool > property_use_rate_estimate() ;
213
214 /** Estimate the bitrate of the stream to calculate time level.
215 *
216 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
217 * or receive notification when the value of the property changes.
218 */
219 Glib::PropertyProxy_ReadOnly< bool > property_use_rate_estimate() const;
220
221 /** Low threshold for buffering to start. Only used if use-buffering is True.
222 *
223 * @return A PropertyProxy that allows you to get or set the value of the property,
224 * or receive notification when the value of the property changes.
225 */
226 Glib::PropertyProxy< int > property_low_percent() ;
227
228 /** Low threshold for buffering to start. Only used if use-buffering is True.
229 *
230 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
231 * or receive notification when the value of the property changes.
232 */
233 Glib::PropertyProxy_ReadOnly< int > property_low_percent() const;
234
235 /** High threshold for buffering to finish. Only used if use-buffering is True.
236 *
237 * @return A PropertyProxy that allows you to get or set the value of the property,
238 * or receive notification when the value of the property changes.
239 */
240 Glib::PropertyProxy< int > property_high_percent() ;
241
242 /** High threshold for buffering to finish. Only used if use-buffering is True.
243 *
244 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
245 * or receive notification when the value of the property changes.
246 */
247 Glib::PropertyProxy_ReadOnly< int > property_high_percent() const;
248
249 //gtkmmproc error: low-watermark : property defs lookup failed.
250 //gtkmmproc error: high-watermark : property defs lookup failed.
251 /** File template to store temporary files in, should contain directory and XXXXXX. (NULL == disabled).
252 *
253 * @return A PropertyProxy that allows you to get or set the value of the property,
254 * or receive notification when the value of the property changes.
255 */
256 Glib::PropertyProxy< Glib::ustring > property_temp_template() ;
257
258 /** File template to store temporary files in, should contain directory and XXXXXX. (NULL == disabled).
259 *
260 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
261 * or receive notification when the value of the property changes.
262 */
263 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_temp_template() const;
264
265 /** Location to store temporary files in (Only read this property, use temp-template to configure the name template).
266 *
267 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
268 * or receive notification when the value of the property changes.
269 */
270 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_temp_location() const;
271
272
273 /** Remove the temp-location after use.
274 *
275 * @return A PropertyProxy that allows you to get or set the value of the property,
276 * or receive notification when the value of the property changes.
277 */
278 Glib::PropertyProxy< bool > property_temp_remove() ;
279
280 /** Remove the temp-location after use.
281 *
282 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
283 * or receive notification when the value of the property changes.
284 */
285 Glib::PropertyProxy_ReadOnly< bool > property_temp_remove() const;
286
287 /** Max. amount of data in the ring buffer (bytes, 0 = disabled).
288 *
289 * @return A PropertyProxy that allows you to get or set the value of the property,
290 * or receive notification when the value of the property changes.
291 */
292 Glib::PropertyProxy< guint64 > property_ring_buffer_max_size() ;
293
294 /** Max. amount of data in the ring buffer (bytes, 0 = disabled).
295 *
296 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
297 * or receive notification when the value of the property changes.
298 */
299 Glib::PropertyProxy_ReadOnly< guint64 > property_ring_buffer_max_size() const;
300
301 /** Average input data rate (bytes/s).
302 *
303 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
304 * or receive notification when the value of the property changes.
305 */
306 Glib::PropertyProxy_ReadOnly< gint64 > property_avg_in_rate() const;
307
308
309 public:
310
311 public:
312 //C++ methods used to invoke GTK+ virtual functions:
313
314 protected:
315 //GTK+ Virtual Functions (override these to change behaviour):
316
317 //Default Signal Handlers::
318
319
320 };
321
322 } // namespace Gst
323
324
325 namespace Glib
326 {
327 /** A Glib::wrap() method for this object.
328 *
329 * @param object The C instance.
330 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
331 * @result A C++ instance that wraps this C instance.
332 *
333 * @relates Gst::Queue2
334 */
335 Glib::RefPtr<Gst::Queue2> wrap(GstQueue2* object, bool take_copy = false);
336 }
337
338
339 #endif // GSTREAMERMM_DISABLE_DEPRECATED
340
341
342 #endif /* _GSTREAMERMM_QUEUE2_H */
343