The MPEG-defined Program Association Table (PAT). More...
Classes | |
struct | ServiceEntry |
Describes a service entry in the PAT. More... | |
Public Types | |
typedef QList< ServiceEntry > | ServiceList |
Describe the list of services in the PAT. More... | |
Public Member Functions | |
QtsProgramAssociationTable (quint8 version=0, bool isCurrent=true, quint16 tsId=0, QtsPid nit=QTS_PID_NIT) | |
Default constructor. More... | |
QtsProgramAssociationTable (const QtsTable &table) | |
Constructor from a binary table. More... | |
virtual bool | deserialize (const QtsTable &table) Q_DECL_OVERRIDE |
This abstract method deserializes a binary table. More... | |
virtual bool | serialize (QtsTable &table) const Q_DECL_OVERRIDE |
This abstract method serializes a table. More... | |
![]() | |
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... | |
void | invalidate () |
Invalidate the table. More... | |
bool | isValid () const |
Check if the table is valid. More... | |
QtsTableId | tableId () const |
Get the table id. More... | |
Public Attributes | |
QtsPid | nitPid |
PID of the Network Information Table. More... | |
ServiceList | serviceList |
List of services in the transport stream. More... | |
quint16 | transportStreamId |
Transport stream id. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
bool | _isValid |
Validity flag. More... | |
QtsTableId | _tableId |
Table id, can be modified by subclasses. More... | |
The MPEG-defined Program Association Table (PAT).
typedef QList<ServiceEntry> QtsProgramAssociationTable::ServiceList |
Describe the list of services in the PAT.
QtsProgramAssociationTable::QtsProgramAssociationTable | ( | quint8 | version = 0 , |
bool | isCurrent = true , |
||
quint16 | tsId = 0 , |
||
QtsPid | nit = QTS_PID_NIT |
||
) |
Default constructor.
[in] | version | Table version. |
[in] | isCurrent | True if the table is "current", false if it is "next". |
[in] | tsId | Transport stream id. |
[in] | nit | PID of the Network Information Table. |
QtsProgramAssociationTable::QtsProgramAssociationTable | ( | const QtsTable & | table | ) |
Constructor from a binary table.
[in] | table | The table to deserialize. |
|
virtual |
This abstract method serializes a table.
Implementation required by QtsAbstractTable.
[out] | table | Replaced with a binary representation of this object. |
Implements QtsAbstractTable.
|
virtual |
This abstract method deserializes a binary table.
Implementation required by QtsAbstractTable.
[out] | table | Binary table to deserialize. |
Implements QtsAbstractTable.
quint16 QtsProgramAssociationTable::transportStreamId |
Transport stream id.
QtsPid QtsProgramAssociationTable::nitPid |
PID of the Network Information Table.
ServiceList QtsProgramAssociationTable::serviceList |
List of services in the transport stream.