TSDuck v3.46-4964
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::MPERealTimeParameters Class Reference

#include <tsMPERealTimeParameters.h>

Public Member Functions

 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")
xml::Element * buildXML (DuckContext &duck, xml::Element *parent, bool use_etsi_ts_102_772_names, const UString &element_name=u"real_time_parameters") const
void clearContent ()
void deserialize (PSIBuffer &buf)
bool & MPE_boundary ()
bool MPE_boundary () const
uint32_t & prev_burst_size ()
uint32_t prev_burst_size () const
void serializePayload (PSIBuffer &buf) const

Static Public Member Functions

static bool Display (TablesDisplay &display, PSIBuffer &buf, const UString &margin, bool use_etsi_ts_102_772_names)

Public Attributes

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.

Detailed Description

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

Member Function Documentation

◆ 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.

◆ clearContent()

void ts::MPERealTimeParameters::clearContent ( )

Clear the content of the structure.

◆ serializePayload()

void ts::MPERealTimeParameters::serializePayload ( PSIBuffer & buf) const

Serialize the content of the structure in a binary buffer.

Parameters
[in,out]bufThe serialization buffer.

◆ deserialize()

void ts::MPERealTimeParameters::deserialize ( PSIBuffer & buf)

Deserialize the content of the structure from a binary buffer.

Parameters
[in,out]bufThe serialization buffer.

◆ buildXML()

xml::Element * ts::MPERealTimeParameters::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.

Parameters
[in,out]duckTSDuck execution context.
[in,out]parentThe parent node for the new XML tree.
[in]use_etsi_ts_102_772_namesUse ETSI TS 102 772 names for attributes.
[in]element_nameName 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]duckTSDuck execution context.
[in]parentThe parent XML node containing the element to convert.
[in]use_etsi_ts_102_772_namesUse ETSI TS 102 772 names for attributes.
[in]element_nameName of the XML element describing this structure inside parent.
Returns
True on success, false if the element is not found or incorrect.

◆ Display()

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]displayDisplay engine.
[in,out]bufA PSIBuffer over the structure.
[in]marginLeft margin content.
[in]use_etsi_ts_102_772_namesUse 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: