From: atx23 Date: Tue, 10 Mar 2009 11:44:23 +0000 (+0000) Subject: fixed typo in DVBSocket X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=9428e2877c15dac640efdb075d40cafea554cc88;hp=7bd56a99323c473e899afa26e0cb59d58abce163;p=senf.git fixed typo in DVBSocket added some doc in DVBSocket git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1149 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Socket/Protocols/DVB/DVBDemuxHandles.hh b/Socket/Protocols/DVB/DVBDemuxHandles.hh index 186f240..9b4b73a 100644 --- a/Socket/Protocols/DVB/DVBDemuxHandles.hh +++ b/Socket/Protocols/DVB/DVBDemuxHandles.hh @@ -52,22 +52,25 @@ namespace senf { NotWriteablePolicy >::policy DVBDemux_Policy; ///< Socket Policy for xxxx - /** \brief xxx + /** \brief Baseclass of various DVBProtocolWrappers which are defined in DVBProtocolWrapper.hh */ - class DVBPrococolWrapper :public boost::enable_shared_from_this { + class DVBProtocolWrapper :public boost::enable_shared_from_this { public: - DVBPrococolWrapper(){} - virtual ~DVBPrococolWrapper(){} + DVBProtocolWrapper(){} + virtual ~DVBProtocolWrapper(){} }; - + /** \brief Baseclass for DVBSocketProtocols which want use Wrappers for console. + */ class DVBSocketProtocol : public virtual SocketProtocol { private: - boost::shared_ptr wrap_; + boost::shared_ptr wrap_; public: DVBSocketProtocol() {} ~DVBSocketProtocol() {} - - void addWrapper(boost::shared_ptr wrap) { + + 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; } virtual void close(){ diff --git a/Socket/Protocols/DVB/DVBProtocolWrapper.hh b/Socket/Protocols/DVB/DVBProtocolWrapper.hh index 9ae5ddd..cc694c6 100644 --- a/Socket/Protocols/DVB/DVBProtocolWrapper.hh +++ b/Socket/Protocols/DVB/DVBProtocolWrapper.hh @@ -46,7 +46,7 @@ namespace senf { */ - class DVBSectionProtocolWrapper : public senf::DVBPrococolWrapper { + class DVBSectionProtocolWrapper : public senf::DVBProtocolWrapper { public: enum Flags {CHECK_CRC = DMX_CHECK_CRC, @@ -116,7 +116,7 @@ public: (CHECK_CRC)(ONESHOT)(IMMEDIATE_START)(KERNEL_CLIENT)) ; - class DVBPESProtocolWrapper : public senf::DVBPrococolWrapper { + class DVBPESProtocolWrapper : public senf::DVBProtocolWrapper { public: enum Flags {CHECK_CRC = DMX_CHECK_CRC,