vdr
1.7.27
|
#include <eit.h>
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 |
cEitFilter::cEitFilter | ( | void | ) |
Definition at line 347 of file eit.c.
References cFilter::Set(), cSetup::SetSystemTime, Setup, and cSetup::TimeTransponder.
cEitFilter::cEitFilter | ( | void | ) |
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().
static time_t cEitFilter::disableUntil = 0 [static, private] |
Definition at line 17 of file eit.h.
Referenced by Process(), and SetDisableUntil().