Skip to content
Snippets Groups Projects
Commit 90f5d3cb authored by atx23's avatar atx23
Browse files

fixed typo in DVBSocket

added some doc in DVBSocket
parent 7103685c
No related branches found
No related tags found
No related merge requests found
...@@ -52,22 +52,25 @@ namespace senf { ...@@ -52,22 +52,25 @@ namespace senf {
NotWriteablePolicy NotWriteablePolicy
>::policy DVBDemux_Policy; ///< Socket Policy for xxxx >::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<DVBPrococolWrapper> { class DVBProtocolWrapper :public boost::enable_shared_from_this<DVBProtocolWrapper> {
public: public:
DVBPrococolWrapper(){} DVBProtocolWrapper(){}
virtual ~DVBPrococolWrapper(){} virtual ~DVBProtocolWrapper(){}
}; };
/** \brief Baseclass for DVBSocketProtocols which want use Wrappers for console.
*/
class DVBSocketProtocol : public virtual SocketProtocol { class DVBSocketProtocol : public virtual SocketProtocol {
private: private:
boost::shared_ptr<DVBPrococolWrapper> wrap_; boost::shared_ptr<DVBProtocolWrapper> wrap_;
public: public:
DVBSocketProtocol() {} DVBSocketProtocol() {}
~DVBSocketProtocol() {} ~DVBSocketProtocol() {}
void addWrapper(boost::shared_ptr<DVBPrococolWrapper> wrap) { void addWrapper(boost::shared_ptr<DVBProtocolWrapper> wrap)/**< Binds a wrapper to a DVBProtocol,
so if it is closed the functionality of the wrapper is automatically removed from console.*/
{
wrap_ = wrap; wrap_ = wrap;
} }
virtual void close(){ virtual void close(){
......
...@@ -46,7 +46,7 @@ namespace senf { ...@@ -46,7 +46,7 @@ namespace senf {
*/ */
class DVBSectionProtocolWrapper : public senf::DVBPrococolWrapper { class DVBSectionProtocolWrapper : public senf::DVBProtocolWrapper {
public: public:
enum Flags {CHECK_CRC = DMX_CHECK_CRC, enum Flags {CHECK_CRC = DMX_CHECK_CRC,
...@@ -116,7 +116,7 @@ public: ...@@ -116,7 +116,7 @@ public:
(CHECK_CRC)(ONESHOT)(IMMEDIATE_START)(KERNEL_CLIENT)) (CHECK_CRC)(ONESHOT)(IMMEDIATE_START)(KERNEL_CLIENT))
; ;
class DVBPESProtocolWrapper : public senf::DVBPrococolWrapper { class DVBPESProtocolWrapper : public senf::DVBProtocolWrapper {
public: public:
enum Flags {CHECK_CRC = DMX_CHECK_CRC, enum Flags {CHECK_CRC = DMX_CHECK_CRC,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment