MythTV  master
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes | List of all members
TableStatus Class Reference

#include <tablestatus.h>

Collaboration diagram for TableStatus:
Collaboration graph
[legend]

Public Types

typedef vector< uint8_t > sections_t
 

Public Member Functions

 TableStatus ()
 
void SetVersion (int32_t version, uint32_t last_section)
 
void SetSectionSeen (int32_t version, uint32_t section, uint32_t last_section, uint32_t segment_last_section=0xffff)
 
bool IsSectionSeen (int32_t version, uint32_t section) const
 
bool HasAllSections () const
 

Static Public Member Functions

static void InitSections (sections_t &sect, uint32_t last_section)
 

Public Attributes

int32_t m_version
 
sections_t m_sections
 

Static Private Attributes

static const uint8_t init_bits [8] = {0xfe, 0xfc, 0xf8, 0xf0, 0xe0, 0xc0, 0x80, 0x00}
 

Detailed Description

Definition at line 14 of file tablestatus.h.

Member Typedef Documentation

◆ sections_t

typedef vector<uint8_t> TableStatus::sections_t

Definition at line 17 of file tablestatus.h.

Constructor & Destructor Documentation

◆ TableStatus()

TableStatus::TableStatus ( )
inline

Definition at line 20 of file tablestatus.h.

Member Function Documentation

◆ InitSections()

void TableStatus::InitSections ( sections_t sect,
uint32_t  last_section 
)
static

Definition at line 10 of file tablestatus.cpp.

Referenced by SetVersion().

◆ SetVersion()

void TableStatus::SetVersion ( int32_t  version,
uint32_t  last_section 
)

◆ SetSectionSeen()

void TableStatus::SetSectionSeen ( int32_t  version,
uint32_t  section,
uint32_t  last_section,
uint32_t  segment_last_section = 0xffff 
)

Definition at line 30 of file tablestatus.cpp.

Referenced by DVBStreamData::HandleTables(), and TableStatusMap::SetSectionSeen().

◆ IsSectionSeen()

bool TableStatus::IsSectionSeen ( int32_t  version,
uint32_t  section 
) const

Definition at line 41 of file tablestatus.cpp.

Referenced by DVBStreamData::IsRedundant().

◆ HasAllSections()

bool TableStatus::HasAllSections ( ) const

Member Data Documentation

◆ m_version

int32_t TableStatus::m_version

Definition at line 27 of file tablestatus.h.

Referenced by IsSectionSeen(), and SetVersion().

◆ m_sections

sections_t TableStatus::m_sections

Definition at line 28 of file tablestatus.h.

Referenced by HasAllSections(), IsSectionSeen(), SetSectionSeen(), and SetVersion().

◆ init_bits

const uint8_t TableStatus::init_bits = {0xfe, 0xfc, 0xf8, 0xf0, 0xe0, 0xc0, 0x80, 0x00}
staticprivate

Definition at line 31 of file tablestatus.h.

Referenced by InitSections(), and SetSectionSeen().


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