0e6ee3b2b5cc99fab643bac53ce0aaf8d7100012
[senf.git] / senf / Socket / Protocols / DVB / DVBProtocolWrapper.cci
1 // $Id$
2 //
3 // Copyright (C) 2007
4 // Fraunhofer Institute for Open Communication Systems (FOKUS)
5 // Competence Center NETwork research (NET), St. Augustin, GERMANY
6 //     Anton Gillert <atx@berlios.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 DVBSocketController inline non-template implementation */
25
26 // Custom includes
27
28 #define prefix_ inline
29 //-/////////////////////////////////////////////////////////////////////////////////////////////////
30
31 prefix_ void senf::DVBSectionProtocolWrapper::setSectionFilter(
32         unsigned short int pid, u_int8_t filter, unsigned int flags, u_int8_t mask,
33         u_int8_t mode, unsigned int timeout)
34 {
35     protocol.setSectionFilter(pid, timeout, flags, filter, mask, mode);
36 }
37
38 prefix_ void senf::DVBSectionProtocolWrapper::setBufferSize(unsigned long size)
39 {
40     protocol.setBufferSize(size);
41 }
42
43 prefix_ void senf::DVBSectionProtocolWrapper::startFiltering()
44 {
45     protocol.startFiltering();
46 }
47
48 prefix_ void senf::DVBSectionProtocolWrapper::stopFiltering()
49 {
50     protocol.stopFiltering();
51 }
52
53
54 prefix_ void senf::DVBPESProtocolWrapper::setPESFilter(unsigned short int pid, dmx_input_t input,
55         dmx_output_t output, dmx_pes_type_t pesType, unsigned int flags)
56 {
57     protocol.setPESFilter(pid, input, output, pesType, flags);
58 }
59
60 prefix_ void senf::DVBPESProtocolWrapper::startFiltering()
61 {
62     protocol.startFiltering();
63 }
64
65 prefix_ void senf::DVBPESProtocolWrapper::stopFiltering()
66 {
67     protocol.stopFiltering();
68 }
69
70
71 //-/////////////////////////////////////////////////////////////////////////////////////////////////
72 #undef prefix_