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
00029
00030 #include <gstreamermm/bin.h>
00031 #include <gstreamermm/caps.h>
00032 #include <gstreamermm/pad.h>
00033
00034
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GstDecodeBin GstDecodeBin;
00037 typedef struct _GstDecodeBinClass GstDecodeBinClass;
00038 #endif
00039
00040
00041 namespace Gst
00042 { class DecodeBin_Class; }
00043 namespace Gst
00044 {
00045
00056 class DecodeBin
00057 : public Gst::Bin
00058 {
00059
00060 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00061
00062 public:
00063 typedef DecodeBin CppObjectType;
00064 typedef DecodeBin_Class CppClassType;
00065 typedef GstDecodeBin BaseObjectType;
00066 typedef GstDecodeBinClass BaseClassType;
00067
00068 private: friend class DecodeBin_Class;
00069 static CppClassType decodebin_class_;
00070
00071 private:
00072
00073 DecodeBin(const DecodeBin&);
00074 DecodeBin& operator=(const DecodeBin&);
00075
00076 protected:
00077 explicit DecodeBin(const Glib::ConstructParams& construct_params);
00078 explicit DecodeBin(GstDecodeBin* castitem);
00079
00080 #endif
00081
00082 public:
00083 virtual ~DecodeBin();
00084
00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00086 static GType get_type() G_GNUC_CONST;
00087
00088
00089 static GType get_base_type() G_GNUC_CONST;
00090 #endif
00091
00093 GstDecodeBin* gobj() { return reinterpret_cast<GstDecodeBin*>(gobject_); }
00094
00096 const GstDecodeBin* gobj() const { return reinterpret_cast<GstDecodeBin*>(gobject_); }
00097
00099 GstDecodeBin* gobj_copy();
00100
00101 private:
00102
00103
00104 protected:
00105 DecodeBin();
00106 DecodeBin(const Glib::ustring& name);
00107
00108 public:
00112 static Glib::RefPtr<DecodeBin> create();
00113
00114
00118 static Glib::RefPtr<DecodeBin> create(const Glib::ustring& name);
00119
00120
00121 #ifdef GLIBMM_PROPERTIES_ENABLED
00122
00128 Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_sink_caps() ;
00129 #endif //#GLIBMM_PROPERTIES_ENABLED
00130
00131 #ifdef GLIBMM_PROPERTIES_ENABLED
00132
00138 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_sink_caps() const;
00139 #endif //#GLIBMM_PROPERTIES_ENABLED
00140
00141
00147 Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,bool > signal_new_decoded_pad();
00148
00149
00155 Glib::SignalProxy1< void,const Glib::RefPtr<Gst::Pad>& > signal_removed_decoded_pad();
00156
00157
00163 Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_unknown_type();
00164
00165
00166 public:
00167
00168 public:
00169
00170 #ifdef GLIBMM_VFUNCS_ENABLED
00171 #endif //GLIBMM_VFUNCS_ENABLED
00172
00173 protected:
00174
00175 #ifdef GLIBMM_VFUNCS_ENABLED
00176 #endif //GLIBMM_VFUNCS_ENABLED
00177
00178
00179 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00180 virtual void on_new_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0, bool arg1);
00181 virtual void on_removed_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0);
00182 virtual void on_unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1);
00183 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00184
00185
00186 };
00187
00188 }
00189
00190
00191 namespace Glib
00192 {
00201 Glib::RefPtr<Gst::DecodeBin> wrap(GstDecodeBin* object, bool take_copy = false);
00202 }
00203
00204
00205 #endif
00206