00001
00002
00003 #ifndef _GSTREAMERBASEMM_GIOSTREAMSRC_H
00004 #define _GSTREAMERBASEMM_GIOSTREAMSRC_H
00005
00006
00007 #include <glibmm.h>
00008
00009 #include <gstreamermm/basesrc.h>
00010 #include <giomm/inputstream.h>
00011
00012
00013 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00014 typedef struct _GstGioStreamSrc GstGioStreamSrc;
00015 typedef struct _GstGioStreamSrcClass GstGioStreamSrcClass;
00016 #endif
00017
00018
00019 namespace GstBase
00020 { class GioStreamSrc_Class; }
00021 namespace GstBase
00022 {
00023
00024
00034 class GioStreamSrc
00035 : public Gst::BaseSrc
00036 {
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039
00040 public:
00041 typedef GioStreamSrc CppObjectType;
00042 typedef GioStreamSrc_Class CppClassType;
00043 typedef GstGioStreamSrc BaseObjectType;
00044 typedef GstGioStreamSrcClass BaseClassType;
00045
00046 private: friend class GioStreamSrc_Class;
00047 static CppClassType giostreamsrc_class_;
00048
00049 private:
00050
00051 GioStreamSrc(const GioStreamSrc&);
00052 GioStreamSrc& operator=(const GioStreamSrc&);
00053
00054 protected:
00055 explicit GioStreamSrc(const Glib::ConstructParams& construct_params);
00056 explicit GioStreamSrc(GstGioStreamSrc* castitem);
00057
00058 #endif
00059
00060 public:
00061 virtual ~GioStreamSrc();
00062
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064 static GType get_type() G_GNUC_CONST;
00065 static GType get_base_type() G_GNUC_CONST;
00066 #endif
00067
00069 GstGioStreamSrc* gobj() { return reinterpret_cast<GstGioStreamSrc*>(gobject_); }
00070
00072 const GstGioStreamSrc* gobj() const { return reinterpret_cast<GstGioStreamSrc*>(gobject_); }
00073
00075 GstGioStreamSrc* gobj_copy();
00076
00077 private:
00078
00079
00080 protected:
00081 GioStreamSrc();
00082 GioStreamSrc(const Glib::ustring& name);
00083
00084 public:
00088 static Glib::RefPtr<GioStreamSrc> create();
00089
00090
00094 static Glib::RefPtr<GioStreamSrc> create(const Glib::ustring& name);
00095
00096
00097 #ifdef GLIBMM_PROPERTIES_ENABLED
00098
00104 Glib::PropertyProxy< Glib::RefPtr<Gio::InputStream> > property_stream() ;
00105 #endif //#GLIBMM_PROPERTIES_ENABLED
00106
00107 #ifdef GLIBMM_PROPERTIES_ENABLED
00108
00114 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::InputStream> > property_stream() const;
00115 #endif //#GLIBMM_PROPERTIES_ENABLED
00116
00117
00118 public:
00119
00120 public:
00121
00122 #ifdef GLIBMM_VFUNCS_ENABLED
00123 #endif //GLIBMM_VFUNCS_ENABLED
00124
00125 protected:
00126
00127 #ifdef GLIBMM_VFUNCS_ENABLED
00128 #endif //GLIBMM_VFUNCS_ENABLED
00129
00130
00131 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00132 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00133
00134
00135 };
00136
00137 }
00138
00139
00140 namespace Glib
00141 {
00150 Glib::RefPtr<GstBase::GioStreamSrc> wrap(GstGioStreamSrc* object, bool take_copy = false);
00151 }
00152
00153
00154 #endif
00155