00001
00002
00003 #ifndef _GSTREAMERBASEMM_GIOSINK_H
00004 #define _GSTREAMERBASEMM_GIOSINK_H
00005
00006
00007 #include <glibmm.h>
00008
00009 #include <gstreamermm/basesink.h>
00010 #include <giomm/file.h>
00011
00012
00013 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00014 typedef struct _GstGioSink GstGioSink;
00015 typedef struct _GstGioSinkClass GstGioSinkClass;
00016 #endif
00017
00018
00019 namespace GstBase
00020 { class GioSink_Class; }
00021 namespace GstBase
00022 {
00023
00024
00034 class GioSink
00035 : public Gst::BaseSink
00036 {
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039
00040 public:
00041 typedef GioSink CppObjectType;
00042 typedef GioSink_Class CppClassType;
00043 typedef GstGioSink BaseObjectType;
00044 typedef GstGioSinkClass BaseClassType;
00045
00046 private: friend class GioSink_Class;
00047 static CppClassType giosink_class_;
00048
00049 private:
00050
00051 GioSink(const GioSink&);
00052 GioSink& operator=(const GioSink&);
00053
00054 protected:
00055 explicit GioSink(const Glib::ConstructParams& construct_params);
00056 explicit GioSink(GstGioSink* castitem);
00057
00058 #endif
00059
00060 public:
00061 virtual ~GioSink();
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 GstGioSink* gobj() { return reinterpret_cast<GstGioSink*>(gobject_); }
00070
00072 const GstGioSink* gobj() const { return reinterpret_cast<GstGioSink*>(gobject_); }
00073
00075 GstGioSink* gobj_copy();
00076
00077 private:
00078
00079
00080 protected:
00081 GioSink();
00082 GioSink(const Glib::ustring& name);
00083
00084 public:
00088 static Glib::RefPtr<GioSink> create();
00089
00090
00094 static Glib::RefPtr<GioSink> create(const Glib::ustring& name);
00095
00096
00097 #ifdef GLIBMM_PROPERTIES_ENABLED
00098
00104 Glib::PropertyProxy<Glib::ustring> property_location() ;
00105 #endif //#GLIBMM_PROPERTIES_ENABLED
00106
00107 #ifdef GLIBMM_PROPERTIES_ENABLED
00108
00114 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_location() const;
00115 #endif //#GLIBMM_PROPERTIES_ENABLED
00116
00117 #ifdef GLIBMM_PROPERTIES_ENABLED
00118
00124 Glib::PropertyProxy< Glib::RefPtr<Gio::File> > property_file() ;
00125 #endif //#GLIBMM_PROPERTIES_ENABLED
00126
00127 #ifdef GLIBMM_PROPERTIES_ENABLED
00128
00134 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::File> > property_file() const;
00135 #endif //#GLIBMM_PROPERTIES_ENABLED
00136
00137
00138 public:
00139
00140 public:
00141
00142 #ifdef GLIBMM_VFUNCS_ENABLED
00143 #endif //GLIBMM_VFUNCS_ENABLED
00144
00145 protected:
00146
00147 #ifdef GLIBMM_VFUNCS_ENABLED
00148 #endif //GLIBMM_VFUNCS_ENABLED
00149
00150
00151 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00152 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00153
00154
00155 };
00156
00157 }
00158
00159
00160 namespace Glib
00161 {
00170 Glib::RefPtr<GstBase::GioSink> wrap(GstGioSink* object, bool take_copy = false);
00171 }
00172
00173
00174 #endif
00175