vdr  2.7.6
nit.h
Go to the documentation of this file.
1 /*
2  * nit.h: NIT section filter
3  *
4  * See the main source file 'vdr.c' for copyright information and
5  * how to reach the author.
6  *
7  * $Id: nit.h 5.1 2025/03/02 11:03:35 kls Exp $
8  */
9 
10 #ifndef __NIT_H
11 #define __NIT_H
12 
13 #include "filter.h"
14 #include "sdt.h"
15 
16 class cNitFilter : public cFilter {
17 private:
20 protected:
21  virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length) override;
22 public:
23  cNitFilter(cSdtFilter *SdtFilter);
24  virtual void SetStatus(bool On) override;
25  };
26 
27 #endif //__NIT_H
Definition: filter.h:74
Definition: nit.h:16
cSectionSyncer sectionSyncer
Definition: nit.h:18
cNitFilter(cSdtFilter *SdtFilter)
Definition: nit.c:29
virtual void SetStatus(bool On) override
Turns this filter on or off, depending on the value of On.
Definition: nit.c:35
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length) override
Processes the data delivered to this filter.
Definition: nit.c:41
cSdtFilter * sdtFilter
Definition: nit.h:19
Definition: sdt.h:16
unsigned char u_char
Definition: headers.h:24