TSDuck v3.40-4034
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::SignalizationHandlerInterface Class Reference

General-purpose signalization handler interface. More...

#include <tsSignalizationHandlerInterface.h>

Inheritance diagram for ts::SignalizationHandlerInterface:

Public Member Functions

virtual void handleBAT (const BAT &table, PID pid)
 This hook is invoked when a new DVB Bouquet Association Table (BAT) is available.
 
virtual void handleCAT (const CAT &table, PID pid)
 This hook is invoked when a new MPEG Conditional Access Table (CAT) is available.
 
virtual void handleCVCT (const CVCT &table, PID pid)
 This hook is invoked when a new ATSC Cable Virtual Channel Table (CVCT) is available.
 
virtual void handleMGT (const MGT &table, PID pid)
 This hook is invoked when a new ATSC Master Guide Table (MGT) is available.
 
virtual void handleNIT (const NIT &table, PID pid)
 This hook is invoked when a new DVB Network Information Table (NIT) is available.
 
virtual void handlePAT (const PAT &table, PID pid)
 This hook is invoked when a new MPEG Program Association Table (PAT) is available.
 
virtual void handlePMT (const PMT &table, PID pid)
 This hook is invoked when a new MPEG Program Map Table (PMT) is available.
 
virtual void handleRRT (const RRT &table, PID pid)
 This hook is invoked when a new ATSC Rating Region Table (RRT) is available.
 
virtual void handleRST (const RST &table, PID pid)
 This hook is invoked when a new DVB Running Status Table (RST) is available.
 
virtual void handleSAT (const SAT &table, PID pid)
 This hook is invoked when a new DVB Satellite Access Table (SAT) is available.
 
virtual void handleSDT (const SDT &table, PID pid)
 This hook is invoked when a new DVB Service Description Table (SDT) is available.
 
virtual void handleService (uint16_t ts_id, const Service &service, const PMT &pmt, bool removed)
 This hook is invoked when a service in the transport stream has changed.
 
virtual void handleSTT (const STT &table, PID pid)
 This hook is invoked when a new ATSC System Time Table (STT) is available.
 
virtual void handleTDT (const TDT &table, PID pid)
 This hook is invoked when a new DVB Time & Date Table (TDT) is available.
 
virtual void handleTOT (const TOT &table, PID pid)
 This hook is invoked when a new DVB Time Offset Table (TOT) is available.
 
virtual void handleTSDT (const TSDT &table, PID pid)
 This hook is invoked when a new MPEG Transport Stream Description Table (TSDT) is available.
 
virtual void handleTVCT (const TVCT &table, PID pid)
 This hook is invoked when a new ATSC Terrestrial Virtual Channel Table (TVCT) is available.
 
virtual void handleUTC (const Time &utc, TID tid)
 This hook is invoked when a new UTC time is available.
 
virtual void handleVCT (const VCT &table, PID pid)
 This hook is invoked when a new ATSC Virtual Channel Table (VCT) is available.
 

Detailed Description

General-purpose signalization handler interface.

A subclass may choose to implement any handler. The default implementation of a handler is to do nothing.

Member Function Documentation

◆ handlePAT()

virtual void ts::SignalizationHandlerInterface::handlePAT ( const PAT table,
PID  pid 
)
virtual

This hook is invoked when a new MPEG Program Association Table (PAT) is available.

Parameters
[in]tableA reference to the new PAT.
[in]pidThe PID on which the table was found.

◆ handleCAT()

virtual void ts::SignalizationHandlerInterface::handleCAT ( const CAT table,
PID  pid 
)
virtual

This hook is invoked when a new MPEG Conditional Access Table (CAT) is available.

Parameters
[in]tableA reference to the new CAT.
[in]pidThe PID on which the table was found.

◆ handlePMT()

virtual void ts::SignalizationHandlerInterface::handlePMT ( const PMT table,
PID  pid 
)
virtual

This hook is invoked when a new MPEG Program Map Table (PMT) is available.

Parameters
[in]tableA reference to the new PMT.
[in]pidThe PID on which the table was found.

Reimplemented in ts::AbstractDescrambler.

◆ handleTSDT()

virtual void ts::SignalizationHandlerInterface::handleTSDT ( const TSDT table,
PID  pid 
)
virtual

This hook is invoked when a new MPEG Transport Stream Description Table (TSDT) is available.

Parameters
[in]tableA reference to the new TSDT.
[in]pidThe PID on which the table was found.

◆ handleNIT()

virtual void ts::SignalizationHandlerInterface::handleNIT ( const NIT table,
PID  pid 
)
virtual

This hook is invoked when a new DVB Network Information Table (NIT) is available.

Parameters
[in]tableA reference to the new NIT.
[in]pidThe PID on which the table was found.

◆ handleSDT()

virtual void ts::SignalizationHandlerInterface::handleSDT ( const SDT table,
PID  pid 
)
virtual

This hook is invoked when a new DVB Service Description Table (SDT) is available.

Parameters
[in]tableA reference to the new SDT.
[in]pidThe PID on which the table was found.

◆ handleBAT()

virtual void ts::SignalizationHandlerInterface::handleBAT ( const BAT table,
PID  pid 
)
virtual

This hook is invoked when a new DVB Bouquet Association Table (BAT) is available.

Parameters
[in]tableA reference to the new BAT.
[in]pidThe PID on which the table was found.

◆ handleRST()

virtual void ts::SignalizationHandlerInterface::handleRST ( const RST table,
PID  pid 
)
virtual

This hook is invoked when a new DVB Running Status Table (RST) is available.

Parameters
[in]tableA reference to the new RST.
[in]pidThe PID on which the table was found.

◆ handleTDT()

virtual void ts::SignalizationHandlerInterface::handleTDT ( const TDT table,
PID  pid 
)
virtual

This hook is invoked when a new DVB Time & Date Table (TDT) is available.

Parameters
[in]tableA reference to the new TDT.
[in]pidThe PID on which the table was found.

◆ handleTOT()

virtual void ts::SignalizationHandlerInterface::handleTOT ( const TOT table,
PID  pid 
)
virtual

This hook is invoked when a new DVB Time Offset Table (TOT) is available.

Parameters
[in]tableA reference to the new TOT.
[in]pidThe PID on which the table was found.

◆ handleMGT()

virtual void ts::SignalizationHandlerInterface::handleMGT ( const MGT table,
PID  pid 
)
virtual

This hook is invoked when a new ATSC Master Guide Table (MGT) is available.

Parameters
[in]tableA reference to the new MGT.
[in]pidThe PID on which the table was found.

◆ handleVCT()

virtual void ts::SignalizationHandlerInterface::handleVCT ( const VCT table,
PID  pid 
)
virtual

This hook is invoked when a new ATSC Virtual Channel Table (VCT) is available.

Parameters
[in]tableA reference to the new VCT. This can be a CVCT or a TVCT.
[in]pidThe PID on which the table was found.

◆ handleCVCT()

virtual void ts::SignalizationHandlerInterface::handleCVCT ( const CVCT table,
PID  pid 
)
virtual

This hook is invoked when a new ATSC Cable Virtual Channel Table (CVCT) is available.

Note that handleVCT() and handleCVCT() are sequentially invoked for each CVCT.

Parameters
[in]tableA reference to the new CVCT.
[in]pidThe PID on which the table was found.

◆ handleTVCT()

virtual void ts::SignalizationHandlerInterface::handleTVCT ( const TVCT table,
PID  pid 
)
virtual

This hook is invoked when a new ATSC Terrestrial Virtual Channel Table (TVCT) is available.

Note that handleVCT() and handleTVCT() are sequentially invoked for each TVCT.

Parameters
[in]tableA reference to the new TVCT.
[in]pidThe PID on which the table was found.

◆ handleRRT()

virtual void ts::SignalizationHandlerInterface::handleRRT ( const RRT table,
PID  pid 
)
virtual

This hook is invoked when a new ATSC Rating Region Table (RRT) is available.

Parameters
[in]tableA reference to the new RRT.
[in]pidThe PID on which the table was found.

◆ handleSTT()

virtual void ts::SignalizationHandlerInterface::handleSTT ( const STT table,
PID  pid 
)
virtual

This hook is invoked when a new ATSC System Time Table (STT) is available.

Parameters
[in]tableA reference to the new STT.
[in]pidThe PID on which the table was found.

◆ handleUTC()

virtual void ts::SignalizationHandlerInterface::handleUTC ( const Time utc,
TID  tid 
)
virtual

This hook is invoked when a new UTC time is available.

Parameters
[in]utcThe new UTC time.
[in]tidThe table id into which the time was found.

◆ handleSAT()

virtual void ts::SignalizationHandlerInterface::handleSAT ( const SAT table,
PID  pid 
)
virtual

This hook is invoked when a new DVB Satellite Access Table (SAT) is available.

Parameters
[in]tableA reference to the new SAT.
[in]pidThe PID on which the table was found.

◆ handleService()

virtual void ts::SignalizationHandlerInterface::handleService ( uint16_t  ts_id,
const Service service,
const PMT pmt,
bool  removed 
)
virtual

This hook is invoked when a service in the transport stream has changed.

The change can be minor, such as name or LCN.

Parameters
[in]ts_idThe transport stream id or 0xFFFF if it is unknown.
[in]serviceThe description of the service. The service id is always set. Other fields may not be present, check before use.
[in]pmtThe last PMT of the service. Can be invalid if unknown.
[in]removedIf true, the service is removed. Otherwise, it is new or changed.

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