// Generated by gmmproc 2.50.1 -- DO NOT MODIFY! #ifndef _GSTREAMERMM_DOWNLOADBUFFER_H #define _GSTREAMERMM_DOWNLOADBUFFER_H #include #ifndef GSTREAMERMM_DISABLE_DEPRECATED #include #include // Generated by generate_plugin_gmmproc_file. Don't edit this file. #include #ifndef DOXYGEN_SHOULD_SKIP_THIS using GstDownloadBuffer = struct _GstDownloadBuffer; using GstDownloadBufferClass = struct _GstDownloadBufferClass; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ #ifndef DOXYGEN_SHOULD_SKIP_THIS namespace Gst { class DownloadBuffer_Class; } // namespace Gst #endif //DOXYGEN_SHOULD_SKIP_THIS namespace Gst { /** A Wrapper for the downloadbuffer plugin. * Please note that not all plug-ins are available on all systems so care * must be taken that they exist before they are used otherwise there will * be errors and possibly a crash. * * @ingroup GstPlugins * @deprecated Plugins API is deprecated, and should not be used in a new code. */ class DownloadBuffer : public Gst::Element { #ifndef DOXYGEN_SHOULD_SKIP_THIS public: using CppObjectType = DownloadBuffer; using CppClassType = DownloadBuffer_Class; using BaseObjectType = GstDownloadBuffer; using BaseClassType = GstDownloadBufferClass; // noncopyable DownloadBuffer(const DownloadBuffer&) = delete; DownloadBuffer& operator=(const DownloadBuffer&) = delete; private: friend class DownloadBuffer_Class; static CppClassType downloadbuffer_class_; protected: explicit DownloadBuffer(const Glib::ConstructParams& construct_params); explicit DownloadBuffer(GstDownloadBuffer* castitem); #endif /* DOXYGEN_SHOULD_SKIP_THIS */ public: DownloadBuffer(DownloadBuffer&& src) noexcept; DownloadBuffer& operator=(DownloadBuffer&& src) noexcept; ~DownloadBuffer() noexcept override; /** Get the GType for this class, for use with the underlying GObject type system. */ static GType get_type() G_GNUC_CONST; #ifndef DOXYGEN_SHOULD_SKIP_THIS static GType get_base_type() G_GNUC_CONST; #endif ///Provides access to the underlying C GObject. GstDownloadBuffer* gobj() { return reinterpret_cast(gobject_); } ///Provides access to the underlying C GObject. const GstDownloadBuffer* gobj() const { return reinterpret_cast(gobject_); } ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. GstDownloadBuffer* gobj_copy(); private: protected: DownloadBuffer(); explicit DownloadBuffer(const Glib::ustring& name); public: /** Creates a new downloadbuffer plugin with a unique name. */ static Glib::RefPtr create(); /** Creates a new downloadbuffer plugin with the given name. */ static Glib::RefPtr create(const Glib::ustring& name); /** Max. amount of data to buffer (bytes, 0=disable). * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< guint > property_max_size_bytes() ; /** Max. amount of data to buffer (bytes, 0=disable). * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< guint > property_max_size_bytes() const; /** Max. amount of data to buffer (in ns, 0=disable). * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< guint64 > property_max_size_time() ; /** Max. amount of data to buffer (in ns, 0=disable). * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< guint64 > property_max_size_time() const; /** Low threshold for buffering to start. Only used if use-buffering is True. * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< int > property_low_percent() ; /** Low threshold for buffering to start. Only used if use-buffering is True. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< int > property_low_percent() const; /** High threshold for buffering to finish. Only used if use-buffering is True. * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< int > property_high_percent() ; /** High threshold for buffering to finish. Only used if use-buffering is True. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< int > property_high_percent() const; /** File template to store temporary files in, should contain directory and XXXXXX. (NULL == disabled). * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< Glib::ustring > property_temp_template() ; /** File template to store temporary files in, should contain directory and XXXXXX. (NULL == disabled). * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Glib::ustring > property_temp_template() const; /** Location to store temporary files in (Only read this property, use temp-template to configure the name template). * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Glib::ustring > property_temp_location() const; /** Remove the temp-location after use. * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< bool > property_temp_remove() ; /** Remove the temp-location after use. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< bool > property_temp_remove() const; public: public: //C++ methods used to invoke GTK+ virtual functions: protected: //GTK+ Virtual Functions (override these to change behaviour): //Default Signal Handlers:: }; } // namespace Gst namespace Glib { /** A Glib::wrap() method for this object. * * @param object The C instance. * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. * @result A C++ instance that wraps this C instance. * * @relates Gst::DownloadBuffer */ Glib::RefPtr wrap(GstDownloadBuffer* object, bool take_copy = false); } #endif // GSTREAMERMM_DISABLE_DEPRECATED #endif /* _GSTREAMERMM_DOWNLOADBUFFER_H */