X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FDVB%2FDVBDemuxHandles.hh;fp=senf%2FSocket%2FProtocols%2FDVB%2FDVBDemuxHandles.hh;h=dbc9a884f8a0971f188a40ca03b0a0092a0d6bfb;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=7de18e8219562ef14efe3f655fee5cb6ff940dbe;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Socket/Protocols/DVB/DVBDemuxHandles.hh b/senf/Socket/Protocols/DVB/DVBDemuxHandles.hh index 7de18e8..dbc9a88 100644 --- a/senf/Socket/Protocols/DVB/DVBDemuxHandles.hh +++ b/senf/Socket/Protocols/DVB/DVBDemuxHandles.hh @@ -52,14 +52,14 @@ namespace senf { NotWriteablePolicy >::policy DVBDemux_Policy; ///< Socket Policy for xxxx - /** \brief Baseclass of various DVBProtocolWrappers which are defined in DVBProtocolWrapper.hh + /** \brief Baseclass of various DVBProtocolWrappers which are defined in DVBProtocolWrapper.hh */ class DVBProtocolWrapper :public boost::enable_shared_from_this { public: DVBProtocolWrapper() {} virtual ~DVBProtocolWrapper() {} }; - /** \brief Baseclass for DVBSocketProtocols which want use Wrappers for console. + /** \brief Baseclass for DVBSocketProtocols which want use Wrappers for console. */ class DVBSocketProtocol : public virtual SocketProtocol { private: @@ -67,9 +67,9 @@ private: public: DVBSocketProtocol() {} ~DVBSocketProtocol() {} - - void addWrapper(boost::shared_ptr wrap)/**< Binds a wrapper to a DVBProtocol, - so if it is closed the functionality of the wrapper is automatically removed from console.*/ + + void addWrapper(boost::shared_ptr wrap)/**< Binds a wrapper to a DVBProtocol, + so if it is closed the functionality of the wrapper is automatically removed from console.*/ { wrap_ = wrap; } @@ -80,14 +80,14 @@ public: } }; - - + + class DVBDemuxSectionSocketProtocol : public ConcreteSocketProtocol, - public DVBDemuxSocketProtocol, + public DVBDemuxSocketProtocol, public DVBSocketProtocol { - + public: /////////////////////////////////////////////////////////////////////////// // internal interface @@ -103,24 +103,24 @@ public: ///@} ///\name Abstract Interface Implementation ///@{ - + unsigned available() const; ///@} - - void setSectionFilter(unsigned short int pid, + + void setSectionFilter(unsigned short int pid, unsigned char filter= 0x3e, - unsigned int flags= DMX_IMMEDIATE_START | DMX_CHECK_CRC, - unsigned char mask = 0xff, + unsigned int flags= DMX_IMMEDIATE_START | DMX_CHECK_CRC, + unsigned char mask = 0xff, unsigned char mode =0x00, unsigned int timeout =0x00) const; - + }; typedef ProtocolClientSocketHandle DVBDemuxSectionHandle; - + // ---------------------------------------------------------------- - + /** \brief xxx */ class DVBDemuxPESSocketProtocol @@ -143,20 +143,20 @@ public: ///@} ///\name Abstract Interface Implementation ///@{ - + unsigned available() const; ///@} - - void setPESFilter(unsigned short int pid, dmx_input_t input, dmx_output_t output, dmx_pes_type_t pesType, unsigned int flags)const; + + void setPESFilter(unsigned short int pid, dmx_input_t input, dmx_output_t output, dmx_pes_type_t pesType, unsigned int flags)const; }; typedef ProtocolClientSocketHandle DVBDemuxPESHandle; - + // ---------------------------------------------------------------- - - + + /** \brief xxx */ class DVBDvrSocketProtocol @@ -178,7 +178,7 @@ public: ///@} ///\name Abstract Interface Implementation ///@{ - + unsigned available() const; ///@} @@ -187,7 +187,7 @@ public: typedef ProtocolClientSocketHandle DVBDvrHandle; ///@} - + } ///////////////////////////////hh.e////////////////////////////////////////