X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FDVB%2FDVBDemuxHandles.hh;h=9b4b73a3852fa0b3763c196d85c18f2adf2e28f9;hb=fd3a0e8ac95d1158e9ea661ddf9187b67c70169f;hp=186f2402f33a78e8071e251d970ea919c741f7f5;hpb=fedff27b03212f7662600c6f5689967489dd0928;p=senf.git 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(){