00001
00002
00003 #ifndef _GSTREAMERBASEMM_GIOSTREAMSINK_H
00004 #define _GSTREAMERBASEMM_GIOSTREAMSINK_H
00005
00006
00007 #include <glibmm.h>
00008
00009 #include <gstreamermm/basesink.h>
00010 #include <giomm/outputstream.h>
00011
00012
00013 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00014 typedef struct _GstGioStreamSink GstGioStreamSink;
00015 typedef struct _GstGioStreamSinkClass GstGioStreamSinkClass;
00016 #endif
00017
00018
00019 namespace GstBase
00020 { class GioStreamSink_Class; }
00021 namespace GstBase
00022 {
00023
00024
00034 class GioStreamSink
00035 : public Gst::BaseSink
00036 {
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039
00040 public:
00041 typedef GioStreamSink CppObjectType;
00042 typedef GioStreamSink_Class CppClassType;
00043 typedef GstGioStreamSink BaseObjectType;
00044 typedef GstGioStreamSinkClass BaseClassType;
00045
00046 private: friend class GioStreamSink_Class;
00047 static CppClassType giostreamsink_class_;
00048
00049 private:
00050
00051 GioStreamSink(const GioStreamSink&);
00052 GioStreamSink& operator=(const GioStreamSink&);
00053
00054 protected:
00055 explicit GioStreamSink(const Glib::ConstructParams& construct_params);
00056 explicit GioStreamSink(GstGioStreamSink* castitem);
00057
00058 #endif
00059
00060 public:
00061 virtual ~GioStreamSink();
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 GstGioStreamSink* gobj() { return reinterpret_cast<GstGioStreamSink*>(gobject_); }
00070
00072 const GstGioStreamSink* gobj() const { return reinterpret_cast<GstGioStreamSink*>(gobject_); }
00073
00075 GstGioStreamSink* gobj_copy();
00076
00077 private:
00078
00079
00080 protected:
00081 GioStreamSink();
00082 GioStreamSink(const Glib::ustring& name);
00083
00084 public:
00088 static Glib::RefPtr<GioStreamSink> create();
00089
00090
00094 static Glib::RefPtr<GioStreamSink> create(const Glib::ustring& name);
00095
00096
00097 #ifdef GLIBMM_PROPERTIES_ENABLED
00098
00104 Glib::PropertyProxy< Glib::RefPtr<Gio::OutputStream> > property_stream() ;
00105 #endif //#GLIBMM_PROPERTIES_ENABLED
00106
00107 #ifdef GLIBMM_PROPERTIES_ENABLED
00108
00114 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::OutputStream> > 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::GioStreamSink> wrap(GstGioStreamSink* object, bool take_copy = false);
00151 }
00152
00153
00154 #endif
00155