vdr 2.8.3
cEitTables Class Reference

#include <eit.h>

Public Member Functions

 cEitTables (void)
void SetTableStart (time_t t)
void SetTableEnd (time_t t)
time_t TableStart (void)
time_t TableEnd (void)
bool Check (uchar TableId, uchar Version, int SectionNumber)
bool Processed (uchar TableId, uchar LastTableId, int SectionNumber, int LastSectionNumber, int SegmentLastSectionNumber=-1)
bool Complete (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
cListObject * Prev (void) const
cListObject * Next (void) const

Private Member Functions

int Index (uchar TableId)

Private Attributes

cSectionSyncerRandom sectionSyncer [NUM_EIT_TABLES]
time_t tableStart
time_t tableEnd
bool complete

Detailed Description

Definition at line 23 of file eit.h.

Constructor & Destructor Documentation

◆ cEitTables()

cEitTables::cEitTables ( void )

Definition at line 44 of file eit.c.

References complete, tableEnd, and tableStart.

Member Function Documentation

◆ Check()

bool cEitTables::Check ( uchar TableId,
uchar Version,
int SectionNumber )

Definition at line 51 of file eit.c.

References cSectionSyncer::Check(), Index(), and sectionSyncer.

Referenced by cEIT::cEIT().

◆ Complete()

bool cEitTables::Complete ( void )
inline

Returns true if all sections of all tables have been processed.

Definition at line 39 of file eit.h.

References complete.

Referenced by Processed().

◆ Index()

int cEitTables::Index ( uchar TableId)
inlineprivate

Definition at line 29 of file eit.h.

Referenced by Check(), and Processed().

◆ Processed()

bool cEitTables::Processed ( uchar TableId,
uchar LastTableId,
int SectionNumber,
int LastSectionNumber,
int SegmentLastSectionNumber = -1 )

Returns true if all sections of the table with the given TableId have been processed.

Definition at line 57 of file eit.c.

References Complete(), complete, Index(), Processed(), and sectionSyncer.

Referenced by cEIT::cEIT(), and Processed().

◆ SetTableEnd()

void cEitTables::SetTableEnd ( time_t t)
inline

Definition at line 33 of file eit.h.

References tableEnd.

Referenced by cEIT::cEIT().

◆ SetTableStart()

void cEitTables::SetTableStart ( time_t t)
inline

Definition at line 32 of file eit.h.

References tableStart.

Referenced by cEIT::cEIT().

◆ TableEnd()

time_t cEitTables::TableEnd ( void )
inline

Definition at line 35 of file eit.h.

References tableEnd.

Referenced by cEIT::cEIT().

◆ TableStart()

time_t cEitTables::TableStart ( void )
inline

Definition at line 34 of file eit.h.

References tableStart.

Referenced by cEIT::cEIT().

Member Data Documentation

◆ complete

bool cEitTables::complete
private

Definition at line 28 of file eit.h.

Referenced by cEitTables(), Complete(), and Processed().

◆ sectionSyncer

cSectionSyncerRandom cEitTables::sectionSyncer[NUM_EIT_TABLES]
private

Definition at line 25 of file eit.h.

Referenced by Check(), and Processed().

◆ tableEnd

time_t cEitTables::tableEnd
private

Definition at line 27 of file eit.h.

Referenced by cEitTables(), SetTableEnd(), and TableEnd().

◆ tableStart

time_t cEitTables::tableStart
private

Definition at line 26 of file eit.h.

Referenced by cEitTables(), SetTableStart(), and TableStart().


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