00001
00002
00003 #ifndef _GSTREAMERMM_TCPSERVERSINK_H
00004 #define _GSTREAMERMM_TCPSERVERSINK_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/multifdsink.h>
00031
00032
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GstTCPServerSink GstTCPServerSink;
00035 typedef struct _GstTCPServerSinkClass GstTCPServerSinkClass;
00036 #endif
00037
00038
00039 namespace Gst
00040 { class TcpServerSink_Class; }
00041 namespace Gst
00042 {
00043
00054 class TcpServerSink
00055 : public Gst::MultiFdSink
00056 {
00057
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059
00060 public:
00061 typedef TcpServerSink CppObjectType;
00062 typedef TcpServerSink_Class CppClassType;
00063 typedef GstTCPServerSink BaseObjectType;
00064 typedef GstTCPServerSinkClass BaseClassType;
00065
00066 private: friend class TcpServerSink_Class;
00067 static CppClassType tcpserversink_class_;
00068
00069 private:
00070
00071 TcpServerSink(const TcpServerSink&);
00072 TcpServerSink& operator=(const TcpServerSink&);
00073
00074 protected:
00075 explicit TcpServerSink(const Glib::ConstructParams& construct_params);
00076 explicit TcpServerSink(GstTCPServerSink* castitem);
00077
00078 #endif
00079
00080 public:
00081 virtual ~TcpServerSink();
00082
00083 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00084 static GType get_type() G_GNUC_CONST;
00085
00086
00087 static GType get_base_type() G_GNUC_CONST;
00088 #endif
00089
00091 GstTCPServerSink* gobj() { return reinterpret_cast<GstTCPServerSink*>(gobject_); }
00092
00094 const GstTCPServerSink* gobj() const { return reinterpret_cast<GstTCPServerSink*>(gobject_); }
00095
00097 GstTCPServerSink* gobj_copy();
00098
00099 private:
00100
00101
00102 protected:
00103 TcpServerSink();
00104 TcpServerSink(const Glib::ustring& name);
00105
00106 public:
00110 static Glib::RefPtr<TcpServerSink> create();
00111
00112
00116 static Glib::RefPtr<TcpServerSink> create(const Glib::ustring& name);
00117
00118
00119 #ifdef GLIBMM_PROPERTIES_ENABLED
00120
00126 Glib::PropertyProxy<Glib::ustring> property_host() ;
00127 #endif //#GLIBMM_PROPERTIES_ENABLED
00128
00129 #ifdef GLIBMM_PROPERTIES_ENABLED
00130
00136 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_host() const;
00137 #endif //#GLIBMM_PROPERTIES_ENABLED
00138
00139 #ifdef GLIBMM_PROPERTIES_ENABLED
00140
00146 Glib::PropertyProxy<int> property_port() ;
00147 #endif //#GLIBMM_PROPERTIES_ENABLED
00148
00149 #ifdef GLIBMM_PROPERTIES_ENABLED
00150
00156 Glib::PropertyProxy_ReadOnly<int> property_port() const;
00157 #endif //#GLIBMM_PROPERTIES_ENABLED
00158
00159
00160 public:
00161
00162 public:
00163
00164 #ifdef GLIBMM_VFUNCS_ENABLED
00165 #endif //GLIBMM_VFUNCS_ENABLED
00166
00167 protected:
00168
00169 #ifdef GLIBMM_VFUNCS_ENABLED
00170 #endif //GLIBMM_VFUNCS_ENABLED
00171
00172
00173 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00174 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00175
00176
00177 };
00178
00179 }
00180
00181
00182 namespace Glib
00183 {
00192 Glib::RefPtr<Gst::TcpServerSink> wrap(GstTCPServerSink* object, bool take_copy = false);
00193 }
00194
00195
00196 #endif
00197