![]() |
TSDuck v3.46-4965
MPEG Transport Stream Toolkit
|
#include <tsDSMCCResourceDescriptor.h>

Public Member Functions | |
| DSMCCResourceDescriptor ()=default | |
| size_t | binarySize () const |
| void | clear () |
| void | deserialize (PSIBuffer &buf) |
| bool | fromXML (DuckContext &duck, const xml::Element *parent, const UChar *xml_name=DEFAULT_XML_NAME) |
| void | serialize (PSIBuffer &buf) const |
| xml::Element * | toXML (DuckContext &duck, xml::Element *parent, const UChar *xml_name=DEFAULT_XML_NAME) const |
Static Public Member Functions | |
| static bool | Display (TablesDisplay &display, PSIBuffer &buf, const UString &margin) |
Public Attributes | |
| uint16_t | associationTag = 0 |
| Identifies the groups of resources or shared resources that together make up an end-to-end connection. | |
| uint16_t | resourceDataFieldCount = 0 |
| Indicates the total number of data fields in the resource descriptor. | |
| ByteBlock | resourceDescriptorDataFields {} |
| uint16_t | resourceDescriptorType = 0 |
| Defines the specific resource being requested. | |
| uint8_t | resourceFlags = 0 |
| Resource flags. | |
| uint16_t | resourceNum = 0 |
| A unique number. | |
| uint16_t | resourceRequestId = 0 |
| Correlate the resource specified in the Request message with the result given in the Confirm message. | |
| uint8_t | resourceStatus = 0 |
| Status of the requested resource between the Server and the Network or Client. | |
| uint32_t | typeOwnerId = 0 |
| 24 bits, required when resourceDescriptorType == 0xFFFF" | |
| uint32_t | typeOwnerValue = 0 |
| 24 bits, required when resourceDescriptorType == 0xFFFF"> | |
Static Public Attributes | |
| static constexpr const UChar * | DEFAULT_XML_NAME = u"dsmccResourceDescriptor" |
DSM-CC dsmccResourceDescriptor() structure.
|
default |
Default constructor.
| size_t ts::DSMCCResourceDescriptor::binarySize | ( | ) | const |
Total number of bytes that is required to serialize the dsmccResourceDescriptor().
| void ts::DSMCCResourceDescriptor::clear | ( | ) |
Clear the content of the dsmccResourceDescriptor() structure.
| void ts::DSMCCResourceDescriptor::serialize | ( | PSIBuffer & | buf | ) | const |
Serialize the dsmccResourceDescriptor().
| [in,out] | buf | Serialization buffer. |
| void ts::DSMCCResourceDescriptor::deserialize | ( | PSIBuffer & | buf | ) |
Deserialize the dsmccResourceDescriptor().
| [in,out] | buf | Deserialization buffer. |
|
static |
A static method to display a dsmccResourceDescriptor().
| [in,out] | display | Display engine. |
| [in,out] | buf | A PSIBuffer over the dsmccResourceDescriptor(). |
| [in] | margin | Left margin content. |
| xml::Element * ts::DSMCCResourceDescriptor::toXML | ( | DuckContext & | duck, |
| xml::Element * | parent, | ||
| const UChar * | xml_name = DEFAULT_XML_NAME ) const |
This method converts a dsmccResourceDescriptor() to XML.
| [in,out] | duck | TSDuck execution context. |
| [in,out] | parent | The parent node for the XML dsmccResourceDescriptor(). |
| [in] | xml_name | Name of the XML element to generate. |
| bool ts::DSMCCResourceDescriptor::fromXML | ( | DuckContext & | duck, |
| const xml::Element * | parent, | ||
| const UChar * | xml_name = DEFAULT_XML_NAME ) |
This method decodes an XML dsmccResourceDescriptor().
| [in,out] | duck | TSDuck execution context. |
| [in] | parent | The XML element containing the dsmccResourceDescriptor() or the dsmccResourceDescriptor() element itself if xml_name is null. |
| [in] | xml_name | Expected name of the XML dsmccResourceDescriptor() inside parent. If null, parent is the Tap() element. |
| ByteBlock ts::DSMCCResourceDescriptor::resourceDescriptorDataFields {} |
Resource descriptor data fields. The structure of resourceDescriptorDataFields() is unclear. Currently, only the raw binary content can be specified.
|
staticconstexpr |
Default XML name for a dsmccResourceDescriptor() structure.