vdr  2.4.0
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 
17 
18 class cSectionSyncerHash : public cHash<cSectionSyncerEntry> {
19 public:
20  cSectionSyncerHash(void) : cHash(HASHSIZE, true) {};
21  };
22 
23 class cEitFilter : public cFilter {
24 private:
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
Definition: eit.h:23
static void SetDisableUntil(time_t Time)
Definition: eit.c:403
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
Definition: eit.c:396
#define HASHSIZE
Definition: tools.h:877
Definition: filter.h:49
cMutex mutex
Definition: eit.h:25
Definition: tools.h:879
static time_t disableUntil
Definition: eit.h:27
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:408
cSectionSyncerHash(void)
Definition: eit.h:20
Definition: thread.h:67
cEitFilter(void)
Definition: eit.c:389
unsigned char u_char
Definition: headers.h:24
cSectionSyncerHash sectionSyncerHash
Definition: eit.h:26