MythTV
master
|
#include <libmythtv/mpeg/tablestatus.h>
Public Types | |
using | sections_t = std::vector< uint8_t > |
Public Member Functions | |
TableStatus ()=default | |
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 §, uint32_t last_section) |
Public Attributes | |
int32_t | m_version {-2} |
sections_t | m_sections |
Static Private Attributes | |
static const std::array< const uint8_t, 8 > | kInitBits = {0xfe, 0xfc, 0xf8, 0xf0, 0xe0, 0xc0, 0x80, 0x00} |
Definition at line 14 of file tablestatus.h.
using TableStatus::sections_t = std::vector<uint8_t> |
Definition at line 17 of file tablestatus.h.
|
default |
|
static |
Definition at line 10 of file tablestatus.cpp.
Referenced by SetVersion().
void TableStatus::SetVersion | ( | int32_t | version, |
uint32_t | last_section | ||
) |
Definition at line 21 of file tablestatus.cpp.
Referenced by DVBStreamData::DVBStreamData(), DVBStreamData::Reset(), SetSectionSeen(), and TableStatusMap::SetVersion().
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().
bool TableStatus::IsSectionSeen | ( | int32_t | version, |
uint32_t | section | ||
) | const |
Definition at line 41 of file tablestatus.cpp.
Referenced by DVBStreamData::IsRedundant().
bool TableStatus::HasAllSections | ( | ) | const |
Definition at line 49 of file tablestatus.cpp.
Referenced by DVBStreamData::HasAllNIToSections(), and DVBStreamData::HasAllNITSections().
int32_t TableStatus::m_version {-2} |
Definition at line 27 of file tablestatus.h.
Referenced by IsSectionSeen(), and SetVersion().
sections_t TableStatus::m_sections |
Definition at line 28 of file tablestatus.h.
Referenced by HasAllSections(), IsSectionSeen(), SetSectionSeen(), and SetVersion().
|
staticprivate |
Definition at line 31 of file tablestatus.h.
Referenced by InitSections(), and SetSectionSeen().