vdr  2.2.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Private Attributes | List of all members
cEitFilter Class Reference

#include <eit.h>

Public Member Functions

 cEitFilter (void)
 
- Public Member Functions inherited from cListObject
 cListObject (void)
 
virtual ~cListObject ()
 
virtual int Compare (const cListObject &ListObject) const
 
void Append (cListObject *Object)
 
void Insert (cListObject *Object)
 
void Unlink (void)
 
int Index (void) const
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 

Static Public Member Functions

static void SetDisableUntil (time_t Time)
 

Protected Member Functions

virtual void Process (u_short Pid, u_char Tid, const u_char *Data, int Length)
 
- Protected Member Functions inherited from cFilter
 cFilter (void)
 
 cFilter (u_short Pid, u_char Tid, u_char Mask=0xFF)
 
virtual ~cFilter ()
 
virtual void SetStatus (bool On)
 
int Source (void)
 
int Transponder (void)
 
const cChannelChannel (void)
 
bool Matches (u_short Pid, u_char Tid)
 
void Set (u_short Pid, u_char Tid, u_char Mask=0xFF)
 
void Add (u_short Pid, u_char Tid, u_char Mask=0xFF, bool Sticky=false)
 
void Del (u_short Pid, u_char Tid, u_char Mask=0xFF)
 

Static Private Attributes

static time_t disableUntil = 0
 

Detailed Description

Definition at line 15 of file eit.h.

Constructor & Destructor Documentation

cEitFilter::cEitFilter ( void  )

Definition at line 369 of file eit.c.

Member Function Documentation

void cEitFilter::Process ( u_short  Pid,
u_char  Tid,
const u_char *  Data,
int  Length 
)
protectedvirtual

Processes the data delivered to this filter.

Pid and Tid is one of the combinations added to this filter by a previous call to Add(), Data is a pointer to Length bytes of data. This function will be called from the section handler's thread, so it has to use proper locking mechanisms in case it accesses any global data. It is guaranteed that if several cFilters are attached to the same cSectionHandler, only one of them has its Process() function called at any given time. It is allowed that more than one cFilter are set up to receive the same Pid/Tid. The Process() function must return as soon as possible.

Implements cFilter.

Definition at line 380 of file eit.c.

References ISTRANSPONDER, cSchedules::Schedules(), cSetup::SetSystemTime, Setup, SI::TDT::TDT(), cSetup::TimeSource, and cSetup::TimeTransponder.

void cEitFilter::SetDisableUntil ( time_t  Time)
static

Definition at line 375 of file eit.c.

Referenced by cSVDRP::CmdCLRE(), and cSVDRP::Execute().

Member Data Documentation

time_t cEitFilter::disableUntil = 0
staticprivate

Definition at line 17 of file eit.h.

Referenced by cTDT::cTDT().


The documentation for this class was generated from the following files: