| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_MULTIQUEUE_H |
| 3 | #define _GSTREAMERMM_MULTIQUEUE_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/element.h> |
| 17 | |
| 18 | |
| 19 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 20 | using GstMultiQueue = struct _GstMultiQueue; |
| 21 | using GstMultiQueueClass = struct _GstMultiQueueClass; |
| 22 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 23 | |
| 24 | |
| 25 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 26 | namespace Gst |
| 27 | { class MultiQueue_Class; } // namespace Gst |
| 28 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 29 | |
| 30 | namespace Gst |
| 31 | { |
| 32 | |
| 33 | /** A Wrapper for the multiqueue plugin. |
| 34 | * Please note that not all plug-ins are available on all systems so care |
| 35 | * must be taken that they exist before they are used otherwise there will |
| 36 | * be errors and possibly a crash. |
| 37 | * |
| 38 | * @ingroup GstPlugins |
| 39 | * @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 40 | */ |
| 41 | |
| 42 | class MultiQueue |
| 43 | : public Gst::Element |
| 44 | { |
| 45 | |
| 46 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 47 | |
| 48 | public: |
| 49 | using CppObjectType = MultiQueue; |
| 50 | using CppClassType = MultiQueue_Class; |
| 51 | using BaseObjectType = GstMultiQueue; |
| 52 | using BaseClassType = GstMultiQueueClass; |
| 53 | |
| 54 | // noncopyable |
| 55 | MultiQueue(const MultiQueue&) = delete; |
| 56 | MultiQueue& operator=(const MultiQueue&) = delete; |
| 57 | |
| 58 | private: friend class MultiQueue_Class; |
| 59 | static CppClassType multiqueue_class_; |
| 60 | |
| 61 | protected: |
| 62 | explicit MultiQueue(const Glib::ConstructParams& construct_params); |
| 63 | explicit MultiQueue(GstMultiQueue* castitem); |
| 64 | |
| 65 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 66 | |
| 67 | public: |
| 68 | |
| 69 | MultiQueue(MultiQueue&& src) noexcept; |
| 70 | MultiQueue& operator=(MultiQueue&& src) noexcept; |
| 71 | |
| 72 | ~MultiQueue() noexcept override; |
| 73 | |
| 74 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 75 | */ |
| 76 | static GType get_type() G_GNUC_CONST; |
| 77 | |
| 78 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 79 | |
| 80 | |
| 81 | static GType get_base_type() G_GNUC_CONST; |
| 82 | #endif |
| 83 | |
| 84 | ///Provides access to the underlying C GObject. |
| 85 | GstMultiQueue* gobj() { return reinterpret_cast<GstMultiQueue*>(gobject_); } |
| 86 | |
| 87 | ///Provides access to the underlying C GObject. |
| 88 | const GstMultiQueue* gobj() const { return reinterpret_cast<GstMultiQueue*>(gobject_); } |
| 89 | |
| 90 | ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. |
| 91 | GstMultiQueue* gobj_copy(); |
| 92 | |
| 93 | private: |
| 94 | |
| 95 | |
| 96 | protected: |
| 97 | MultiQueue(); |
| 98 | explicit MultiQueue(const Glib::ustring& name); |
| 99 | |
| 100 | public: |
| 101 | /** Creates a new multiqueue plugin with a unique name. |
| 102 | */ |
| 103 | |
| 104 | static Glib::RefPtr<MultiQueue> create(); |
| 105 | |
| 106 | |
| 107 | /** Creates a new multiqueue plugin with the given name. |
| 108 | */ |
| 109 | |
| 110 | static Glib::RefPtr<MultiQueue> create(const Glib::ustring& name); |
| 111 | |
| 112 | |
| 113 | /** Amount of data the queues can grow if one of them is empty (bytes, 0=disable) (NOT IMPLEMENTED). |
| 114 | * |
| 115 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 116 | * or receive notification when the value of the property changes. |
| 117 | */ |
| 118 | Glib::PropertyProxy< guint > property_extra_size_bytes() ; |
| 119 | |
| 120 | /** Amount of data the queues can grow if one of them is empty (bytes, 0=disable) (NOT IMPLEMENTED). |
| 121 | * |
| 122 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 123 | * or receive notification when the value of the property changes. |
| 124 | */ |
| 125 | Glib::PropertyProxy_ReadOnly< guint > property_extra_size_bytes() const; |
| 126 | |
| 127 | /** Amount of buffers the queues can grow if one of them is empty (0=disable) (NOT IMPLEMENTED). |
| 128 | * |
| 129 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 130 | * or receive notification when the value of the property changes. |
| 131 | */ |
| 132 | Glib::PropertyProxy< guint > property_extra_size_buffers() ; |
| 133 | |
| 134 | /** Amount of buffers the queues can grow if one of them is empty (0=disable) (NOT IMPLEMENTED). |
| 135 | * |
| 136 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 137 | * or receive notification when the value of the property changes. |
| 138 | */ |
| 139 | Glib::PropertyProxy_ReadOnly< guint > property_extra_size_buffers() const; |
| 140 | |
| 141 | /** Amount of time the queues can grow if one of them is empty (in ns, 0=disable) (NOT IMPLEMENTED). |
| 142 | * |
| 143 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 144 | * or receive notification when the value of the property changes. |
| 145 | */ |
| 146 | Glib::PropertyProxy< guint64 > property_extra_size_time() ; |
| 147 | |
| 148 | /** Amount of time the queues can grow if one of them is empty (in ns, 0=disable) (NOT IMPLEMENTED). |
| 149 | * |
| 150 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 151 | * or receive notification when the value of the property changes. |
| 152 | */ |
| 153 | Glib::PropertyProxy_ReadOnly< guint64 > property_extra_size_time() const; |
| 154 | |
| 155 | /** Max. amount of data in the queue (bytes, 0=disable). |
| 156 | * |
| 157 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 158 | * or receive notification when the value of the property changes. |
| 159 | */ |
| 160 | Glib::PropertyProxy< guint > property_max_size_bytes() ; |
| 161 | |
| 162 | /** Max. amount of data in the queue (bytes, 0=disable). |
| 163 | * |
| 164 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 165 | * or receive notification when the value of the property changes. |
| 166 | */ |
| 167 | Glib::PropertyProxy_ReadOnly< guint > property_max_size_bytes() const; |
| 168 | |
| 169 | /** Max. number of buffers in the queue (0=disable). |
| 170 | * |
| 171 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 172 | * or receive notification when the value of the property changes. |
| 173 | */ |
| 174 | Glib::PropertyProxy< guint > property_max_size_buffers() ; |
| 175 | |
| 176 | /** Max. number of buffers in the queue (0=disable). |
| 177 | * |
| 178 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 179 | * or receive notification when the value of the property changes. |
| 180 | */ |
| 181 | Glib::PropertyProxy_ReadOnly< guint > property_max_size_buffers() const; |
| 182 | |
| 183 | /** Max. amount of data in the queue (in ns, 0=disable). |
| 184 | * |
| 185 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 186 | * or receive notification when the value of the property changes. |
| 187 | */ |
| 188 | Glib::PropertyProxy< guint64 > property_max_size_time() ; |
| 189 | |
| 190 | /** Max. amount of data in the queue (in ns, 0=disable). |
| 191 | * |
| 192 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 193 | * or receive notification when the value of the property changes. |
| 194 | */ |
| 195 | Glib::PropertyProxy_ReadOnly< guint64 > property_max_size_time() const; |
| 196 | |
| 197 | /** Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds. |
| 198 | * |
| 199 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 200 | * or receive notification when the value of the property changes. |
| 201 | */ |
| 202 | Glib::PropertyProxy< bool > property_use_buffering() ; |
| 203 | |
| 204 | /** Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds. |
| 205 | * |
| 206 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 207 | * or receive notification when the value of the property changes. |
| 208 | */ |
| 209 | Glib::PropertyProxy_ReadOnly< bool > property_use_buffering() const; |
| 210 | |
| 211 | /** Low threshold for buffering to start. |
| 212 | * |
| 213 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 214 | * or receive notification when the value of the property changes. |
| 215 | */ |
| 216 | Glib::PropertyProxy< int > property_low_percent() ; |
| 217 | |
| 218 | /** Low threshold for buffering to start. |
| 219 | * |
| 220 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 221 | * or receive notification when the value of the property changes. |
| 222 | */ |
| 223 | Glib::PropertyProxy_ReadOnly< int > property_low_percent() const; |
| 224 | |
| 225 | /** High threshold for buffering to finish. |
| 226 | * |
| 227 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 228 | * or receive notification when the value of the property changes. |
| 229 | */ |
| 230 | Glib::PropertyProxy< int > property_high_percent() ; |
| 231 | |
| 232 | /** High threshold for buffering to finish. |
| 233 | * |
| 234 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 235 | * or receive notification when the value of the property changes. |
| 236 | */ |
| 237 | Glib::PropertyProxy_ReadOnly< int > property_high_percent() const; |
| 238 | |
| 239 | //gtkmmproc error: low-watermark : property defs lookup failed. |
| 240 | //gtkmmproc error: high-watermark : property defs lookup failed. |
| 241 | /** Synchronize deactivated or not-linked streams by running time. |
| 242 | * |
| 243 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 244 | * or receive notification when the value of the property changes. |
| 245 | */ |
| 246 | Glib::PropertyProxy< bool > property_sync_by_running_time() ; |
| 247 | |
| 248 | /** Synchronize deactivated or not-linked streams by running time. |
| 249 | * |
| 250 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 251 | * or receive notification when the value of the property changes. |
| 252 | */ |
| 253 | Glib::PropertyProxy_ReadOnly< bool > property_sync_by_running_time() const; |
| 254 | |
| 255 | /** Adjust time limits based on input interleave. |
| 256 | * |
| 257 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 258 | * or receive notification when the value of the property changes. |
| 259 | */ |
| 260 | Glib::PropertyProxy< bool > property_use_interleave() ; |
| 261 | |
| 262 | /** Adjust time limits based on input interleave. |
| 263 | * |
| 264 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 265 | * or receive notification when the value of the property changes. |
| 266 | */ |
| 267 | Glib::PropertyProxy_ReadOnly< bool > property_use_interleave() const; |
| 268 | |
| 269 | /** Extra buffering in time for unlinked streams (if 'sync-by-running-time'). |
| 270 | * |
| 271 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 272 | * or receive notification when the value of the property changes. |
| 273 | */ |
| 274 | Glib::PropertyProxy< guint64 > property_unlinked_cache_time() ; |
| 275 | |
| 276 | /** Extra buffering in time for unlinked streams (if 'sync-by-running-time'). |
| 277 | * |
| 278 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 279 | * or receive notification when the value of the property changes. |
| 280 | */ |
| 281 | Glib::PropertyProxy_ReadOnly< guint64 > property_unlinked_cache_time() const; |
| 282 | |
| 283 | |
| 284 | /** |
| 285 | * @par Slot Prototype: |
| 286 | * <tt>void on_my_%underrun()</tt> |
| 287 | * |
| 288 | */ |
| 289 | |
| 290 | Glib::SignalProxy< void > signal_underrun(); |
| 291 | |
| 292 | |
| 293 | /** |
| 294 | * @par Slot Prototype: |
| 295 | * <tt>void on_my_%overrun()</tt> |
| 296 | * |
| 297 | */ |
| 298 | |
| 299 | Glib::SignalProxy< void > signal_overrun(); |
| 300 | |
| 301 | |
| 302 | public: |
| 303 | |
| 304 | public: |
| 305 | //C++ methods used to invoke GTK+ virtual functions: |
| 306 | |
| 307 | protected: |
| 308 | //GTK+ Virtual Functions (override these to change behaviour): |
| 309 | |
| 310 | //Default Signal Handlers:: |
| 311 | |
| 312 | |
| 313 | }; |
| 314 | |
| 315 | } // namespace Gst |
| 316 | |
| 317 | |
| 318 | namespace Glib |
| 319 | { |
| 320 | /** A Glib::wrap() method for this object. |
| 321 | * |
| 322 | * @param object The C instance. |
| 323 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 324 | * @result A C++ instance that wraps this C instance. |
| 325 | * |
| 326 | * @relates Gst::MultiQueue |
| 327 | */ |
| 328 | Glib::RefPtr<Gst::MultiQueue> wrap(GstMultiQueue* object, bool take_copy = false); |
| 329 | } |
| 330 | |
| 331 | |
| 332 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 333 | |
| 334 | |
| 335 | #endif /* _GSTREAMERMM_MULTIQUEUE_H */ |
| 336 |