TSDuck v3.41-4259
MPEG Transport Stream Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages Concepts
ts::MPERealTimeParameters Class Reference

Representation of MPE real_time_parameters. More...

#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")
 This method converts an XML structure to a table or descriptor in this object.
 
xml::ElementbuildXML (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.
 

Static Public Member Functions

static bool Display (TablesDisplay &display, PSIBuffer &buf, const UString &margin, bool use_etsi_ts_102_772_names)
 A static method to display a real_time_parameters structure.
 

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.

◆ 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()

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]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: