vdr
2.4.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 4.0 2005/08/13 11:23:55 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
time_t
lastIncompleteSection
;
31
cList<cFilter>
filters
;
32
cList<cFilterHandle>
filterHandles
;
33
void
Add
(
const
cFilterData
*FilterData);
34
void
Del
(
const
cFilterData
*FilterData);
35
virtual
void
Action
(
void
);
36
public
:
37
cSectionHandler
(
cDevice
*Device);
38
virtual
~cSectionHandler
();
39
int
Source
(
void
);
40
int
Transponder
(
void
);
41
const
cChannel
*
Channel
(
void
);
42
void
Attach
(
cFilter
*Filter);
43
void
Detach
(
cFilter
*Filter);
44
void
SetChannel
(
const
cChannel
*
Channel
);
45
void
SetStatus
(
bool
On);
46
};
47
48
#endif //__SECTIONS_H
cSectionHandler::Transponder
int Transponder(void)
Definition:
sections.c:69
cSectionHandler::filters
cList< cFilter > filters
Definition:
sections.h:31
cFilter
Definition:
filter.h:49
filter.h
cSectionHandler::Add
void Add(const cFilterData *FilterData)
Definition:
sections.c:79
cFilterHandle
Definition:
sections.c:18
cSectionHandler::SetChannel
void SetChannel(const cChannel *Channel)
Definition:
sections.c:139
cSectionHandler::Channel
const cChannel * Channel(void)
Definition:
sections.c:74
cFilterData
Definition:
filter.h:33
cSectionHandler::lastIncompleteSection
time_t lastIncompleteSection
Definition:
sections.h:30
cSectionHandler::device
cDevice * device
Definition:
sections.h:27
cSectionHandler
Definition:
sections.h:23
cSectionHandler::cSectionHandler
cSectionHandler(cDevice *Device)
Definition:
sections.c:42
cSectionHandler::filterHandles
cList< cFilterHandle > filterHandles
Definition:
sections.h:32
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:166
cSectionHandler::shp
cSectionHandlerPrivate * shp
Definition:
sections.h:26
cSectionHandler::Detach
void Detach(cFilter *Filter)
Definition:
sections.c:129
cSectionHandler::Source
int Source(void)
Definition:
sections.c:64
cSectionHandler::Del
void Del(const cFilterData *FilterData)
Definition:
sections.c:101
cDevice
Definition:
device.h:117
cSectionHandler::SetStatus
void SetStatus(bool On)
Definition:
sections.c:146
cList< cFilter >
cSectionHandler::Attach
void Attach(cFilter *Filter)
Definition:
sections.c:118
cChannel
Definition:
channels.h:89
cSectionHandler::on
bool on
Definition:
sections.h:29
cThread
Definition:
thread.h:79
cSectionHandler::~cSectionHandler
virtual ~cSectionHandler()
Definition:
sections.c:55
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.18