Command line arguments to select Conditional Access Systems.
More...
#include <tsCASSelectionArgs.h>
|
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.
◆ defineArgs()
void ts::CASSelectionArgs::defineArgs |
( |
Args & |
args | ) |
|
Add command line option definitions in an Args.
- Parameters
-
[in,out] | args | Command line arguments to update. |
◆ loadArgs()
Load arguments from command line.
Args error indicator is set in case of incorrect arguments.
- Parameters
-
[in,out] | duck | TSDuck execution context. |
[in,out] | args | Command line arguments. |
- Returns
- True on success, false on error in argument line.
◆ casMatch()
bool ts::CASSelectionArgs::casMatch |
( |
CASID |
cas | ) |
const |
Check if the specified CAS id matches the selection criteria.
- Parameters
-
- Returns
- True if cas matches the selection criteria.
◆ operatorMatch()
bool ts::CASSelectionArgs::operatorMatch |
( |
uint32_t |
oper | ) |
const |
Check if the specified operator id matches the selection criteria.
- Parameters
-
- Returns
- True if oper matches the selection criteria.
◆ addMatchingPIDs() [1/3]
Analyze all CA_descriptors in a descriptor list and locate all matching PID's.
- Parameters
-
[in,out] | pids | All patching PID's are added in this PID set. |
[in] | dlist | A list of descriptors. |
[in] | tid | Table id of the table from which the descriptor comes. |
[in,out] | report | Where to log debug messages. |
- Returns
- The number of matching PID's. Note that some of them may have been already in pids, so this may not be the number of added PID's.
◆ addMatchingPIDs() [2/3]
Analyze all CA_descriptors in a CAT and locate all matching EMM PID's.
- Parameters
-
[in,out] | pids | All patching PID's are added in this PID set. |
[in] | cat | A CAT. |
[in,out] | report | Where to log debug messages. |
- Returns
- The number of matching PID's. Note that some of them may have been already in pids, so this may not be the number of added PID's.
◆ addMatchingPIDs() [3/3]
Analyze all CA_descriptors in a PMT and locate all matching ECM PID's.
- Parameters
-
[in,out] | pids | All patching PID's are added in this PID set. |
[in] | pmt | a PMT. |
[in,out] | report | Where to log debug messages. |
- Returns
- The number of matching PID's. Note that some of them may have been already in pids, so this may not be the number of added PID's.
The documentation for this class was generated from the following file: