vdr 2.6.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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)
 
 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
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 
 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
 

Private Member Functions

int Index (uchar TableId)
 
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() [1/2]

cEitTables::cEitTables ( void  )

Definition at line 44 of file eit.c.

References complete, tableEnd, and tableStart.

◆ cEitTables() [2/2]

cEitTables::cEitTables ( void  )

Member Function Documentation

◆ Check() [1/2]

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

Definition at line 51 of file eit.c.

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

Referenced by cEIT::cEIT().

◆ Check() [2/2]

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

◆ Complete() [1/2]

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().

◆ Complete() [2/2]

bool cEitTables::Complete ( void  )
inline

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

Definition at line 39 of file include/vdr/eit.h.

References complete.

◆ Index() [1/2]

int cEitTables::Index ( uchar  TableId)
inlineprivate

Definition at line 29 of file eit.h.

◆ Index() [2/2]

int cEitTables::Index ( uchar  TableId)
inlineprivate

Definition at line 29 of file include/vdr/eit.h.

◆ Processed() [1/2]

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(), cListObject::Index(), Processed(), and sectionSyncer.

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

◆ Processed() [2/2]

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.

◆ SetTableEnd() [1/2]

void cEitTables::SetTableEnd ( time_t  t)
inline

Definition at line 33 of file eit.h.

References tableEnd.

Referenced by cEIT::cEIT().

◆ SetTableEnd() [2/2]

void cEitTables::SetTableEnd ( time_t  t)
inline

Definition at line 33 of file include/vdr/eit.h.

References tableEnd.

◆ SetTableStart() [1/2]

void cEitTables::SetTableStart ( time_t  t)
inline

Definition at line 32 of file eit.h.

References tableStart.

Referenced by cEIT::cEIT().

◆ SetTableStart() [2/2]

void cEitTables::SetTableStart ( time_t  t)
inline

Definition at line 32 of file include/vdr/eit.h.

References tableStart.

◆ TableEnd() [1/2]

time_t cEitTables::TableEnd ( void  )
inline

Definition at line 35 of file eit.h.

References tableEnd.

Referenced by cEIT::cEIT().

◆ TableEnd() [2/2]

time_t cEitTables::TableEnd ( void  )
inline

Definition at line 35 of file include/vdr/eit.h.

References tableEnd.

◆ TableStart() [1/2]

time_t cEitTables::TableStart ( void  )
inline

Definition at line 34 of file eit.h.

References tableStart.

Referenced by cEIT::cEIT().

◆ TableStart() [2/2]

time_t cEitTables::TableStart ( void  )
inline

Definition at line 34 of file include/vdr/eit.h.

References tableStart.

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
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: