vdr
2.6.1
sections.h
Go to the documentation of this file.
1
/*
2
* sections.h: Section data handling
3
*
4
* See the main source file 'vdr.c' for copyright information and
5
* how to reach the author.
6
*
7
* $Id: sections.h 5.1 2021/06/08 15:10:51 kls Exp $
8
*/
9
10
#ifndef __SECTIONS_H
11
#define __SECTIONS_H
12
13
#include <time.h>
14
#include "
filter.h
"
15
#include "
thread.h
"
16
#include "
tools.h
"
17
18
class
cDevice
;
19
class
cChannel
;
20
class
cFilterHandle
;
21
class
cSectionHandlerPrivate
;
22
23
class
cSectionHandler
:
public
cThread
{
24
friend
class
cFilter
;
25
private
:
26
cSectionHandlerPrivate
*
shp
;
27
cDevice
*
device
;
28
int
statusCount
;
29
bool
on
,
waitForLock
;
30
bool
flush
;
31
bool
startFilters
;
32
cTimeMs
flushTimer
;
33
cList<cFilter>
filters
;
34
cList<cFilterHandle>
filterHandles
;
35
void
Add
(
const
cFilterData
*FilterData);
36
void
Del
(
const
cFilterData
*FilterData);
37
virtual
void
Action
(
void
);
38
public
:
39
cSectionHandler
(
cDevice
*Device);
40
virtual
~cSectionHandler
();
41
int
Source
(
void
);
42
int
Transponder
(
void
);
43
const
cChannel
*
Channel
(
void
);
44
void
Attach
(
cFilter
*Filter);
45
void
Detach
(
cFilter
*Filter);
46
void
SetChannel
(
const
cChannel
*
Channel
);
47
void
SetStatus
(
bool
On);
48
};
49
50
#endif //__SECTIONS_H
cSectionHandler::Transponder
int Transponder(void)
Definition:
sections.c:70
cSectionHandler::filters
cList< cFilter > filters
Definition:
sections.h:33
cFilter
Definition:
filter.h:80
filter.h
cSectionHandler::Add
void Add(const cFilterData *FilterData)
Definition:
sections.c:80
cSectionHandler::flushTimer
cTimeMs flushTimer
Definition:
sections.h:32
cFilterHandle
Definition:
sections.c:18
cSectionHandler::SetChannel
void SetChannel(const cChannel *Channel)
Definition:
sections.c:140
cSectionHandler::Channel
const cChannel * Channel(void)
Definition:
sections.c:75
cFilterData
Definition:
filter.h:64
cSectionHandler::device
cDevice * device
Definition:
sections.h:27
cSectionHandler::startFilters
bool startFilters
Definition:
sections.h:31
cSectionHandler
Definition:
sections.h:23
cSectionHandler::cSectionHandler
cSectionHandler(cDevice *Device)
Definition:
sections.c:42
cSectionHandler::filterHandles
cList< cFilterHandle > filterHandles
Definition:
sections.h:34
cSectionHandler::Action
virtual void Action(void)
A derived cThread class must implement the code it wants to execute as a separate thread in this func...
Definition:
sections.c:172
cSectionHandler::shp
cSectionHandlerPrivate * shp
Definition:
sections.h:26
cSectionHandler::flush
bool flush
Definition:
sections.h:30
cSectionHandler::Detach
void Detach(cFilter *Filter)
Definition:
sections.c:130
cSectionHandler::Source
int Source(void)
Definition:
sections.c:65
cSectionHandler::Del
void Del(const cFilterData *FilterData)
Definition:
sections.c:102
cDevice
Definition:
device.h:119
cSectionHandler::SetStatus
void SetStatus(bool On)
Definition:
sections.c:147
cTimeMs
Definition:
tools.h:401
cList< cFilter >
cSectionHandler::Attach
void Attach(cFilter *Filter)
Definition:
sections.c:119
cChannel
Definition:
channels.h:87
cSectionHandler::on
bool on
Definition:
sections.h:29
cThread
Definition:
thread.h:79
cSectionHandler::~cSectionHandler
virtual ~cSectionHandler()
Definition:
sections.c:56
cSectionHandler::waitForLock
bool waitForLock
Definition:
sections.h:29
cSectionHandler::statusCount
int statusCount
Definition:
sections.h:28
tools.h
thread.h
cSectionHandlerPrivate
Definition:
sections.c:35
Generated by
1.8.20