Debian Codegraph @

gstreamer/src/socketsrc.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/pushsrc.h>
5 #include <giomm/socket.h>
6 #include <gstreamermm/caps.h>
7 _DEFS(gstreamermm,gst)
8
9 _CONFIGINCLUDE(gstreamermmconfig.h)
10 _IS_DEPRECATED
11
12 namespace Gst
13 {
14
15 /** A Wrapper for the socketsrc plugin.
16 * Please note that not all plug-ins are available on all systems so care
17 * must be taken that they exist before they are used otherwise there will
18 * be errors and possibly a crash.
19 *
20 * @ingroup GstPlugins
21 * @deprecated Plugins API is deprecated, and should not be used in a new code.
22 */
23 class SocketSrc
24 : public Gst::PushSrc
25 {
26 _CLASS_GOBJECT(SocketSrc, GstSocketSrc, GST_SOCKET_SRC_GSTREAMERMM, Gst::PushSrc, GstPushSrc)
27 _IS_GSTREAMERMM_PLUGIN
28 protected:
29 SocketSrc();
30 explicit SocketSrc(const Glib::ustring& name);
31
32 public:
33 /** Creates a new socketsrc plugin with a unique name.
34 */
35 _WRAP_CREATE()
36
37 /** Creates a new socketsrc plugin with the given name.
38 */
39 _WRAP_CREATE(const Glib::ustring& name)
40
41 _WRAP_PROPERTY("socket", Glib::RefPtr<Gio::Socket>)
42 _WRAP_PROPERTY("caps", Glib::RefPtr<Gst::Caps>)
43 _WRAP_PROPERTY("send-messages", bool)
44
45 _WRAP_SIGNAL(void connection_closed_by_peer(), "connection-closed-by-peer", no_default_handler)
46 };
47
48 } // namespace Gst