DSM-CC Tap() structure.
More...
#include <tsDSMCCTap.h>
|
uint16_t | association_tag = 0 |
| This tag identifies a set of U-N Network ResourceDescriptors which have the same association tag value.
|
|
uint16_t | id = 0 |
| This identifies the Tap to the Client.
|
|
ByteBlock | selector_bytes {} |
| When selector_type is present and != 1: Selector bytes.
|
|
std::optional< uint16_t > | selector_type {} |
| Selector type. If unset, there is no selector.
|
|
uint32_t | timeout = 0 |
| When selector_type == 1: In microseconds, specific to the construction of a particular carousel.
|
|
uint32_t | transaction_id = 0 |
| When selector_type == 1 (DSMCC_TAPSELTYPE_MESSAGE): Used for session integrity and error processing.
|
|
uint16_t | use = 0 |
| This is a indication as to the type of the connection.
|
|
|
static constexpr const UChar * | DEFAULT_XML_NAME = u"Tap" |
| Default XML name for a Tap() structure.
|
|
DSM-CC Tap() structure.
- See also
- ISO/IEC 13818-6, 5.6.1
-
ETSI TR 101 202, 4.7.2.5
-
ATSC A/90, 12.2.2
◆ binarySize()
size_t ts::DSMCCTap::binarySize |
( |
| ) |
const |
Total number of bytes that is required to serialize the Tap().
- Returns
- The total number of bytes that is required to serialize the Tap().
◆ serialize()
void ts::DSMCCTap::serialize |
( |
PSIBuffer & |
buf | ) |
const |
Serialize the Tap().
- Parameters
-
[in,out] | buf | Serialization buffer. |
◆ deserialize()
void ts::DSMCCTap::deserialize |
( |
PSIBuffer & |
buf | ) |
|
Deserialize the Tap().
- Parameters
-
[in,out] | buf | Deserialization buffer. |
◆ Display()
A static method to display a Tap().
- Parameters
-
[in,out] | display | Display engine. |
[in,out] | buf | A PSIBuffer over the Tap(). |
[in] | margin | Left margin content. |
- Returns
- True on success, false on error.
◆ toXML()
This method converts a Tap() to XML.
- Parameters
-
[in,out] | duck | TSDuck execution context. |
[in,out] | parent | The parent node for the XML Tap(). |
[in] | xml_name | Name of the XML element to generate. |
- Returns
- The XML element representing the Tap() or the null pointer if only_not_empty is true and the Tap() is empty.
◆ fromXML()
This method decodes an XML Tap().
- Parameters
-
[in,out] | duck | TSDuck execution context. |
[in] | parent | The XML element containing the Tap() or the Tap() element itself if xml_name is null. |
[in] | xml_name | Expected name of the XML Tap() inside parent. If null, parent is the Tap() element. |
- Returns
- True on success, false on error.
The documentation for this class was generated from the following file: