00001
00002
00003 #ifndef _GSTREAMERMM_DECODEBIN_H
00004 #define _GSTREAMERMM_DECODEBIN_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include <gstreamermm/bin.h>
00029 #include <gstreamermm/caps.h>
00030 #include <gstreamermm/pad.h>
00031
00032
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GstDecodeBin GstDecodeBin;
00035 typedef struct _GstDecodeBinClass GstDecodeBinClass;
00036 #endif
00037
00038
00039 namespace Gst
00040 { class DecodeBin_Class; }
00041 namespace Gst
00042 {
00043
00044
00055 class DecodeBin
00056 : public Gst::Bin
00057 {
00058
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
00061 public:
00062 typedef DecodeBin CppObjectType;
00063 typedef DecodeBin_Class CppClassType;
00064 typedef GstDecodeBin BaseObjectType;
00065 typedef GstDecodeBinClass BaseClassType;
00066
00067 private: friend class DecodeBin_Class;
00068 static CppClassType decodebin_class_;
00069
00070 private:
00071
00072 DecodeBin(const DecodeBin&);
00073 DecodeBin& operator=(const DecodeBin&);
00074
00075 protected:
00076 explicit DecodeBin(const Glib::ConstructParams& construct_params);
00077 explicit DecodeBin(GstDecodeBin* castitem);
00078
00079 #endif
00080
00081 public:
00082 virtual ~DecodeBin();
00083
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086 static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088
00090 GstDecodeBin* gobj() { return reinterpret_cast<GstDecodeBin*>(gobject_); }
00091
00093 const GstDecodeBin* gobj() const { return reinterpret_cast<GstDecodeBin*>(gobject_); }
00094
00096 GstDecodeBin* gobj_copy();
00097
00098 private:
00099
00100
00101 protected:
00102 DecodeBin();
00103 DecodeBin(const Glib::ustring& name);
00104
00105 public:
00109 static Glib::RefPtr<DecodeBin> create();
00110
00111
00115 static Glib::RefPtr<DecodeBin> create(const Glib::ustring& name);
00116
00117
00118 #ifdef GLIBMM_PROPERTIES_ENABLED
00119
00125 Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_sink_caps() ;
00126 #endif //#GLIBMM_PROPERTIES_ENABLED
00127
00128 #ifdef GLIBMM_PROPERTIES_ENABLED
00129
00135 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_sink_caps() const;
00136 #endif //#GLIBMM_PROPERTIES_ENABLED
00137
00138
00144 Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,bool > signal_new_decoded_pad();
00145
00146
00152 Glib::SignalProxy1< void,const Glib::RefPtr<Gst::Pad>& > signal_removed_decoded_pad();
00153
00154
00160 Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_unknown_type();
00161
00162
00163 public:
00164
00165 public:
00166
00167 #ifdef GLIBMM_VFUNCS_ENABLED
00168 #endif //GLIBMM_VFUNCS_ENABLED
00169
00170 protected:
00171
00172 #ifdef GLIBMM_VFUNCS_ENABLED
00173 #endif //GLIBMM_VFUNCS_ENABLED
00174
00175
00176 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00177 virtual void on_new_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0, bool arg1);
00178 virtual void on_removed_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0);
00179 virtual void on_unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1);
00180 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00181
00182
00183 };
00184
00185 }
00186
00187
00188 namespace Glib
00189 {
00198 Glib::RefPtr<Gst::DecodeBin> wrap(GstDecodeBin* object, bool take_copy = false);
00199 }
00200
00201
00202 #endif
00203