Abstract base class for MPEG PSI/SI tables with long sections. More...
Public Member Functions | |
bool | isCurrent () const |
Check if the section is "current" (vs. More... | |
void | setIsCurrent (bool isCurrent) |
Modify the "current" flag. More... | |
void | setVersion (quint8 version) |
Modify the table version. More... | |
quint8 | version () const |
Get the table version. More... | |
![]() | |
virtual | ~QtsAbstractTable () |
Virtual destructor. More... | |
virtual bool | deserialize (const QtsTable &table)=0 |
This abstract method deserializes a binary table. More... | |
void | invalidate () |
Invalidate the table. More... | |
bool | isValid () const |
Check if the table is valid. More... | |
virtual bool | serialize (QtsTable &table) const =0 |
This abstract method serializes a table. More... | |
QtsTableId | tableId () const |
Get the table id. More... | |
Protected Member Functions | |
QtsAbstractLongTable (QtsTableId tid, quint8 version=0, bool isCurrent=true) | |
Protected constructor for subclasses. More... | |
bool | addSection (QtsTable &table, bool isPrivateSection, quint16 tidExt, const void *payload, int payloadSize) const |
Serialization helper: add a section in the binary table. More... | |
bool | addSection (QtsTable &table, bool isPrivateSection, quint16 tidExt, const QtlByteBlock &payload) const |
Serialization helper: add a section in the binary table. More... | |
![]() | |
QtsAbstractTable (QtsTableId tid) | |
Protected constructor for subclasses. More... | |
bool | deserializeInit (const QtsTable &table) |
Deserialization helper: Start the deserialization. More... | |
bool | serializeInit (QtsTable &table) const |
Serialization helper: Start a new binary table. More... | |
Private Attributes | |
bool | _isCurrent |
Table "current" flag (vs. next). More... | |
quint8 | _version |
Table version. More... | |
Additional Inherited Members | |
![]() | |
bool | _isValid |
Validity flag. More... | |
QtsTableId | _tableId |
Table id, can be modified by subclasses. More... | |
Abstract base class for MPEG PSI/SI tables with long sections.
|
inlineprotected |
Protected constructor for subclasses.
[in] | tid | Table id. |
[in] | version | Table version. |
[in] | isCurrent | "current" flag. |
|
inline |
Get the table version.
|
inline |
Modify the table version.
[in] | version | New table version. |
|
inline |
Check if the section is "current" (vs.
"next").
|
inline |
Modify the "current" flag.
[in] | isCurrent | New "current" flag. |
|
protected |
Serialization helper: add a section in the binary table.
[in] | table | The binary table to build. |
[in] | isPrivateSection | False for MPEG-defined sections, true for all others. |
[in] | tidExt | Table id extension. |
[in] | payload | Address of section payload to copy. |
[in] | payloadSize | Size of section payload. |
|
inlineprotected |
Serialization helper: add a section in the binary table.
[in] | table | The binary table to build. |
[in] | isPrivateSection | False for MPEG-defined sections, true for all others. |
[in] | tidExt | Table id extension. |
[in] | payload | Section payload to copy. |
|
private |
Table version.
|
private |
Table "current" flag (vs. next).