TSDuck v3.38-3738
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::T2MIHandlerInterface Class Referenceabstract

T2-MI demux handler interface. More...

#include <tsT2MIHandlerInterface.h>

Inheritance diagram for ts::T2MIHandlerInterface:

Public Member Functions

virtual void handleT2MINewPID (T2MIDemux &demux, const PMT &pmt, PID pid, const T2MIDescriptor &desc)=0
 This hook is invoked when a new PID carrying T2-MI is available.
 
virtual void handleT2MIPacket (T2MIDemux &demux, const T2MIPacket &pkt)=0
 This hook is invoked when a new T2-MI packet is available.
 
virtual void handleTSPacket (T2MIDemux &demux, const T2MIPacket &t2mi, const TSPacket &ts)=0
 This hook is invoked when a new TS packet is extracted.
 

Detailed Description

T2-MI demux handler interface.

This abstract interface must be implemented by classes which need to be notified of PID's and packets using a T2MIDemux.

Member Function Documentation

◆ handleT2MINewPID()

virtual void ts::T2MIHandlerInterface::handleT2MINewPID ( T2MIDemux demux,
const PMT pmt,
PID  pid,
const T2MIDescriptor desc 
)
pure virtual

This hook is invoked when a new PID carrying T2-MI is available.

Parameters
[in,out]demuxA reference to the T2-MI demux.
[in]pmtThe PMT of the service describing this PID.
[in]pidThe PID carrying T2-MI encapsulation.
[in]descThe T2MI_descriptor for this PID.

◆ handleT2MIPacket()

virtual void ts::T2MIHandlerInterface::handleT2MIPacket ( T2MIDemux demux,
const T2MIPacket pkt 
)
pure virtual

This hook is invoked when a new T2-MI packet is available.

Parameters
[in,out]demuxA reference to the T2-MI demux.
[in]pktThe T2-MI packet.

◆ handleTSPacket()

virtual void ts::T2MIHandlerInterface::handleTSPacket ( T2MIDemux demux,
const T2MIPacket t2mi,
const TSPacket ts 
)
pure virtual

This hook is invoked when a new TS packet is extracted.

Parameters
[in,out]demuxA reference to the T2-MI demux.
[in]t2miThe T2-MI packet from which ts was extracted.
[in]tsThe extracted TS packet.

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