// Generated by gtkmmproc -- DO NOT MODIFY!


#include <gstreamermm/uridecodebin.h>
#include <gstreamermm/private/uridecodebin_p.h>

// Generated by generate_plugin_gmmproc_file. Don't edit this file.


struct _GstURIDecodeBinClass
{
  GstBinClass parent_class;
  void (*unknown_type) (GstURIDecodeBin* element, GstPad* arg0, GstCaps* arg1);
  gboolean (*autoplug_continue) (GstURIDecodeBin* element, GstPad* arg0, GstCaps* arg1);
  GValueArray* (*autoplug_factories) (GstURIDecodeBin* element, GstPad* arg0, GstCaps* arg1);
  GstAutoplugSelectResult (*autoplug_select) (GstURIDecodeBin* element, GstPad* arg0, GstCaps* arg1, GstElementFactory* arg2);
  void (*drained) (GstURIDecodeBin* element);
};

extern "C"
{

GType gst_uri_decode_bin_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(0),
  Gst::Bin(Glib::ConstructParams(uridecodebin_class_.init(), "name",static_cast<char*>(0), static_cast<char*>(0)))
{}

UriDecodeBin::UriDecodeBin(const Glib::ustring& name)
: // Mark this class as non-derived to allow C++ vfuncs to be skipped.
  Glib::ObjectBase(0),
  Gst::Bin(Glib::ConstructParams(uridecodebin_class_.init(), "name",name.c_str(), static_cast<char*>(0)))
{}

}

namespace
{


static void UriDecodeBin_signal_unknown_type_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }
}

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;
  typedef sigc::slot< bool,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return static_cast<int>((*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef gboolean RType;
  return RType();
}

static gboolean UriDecodeBin_signal_autoplug_continue_notify_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef gboolean RType;
  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;
  typedef sigc::slot< Glib::ValueArray,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return ((*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
)).gobj_copy();
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GValueArray* RType;
  return RType();
}

static GValueArray* UriDecodeBin_signal_autoplug_factories_notify_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GValueArray* RType;
  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 GstAutoplugSelectResult UriDecodeBin_signal_autoplug_select_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,GstElementFactory* p2,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Gst::AutoplugSelectResult,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>&,const Glib::RefPtr<Gst::ElementFactory>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return ((GstAutoplugSelectResult)((*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
, Glib::wrap(p2, true)
)));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstAutoplugSelectResult RType;
  return RType();
}

static GstAutoplugSelectResult UriDecodeBin_signal_autoplug_select_notify_callback(GstURIDecodeBin* self, GstPad* p0,GstCaps* p1,GstElementFactory* p2, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>&,const Glib::RefPtr<Gst::ElementFactory>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
, Glib::wrap(p2, true)
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstAutoplugSelectResult RType;
  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 const Glib::SignalProxyInfo UriDecodeBin_signal_drained_info =
{
  "drained",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


} // anonymous namespace


namespace Glib
{

Glib::RefPtr<Gst::UriDecodeBin> wrap(GstURIDecodeBin* object, bool take_copy)
{
  return Glib::RefPtr<Gst::UriDecodeBin>( dynamic_cast<Gst::UriDecodeBin*> (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_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)
{
  BaseClassType *const klass = static_cast<BaseClassType*>(g_class);
  CppClassParent::class_init_function(klass, class_data);


  klass->unknown_type = &unknown_type_callback;
  klass->autoplug_continue = &autoplug_continue_callback;
  klass->autoplug_factories = &autoplug_factories_callback;
  klass->autoplug_select = &autoplug_select_callback;
  klass->drained = &drained_callback;
}


void UriDecodeBin_Class::unknown_type_callback(GstURIDecodeBin* self, GstPad* p0, GstCaps* p1)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        obj->on_unknown_type(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
);
        return;
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->unknown_type)
    (*base->unknown_type)(self, p0, p1);
}
gboolean UriDecodeBin_Class::autoplug_continue_callback(GstURIDecodeBin* self, GstPad* p0, GstCaps* p1)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return static_cast<int>(obj->on_autoplug_continue(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
));
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->autoplug_continue)
    return (*base->autoplug_continue)(self, p0, p1);

  typedef gboolean RType;
  return RType();
}
GValueArray* UriDecodeBin_Class::autoplug_factories_callback(GstURIDecodeBin* self, GstPad* p0, GstCaps* p1)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return (obj->on_autoplug_factories(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
)).gobj_copy();
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->autoplug_factories)
    return (*base->autoplug_factories)(self, p0, p1);

  typedef GValueArray* RType;
  return RType();
}
GstAutoplugSelectResult UriDecodeBin_Class::autoplug_select_callback(GstURIDecodeBin* self, GstPad* p0, GstCaps* p1, GstElementFactory* p2)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return ((GstAutoplugSelectResult)(obj->on_autoplug_select(Glib::wrap(p0, true)
, Glib::wrap(p1, true)
, Glib::wrap(p2, true)
)));
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->autoplug_select)
    return (*base->autoplug_select)(self, p0, p1, p2);

  typedef GstAutoplugSelectResult RType;
  return RType();
}
void UriDecodeBin_Class::drained_callback(GstURIDecodeBin* self)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        obj->on_drained();
        return;
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->drained)
    (*base->drained)(self);
}


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::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_get_type();
}


Glib::RefPtr<UriDecodeBin> UriDecodeBin::create()
{
  return Glib::RefPtr<UriDecodeBin>( new UriDecodeBin() );
}
Glib::RefPtr<UriDecodeBin> UriDecodeBin::create(const Glib::ustring& name)
{
  return Glib::RefPtr<UriDecodeBin>( new UriDecodeBin(name) );
}


Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > UriDecodeBin::signal_unknown_type()
{
  return Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& >(this, &UriDecodeBin_signal_unknown_type_info);
}


Glib::SignalProxy2< bool,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > UriDecodeBin::signal_autoplug_continue()
{
  return Glib::SignalProxy2< bool,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& >(this, &UriDecodeBin_signal_autoplug_continue_info);
}


Glib::SignalProxy2< Glib::ValueArray,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > UriDecodeBin::signal_autoplug_factories()
{
  return Glib::SignalProxy2< Glib::ValueArray,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& >(this, &UriDecodeBin_signal_autoplug_factories_info);
}


Glib::SignalProxy3< Gst::AutoplugSelectResult,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>&,const Glib::RefPtr<Gst::ElementFactory>& > UriDecodeBin::signal_autoplug_select()
{
  return Glib::SignalProxy3< Gst::AutoplugSelectResult,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>&,const Glib::RefPtr<Gst::ElementFactory>& >(this, &UriDecodeBin_signal_autoplug_select_info);
}


Glib::SignalProxy0< void > UriDecodeBin::signal_drained()
{
  return Glib::SignalProxy0< void >(this, &UriDecodeBin_signal_drained_info);
}


#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<Glib::ustring> UriDecodeBin::property_uri() 
{
  return Glib::PropertyProxy<Glib::ustring>(this, "uri");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> UriDecodeBin::property_uri() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "uri");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > UriDecodeBin::property_source() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "source");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<guint> UriDecodeBin::property_connection_speed() 
{
  return Glib::PropertyProxy<guint>(this, "connection-speed");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<guint> UriDecodeBin::property_connection_speed() const
{
  return Glib::PropertyProxy_ReadOnly<guint>(this, "connection-speed");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > UriDecodeBin::property_caps() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> >(this, "caps");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > UriDecodeBin::property_caps() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> >(this, "caps");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<Glib::ustring> UriDecodeBin::property_subtitle_encoding() 
{
  return Glib::PropertyProxy<Glib::ustring>(this, "subtitle-encoding");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> UriDecodeBin::property_subtitle_encoding() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "subtitle-encoding");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> UriDecodeBin::property_buffer_size() 
{
  return Glib::PropertyProxy<int>(this, "buffer-size");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> UriDecodeBin::property_buffer_size() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "buffer-size");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<gint64> UriDecodeBin::property_buffer_duration() 
{
  return Glib::PropertyProxy<gint64>(this, "buffer-duration");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<gint64> UriDecodeBin::property_buffer_duration() const
{
  return Glib::PropertyProxy_ReadOnly<gint64>(this, "buffer-duration");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> UriDecodeBin::property_download() 
{
  return Glib::PropertyProxy<bool>(this, "download");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> UriDecodeBin::property_download() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "download");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> UriDecodeBin::property_use_buffering() 
{
  return Glib::PropertyProxy<bool>(this, "use-buffering");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> UriDecodeBin::property_use_buffering() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "use-buffering");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> UriDecodeBin::property_expose_all_streams() 
{
  return Glib::PropertyProxy<bool>(this, "expose-all-streams");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> UriDecodeBin::property_expose_all_streams() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "expose-all-streams");
}
#endif //GLIBMM_PROPERTIES_ENABLED


void Gst::UriDecodeBin::on_unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->unknown_type)
    (*base->unknown_type)(gobj(),Glib::unwrap(arg0),Glib::unwrap(arg1));
}
bool Gst::UriDecodeBin::on_autoplug_continue(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->autoplug_continue)
    return (*base->autoplug_continue)(gobj(),Glib::unwrap(arg0),Glib::unwrap(arg1));

  typedef bool RType;
  return RType();
}
Glib::ValueArray Gst::UriDecodeBin::on_autoplug_factories(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->autoplug_factories)
    return Glib::wrap((*base->autoplug_factories)(gobj(),Glib::unwrap(arg0),Glib::unwrap(arg1)));

  typedef Glib::ValueArray RType;
  return RType();
}
Gst::AutoplugSelectResult Gst::UriDecodeBin::on_autoplug_select(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1, const Glib::RefPtr<Gst::ElementFactory>& arg2)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->autoplug_select)
    return ((Gst::AutoplugSelectResult)((*base->autoplug_select)(gobj(),Glib::unwrap(arg0),Glib::unwrap(arg1),Glib::unwrap(arg2))));

  typedef Gst::AutoplugSelectResult RType;
  return RType();
}
void Gst::UriDecodeBin::on_drained()
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->drained)
    (*base->drained)(gobj());
}


} // namespace Gst


