![]() |
TSDuck v3.46-4930
MPEG Transport Stream Toolkit
|
#include <tsCASSelectionArgs.h>
Public Member Functions | |
| CASSelectionArgs ()=default | |
| size_t | addMatchingPIDs (PIDSet &pids, const CAT &cat, Report &report=(ts::NullReport::Instance())) const |
| size_t | addMatchingPIDs (PIDSet &pids, const DescriptorList &dlist, TID tid, Report &report=(ts::NullReport::Instance())) const |
| size_t | addMatchingPIDs (PIDSet &pids, const PMT &pmt, Report &report=(ts::NullReport::Instance())) const |
| bool | casMatch (CASID cas) const |
| void | defineArgs (Args &args) |
| bool | loadArgs (DuckContext &duck, Args &args) |
| bool | operatorMatch (uint32_t oper) const |
Public Attributes | |
| uint32_t | cas_oper = 0 |
| CA operator id (depends on the CAS). | |
| CASID | max_cas_id = 0 |
| Maximum CA system id for ECM or EMM. | |
| CASID | min_cas_id = 0 |
| Minimum CA system id for ECM or EMM. | |
| bool | pass_ecm = false |
| Pass PIDs containing ECM. | |
| bool | pass_emm = false |
| Pass PIDs containing EMM. | |
Command line arguments to select Conditional Access Systems.
|
default |
Constructor.
| void ts::CASSelectionArgs::defineArgs | ( | Args & | args | ) |
Add command line option definitions in an Args.
| [in,out] | args | Command line arguments to update. |
| bool ts::CASSelectionArgs::loadArgs | ( | DuckContext & | duck, |
| Args & | args ) |
Load arguments from command line. Args error indicator is set in case of incorrect arguments.
| [in,out] | duck | TSDuck execution context. |
| [in,out] | args | Command line arguments. |
| bool ts::CASSelectionArgs::casMatch | ( | CASID | cas | ) | const |
Check if the specified CAS id matches the selection criteria.
| [in] | cas | A CAS id. |
| bool ts::CASSelectionArgs::operatorMatch | ( | uint32_t | oper | ) | const |
Check if the specified operator id matches the selection criteria.
| [in] | oper | An operator id. |
| size_t ts::CASSelectionArgs::addMatchingPIDs | ( | PIDSet & | pids, |
| const DescriptorList & | dlist, | ||
| TID | tid, | ||
| Report & | report = (ts::NullReport::Instance()) ) const |
| size_t ts::CASSelectionArgs::addMatchingPIDs | ( | PIDSet & | pids, |
| const CAT & | cat, | ||
| Report & | report = (ts::NullReport::Instance()) ) const |
| size_t ts::CASSelectionArgs::addMatchingPIDs | ( | PIDSet & | pids, |
| const PMT & | pmt, | ||
| Report & | report = (ts::NullReport::Instance()) ) const |