vdr  2.4.7
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cSectionSyncer Class Reference

#include <filter.h>

Public Member Functions

 cSectionSyncer (void)
 
void Reset (void)
 
void Repeat (void)
 
bool Complete (void)
 
bool Sync (uchar Version, int Number, int LastNumber)
 

Private Member Functions

void SetSectionFlag (uchar Section, bool On)
 
bool GetSectionFlag (uchar Section)
 

Private Attributes

int currentVersion
 
int currentSection
 
bool synced
 
bool complete
 
uchar sections [32]
 

Detailed Description

Definition at line 16 of file filter.h.

Constructor & Destructor Documentation

◆ cSectionSyncer()

cSectionSyncer::cSectionSyncer ( void  )

Definition at line 15 of file filter.c.

References Reset().

Member Function Documentation

◆ Complete()

bool cSectionSyncer::Complete ( void  )
inline

Definition at line 29 of file filter.h.

References complete.

Referenced by cPatFilter::Process().

◆ GetSectionFlag()

bool cSectionSyncer::GetSectionFlag ( uchar  Section)
inlineprivate

Definition at line 24 of file filter.h.

References sections.

Referenced by Sync().

◆ Repeat()

void cSectionSyncer::Repeat ( void  )

Definition at line 29 of file filter.c.

References complete, currentSection, SetSectionFlag(), and synced.

Referenced by cNitFilter::Process(), and cSdtFilter::Process().

◆ Reset()

void cSectionSyncer::Reset ( void  )

◆ SetSectionFlag()

void cSectionSyncer::SetSectionFlag ( uchar  Section,
bool  On 
)
inlineprivate

Definition at line 23 of file filter.h.

References sections.

Referenced by Repeat(), and Sync().

◆ Sync()

bool cSectionSyncer::Sync ( uchar  Version,
int  Number,
int  LastNumber 
)

Member Data Documentation

◆ complete

bool cSectionSyncer::complete
private

Definition at line 21 of file filter.h.

Referenced by Complete(), Repeat(), Reset(), and Sync().

◆ currentSection

int cSectionSyncer::currentSection
private

Definition at line 19 of file filter.h.

Referenced by Repeat(), Reset(), and Sync().

◆ currentVersion

int cSectionSyncer::currentVersion
private

Definition at line 18 of file filter.h.

Referenced by Reset(), and Sync().

◆ sections

uchar cSectionSyncer::sections[32]
private

Definition at line 22 of file filter.h.

Referenced by GetSectionFlag(), Reset(), and SetSectionFlag().

◆ synced

bool cSectionSyncer::synced
private

Definition at line 20 of file filter.h.

Referenced by Repeat(), Reset(), and Sync().


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