Debian Codegraph @

gstreamer/src/fakesink.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/basesink.h>
5 #include <gstreamermm/buffer.h>
6 #include <gstreamermm/pad.h>
7 _DEFS(gstreamermm,gst)
8
9 _CONFIGINCLUDE(gstreamermmconfig.h)
10 _IS_DEPRECATED
11
12 namespace Gst
13 {
14
15 _WRAP_ENUM(FakeSinkStateError,GstFakeSinkStateError)
16 _CONV_ENUM(Gst,FakeSinkStateError)
17
18 /** A Wrapper for the fakesink plugin.
19 * Please note that not all plug-ins are available on all systems so care
20 * must be taken that they exist before they are used otherwise there will
21 * be errors and possibly a crash.
22 *
23 * @ingroup GstPlugins
24 * @deprecated Plugins API is deprecated, and should not be used in a new code.
25 */
26 class FakeSink
27 : public Gst::BaseSink
28 {
29 _CLASS_GOBJECT(FakeSink, GstFakeSink, GST_FAKE_SINK_GSTREAMERMM, Gst::BaseSink, GstBaseSink)
30 _IS_GSTREAMERMM_PLUGIN
31 protected:
32 FakeSink();
33 explicit FakeSink(const Glib::ustring& name);
34
35 public:
36 /** Creates a new fakesink plugin with a unique name.
37 */
38 _WRAP_CREATE()
39
40 /** Creates a new fakesink plugin with the given name.
41 */
42 _WRAP_CREATE(const Glib::ustring& name)
43
44 _WRAP_PROPERTY("state-error", Gst::FakeSinkStateError)
45 _WRAP_PROPERTY("silent", bool)
46 _WRAP_PROPERTY("dump", bool)
47 _WRAP_PROPERTY("signal-handoffs", bool)
48 _WRAP_PROPERTY("last-message", Glib::ustring)
49 _WRAP_PROPERTY("can-activate-push", bool)
50 _WRAP_PROPERTY("can-activate-pull", bool)
51 _WRAP_PROPERTY("num-buffers", int)
52
53 #m4 _CONVERSION(`GstBuffer*', `const Glib::RefPtr<Gst::Buffer>&', `Glib::wrap($3, true)')
54 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
55 _WRAP_SIGNAL(void handoff(const Glib::RefPtr<Gst::Buffer>& arg0, const Glib::RefPtr<Gst::Pad>& arg1), "handoff", no_default_handler)
56 #m4 _CONVERSION(`GstBuffer*', `const Glib::RefPtr<Gst::Buffer>&', `Glib::wrap($3, true)')
57 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
58 _WRAP_SIGNAL(void preroll_handoff(const Glib::RefPtr<Gst::Buffer>& arg0, const Glib::RefPtr<Gst::Pad>& arg1), "preroll-handoff", no_default_handler)
59 };
60
61 } // namespace Gst