// Generated by gmmproc 2.50.1 -- DO NOT MODIFY! #include #ifndef GSTREAMERMM_DISABLE_DEPRECATED #include #include #include // Generated by generate_plugin_gmmproc_file. Don't edit this file. extern "C" { GType gst_uri_decode_bin_gstreamermm_get_type() { static GType type = 0; GstElementFactory* factory = 0; GstPluginFeature* feature = 0; if(!type) { factory = gst_element_factory_find("uridecodebin"); // Make sure that the feature is actually loaded: if(factory) { feature = gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory)); g_object_unref(factory); factory = GST_ELEMENT_FACTORY(feature); type = gst_element_factory_get_element_type(factory); g_object_unref(factory); } } return type; } } // extern "C" namespace Gst { UriDecodeBin::UriDecodeBin() : // Mark this class as non-derived to allow C++ vfuncs to be skipped. Glib::ObjectBase(nullptr), Gst::Bin(Glib::ConstructParams(uridecodebin_class_.init(), "name",static_cast(0), nullptr)) {} UriDecodeBin::UriDecodeBin(const Glib::ustring& name) : // Mark this class as non-derived to allow C++ vfuncs to be skipped. Glib::ObjectBase(nullptr), Gst::Bin(Glib::ConstructParams(uridecodebin_class_.init(), "name",name.c_str(), nullptr)) {} } namespace { static void UriDecodeBin_signal_unknown_type_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,void* data) { using namespace Gst; using SlotType = sigc::slot< void,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) ); } catch(...) { Glib::exception_handlers_invoke(); } } } static const Glib::SignalProxyInfo UriDecodeBin_signal_unknown_type_info = { "unknown-type", (GCallback) &UriDecodeBin_signal_unknown_type_callback, (GCallback) &UriDecodeBin_signal_unknown_type_callback }; static gboolean UriDecodeBin_signal_autoplug_continue_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,void* data) { using namespace Gst; using SlotType = sigc::slot< bool,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) )); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = gboolean; return RType(); } static gboolean UriDecodeBin_signal_autoplug_continue_notify_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1, void* data) { using namespace Gst; using SlotType = sigc::slot< void,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) ); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = gboolean; return RType(); } static const Glib::SignalProxyInfo UriDecodeBin_signal_autoplug_continue_info = { "autoplug-continue", (GCallback) &UriDecodeBin_signal_autoplug_continue_callback, (GCallback) &UriDecodeBin_signal_autoplug_continue_notify_callback }; static GValueArray* UriDecodeBin_signal_autoplug_factories_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,void* data) { using namespace Gst; using SlotType = sigc::slot< Glib::ValueArray,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) return ((*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) )).gobj_copy(); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = GValueArray*; return RType(); } static GValueArray* UriDecodeBin_signal_autoplug_factories_notify_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1, void* data) { using namespace Gst; using SlotType = sigc::slot< void,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) ); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = GValueArray*; return RType(); } static const Glib::SignalProxyInfo UriDecodeBin_signal_autoplug_factories_info = { "autoplug-factories", (GCallback) &UriDecodeBin_signal_autoplug_factories_callback, (GCallback) &UriDecodeBin_signal_autoplug_factories_notify_callback }; static GValueArray* UriDecodeBin_signal_autoplug_sort_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,GValueArray* p2,void* data) { using namespace Gst; using SlotType = sigc::slot< Glib::ValueArray,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::ValueArray& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) return ((*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) , Glib::wrap(p2, true) )).gobj_copy(); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = GValueArray*; return RType(); } static GValueArray* UriDecodeBin_signal_autoplug_sort_notify_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,GValueArray* p2, void* data) { using namespace Gst; using SlotType = sigc::slot< void,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::ValueArray& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) , Glib::wrap(p2, true) ); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = GValueArray*; return RType(); } static const Glib::SignalProxyInfo UriDecodeBin_signal_autoplug_sort_info = { "autoplug-sort", (GCallback) &UriDecodeBin_signal_autoplug_sort_callback, (GCallback) &UriDecodeBin_signal_autoplug_sort_notify_callback }; static GstAutoplugSelectResult UriDecodeBin_signal_autoplug_select_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,GstElementFactory* p2,void* data) { using namespace Gst; using SlotType = sigc::slot< Gst::AutoplugSelectResult,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) return ((GstAutoplugSelectResult)((*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) , Glib::wrap(p2, true) ))); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = GstAutoplugSelectResult; return RType(); } static GstAutoplugSelectResult UriDecodeBin_signal_autoplug_select_notify_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,GstElementFactory* p2, void* data) { using namespace Gst; using SlotType = sigc::slot< void,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) , Glib::wrap(p2, true) ); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = GstAutoplugSelectResult; return RType(); } static const Glib::SignalProxyInfo UriDecodeBin_signal_autoplug_select_info = { "autoplug-select", (GCallback) &UriDecodeBin_signal_autoplug_select_callback, (GCallback) &UriDecodeBin_signal_autoplug_select_notify_callback }; static gboolean UriDecodeBin_signal_autoplug_query_callback(GstURIDecodeBin* self, GstPad* p0,GstElement* p1,GstQuery* p2,void* data) { using namespace Gst; using SlotType = sigc::slot< bool,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) return static_cast((*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) , Glib::wrap(p2, true) )); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = gboolean; return RType(); } static gboolean UriDecodeBin_signal_autoplug_query_notify_callback(GstURIDecodeBin* self, GstPad* p0,GstElement* p1,GstQuery* p2, void* data) { using namespace Gst; using SlotType = sigc::slot< void,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) , Glib::wrap(p1, true) , Glib::wrap(p2, true) ); } catch(...) { Glib::exception_handlers_invoke(); } } using RType = gboolean; return RType(); } static const Glib::SignalProxyInfo UriDecodeBin_signal_autoplug_query_info = { "autoplug-query", (GCallback) &UriDecodeBin_signal_autoplug_query_callback, (GCallback) &UriDecodeBin_signal_autoplug_query_notify_callback }; static const Glib::SignalProxyInfo UriDecodeBin_signal_drained_info = { "drained", (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, (GCallback) &Glib::SignalProxyNormal::slot0_void_callback }; static void UriDecodeBin_signal_source_setup_callback(GstURIDecodeBin* self, GstElement* p0,void* data) { using namespace Gst; using SlotType = sigc::slot< void,const Glib::RefPtr& >; auto obj = dynamic_cast(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); // Do not try to call a signal on a disassociated wrapper. if(obj) { try { if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::wrap(p0, true) ); } catch(...) { Glib::exception_handlers_invoke(); } } } static const Glib::SignalProxyInfo UriDecodeBin_signal_source_setup_info = { "source-setup", (GCallback) &UriDecodeBin_signal_source_setup_callback, (GCallback) &UriDecodeBin_signal_source_setup_callback }; } // anonymous namespace namespace Glib { Glib::RefPtr wrap(GstURIDecodeBin* object, bool take_copy) { return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); //We use dynamic_cast<> in case of multiple inheritance. } } /* namespace Glib */ namespace Gst { /* The *_Class implementation: */ const Glib::Class& UriDecodeBin_Class::init() { if(!gtype_) // create the GType if necessary { // Glib::Class has to know the class init function to clone custom types. class_init_func_ = &UriDecodeBin_Class::class_init_function; // This is actually just optimized away, apparently with no harm. // Make sure that the parent type has been created. //CppClassParent::CppObjectType::get_type(); // Create the wrapper type, with the same class/instance size as the base type. register_derived_type(gst_uri_decode_bin_gstreamermm_get_type()); // Add derived versions of interfaces, if the C type implements any interfaces: } return *this; } void UriDecodeBin_Class::class_init_function(void* g_class, void* class_data) { const auto klass = static_cast(g_class); CppClassParent::class_init_function(klass, class_data); } Glib::ObjectBase* UriDecodeBin_Class::wrap_new(GObject* object) { return new UriDecodeBin((GstURIDecodeBin*)object); } /* The implementation: */ GstURIDecodeBin* UriDecodeBin::gobj_copy() { reference(); return gobj(); } UriDecodeBin::UriDecodeBin(const Glib::ConstructParams& construct_params) : Gst::Bin(construct_params) { } UriDecodeBin::UriDecodeBin(GstURIDecodeBin* castitem) : Gst::Bin((GstBin*)(castitem)) {} UriDecodeBin::UriDecodeBin(UriDecodeBin&& src) noexcept : Gst::Bin(std::move(src)) {} UriDecodeBin& UriDecodeBin::operator=(UriDecodeBin&& src) noexcept { Gst::Bin::operator=(std::move(src)); return *this; } UriDecodeBin::~UriDecodeBin() noexcept {} UriDecodeBin::CppClassType UriDecodeBin::uridecodebin_class_; // initialize static member GType UriDecodeBin::get_type() { return uridecodebin_class_.init().get_type(); } GType UriDecodeBin::get_base_type() { return gst_uri_decode_bin_gstreamermm_get_type(); } Glib::RefPtr UriDecodeBin::create() { return Glib::RefPtr( new UriDecodeBin() ); } Glib::RefPtr UriDecodeBin::create(const Glib::ustring& name) { return Glib::RefPtr( new UriDecodeBin(name) ); } Glib::SignalProxy< void,const Glib::RefPtr&,const Glib::RefPtr& > UriDecodeBin::signal_unknown_type() { return Glib::SignalProxy< void,const Glib::RefPtr&,const Glib::RefPtr& >(this, &UriDecodeBin_signal_unknown_type_info); } Glib::SignalProxy< bool,const Glib::RefPtr&,const Glib::RefPtr& > UriDecodeBin::signal_autoplug_continue() { return Glib::SignalProxy< bool,const Glib::RefPtr&,const Glib::RefPtr& >(this, &UriDecodeBin_signal_autoplug_continue_info); } Glib::SignalProxy< Glib::ValueArray,const Glib::RefPtr&,const Glib::RefPtr& > UriDecodeBin::signal_autoplug_factories() { return Glib::SignalProxy< Glib::ValueArray,const Glib::RefPtr&,const Glib::RefPtr& >(this, &UriDecodeBin_signal_autoplug_factories_info); } Glib::SignalProxy< Glib::ValueArray,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::ValueArray& > UriDecodeBin::signal_autoplug_sort() { return Glib::SignalProxy< Glib::ValueArray,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::ValueArray& >(this, &UriDecodeBin_signal_autoplug_sort_info); } Glib::SignalProxy< Gst::AutoplugSelectResult,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::RefPtr& > UriDecodeBin::signal_autoplug_select() { return Glib::SignalProxy< Gst::AutoplugSelectResult,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::RefPtr& >(this, &UriDecodeBin_signal_autoplug_select_info); } Glib::SignalProxy< bool,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::RefPtr& > UriDecodeBin::signal_autoplug_query() { return Glib::SignalProxy< bool,const Glib::RefPtr&,const Glib::RefPtr&,const Glib::RefPtr& >(this, &UriDecodeBin_signal_autoplug_query_info); } Glib::SignalProxy< void > UriDecodeBin::signal_drained() { return Glib::SignalProxy< void >(this, &UriDecodeBin_signal_drained_info); } Glib::SignalProxy< void,const Glib::RefPtr& > UriDecodeBin::signal_source_setup() { return Glib::SignalProxy< void,const Glib::RefPtr& >(this, &UriDecodeBin_signal_source_setup_info); } Glib::PropertyProxy< Glib::ustring > UriDecodeBin::property_uri() { return Glib::PropertyProxy< Glib::ustring >(this, "uri"); } Glib::PropertyProxy_ReadOnly< Glib::ustring > UriDecodeBin::property_uri() const { return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "uri"); } Glib::PropertyProxy_ReadOnly< Glib::RefPtr > UriDecodeBin::property_source() const { return Glib::PropertyProxy_ReadOnly< Glib::RefPtr >(this, "source"); } Glib::PropertyProxy< guint64 > UriDecodeBin::property_connection_speed() { return Glib::PropertyProxy< guint64 >(this, "connection-speed"); } Glib::PropertyProxy_ReadOnly< guint64 > UriDecodeBin::property_connection_speed() const { return Glib::PropertyProxy_ReadOnly< guint64 >(this, "connection-speed"); } Glib::PropertyProxy< Glib::RefPtr > UriDecodeBin::property_caps() { return Glib::PropertyProxy< Glib::RefPtr >(this, "caps"); } Glib::PropertyProxy_ReadOnly< Glib::RefPtr > UriDecodeBin::property_caps() const { return Glib::PropertyProxy_ReadOnly< Glib::RefPtr >(this, "caps"); } Glib::PropertyProxy< Glib::ustring > UriDecodeBin::property_subtitle_encoding() { return Glib::PropertyProxy< Glib::ustring >(this, "subtitle-encoding"); } Glib::PropertyProxy_ReadOnly< Glib::ustring > UriDecodeBin::property_subtitle_encoding() const { return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "subtitle-encoding"); } Glib::PropertyProxy< int > UriDecodeBin::property_buffer_size() { return Glib::PropertyProxy< int >(this, "buffer-size"); } Glib::PropertyProxy_ReadOnly< int > UriDecodeBin::property_buffer_size() const { return Glib::PropertyProxy_ReadOnly< int >(this, "buffer-size"); } Glib::PropertyProxy< gint64 > UriDecodeBin::property_buffer_duration() { return Glib::PropertyProxy< gint64 >(this, "buffer-duration"); } Glib::PropertyProxy_ReadOnly< gint64 > UriDecodeBin::property_buffer_duration() const { return Glib::PropertyProxy_ReadOnly< gint64 >(this, "buffer-duration"); } Glib::PropertyProxy< bool > UriDecodeBin::property_download() { return Glib::PropertyProxy< bool >(this, "download"); } Glib::PropertyProxy_ReadOnly< bool > UriDecodeBin::property_download() const { return Glib::PropertyProxy_ReadOnly< bool >(this, "download"); } Glib::PropertyProxy< bool > UriDecodeBin::property_use_buffering() { return Glib::PropertyProxy< bool >(this, "use-buffering"); } Glib::PropertyProxy_ReadOnly< bool > UriDecodeBin::property_use_buffering() const { return Glib::PropertyProxy_ReadOnly< bool >(this, "use-buffering"); } Glib::PropertyProxy< bool > UriDecodeBin::property_expose_all_streams() { return Glib::PropertyProxy< bool >(this, "expose-all-streams"); } Glib::PropertyProxy_ReadOnly< bool > UriDecodeBin::property_expose_all_streams() const { return Glib::PropertyProxy_ReadOnly< bool >(this, "expose-all-streams"); } Glib::PropertyProxy< guint64 > UriDecodeBin::property_ring_buffer_max_size() { return Glib::PropertyProxy< guint64 >(this, "ring-buffer-max-size"); } Glib::PropertyProxy_ReadOnly< guint64 > UriDecodeBin::property_ring_buffer_max_size() const { return Glib::PropertyProxy_ReadOnly< guint64 >(this, "ring-buffer-max-size"); } } // namespace Gst #endif // GSTREAMERMM_DISABLE_DEPRECATED