| 1 |
// Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 2 |
|
| 3 |
|
| 4 |
#include <gstreamermm/basesink.h> |
| 5 |
#include <giomm/socket.h> |
| 6 |
#include <gstreamermm/enums.h> |
| 7 |
#include <gstreamermm/format.h> |
| 8 |
#include <gstreamermm/structure.h> |
| 9 |
#include <glibmm/object.h> |
| 10 |
#include <gstreamermm/enums.h> |
| 11 |
_DEFS(gstreamermm,gst) |
| 12 |
|
| 13 |
_CONFIGINCLUDE(gstreamermmconfig.h) |
| 14 |
_IS_DEPRECATED |
| 15 |
|
| 16 |
// Plug-in C enums used in signals: |
| 17 |
namespace Gst |
| 18 |
{ |
| 19 |
|
| 20 |
/** A Wrapper for the multisocketsink plugin. |
| 21 |
* Please note that not all plug-ins are available on all systems so care |
| 22 |
* must be taken that they exist before they are used otherwise there will |
| 23 |
* be errors and possibly a crash. |
| 24 |
* |
| 25 |
* @ingroup GstPlugins |
| 26 |
* @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 27 |
*/ |
| 28 |
class MultiSocketSink |
| 29 |
: public Gst::BaseSink |
| 30 |
{ |
| 31 |
_CLASS_GOBJECT(MultiSocketSink, GstMultiSocketSink, GST_MULTI_SOCKET_SINK_GSTREAMERMM, Gst::BaseSink, GstBaseSink) |
| 32 |
_IS_GSTREAMERMM_PLUGIN |
| 33 |
protected: |
| 34 |
MultiSocketSink(); |
| 35 |
explicit MultiSocketSink(const Glib::ustring& name); |
| 36 |
|
| 37 |
public: |
| 38 |
/** Creates a new multisocketsink plugin with a unique name. |
| 39 |
*/ |
| 40 |
_WRAP_CREATE() |
| 41 |
|
| 42 |
/** Creates a new multisocketsink plugin with the given name. |
| 43 |
*/ |
| 44 |
_WRAP_CREATE(const Glib::ustring& name) |
| 45 |
|
| 46 |
/** This is a convenience method for the action signal |
| 47 |
* signal_add(). |
| 48 |
*/ |
| 49 |
void add(const Glib::RefPtr<Gio::Socket>& arg0); |
| 50 |
|
| 51 |
/** This is a convenience method for the action signal |
| 52 |
* signal_add_full(). |
| 53 |
*/ |
| 54 |
void add_full(const Glib::RefPtr<Gio::Socket>& arg0, Gst::MultiHandleSinkSyncMethod arg1, Gst::Format arg2, guint64 arg3, Gst::Format arg4, guint64 arg5); |
| 55 |
|
| 56 |
/** This is a convenience method for the action signal |
| 57 |
* signal_remove(). |
| 58 |
*/ |
| 59 |
void remove(const Glib::RefPtr<Gio::Socket>& arg0); |
| 60 |
|
| 61 |
/** This is a convenience method for the action signal |
| 62 |
* signal_remove_flush(). |
| 63 |
*/ |
| 64 |
void remove_flush(const Glib::RefPtr<Gio::Socket>& arg0); |
| 65 |
|
| 66 |
/** This is a convenience method for the action signal |
| 67 |
* signal_get_stats(). |
| 68 |
*/ |
| 69 |
Gst::Structure get_stats(const Glib::RefPtr<Gio::Socket>& arg0); |
| 70 |
|
| 71 |
|
| 72 |
_WRAP_PROPERTY("send-dispatched", bool) |
| 73 |
_WRAP_PROPERTY("send-messages", bool) |
| 74 |
|
| 75 |
|
| 76 |
#m4 _CONVERSION(`GSocket*', `const Glib::RefPtr<Gio::Socket>&', `Glib::wrap($3, true)') |
| 77 |
/** This is an action signal which is designed to be used as a method. To |
| 78 |
* do that, use its convenience method, add(). |
| 79 |
*/ |
| 80 |
_WRAP_SIGNAL(void add(const Glib::RefPtr<Gio::Socket>& arg0), "add", no_default_handler) |
| 81 |
|
| 82 |
|
| 83 |
#m4 _CONVERSION(`GSocket*', `const Glib::RefPtr<Gio::Socket>&', `Glib::wrap($3, true)') |
| 84 |
/** This is an action signal which is designed to be used as a method. To |
| 85 |
* do that, use its convenience method, add_full(). |
| 86 |
*/ |
| 87 |
_WRAP_SIGNAL(void add_full(const Glib::RefPtr<Gio::Socket>& arg0, Gst::MultiHandleSinkSyncMethod arg1, Gst::Format arg2, guint64 arg3, Gst::Format arg4, guint64 arg5), "add-full", no_default_handler) |
| 88 |
|
| 89 |
|
| 90 |
#m4 _CONVERSION(`GSocket*', `const Glib::RefPtr<Gio::Socket>&', `Glib::wrap($3, true)') |
| 91 |
/** This is an action signal which is designed to be used as a method. To |
| 92 |
* do that, use its convenience method, remove(). |
| 93 |
*/ |
| 94 |
_WRAP_SIGNAL(void remove(const Glib::RefPtr<Gio::Socket>& arg0), "remove", no_default_handler) |
| 95 |
|
| 96 |
|
| 97 |
#m4 _CONVERSION(`GSocket*', `const Glib::RefPtr<Gio::Socket>&', `Glib::wrap($3, true)') |
| 98 |
/** This is an action signal which is designed to be used as a method. To |
| 99 |
* do that, use its convenience method, remove_flush(). |
| 100 |
*/ |
| 101 |
_WRAP_SIGNAL(void remove_flush(const Glib::RefPtr<Gio::Socket>& arg0), "remove-flush", no_default_handler) |
| 102 |
|
| 103 |
|
| 104 |
#m4 _CONVERSION(`Gst::Structure', `GstStructure*', `($3).gobj_copy()') |
| 105 |
#m4 _CONVERSION(`GstStructure*', `Gst::Structure', `Glib::wrap($3)') |
| 106 |
#m4 _CONVERSION(`GSocket*', `const Glib::RefPtr<Gio::Socket>&', `Glib::wrap($3, true)') |
| 107 |
/** This is an action signal which is designed to be used as a method. To |
| 108 |
* do that, use its convenience method, get_stats(). |
| 109 |
*/ |
| 110 |
_WRAP_SIGNAL(Gst::Structure get_stats(const Glib::RefPtr<Gio::Socket>& arg0), "get-stats", no_default_handler) |
| 111 |
|
| 112 |
#m4 _CONVERSION(`GObject*', `const Glib::RefPtr<Glib::Object>&', `Glib::wrap($3, true)') |
| 113 |
_WRAP_SIGNAL(void client_added(const Glib::RefPtr<Glib::Object>& arg0), "client-added", no_default_handler) |
| 114 |
#m4 _CONVERSION(`GSocket*', `const Glib::RefPtr<Gio::Socket>&', `Glib::wrap($3, true)') |
| 115 |
_WRAP_SIGNAL(void client_removed(const Glib::RefPtr<Gio::Socket>& arg0, Gst::MultiHandleSinkClientStatus arg1), "client-removed", no_default_handler) |
| 116 |
#m4 _CONVERSION(`GSocket*', `const Glib::RefPtr<Gio::Socket>&', `Glib::wrap($3, true)') |
| 117 |
_WRAP_SIGNAL(void client_socket_removed(const Glib::RefPtr<Gio::Socket>& arg0), "client-socket-removed", no_default_handler) |
| 118 |
}; |
| 119 |
|
| 120 |
} // namespace Gst |