Socket: Introduce sub-directory structure for concrete protocols
[senf.git] / Socket / Protocols / DVB / DVBDemuxProtocol.hh
1 // $Id$
2 //
3 // Copyright (C) 2007
4 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
5 // Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
6 //     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
7 //
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 // GNU General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the
20 // Free Software Foundation, Inc.,
21 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
23 /** \file
24     \brief DVBProtocol public header
25  */
26
27 #ifndef HH_DVBDemuxProtocol_
28 #define HH_DVBDemuxProtocol_ 1
29
30 #include <linux/dvb/dmx.h> 
31
32 // Custom includes
33 #include "Socket/SocketProtocol.hh"
34
35 //#include "DVBProtocol.mpp"
36 ///////////////////////////////hh.p////////////////////////////////////////
37
38 namespace senf {
39
40     /// \addtogroup protocol_facets_group
41     /// @{
42
43     /** xxx
44      */
45     class DVBDemuxProtocol
46         : public virtual SocketProtocol
47     {
48     public:
49         void setBufferSize(unsigned long size) const;
50         
51         void startFiltering() const;
52         void stopFiltering() const;
53         
54         ///\name Abstract Interface Implementation
55         ///@{
56         
57         bool eof() const;
58
59         ///@}
60     };
61 }
62
63 ///////////////////////////////hh.e////////////////////////////////////////
64 //#include "DVBDemuxProtocol.cci"
65 //#include "DVBDemuxProtocol.ct"
66 //#include "DVBDemuxProtocol.cti"
67 #endif
68
69 \f
70 // Local Variables:
71 // mode: c++
72 // fill-column: 100
73 // c-file-style: "senf"
74 // indent-tabs-mode: nil
75 // ispell-local-dictionary: "american"
76 // compile-command: "scons -u test"
77 // comment-column: 40
78 // End: