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

#include <tsTransportStreamId.h>

Inheritance diagram for ts::TransportStreamId:
Collaboration diagram for ts::TransportStreamId:

Public Member Functions

 TransportStreamId ()=default
 TransportStreamId (uint16_t tsid, uint16_t onid)
virtual void clear ()
uint32_t normalized () const
virtual UString toString () const override

Public Attributes

uint16_t original_network_id = 0
 Original network id.
uint16_t transport_stream_id = 0
 Transport stream id.

Detailed Description

Full identification of a DVB transport stream.

Constructor & Destructor Documentation

◆ TransportStreamId() [1/2]

ts::TransportStreamId::TransportStreamId ( )
default

Default constructor.

◆ TransportStreamId() [2/2]

ts::TransportStreamId::TransportStreamId ( uint16_t tsid,
uint16_t onid )
inline

Constructor.

Parameters
[in]tsidTransport stream id.
[in]onidOriginal network id.

Member Function Documentation

◆ clear()

virtual void ts::TransportStreamId::clear ( )
virtual

Clear the content of this object.

Reimplemented in ts::ServiceIdTriplet.

◆ normalized()

uint32_t ts::TransportStreamId::normalized ( ) const
inline

Get a "normalized" 32-bit identifier. The upper 16-bit contain the original network id. The lower 16-bit contain the TS id.

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

◆ toString()

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

Convert to a string object.

Returns
This object, converted as a string.

Implements ts::StringifyInterface.

Reimplemented in ts::ServiceIdTriplet.


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