X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FDVB%2FDVBDemuxHandles.hh;h=6d521c76183775d1898e58f5e60146fa57ea351d;hb=6f50bf49e282c0528f51faa0a245bbfa2b867399;hp=15093fc74478492a9e35b9c6b0d0f95e54753425;hpb=fa696fb7164ff243f6b7c1c5bda35ed75af153dc;p=senf.git diff --git a/Socket/Protocols/DVB/DVBDemuxHandles.hh b/Socket/Protocols/DVB/DVBDemuxHandles.hh index 15093fc..6d521c7 100644 --- a/Socket/Protocols/DVB/DVBDemuxHandles.hh +++ b/Socket/Protocols/DVB/DVBDemuxHandles.hh @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Thorsten Horstmann // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -27,11 +27,10 @@ #define HH_DVBDemuxHandles_ 1 // Custom includes -#include "Socket/BufferingPolicy.hh" -#include "Socket/FramingPolicy.hh" -#include "Socket/CommunicationPolicy.hh" -#include "Socket/ReadWritePolicy.hh" -#include "Socket/ProtocolClientSocketHandle.hh" +#include "../../../Socket/FramingPolicy.hh" +#include "../../../Socket/CommunicationPolicy.hh" +#include "../../../Socket/ReadWritePolicy.hh" +#include "../../../Socket/ProtocolClientSocketHandle.hh" #include "DVBDemuxProtocol.hh" //#include "DVBDemuxHandles.mpp" @@ -47,14 +46,13 @@ namespace senf { DatagramFramingPolicy, UnconnectedCommunicationPolicy, ReadablePolicy, - NotWriteablePolicy, - NoBufferingPolicy + NotWriteablePolicy >::policy DVBDemux_Policy; ///< Socket Policy for xxxx /** \brief xxx */ class DVBDemuxSectionProtocol - : public ConcreteSocketProtocol, + : public ConcreteSocketProtocol, public DVBDemuxProtocol { public: @@ -64,7 +62,7 @@ namespace senf { ///\name Constructors ///@{ - void init_client() const; ///< xxx + void init_client(unsigned short adapter=0, unsigned short device=0) const; ///< xxx /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ @@ -75,8 +73,6 @@ namespace senf { unsigned available() const; - std::auto_ptr clone() const; - ///@} void setSectionFilter(struct dmx_sct_filter_params *filter) const; @@ -89,7 +85,7 @@ namespace senf { /** \brief xxx */ class DVBDemuxPESProtocol - : public ConcreteSocketProtocol, + : public ConcreteSocketProtocol, public DVBDemuxProtocol { public: @@ -99,7 +95,7 @@ namespace senf { ///\name Constructors ///@{ - void init_client() const; ///< xxx + void init_client(unsigned short adapter=0, unsigned short device=0) const; ///< xxx /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ @@ -110,8 +106,6 @@ namespace senf { unsigned available() const; - std::auto_ptr clone() const; - ///@} void setPESFilter(struct dmx_pes_filter_params *filter) const; @@ -126,7 +120,7 @@ namespace senf { /** \brief xxx */ class DVBDvrProtocol - : public ConcreteSocketProtocol, + : public ConcreteSocketProtocol, public DVBDemuxProtocol { public: @@ -136,7 +130,7 @@ namespace senf { ///\name Constructors ///@{ - void init_client() const; ///< xxx + void init_client(unsigned short adapter=0, unsigned short device=0) const; ///< xxx /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ @@ -147,8 +141,6 @@ namespace senf { unsigned available() const; - std::auto_ptr clone() const; - ///@} };