vdr
2.4.1
eit.h
Go to the documentation of this file.
1
/*
2
* eit.h: EIT section filter
3
*
4
* See the main source file 'vdr.c' for copyright information and
5
* how to reach the author.
6
*
7
* $Id: eit.h 4.2 2017/05/08 21:10:29 kls Exp $
8
*/
9
10
#ifndef __EIT_H
11
#define __EIT_H
12
13
#include "
filter.h
"
14
#include "
tools.h
"
15
16
class
cSectionSyncerEntry
:
public
cListObject
,
public
cSectionSyncer
{};
17
18
class
cSectionSyncerHash
:
public
cHash
<cSectionSyncerEntry> {
19
public
:
20
cSectionSyncerHash
(
void
) :
cHash
(
HASHSIZE
, true) {};
21
};
22
23
class
cEitFilter
:
public
cFilter
{
24
private
:
25
cMutex
mutex
;
26
cSectionSyncerHash
sectionSyncerHash
;
27
static
time_t
disableUntil
;
28
protected
:
29
virtual
void
Process
(u_short Pid,
u_char
Tid,
const
u_char
*Data,
int
Length);
30
public
:
31
cEitFilter
(
void
);
32
virtual
void
SetStatus
(
bool
On);
33
static
void
SetDisableUntil
(time_t Time);
34
};
35
36
#endif //__EIT_H
cFilter
Definition:
filter.h:49
filter.h
cEitFilter::mutex
cMutex mutex
Definition:
eit.h:25
cSectionSyncer
Definition:
filter.h:16
cEitFilter::Process
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length)
Processes the data delivered to this filter.
Definition:
eit.c:437
SI::u_char
unsigned char u_char
Definition:
headers.h:38
cEitFilter::sectionSyncerHash
cSectionSyncerHash sectionSyncerHash
Definition:
eit.h:26
cMutex
Definition:
thread.h:67
cListObject
Definition:
tools.h:493
cSectionSyncerEntry
Definition:
eit.h:16
HASHSIZE
#define HASHSIZE
Definition:
tools.h:877
cEitFilter
Definition:
eit.h:23
cEitFilter::SetDisableUntil
static void SetDisableUntil(time_t Time)
Definition:
eit.c:432
cSectionSyncerHash::cSectionSyncerHash
cSectionSyncerHash(void)
Definition:
eit.h:20
cSectionSyncerHash
Definition:
eit.h:18
cHash
Definition:
tools.h:879
cEitFilter::SetStatus
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
Definition:
eit.c:425
tools.h
cEitFilter::cEitFilter
cEitFilter(void)
Definition:
eit.c:419
cEitFilter::disableUntil
static time_t disableUntil
Definition:
eit.h:27
Generated by
1.8.18