00001
00002
00003 #ifndef _GSTREAMERMM_FDSRC_H
00004 #define _GSTREAMERMM_FDSRC_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 <gstreamermm/urihandler.h>
00032
00033
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstFdSink GstFdSink;
00036 typedef struct _GstFdSinkClass GstFdSinkClass;
00037 #endif
00038
00039
00040 namespace Gst
00041 { class FdSink_Class; }
00042 namespace Gst
00043 {
00044
00055 class FdSink
00056 : public Gst::BaseSink, public Gst::URIHandler
00057 {
00058
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
00061 public:
00062 typedef FdSink CppObjectType;
00063 typedef FdSink_Class CppClassType;
00064 typedef GstFdSink BaseObjectType;
00065 typedef GstFdSinkClass BaseClassType;
00066
00067 private: friend class FdSink_Class;
00068 static CppClassType fdsink_class_;
00069
00070 private:
00071
00072 FdSink(const FdSink&);
00073 FdSink& operator=(const FdSink&);
00074
00075 protected:
00076 explicit FdSink(const Glib::ConstructParams& construct_params);
00077 explicit FdSink(GstFdSink* castitem);
00078
00079 #endif
00080
00081 public:
00082 virtual ~FdSink();
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 GstFdSink* gobj() { return reinterpret_cast<GstFdSink*>(gobject_); }
00093
00095 const GstFdSink* gobj() const { return reinterpret_cast<GstFdSink*>(gobject_); }
00096
00098 GstFdSink* gobj_copy();
00099
00100 private:
00101
00102
00103 protected:
00104 FdSink();
00105 FdSink(const Glib::ustring& name);
00106
00107 public:
00111 static Glib::RefPtr<FdSink> create();
00112
00113
00117 static Glib::RefPtr<FdSink> create(const Glib::ustring& name);
00118
00119
00120 #ifdef GLIBMM_PROPERTIES_ENABLED
00121
00127 Glib::PropertyProxy<int> property_fd() ;
00128 #endif //#GLIBMM_PROPERTIES_ENABLED
00129
00130 #ifdef GLIBMM_PROPERTIES_ENABLED
00131
00137 Glib::PropertyProxy_ReadOnly<int> property_fd() 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::FdSink> wrap(GstFdSink* object, bool take_copy = false);
00174 }
00175
00176
00177 #endif
00178