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

Specialized set of PIDOperator. More...

#include <tsPIDOperator.h>

Inheritance diagram for ts::PIDOperatorSet:
Collaboration diagram for ts::PIDOperatorSet:

Public Types

using SuperClass = std::set< PIDOperator >
 Reference to the superclass.
 

Public Member Functions

 PIDOperatorSet ()=default
 Default constructor.
 
 PIDOperatorSet (const PIDOperatorSet &other)=default
 Copy constructor.
 
void addAllOperators (const DescriptorList &dlist, bool is_cat)
 Add all known operator info from a list of descriptors from a CAT or PMT.
 
void addMediaGuardCAT (const DescriptorList &dlist)
 Add MediaGuard info from a list of descriptors from a CAT.
 
void addMediaGuardPMT (const DescriptorList &dlist)
 Add MediaGuard info from a list of descriptors from a PMT.
 
void addSafeAccessCAT (const DescriptorList &dlist)
 Add SafeAccess info from a list of descriptors from a CAT.
 
void addViaccess (const DescriptorList &dlist, bool is_cat)
 Add Viaccess info from a list of descriptors from a CAT or PMT.
 
PID pidForOper (uint32_t oper) const
 Search first ECM/EMM PID for a specific operator.
 

Detailed Description

Specialized set of PIDOperator.

Constructor & Destructor Documentation

◆ PIDOperatorSet()

ts::PIDOperatorSet::PIDOperatorSet ( const PIDOperatorSet other)
default

Copy constructor.

Parameters
[in]otherOther instance to copy.

Member Function Documentation

◆ pidForOper()

PID ts::PIDOperatorSet::pidForOper ( uint32_t  oper) const

Search first ECM/EMM PID for a specific operator.

Parameters
[in]operOperator id.
Returns
The PID or 0 if not found.

◆ addAllOperators()

void ts::PIDOperatorSet::addAllOperators ( const DescriptorList dlist,
bool  is_cat 
)

Add all known operator info from a list of descriptors from a CAT or PMT.

Parameters
[in]dlistDescriptor list.
[in]is_catTrue is dlist is taken from a CAT, false for a PMT.

◆ addMediaGuardPMT()

void ts::PIDOperatorSet::addMediaGuardPMT ( const DescriptorList dlist)

Add MediaGuard info from a list of descriptors from a PMT.

Parameters
[in]dlistDescriptor list.

◆ addMediaGuardCAT()

void ts::PIDOperatorSet::addMediaGuardCAT ( const DescriptorList dlist)

Add MediaGuard info from a list of descriptors from a CAT.

Parameters
[in]dlistDescriptor list.

◆ addSafeAccessCAT()

void ts::PIDOperatorSet::addSafeAccessCAT ( const DescriptorList dlist)

Add SafeAccess info from a list of descriptors from a CAT.

Parameters
[in]dlistDescriptor list.

◆ addViaccess()

void ts::PIDOperatorSet::addViaccess ( const DescriptorList dlist,
bool  is_cat 
)

Add Viaccess info from a list of descriptors from a CAT or PMT.

Parameters
[in]dlistDescriptor list.
[in]is_catTrue is dlist is taken from a CAT, false for a PMT.

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