Debian Codegraph @

gstreamer/gstreamermm/multisocketsink.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_MULTISOCKETSINK_H
3 #define _GSTREAMERMM_MULTISOCKETSINK_H
4
5 #include <gstreamermmconfig.h>
6
7 #ifndef GSTREAMERMM_DISABLE_DEPRECATED
8
9
10 #include <glibmm/ustring.h>
11 #include <sigc++/sigc++.h>
12
13 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
14
15
16 #include <gstreamermm/basesink.h>
17 #include <giomm/socket.h>
18 #include <gstreamermm/enums.h>
19 #include <gstreamermm/format.h>
20 #include <gstreamermm/structure.h>
21 #include <glibmm/object.h>
22 #include <gstreamermm/enums.h>
23
24
25 // Plug-in C enums used in signals:
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 using GstMultiSocketSink = struct _GstMultiSocketSink;
28 using GstMultiSocketSinkClass = struct _GstMultiSocketSinkClass;
29 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
30
31
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 namespace Gst
34 { class MultiSocketSink_Class; } // namespace Gst
35 #endif //DOXYGEN_SHOULD_SKIP_THIS
36
37 namespace Gst
38 {
39
40 /** A Wrapper for the multisocketsink plugin.
41 * Please note that not all plug-ins are available on all systems so care
42 * must be taken that they exist before they are used otherwise there will
43 * be errors and possibly a crash.
44 *
45 * @ingroup GstPlugins
46 * @deprecated Plugins API is deprecated, and should not be used in a new code.
47 */
48
49 class MultiSocketSink
50 : public Gst::BaseSink
51 {
52
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54
55 public:
56 using CppObjectType = MultiSocketSink;
57 using CppClassType = MultiSocketSink_Class;
58 using BaseObjectType = GstMultiSocketSink;
59 using BaseClassType = GstMultiSocketSinkClass;
60
61 // noncopyable
62 MultiSocketSink(const MultiSocketSink&) = delete;
63 MultiSocketSink& operator=(const MultiSocketSink&) = delete;
64
65 private: friend class MultiSocketSink_Class;
66 static CppClassType multisocketsink_class_;
67
68 protected:
69 explicit MultiSocketSink(const Glib::ConstructParams& construct_params);
70 explicit MultiSocketSink(GstMultiSocketSink* castitem);
71
72 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
73
74 public:
75
76 MultiSocketSink(MultiSocketSink&& src) noexcept;
77 MultiSocketSink& operator=(MultiSocketSink&& src) noexcept;
78
79 ~MultiSocketSink() noexcept override;
80
81 /** Get the GType for this class, for use with the underlying GObject type system.
82 */
83 static GType get_type() G_GNUC_CONST;
84
85 #ifndef DOXYGEN_SHOULD_SKIP_THIS
86
87
88 static GType get_base_type() G_GNUC_CONST;
89 #endif
90
91 ///Provides access to the underlying C GObject.
92 GstMultiSocketSink* gobj() { return reinterpret_cast<GstMultiSocketSink*>(gobject_); }
93
94 ///Provides access to the underlying C GObject.
95 const GstMultiSocketSink* gobj() const { return reinterpret_cast<GstMultiSocketSink*>(gobject_); }
96
97 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
98 GstMultiSocketSink* gobj_copy();
99
100 private:
101
102
103 protected:
104 MultiSocketSink();
105 explicit MultiSocketSink(const Glib::ustring& name);
106
107 public:
108 /** Creates a new multisocketsink plugin with a unique name.
109 */
110
111 static Glib::RefPtr<MultiSocketSink> create();
112
113
114 /** Creates a new multisocketsink plugin with the given name.
115 */
116
117 static Glib::RefPtr<MultiSocketSink> create(const Glib::ustring& name);
118
119
120 /** This is a convenience method for the action signal
121 * signal_add().
122 */
123 void add(const Glib::RefPtr<Gio::Socket>& arg0);
124
125 /** This is a convenience method for the action signal
126 * signal_add_full().
127 */
128 void add_full(const Glib::RefPtr<Gio::Socket>& arg0, Gst::MultiHandleSinkSyncMethod arg1, Gst::Format arg2, guint64 arg3, Gst::Format arg4, guint64 arg5);
129
130 /** This is a convenience method for the action signal
131 * signal_remove().
132 */
133 void remove(const Glib::RefPtr<Gio::Socket>& arg0);
134
135 /** This is a convenience method for the action signal
136 * signal_remove_flush().
137 */
138 void remove_flush(const Glib::RefPtr<Gio::Socket>& arg0);
139
140 /** This is a convenience method for the action signal
141 * signal_get_stats().
142 */
143 Gst::Structure get_stats(const Glib::RefPtr<Gio::Socket>& arg0);
144
145
146 /** If GstNetworkMessageDispatched events should be pushed.
147 *
148 * @return A PropertyProxy that allows you to get or set the value of the property,
149 * or receive notification when the value of the property changes.
150 */
151 Glib::PropertyProxy< bool > property_send_dispatched() ;
152
153 /** If GstNetworkMessageDispatched events should be pushed.
154 *
155 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
156 * or receive notification when the value of the property changes.
157 */
158 Glib::PropertyProxy_ReadOnly< bool > property_send_dispatched() const;
159
160 /** If GstNetworkMessage events should be pushed.
161 *
162 * @return A PropertyProxy that allows you to get or set the value of the property,
163 * or receive notification when the value of the property changes.
164 */
165 Glib::PropertyProxy< bool > property_send_messages() ;
166
167 /** If GstNetworkMessage events should be pushed.
168 *
169 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
170 * or receive notification when the value of the property changes.
171 */
172 Glib::PropertyProxy_ReadOnly< bool > property_send_messages() const;
173
174
175 /** This is an action signal which is designed to be used as a method. To
176 * do that, use its convenience method, add().
177 *
178 * @par Slot Prototype:
179 * <tt>void on_my_%add(const Glib::RefPtr<Gio::Socket>& arg0)</tt>
180 *
181 */
182
183 Glib::SignalProxy< void,const Glib::RefPtr<Gio::Socket>& > signal_add();
184
185
186 /** This is an action signal which is designed to be used as a method. To
187 * do that, use its convenience method, add_full().
188 *
189 * @par Slot Prototype:
190 * <tt>void on_my_%add_full(const Glib::RefPtr<Gio::Socket>& arg0, Gst::MultiHandleSinkSyncMethod arg1, Gst::Format arg2, guint64 arg3, Gst::Format arg4, guint64 arg5)</tt>
191 *
192 */
193
194 Glib::SignalProxy< void,const Glib::RefPtr<Gio::Socket>&,Gst::MultiHandleSinkSyncMethod,Gst::Format,guint64,Gst::Format,guint64 > signal_add_full();
195
196
197 /** This is an action signal which is designed to be used as a method. To
198 * do that, use its convenience method, remove().
199 *
200 * @par Slot Prototype:
201 * <tt>void on_my_%remove(const Glib::RefPtr<Gio::Socket>& arg0)</tt>
202 *
203 */
204
205 Glib::SignalProxy< void,const Glib::RefPtr<Gio::Socket>& > signal_remove();
206
207
208 /** This is an action signal which is designed to be used as a method. To
209 * do that, use its convenience method, remove_flush().
210 *
211 * @par Slot Prototype:
212 * <tt>void on_my_%remove_flush(const Glib::RefPtr<Gio::Socket>& arg0)</tt>
213 *
214 */
215
216 Glib::SignalProxy< void,const Glib::RefPtr<Gio::Socket>& > signal_remove_flush();
217
218
219 /** This is an action signal which is designed to be used as a method. To
220 * do that, use its convenience method, get_stats().
221 *
222 * @par Slot Prototype:
223 * <tt>Gst::Structure on_my_%get_stats(const Glib::RefPtr<Gio::Socket>& arg0)</tt>
224 *
225 */
226
227 Glib::SignalProxy< Gst::Structure,const Glib::RefPtr<Gio::Socket>& > signal_get_stats();
228
229
230 /**
231 * @par Slot Prototype:
232 * <tt>void on_my_%client_added(const Glib::RefPtr<Glib::Object>& arg0)</tt>
233 *
234 */
235
236 Glib::SignalProxy< void,const Glib::RefPtr<Glib::Object>& > signal_client_added();
237
238
239 /**
240 * @par Slot Prototype:
241 * <tt>void on_my_%client_removed(const Glib::RefPtr<Gio::Socket>& arg0, Gst::MultiHandleSinkClientStatus arg1)</tt>
242 *
243 */
244
245 Glib::SignalProxy< void,const Glib::RefPtr<Gio::Socket>&,Gst::MultiHandleSinkClientStatus > signal_client_removed();
246
247
248 /**
249 * @par Slot Prototype:
250 * <tt>void on_my_%client_socket_removed(const Glib::RefPtr<Gio::Socket>& arg0)</tt>
251 *
252 */
253
254 Glib::SignalProxy< void,const Glib::RefPtr<Gio::Socket>& > signal_client_socket_removed();
255
256
257 public:
258
259 public:
260 //C++ methods used to invoke GTK+ virtual functions:
261
262 protected:
263 //GTK+ Virtual Functions (override these to change behaviour):
264
265 //Default Signal Handlers::
266
267
268 };
269
270 } // namespace Gst
271
272
273 namespace Glib
274 {
275 /** A Glib::wrap() method for this object.
276 *
277 * @param object The C instance.
278 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
279 * @result A C++ instance that wraps this C instance.
280 *
281 * @relates Gst::MultiSocketSink
282 */
283 Glib::RefPtr<Gst::MultiSocketSink> wrap(GstMultiSocketSink* object, bool take_copy = false);
284 }
285
286
287 #endif // GSTREAMERMM_DISABLE_DEPRECATED
288
289
290 #endif /* _GSTREAMERMM_MULTISOCKETSINK_H */
291