00001
00002
00003 #ifndef _GSTREAMERMM_FDSINK_H
00004 #define _GSTREAMERMM_FDSINK_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 #include <gstreamermm/basesink.h>
00029 #include <gstreamermm/urihandler.h>
00030
00031
00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00033 typedef struct _GstFdSink GstFdSink;
00034 typedef struct _GstFdSinkClass GstFdSinkClass;
00035 #endif
00036
00037
00038 namespace Gst
00039 { class FdSink_Class; }
00040 namespace Gst
00041 {
00042
00043
00054 class FdSink
00055 : public Gst::BaseSink, public Gst::URIHandler
00056 {
00057
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059
00060 public:
00061 typedef FdSink CppObjectType;
00062 typedef FdSink_Class CppClassType;
00063 typedef GstFdSink BaseObjectType;
00064 typedef GstFdSinkClass BaseClassType;
00065
00066 private: friend class FdSink_Class;
00067 static CppClassType fdsink_class_;
00068
00069 private:
00070
00071 FdSink(const FdSink&);
00072 FdSink& operator=(const FdSink&);
00073
00074 protected:
00075 explicit FdSink(const Glib::ConstructParams& construct_params);
00076 explicit FdSink(GstFdSink* castitem);
00077
00078 #endif
00079
00080 public:
00081 virtual ~FdSink();
00082
00083 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00084 static GType get_type() G_GNUC_CONST;
00085 static GType get_base_type() G_GNUC_CONST;
00086 #endif
00087
00089 GstFdSink* gobj() { return reinterpret_cast<GstFdSink*>(gobject_); }
00090
00092 const GstFdSink* gobj() const { return reinterpret_cast<GstFdSink*>(gobject_); }
00093
00095 GstFdSink* gobj_copy();
00096
00097 private:
00098
00099
00100 protected:
00101 FdSink();
00102 FdSink(const Glib::ustring& name);
00103
00104 public:
00108 static Glib::RefPtr<FdSink> create();
00109
00110
00114 static Glib::RefPtr<FdSink> create(const Glib::ustring& name);
00115
00116
00117 #ifdef GLIBMM_PROPERTIES_ENABLED
00118
00124 Glib::PropertyProxy<int> property_fd() ;
00125 #endif //#GLIBMM_PROPERTIES_ENABLED
00126
00127 #ifdef GLIBMM_PROPERTIES_ENABLED
00128
00134 Glib::PropertyProxy_ReadOnly<int> property_fd() 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<Gst::FdSink> wrap(GstFdSink* object, bool take_copy = false);
00171 }
00172
00173
00174 #endif
00175