TSDuck v3.43-4509
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::NIPActualCarrierInformation Class Reference

Representation of the DVB-NIP Actual Carrier Information from LCT header extension HET_NACI. More...

#include <tsNIPActualCarrierInformation.h>

Inheritance diagram for ts::NIPActualCarrierInformation:
Collaboration diagram for ts::NIPActualCarrierInformation:

Public Member Functions

 NIPActualCarrierInformation ()=default
 Default constructor.
 
void clear ()
 Clear the content of a structure.
 
bool deserialize (const LCTHeader &lct)
 Deserialize the structure from a HET_NACI LCT header extension.
 
bool deserialize (const uint8_t *addr, size_t size)
 Deserialize the structure from a binary area.
 
bool operator< (const NIPActualCarrierInformation &other) const
 Comparison operator for use as index in maps.
 
virtual UString toString () const override
 Convert to a string object.
 

Public Attributes

uint16_t nip_carrier_id = 0
 NIPCarrierID.
 
uint16_t nip_link_id = 0
 NIPLinkID.
 
uint16_t nip_network_id = 0
 NIPNetworkID.
 
uint16_t nip_service_id = 0
 NIPServiceID.
 
UString nip_stream_provider_name {}
 NIPStreamProviderName.
 
bool valid = false
 The informatio was successfully parsed.
 

Detailed Description

Representation of the DVB-NIP Actual Carrier Information from LCT header extension HET_NACI.

See also
ETSI TS 103 876, section 8.7.3

Member Function Documentation

◆ deserialize() [1/2]

bool ts::NIPActualCarrierInformation::deserialize ( const uint8_t *  addr,
size_t  size 
)

Deserialize the structure from a binary area.

Parameters
[in]addrAddress of binary area.
[in]sizeSize of binary area.
Returns
True on success, false on error. Same as valid field.

◆ deserialize() [2/2]

bool ts::NIPActualCarrierInformation::deserialize ( const LCTHeader lct)

Deserialize the structure from a HET_NACI LCT header extension.

Parameters
[in]lctLCT header.
Returns
True on success, false on error or not present in LCT header. Same as valid field.

◆ operator<()

bool ts::NIPActualCarrierInformation::operator< ( const NIPActualCarrierInformation other) const

Comparison operator for use as index in maps.

Parameters
[in]otherAnother instance to compare.
Returns
True is this instance is logically less that other.

◆ toString()

virtual UString ts::NIPActualCarrierInformation::toString ( ) const
overridevirtual

Convert to a string object.

Returns
This object, converted as a string.

Implements ts::StringifyInterface.


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