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