Debian Codegraph @

gstreamer/src/queue.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/element.h>
5 _DEFS(gstreamermm,gst)
6
7 _CONFIGINCLUDE(gstreamermmconfig.h)
8 _IS_DEPRECATED
9
10 namespace Gst
11 {
12
13 _WRAP_ENUM(QueueLeaky,GstQueueLeaky)
14 _CONV_ENUM(Gst,QueueLeaky)
15
16 /** A Wrapper for the queue plugin.
17 * Please note that not all plug-ins are available on all systems so care
18 * must be taken that they exist before they are used otherwise there will
19 * be errors and possibly a crash.
20 *
21 * @ingroup GstPlugins
22 * @deprecated Plugins API is deprecated, and should not be used in a new code.
23 */
24 class Queue
25 : public Gst::Element
26 {
27 _CLASS_GOBJECT(Queue, GstQueue, GST_QUEUE_GSTREAMERMM, Gst::Element, GstElement)
28 _IS_GSTREAMERMM_PLUGIN
29 protected:
30 Queue();
31 explicit Queue(const Glib::ustring& name);
32
33 public:
34 /** Creates a new queue plugin with a unique name.
35 */
36 _WRAP_CREATE()
37
38 /** Creates a new queue plugin with the given name.
39 */
40 _WRAP_CREATE(const Glib::ustring& name)
41
42 _WRAP_PROPERTY("current-level-buffers", guint)
43 _WRAP_PROPERTY("current-level-bytes", guint)
44 _WRAP_PROPERTY("current-level-time", guint64)
45 _WRAP_PROPERTY("max-size-buffers", guint)
46 _WRAP_PROPERTY("max-size-bytes", guint)
47 _WRAP_PROPERTY("max-size-time", guint64)
48 _WRAP_PROPERTY("min-threshold-buffers", guint)
49 _WRAP_PROPERTY("min-threshold-bytes", guint)
50 _WRAP_PROPERTY("min-threshold-time", guint64)
51 _WRAP_PROPERTY("leaky", Gst::QueueLeaky)
52 _WRAP_PROPERTY("silent", bool)
53 _WRAP_PROPERTY("flush-on-eos", bool)
54
55 _WRAP_SIGNAL(void underrun(), "underrun", no_default_handler)
56 _WRAP_SIGNAL(void running(), "running", no_default_handler)
57 _WRAP_SIGNAL(void overrun(), "overrun", no_default_handler)
58 _WRAP_SIGNAL(void pushing(), "pushing", no_default_handler)
59 };
60
61 } // namespace Gst