TSDuck v3.44-4659
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::BIOPServiceContext Struct Reference

One entry of a BIOP ServiceContextList. More...

#include <tsDSMCCBIOPMessage.h>

Collaboration diagram for ts::BIOPServiceContext:

Public Member Functions

bool deserialize (PSIBuffer &buf)
 Deserialize one ServiceContext from a buffer.
 
bool fromXML (DuckContext &duck, const xml::Element *element)
 This method decodes an XML BIOPServiceContext.
 
void toXML (DuckContext &duck, xml::Element *parent) const
 This method converts a BIOPServiceContext to XML.
 

Public Attributes

ByteBlock context_data {}
 Context data.
 
uint32_t context_id = 0
 Context identifier.
 

Detailed Description

One entry of a BIOP ServiceContextList.

Member Function Documentation

◆ deserialize()

bool ts::BIOPServiceContext::deserialize ( PSIBuffer buf)

Deserialize one ServiceContext from a buffer.

Parameters
[in,out]bufDeserialization buffer.
Returns
True on success.

◆ toXML()

void ts::BIOPServiceContext::toXML ( DuckContext duck,
xml::Element parent 
) const

This method converts a BIOPServiceContext to XML.

Parameters
[in,out]duckTSDuck execution context.
[in,out]parentThe parent node for the XML element.

◆ fromXML()

bool ts::BIOPServiceContext::fromXML ( DuckContext duck,
const xml::Element element 
)

This method decodes an XML BIOPServiceContext.

Parameters
[in,out]duckTSDuck execution context.
[in]elementThe XML element containing the service context.
Returns
True on success, false on error.

The documentation for this struct was generated from the following file: