// -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _GSTREAMERMM_DECODEBIN_H
#define _GSTREAMERMM_DECODEBIN_H


#include <glibmm.h>

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


#include <gstreamermm/bin.h>
#include <gstreamermm/caps.h>
#include <gstreamermm/pad.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _GstDecodeBin GstDecodeBin;
typedef struct _GstDecodeBinClass GstDecodeBinClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Gst
{ class DecodeBin_Class; } // namespace Gst
namespace Gst
{

/** A Wrapper for the decodebin plugin.
 * Please note that, though using the underlying GObject is fine, using its C
 * <B>type</B> is not guaranteed to be API stable across releases because it is
 * not guaranteed to always remain the same.  Also, 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
 */

class DecodeBin
: public Gst::Bin
{
  
#ifndef DOXYGEN_SHOULD_SKIP_THIS

public:
  typedef DecodeBin CppObjectType;
  typedef DecodeBin_Class CppClassType;
  typedef GstDecodeBin BaseObjectType;
  typedef GstDecodeBinClass BaseClassType;

private:  friend class DecodeBin_Class;
  static CppClassType decodebin_class_;

private:
  // noncopyable
  DecodeBin(const DecodeBin&);
  DecodeBin& operator=(const DecodeBin&);

protected:
  explicit DecodeBin(const Glib::ConstructParams& construct_params);
  explicit DecodeBin(GstDecodeBin* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:
  virtual ~DecodeBin();

#ifndef DOXYGEN_SHOULD_SKIP_THIS
  static GType get_type()      G_GNUC_CONST;


  static GType get_base_type() G_GNUC_CONST;
#endif

  ///Provides access to the underlying C GObject.
  GstDecodeBin*       gobj()       { return reinterpret_cast<GstDecodeBin*>(gobject_); }

  ///Provides access to the underlying C GObject.
  const GstDecodeBin* gobj() const { return reinterpret_cast<GstDecodeBin*>(gobject_); }

  ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
  GstDecodeBin* gobj_copy();

private:

  
protected:
  DecodeBin();
  explicit DecodeBin(const Glib::ustring& name);

public:
  /** Creates a new decodebin plugin with a unique name.
   */
  
  static Glib::RefPtr<DecodeBin> create();


  /** Creates a new decodebin plugin with the given name.
   */
  
  static Glib::RefPtr<DecodeBin> create(const Glib::ustring& name);


  #ifdef GLIBMM_PROPERTIES_ENABLED
/** The caps of the input data. (NULL = use typefind element).
   *
   * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
   * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
   * the value of the property changes.
   */
  Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_sink_caps() ;
#endif //#GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
/** The caps of the input data. (NULL = use typefind element).
   *
   * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
   * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
   * the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_sink_caps() const;
#endif //#GLIBMM_PROPERTIES_ENABLED


  /**
   * @par Prototype:
   * <tt>void on_my_%new_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0, bool arg1)</tt>
   */

  Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,bool > signal_new_decoded_pad();

 
  /**
   * @par Prototype:
   * <tt>void on_my_%removed_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0)</tt>
   */

  Glib::SignalProxy1< void,const Glib::RefPtr<Gst::Pad>& > signal_removed_decoded_pad();

 
  /**
   * @par Prototype:
   * <tt>void on_my_%unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)</tt>
   */

  Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_unknown_type();


public:

public:
  //C++ methods used to invoke GTK+ virtual functions:

protected:
  //GTK+ Virtual Functions (override these to change behaviour):

  //Default Signal Handlers::
  virtual void on_new_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0, bool arg1);
  virtual void on_removed_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0);
  virtual void on_unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1);


};

} // 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::DecodeBin
   */
  Glib::RefPtr<Gst::DecodeBin> wrap(GstDecodeBin* object, bool take_copy = false);
}


#endif /* _GSTREAMERMM_DECODEBIN_H */

