| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_URIDECODEBIN_H |
| 3 | #define _GSTREAMERMM_URIDECODEBIN_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/bin.h> |
| 17 | #include <gstreamermm/element.h> |
| 18 | #include <gstreamermm/caps.h> |
| 19 | #include <gstreamermm/pad.h> |
| 20 | #include <glibmm/valuearray.h> |
| 21 | #include <gstreamermm/enums.h> |
| 22 | #include <gstreamermm/elementfactory.h> |
| 23 | #include <gstreamermm/query.h> |
| 24 | |
| 25 | |
| 26 | // Plug-in C enums used in signals: |
| 27 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 28 | using GstURIDecodeBin = struct _GstURIDecodeBin; |
| 29 | using GstURIDecodeBinClass = struct _GstURIDecodeBinClass; |
| 30 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 31 | |
| 32 | |
| 33 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 34 | namespace Gst |
| 35 | { class UriDecodeBin_Class; } // namespace Gst |
| 36 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 37 | |
| 38 | namespace Gst |
| 39 | { |
| 40 | |
| 41 | /** A Wrapper for the uridecodebin plugin. |
| 42 | * Please note that not all plug-ins are available on all systems so care |
| 43 | * must be taken that they exist before they are used otherwise there will |
| 44 | * be errors and possibly a crash. |
| 45 | * |
| 46 | * @ingroup GstPlugins |
| 47 | * @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 48 | */ |
| 49 | |
| 50 | class UriDecodeBin |
| 51 | : public Gst::Bin |
| 52 | { |
| 53 | |
| 54 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 55 | |
| 56 | public: |
| 57 | using CppObjectType = UriDecodeBin; |
| 58 | using CppClassType = UriDecodeBin_Class; |
| 59 | using BaseObjectType = GstURIDecodeBin; |
| 60 | using BaseClassType = GstURIDecodeBinClass; |
| 61 | |
| 62 | // noncopyable |
| 63 | UriDecodeBin(const UriDecodeBin&) = delete; |
| 64 | UriDecodeBin& operator=(const UriDecodeBin&) = delete; |
| 65 | |
| 66 | private: friend class UriDecodeBin_Class; |
| 67 | static CppClassType uridecodebin_class_; |
| 68 | |
| 69 | protected: |
| 70 | explicit UriDecodeBin(const Glib::ConstructParams& construct_params); |
| 71 | explicit UriDecodeBin(GstURIDecodeBin* castitem); |
| 72 | |
| 73 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 74 | |
| 75 | public: |
| 76 | |
| 77 | UriDecodeBin(UriDecodeBin&& src) noexcept; |
| 78 | UriDecodeBin& operator=(UriDecodeBin&& src) noexcept; |
| 79 | |
| 80 | ~UriDecodeBin() noexcept override; |
| 81 | |
| 82 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 83 | */ |
| 84 | static GType get_type() G_GNUC_CONST; |
| 85 | |
| 86 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 87 | |
| 88 | |
| 89 | static GType get_base_type() G_GNUC_CONST; |
| 90 | #endif |
| 91 | |
| 92 | ///Provides access to the underlying C GObject. |
| 93 | GstURIDecodeBin* gobj() { return reinterpret_cast<GstURIDecodeBin*>(gobject_); } |
| 94 | |
| 95 | ///Provides access to the underlying C GObject. |
| 96 | const GstURIDecodeBin* gobj() const { return reinterpret_cast<GstURIDecodeBin*>(gobject_); } |
| 97 | |
| 98 | ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. |
| 99 | GstURIDecodeBin* gobj_copy(); |
| 100 | |
| 101 | private: |
| 102 | |
| 103 | |
| 104 | protected: |
| 105 | UriDecodeBin(); |
| 106 | explicit UriDecodeBin(const Glib::ustring& name); |
| 107 | |
| 108 | public: |
| 109 | /** Creates a new uridecodebin plugin with a unique name. |
| 110 | */ |
| 111 | |
| 112 | static Glib::RefPtr<UriDecodeBin> create(); |
| 113 | |
| 114 | |
| 115 | /** Creates a new uridecodebin plugin with the given name. |
| 116 | */ |
| 117 | |
| 118 | static Glib::RefPtr<UriDecodeBin> create(const Glib::ustring& name); |
| 119 | |
| 120 | |
| 121 | /** URI to decode. |
| 122 | * |
| 123 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 124 | * or receive notification when the value of the property changes. |
| 125 | */ |
| 126 | Glib::PropertyProxy< Glib::ustring > property_uri() ; |
| 127 | |
| 128 | /** URI to decode. |
| 129 | * |
| 130 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 131 | * or receive notification when the value of the property changes. |
| 132 | */ |
| 133 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_uri() const; |
| 134 | |
| 135 | /** Source object used. |
| 136 | * |
| 137 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 138 | * or receive notification when the value of the property changes. |
| 139 | */ |
| 140 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_source() const; |
| 141 | |
| 142 | |
| 143 | /** Network connection speed in kbps (0 = unknown). |
| 144 | * |
| 145 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 146 | * or receive notification when the value of the property changes. |
| 147 | */ |
| 148 | Glib::PropertyProxy< guint64 > property_connection_speed() ; |
| 149 | |
| 150 | /** Network connection speed in kbps (0 = unknown). |
| 151 | * |
| 152 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 153 | * or receive notification when the value of the property changes. |
| 154 | */ |
| 155 | Glib::PropertyProxy_ReadOnly< guint64 > property_connection_speed() const; |
| 156 | |
| 157 | /** The caps on which to stop decoding. (NULL = default). |
| 158 | * |
| 159 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 160 | * or receive notification when the value of the property changes. |
| 161 | */ |
| 162 | Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_caps() ; |
| 163 | |
| 164 | /** The caps on which to stop decoding. (NULL = default). |
| 165 | * |
| 166 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 167 | * or receive notification when the value of the property changes. |
| 168 | */ |
| 169 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_caps() const; |
| 170 | |
| 171 | /** Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed. |
| 172 | * |
| 173 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 174 | * or receive notification when the value of the property changes. |
| 175 | */ |
| 176 | Glib::PropertyProxy< Glib::ustring > property_subtitle_encoding() ; |
| 177 | |
| 178 | /** Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed. |
| 179 | * |
| 180 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 181 | * or receive notification when the value of the property changes. |
| 182 | */ |
| 183 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_subtitle_encoding() const; |
| 184 | |
| 185 | /** Buffer size when buffering streams (-1 default value). |
| 186 | * |
| 187 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 188 | * or receive notification when the value of the property changes. |
| 189 | */ |
| 190 | Glib::PropertyProxy< int > property_buffer_size() ; |
| 191 | |
| 192 | /** Buffer size when buffering streams (-1 default value). |
| 193 | * |
| 194 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 195 | * or receive notification when the value of the property changes. |
| 196 | */ |
| 197 | Glib::PropertyProxy_ReadOnly< int > property_buffer_size() const; |
| 198 | |
| 199 | /** Buffer duration when buffering streams (-1 default value). |
| 200 | * |
| 201 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 202 | * or receive notification when the value of the property changes. |
| 203 | */ |
| 204 | Glib::PropertyProxy< gint64 > property_buffer_duration() ; |
| 205 | |
| 206 | /** Buffer duration when buffering streams (-1 default value). |
| 207 | * |
| 208 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 209 | * or receive notification when the value of the property changes. |
| 210 | */ |
| 211 | Glib::PropertyProxy_ReadOnly< gint64 > property_buffer_duration() const; |
| 212 | |
| 213 | /** Attempt download buffering when buffering network streams. |
| 214 | * |
| 215 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 216 | * or receive notification when the value of the property changes. |
| 217 | */ |
| 218 | Glib::PropertyProxy< bool > property_download() ; |
| 219 | |
| 220 | /** Attempt download buffering when buffering network streams. |
| 221 | * |
| 222 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 223 | * or receive notification when the value of the property changes. |
| 224 | */ |
| 225 | Glib::PropertyProxy_ReadOnly< bool > property_download() const; |
| 226 | |
| 227 | /** Perform buffering on demuxed/parsed media. |
| 228 | * |
| 229 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 230 | * or receive notification when the value of the property changes. |
| 231 | */ |
| 232 | Glib::PropertyProxy< bool > property_use_buffering() ; |
| 233 | |
| 234 | /** Perform buffering on demuxed/parsed media. |
| 235 | * |
| 236 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 237 | * or receive notification when the value of the property changes. |
| 238 | */ |
| 239 | Glib::PropertyProxy_ReadOnly< bool > property_use_buffering() const; |
| 240 | |
| 241 | /** Expose all streams, including those of unknown type or that don't match the 'caps' property. |
| 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_expose_all_streams() ; |
| 247 | |
| 248 | /** Expose all streams, including those of unknown type or that don't match the 'caps' property. |
| 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_expose_all_streams() const; |
| 254 | |
| 255 | /** Max. amount of data in the ring buffer (bytes, 0 = ring buffer disabled). |
| 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< guint64 > property_ring_buffer_max_size() ; |
| 261 | |
| 262 | /** Max. amount of data in the ring buffer (bytes, 0 = ring buffer disabled). |
| 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< guint64 > property_ring_buffer_max_size() const; |
| 268 | |
| 269 | |
| 270 | /** |
| 271 | * @par Slot Prototype: |
| 272 | * <tt>void on_my_%unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)</tt> |
| 273 | * |
| 274 | */ |
| 275 | |
| 276 | Glib::SignalProxy< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_unknown_type(); |
| 277 | |
| 278 | |
| 279 | /** |
| 280 | * @par Slot Prototype: |
| 281 | * <tt>bool on_my_%autoplug_continue(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)</tt> |
| 282 | * |
| 283 | */ |
| 284 | |
| 285 | Glib::SignalProxy< bool,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_autoplug_continue(); |
| 286 | |
| 287 | |
| 288 | /** |
| 289 | * @par Slot Prototype: |
| 290 | * <tt>Glib::ValueArray on_my_%autoplug_factories(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)</tt> |
| 291 | * |
| 292 | */ |
| 293 | |
| 294 | Glib::SignalProxy< Glib::ValueArray,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_autoplug_factories(); |
| 295 | |
| 296 | |
| 297 | /** |
| 298 | * @par Slot Prototype: |
| 299 | * <tt>Glib::ValueArray on_my_%autoplug_sort(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1, const Glib::ValueArray& arg2)</tt> |
| 300 | * |
| 301 | */ |
| 302 | |
| 303 | Glib::SignalProxy< Glib::ValueArray,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>&,const Glib::ValueArray& > signal_autoplug_sort(); |
| 304 | |
| 305 | |
| 306 | /** |
| 307 | * @par Slot Prototype: |
| 308 | * <tt>Gst::AutoplugSelectResult on_my_%autoplug_select(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1, const Glib::RefPtr<Gst::ElementFactory>& arg2)</tt> |
| 309 | * |
| 310 | */ |
| 311 | |
| 312 | Glib::SignalProxy< Gst::AutoplugSelectResult,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>&,const Glib::RefPtr<Gst::ElementFactory>& > signal_autoplug_select(); |
| 313 | |
| 314 | |
| 315 | /** |
| 316 | * @par Slot Prototype: |
| 317 | * <tt>bool on_my_%autoplug_query(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Element>& arg1, const Glib::RefPtr<Gst::Query>& arg2)</tt> |
| 318 | * |
| 319 | */ |
| 320 | |
| 321 | Glib::SignalProxy< bool,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Element>&,const Glib::RefPtr<Gst::Query>& > signal_autoplug_query(); |
| 322 | |
| 323 | |
| 324 | /** |
| 325 | * @par Slot Prototype: |
| 326 | * <tt>void on_my_%drained()</tt> |
| 327 | * |
| 328 | */ |
| 329 | |
| 330 | Glib::SignalProxy< void > signal_drained(); |
| 331 | |
| 332 | |
| 333 | /** |
| 334 | * @par Slot Prototype: |
| 335 | * <tt>void on_my_%source_setup(const Glib::RefPtr<Gst::Element>& arg0)</tt> |
| 336 | * |
| 337 | */ |
| 338 | |
| 339 | Glib::SignalProxy< void,const Glib::RefPtr<Gst::Element>& > signal_source_setup(); |
| 340 | |
| 341 | |
| 342 | public: |
| 343 | |
| 344 | public: |
| 345 | //C++ methods used to invoke GTK+ virtual functions: |
| 346 | |
| 347 | protected: |
| 348 | //GTK+ Virtual Functions (override these to change behaviour): |
| 349 | |
| 350 | //Default Signal Handlers:: |
| 351 | |
| 352 | |
| 353 | }; |
| 354 | |
| 355 | } // namespace Gst |
| 356 | |
| 357 | |
| 358 | namespace Glib |
| 359 | { |
| 360 | /** A Glib::wrap() method for this object. |
| 361 | * |
| 362 | * @param object The C instance. |
| 363 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 364 | * @result A C++ instance that wraps this C instance. |
| 365 | * |
| 366 | * @relates Gst::UriDecodeBin |
| 367 | */ |
| 368 | Glib::RefPtr<Gst::UriDecodeBin> wrap(GstURIDecodeBin* object, bool take_copy = false); |
| 369 | } |
| 370 | |
| 371 | |
| 372 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 373 | |
| 374 | |
| 375 | #endif /* _GSTREAMERMM_URIDECODEBIN_H */ |
| 376 |