vdr  1.7.27
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Private Attributes
cEitFilter Class Reference

#include <eit.h>

List of all members.

Public Member Functions

 cEitFilter (void)
 cEitFilter (void)

Static Public Member Functions

static void SetDisableUntil (time_t Time)
static void SetDisableUntil (time_t Time)

Protected Member Functions

virtual void Process (u_short Pid, u_char Tid, const u_char *Data, int Length)
virtual void Process (u_short Pid, u_char Tid, const u_char *Data, int Length)

Static Private Attributes

static time_t disableUntil = 0

Detailed Description

Definition at line 15 of file eit.h.


Constructor & Destructor Documentation

Definition at line 347 of file eit.c.

References cFilter::Set(), cSetup::SetSystemTime, Setup, and cSetup::TimeTransponder.


Member Function Documentation

void cEitFilter::Process ( u_short  Pid,
u_char  Tid,
const u_char *  Data,
int  Length 
) [protected, virtual]

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 359 of file eit.c.

References disableUntil, ISTRANSPONDER, cSchedules::Schedules(), cSetup::SetSystemTime, Setup, cFilter::Source(), cSetup::TimeTransponder, and cFilter::Transponder().

virtual void cEitFilter::Process ( u_short  Pid,
u_char  Tid,
const u_char *  Data,
int  Length 
) [protected, virtual]

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.

static void cEitFilter::SetDisableUntil ( time_t  Time) [static]
void cEitFilter::SetDisableUntil ( time_t  Time) [static]

Definition at line 354 of file eit.c.

References disableUntil.

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


Member Data Documentation

static time_t cEitFilter::disableUntil = 0 [static, private]

Definition at line 17 of file eit.h.

Referenced by Process(), and SetDisableUntil().


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