00001
00002
00003 #ifndef _GSTREAMERBASEMM_DECODEBIN_H
00004 #define _GSTREAMERBASEMM_DECODEBIN_H
00005
00006
00007 #include <glibmm.h>
00008
00009 #include <gstreamermm/bin.h>
00010 #include <gstreamermm/pad.h>
00011 #include <gstreamermm/caps.h>
00012
00013
00014 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00015 typedef struct _GstDecodeBin GstDecodeBin;
00016 typedef struct _GstDecodeBinClass GstDecodeBinClass;
00017 #endif
00018
00019
00020 namespace GstBase
00021 { class DecodeBin_Class; }
00022 namespace GstBase
00023 {
00024
00025
00035 class DecodeBin
00036 : public Gst::Bin
00037 {
00038
00039 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00040
00041 public:
00042 typedef DecodeBin CppObjectType;
00043 typedef DecodeBin_Class CppClassType;
00044 typedef GstDecodeBin BaseObjectType;
00045 typedef GstDecodeBinClass BaseClassType;
00046
00047 private: friend class DecodeBin_Class;
00048 static CppClassType decodebin_class_;
00049
00050 private:
00051
00052 DecodeBin(const DecodeBin&);
00053 DecodeBin& operator=(const DecodeBin&);
00054
00055 protected:
00056 explicit DecodeBin(const Glib::ConstructParams& construct_params);
00057 explicit DecodeBin(GstDecodeBin* castitem);
00058
00059 #endif
00060
00061 public:
00062 virtual ~DecodeBin();
00063
00064 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00065 static GType get_type() G_GNUC_CONST;
00066 static GType get_base_type() G_GNUC_CONST;
00067 #endif
00068
00070 GstDecodeBin* gobj() { return reinterpret_cast<GstDecodeBin*>(gobject_); }
00071
00073 const GstDecodeBin* gobj() const { return reinterpret_cast<GstDecodeBin*>(gobject_); }
00074
00076 GstDecodeBin* gobj_copy();
00077
00078 private:
00079
00080
00081 protected:
00082 DecodeBin();
00083 DecodeBin(const Glib::ustring& name);
00084
00085 public:
00089 static Glib::RefPtr<DecodeBin> create();
00090
00091
00095 static Glib::RefPtr<DecodeBin> create(const Glib::ustring& name);
00096
00097
00103 Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,bool > signal_new_decoded_pad();
00104
00105
00111 Glib::SignalProxy1< void,const Glib::RefPtr<Gst::Pad>& > signal_removed_decoded_pad();
00112
00113
00119 Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_unknown_type();
00120
00121
00122 public:
00123
00124 public:
00125
00126 #ifdef GLIBMM_VFUNCS_ENABLED
00127 #endif //GLIBMM_VFUNCS_ENABLED
00128
00129 protected:
00130
00131 #ifdef GLIBMM_VFUNCS_ENABLED
00132 #endif //GLIBMM_VFUNCS_ENABLED
00133
00134
00135 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00136 virtual void on_new_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0, bool arg1);
00137 virtual void on_removed_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0);
00138 virtual void on_unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1);
00139 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00140
00141
00142 };
00143
00144 }
00145
00146
00147 namespace Glib
00148 {
00157 Glib::RefPtr<GstBase::DecodeBin> wrap(GstDecodeBin* object, bool take_copy = false);
00158 }
00159
00160
00161 #endif
00162