TSDuck v3.46-4965
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ServiceIdTriplet Class Reference

#include <tsServiceIdTriplet.h>

Inheritance diagram for ts::ServiceIdTriplet:
Collaboration diagram for ts::ServiceIdTriplet:

Public Member Functions

 ServiceIdTriplet ()=default
 ServiceIdTriplet (uint16_t svid, const TransportStreamId &tsid, uint8_t vers=0)
 ServiceIdTriplet (uint16_t svid, uint16_t tsid, uint16_t onid, uint8_t vers=0)
virtual void clear () override
uint64_t normalized () const
virtual UString toString () const override

Public Attributes

uint16_t original_network_id = 0
 Original network id.
uint16_t service_id = 0
 Service id.
uint16_t transport_stream_id = 0
 Transport stream id.
uint8_t version = 0
 General-purpose version (typically a table version), not part of the DVB triplet.

Detailed Description

Full identification of a DVB service (aka "DVB triplet").

Constructor & Destructor Documentation

◆ ServiceIdTriplet() [1/3]

ts::ServiceIdTriplet::ServiceIdTriplet ( )
default

Default constructor.

◆ ServiceIdTriplet() [2/3]

ts::ServiceIdTriplet::ServiceIdTriplet ( uint16_t svid,
uint16_t tsid,
uint16_t onid,
uint8_t vers = 0 )
inline

Constructor.

Parameters
[in]svidService id.
[in]tsidTransport stream id.
[in]onidOriginal network id.
[in]versOptional version.

◆ ServiceIdTriplet() [3/3]

ts::ServiceIdTriplet::ServiceIdTriplet ( uint16_t svid,
const TransportStreamId & tsid,
uint8_t vers = 0 )
inline

Constructor.

Parameters
[in]svidService id.
[in]tsidFull transport stream id.
[in]versOptional version.

Member Function Documentation

◆ normalized()

uint64_t ts::ServiceIdTriplet::normalized ( ) const
inline

Get a "normalized" 64-bit identifier. This is a value containing the original network id, TS id, service id and version.

Returns
The "normalized" 64-bit identifier of the TS.

◆ clear()

virtual void ts::ServiceIdTriplet::clear ( )
overridevirtual

Clear the content of this object.

Reimplemented from ts::TransportStreamId.

◆ toString()

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

Convert to a string object.

Returns
This object, converted as a string.

Reimplemented from ts::TransportStreamId.


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