Debian Codegraph @

gstreamer/src/fakesrc.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/basesrc.h>
5 #include <gstreamermm/format.h>
6 #include <gstreamermm/buffer.h>
7 #include <gstreamermm/pad.h>
8 _DEFS(gstreamermm,gst)
9
10 _CONFIGINCLUDE(gstreamermmconfig.h)
11 _IS_DEPRECATED
12
13 namespace Gst
14 {
15
16 _WRAP_ENUM(FakeSrcDataType,GstFakeSrcDataType)
17 _CONV_ENUM(Gst,FakeSrcDataType)
18
19 _WRAP_ENUM(FakeSrcSizeType,GstFakeSrcSizeType)
20 _CONV_ENUM(Gst,FakeSrcSizeType)
21
22 _WRAP_ENUM(FakeSrcFillType,GstFakeSrcFillType)
23 _CONV_ENUM(Gst,FakeSrcFillType)
24
25 /** A Wrapper for the fakesrc plugin.
26 * Please note that not all plug-ins are available on all systems so care
27 * must be taken that they exist before they are used otherwise there will
28 * be errors and possibly a crash.
29 *
30 * @ingroup GstPlugins
31 * @deprecated Plugins API is deprecated, and should not be used in a new code.
32 */
33 class FakeSrc
34 : public Gst::BaseSrc
35 {
36 _CLASS_GOBJECT(FakeSrc, GstFakeSrc, GST_FAKE_SRC_GSTREAMERMM, Gst::BaseSrc, GstBaseSrc)
37 _IS_GSTREAMERMM_PLUGIN
38 protected:
39 FakeSrc();
40 explicit FakeSrc(const Glib::ustring& name);
41
42 public:
43 /** Creates a new fakesrc plugin with a unique name.
44 */
45 _WRAP_CREATE()
46
47 /** Creates a new fakesrc plugin with the given name.
48 */
49 _WRAP_CREATE(const Glib::ustring& name)
50
51 _WRAP_PROPERTY("data", Gst::FakeSrcDataType)
52 _WRAP_PROPERTY("sizetype", Gst::FakeSrcSizeType)
53 _WRAP_PROPERTY("sizemin", int)
54 _WRAP_PROPERTY("sizemax", int)
55 _WRAP_PROPERTY("filltype", Gst::FakeSrcFillType)
56 _WRAP_PROPERTY("datarate", int)
57 _WRAP_PROPERTY("sync", bool)
58 _WRAP_PROPERTY("pattern", Glib::ustring)
59 _WRAP_PROPERTY("signal-handoffs", bool)
60 _WRAP_PROPERTY("silent", bool)
61 _WRAP_PROPERTY("dump", bool)
62 _WRAP_PROPERTY("parentsize", int)
63 _WRAP_PROPERTY("last-message", Glib::ustring)
64 _WRAP_PROPERTY("can-activate-pull", bool)
65 _WRAP_PROPERTY("can-activate-push", bool)
66 _WRAP_PROPERTY("is-live", bool)
67 _WRAP_PROPERTY("format", Gst::Format)
68
69 #m4 _CONVERSION(`GstBuffer*', `const Glib::RefPtr<Gst::Buffer>&', `Glib::wrap($3, true)')
70 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
71 _WRAP_SIGNAL(void handoff(const Glib::RefPtr<Gst::Buffer>& arg0, const Glib::RefPtr<Gst::Pad>& arg1), "handoff", no_default_handler)
72 };
73
74 } // namespace Gst