Representation of MPE real_time_parameters.
More...
#include <tsMPERealTimeParameters.h>
|
| MPERealTimeParameters ()=default |
| Constructor.
|
|
bool | analyzeXML (DuckContext &duck, const xml::Element *parent, bool use_etsi_ts_102_772_names, const UString &element_name=u"real_time_parameters") |
| This method converts an XML structure to a table or descriptor in this object.
|
|
xml::Element * | buildXML (DuckContext &duck, xml::Element *parent, bool use_etsi_ts_102_772_names, const UString &element_name=u"real_time_parameters") const |
| This method converts this object to XML.
|
|
void | clearContent () |
| Clear the content of the structure.
|
|
void | deserialize (PSIBuffer &buf) |
| Deserialize the content of the structure from a binary buffer.
|
|
bool & | MPE_boundary () |
| Access to the table_boundary field, with ETSI TS 102 772 naming.
|
|
bool | MPE_boundary () const |
| Access to the table_boundary field, with ETSI TS 102 772 naming.
|
|
uint32_t & | prev_burst_size () |
| Access to the address field, with ETSI TS 102 772 naming.
|
|
uint32_t | prev_burst_size () const |
| Access to the address field, with ETSI TS 102 772 naming.
|
|
void | serializePayload (PSIBuffer &buf) const |
| Serialize the content of the structure in a binary buffer.
|
|
|
uint32_t | address = 0 |
| 18-bit, also named prev_burst_size in ETSI TS 102 772.
|
|
uint16_t | delta_t = 0 |
| 12-bit delta t, semantics depends on the context.
|
|
bool | frame_boundary = false |
| 1-bit.
|
|
bool | table_boundary = false |
| 1-bit, also named MPE_boundary in ETSI TS 102 772.
|
|
Representation of MPE real_time_parameters.
This structure is defined in ETSI EN 301 192 and ETSI TS 102 772, with the same layout but slightly different naming of two fields.
- See also
- ETSI EN 301 192, section 9.10
-
ETSI TS 102 772, section 5.3
◆ MPE_boundary() [1/2]
bool & ts::MPERealTimeParameters::MPE_boundary |
( |
| ) |
|
|
inline |
Access to the table_boundary field, with ETSI TS 102 772 naming.
- Returns
- A reference to the table_boundary field.
◆ MPE_boundary() [2/2]
bool ts::MPERealTimeParameters::MPE_boundary |
( |
| ) |
const |
|
inline |
Access to the table_boundary field, with ETSI TS 102 772 naming.
- Returns
- The value of the table_boundary field.
◆ prev_burst_size() [1/2]
uint32_t & ts::MPERealTimeParameters::prev_burst_size |
( |
| ) |
|
|
inline |
Access to the address field, with ETSI TS 102 772 naming.
- Returns
- A reference to the address field.
◆ prev_burst_size() [2/2]
uint32_t ts::MPERealTimeParameters::prev_burst_size |
( |
| ) |
const |
|
inline |
Access to the address field, with ETSI TS 102 772 naming.
- Returns
- The value of the address field.
◆ serializePayload()
void ts::MPERealTimeParameters::serializePayload |
( |
PSIBuffer & |
buf | ) |
const |
Serialize the content of the structure in a binary buffer.
- Parameters
-
[in,out] | buf | The serialization buffer. |
◆ deserialize()
void ts::MPERealTimeParameters::deserialize |
( |
PSIBuffer & |
buf | ) |
|
Deserialize the content of the structure from a binary buffer.
- Parameters
-
[in,out] | buf | The serialization buffer. |
◆ buildXML()
This method converts this object to XML.
- Parameters
-
[in,out] | duck | TSDuck execution context. |
[in,out] | parent | The parent node for the new XML tree. |
[in] | use_etsi_ts_102_772_names | Use ETSI TS 102 772 names for attributes. |
[in] | element_name | Name of the XML element describing this structure inside parent. |
- Returns
- The created XML element.
◆ analyzeXML()
bool ts::MPERealTimeParameters::analyzeXML |
( |
DuckContext & |
duck, |
|
|
const xml::Element * |
parent, |
|
|
bool |
use_etsi_ts_102_772_names, |
|
|
const UString & |
element_name = u"real_time_parameters" |
|
) |
| |
This method converts an XML structure to a table or descriptor in this object.
- Parameters
-
[in,out] | duck | TSDuck execution context. |
[in] | parent | The parent XML node containing the element to convert. |
[in] | use_etsi_ts_102_772_names | Use ETSI TS 102 772 names for attributes. |
[in] | element_name | Name of the XML element describing this structure inside parent. |
- Returns
- True on success, false if the element is not found or incorrect.
◆ Display()
static bool ts::MPERealTimeParameters::Display |
( |
TablesDisplay & |
display, |
|
|
PSIBuffer & |
buf, |
|
|
const UString & |
margin, |
|
|
bool |
use_etsi_ts_102_772_names |
|
) |
| |
|
static |
A static method to display a real_time_parameters structure.
- Parameters
-
[in,out] | display | Display engine. |
[in,out] | buf | A PSIBuffer over the structure. |
[in] | margin | Left margin content. |
[in] | use_etsi_ts_102_772_names | Use ETSI TS 102 772 names for display. |
- Returns
- True on success, false if the element cannot be deserialized.
The documentation for this class was generated from the following file: