00001
00002
00003 #ifndef _GSTREAMERMM_GIOSTREAMSINK_H
00004 #define _GSTREAMERMM_GIOSTREAMSINK_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/basesink.h>
00031 #include <giomm/outputstream.h>
00032
00033
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstGioStreamSink GstGioStreamSink;
00036 typedef struct _GstGioStreamSinkClass GstGioStreamSinkClass;
00037 #endif
00038
00039
00040 namespace Gst
00041 { class GioStreamSink_Class; }
00042 namespace Gst
00043 {
00044
00055 class GioStreamSink
00056 : public Gst::BaseSink
00057 {
00058
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
00061 public:
00062 typedef GioStreamSink CppObjectType;
00063 typedef GioStreamSink_Class CppClassType;
00064 typedef GstGioStreamSink BaseObjectType;
00065 typedef GstGioStreamSinkClass BaseClassType;
00066
00067 private: friend class GioStreamSink_Class;
00068 static CppClassType giostreamsink_class_;
00069
00070 private:
00071
00072 GioStreamSink(const GioStreamSink&);
00073 GioStreamSink& operator=(const GioStreamSink&);
00074
00075 protected:
00076 explicit GioStreamSink(const Glib::ConstructParams& construct_params);
00077 explicit GioStreamSink(GstGioStreamSink* castitem);
00078
00079 #endif
00080
00081 public:
00082 virtual ~GioStreamSink();
00083
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086
00087
00088 static GType get_base_type() G_GNUC_CONST;
00089 #endif
00090
00092 GstGioStreamSink* gobj() { return reinterpret_cast<GstGioStreamSink*>(gobject_); }
00093
00095 const GstGioStreamSink* gobj() const { return reinterpret_cast<GstGioStreamSink*>(gobject_); }
00096
00098 GstGioStreamSink* gobj_copy();
00099
00100 private:
00101
00102
00103 protected:
00104 GioStreamSink();
00105 GioStreamSink(const Glib::ustring& name);
00106
00107 public:
00111 static Glib::RefPtr<GioStreamSink> create();
00112
00113
00117 static Glib::RefPtr<GioStreamSink> create(const Glib::ustring& name);
00118
00119
00120 #ifdef GLIBMM_PROPERTIES_ENABLED
00121
00127 Glib::PropertyProxy< Glib::RefPtr<Gio::OutputStream> > property_stream() ;
00128 #endif //#GLIBMM_PROPERTIES_ENABLED
00129
00130 #ifdef GLIBMM_PROPERTIES_ENABLED
00131
00137 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::OutputStream> > property_stream() const;
00138 #endif //#GLIBMM_PROPERTIES_ENABLED
00139
00140
00141 public:
00142
00143 public:
00144
00145 #ifdef GLIBMM_VFUNCS_ENABLED
00146 #endif //GLIBMM_VFUNCS_ENABLED
00147
00148 protected:
00149
00150 #ifdef GLIBMM_VFUNCS_ENABLED
00151 #endif //GLIBMM_VFUNCS_ENABLED
00152
00153
00154 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00155 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00156
00157
00158 };
00159
00160 }
00161
00162
00163 namespace Glib
00164 {
00173 Glib::RefPtr<Gst::GioStreamSink> wrap(GstGioStreamSink* object, bool take_copy = false);
00174 }
00175
00176
00177 #endif
00178