DVBDemuxSocketProtocol.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
17 #ifndef HH_SENF_Socket_Protocols_DVB_DVBDemuxSocketProtocol_
18 #define HH_SENF_Socket_Protocols_DVB_DVBDemuxSocketProtocol_ 1
19 
20 #include <linux/dvb/dmx.h>
21 
22 // Custom includes
24 
25 //#include "DVBSocketProtocol.mpp"
26 //-/////////////////////////////////////////////////////////////////////////////////////////////////
27 
28 namespace senf {
29 
31  //\{
32 
36  : public virtual SocketProtocol
37  {
38  public:
39  void setBufferSize(unsigned long size) const;
41 
45  void startFiltering() const;
46  void stopFiltering() const;
47 
49  //\{
50 
51  bool eof() const;
52 
53  //\}
54  };
55 
56  //\}
57 }
58 
59 //-/////////////////////////////////////////////////////////////////////////////////////////////////
60 //#include "DVBDemuxSocketProtocol.cci"
61 //#include "DVBDemuxSocketProtocol.ct"
62 //#include "DVBDemuxSocketProtocol.cti"
63 #endif
64 
65 
66 // Local Variables:
67 // mode: c++
68 // fill-column: 100
69 // c-file-style: "senf"
70 // indent-tabs-mode: nil
71 // ispell-local-dictionary: "american"
72 // compile-command: "scons -u test"
73 // comment-column: 40
74 // End:
Socket Protocol base class.
bool eof() const
Check for end-of-file condition.
SocketProtocol and ConcreteSocketProtocol public header.
void setBufferSize(unsigned long size) const
set the size of the circular buffer used for filtered data.