The default section filter for TablesLogger.
More...
The default section filter for TablesLogger.
◆ defineFilterOptions()
virtual void ts::TablesLoggerFilter::defineFilterOptions |
( |
Args & |
args | ) |
const |
|
overridevirtual |
◆ loadFilterOptions()
virtual bool ts::TablesLoggerFilter::loadFilterOptions |
( |
DuckContext & |
duck, |
|
|
Args & |
args, |
|
|
PIDSet & |
initial_pids |
|
) |
| |
|
overridevirtual |
Load arguments from command line.
Args error indicator is set in case of incorrect arguments.
- Parameters
-
[in,out] | duck | TSDuck context. |
[in,out] | args | Command line arguments. |
[out] | initial_pids | Initial PID's that the filter would like to see. |
- Returns
- True on success, false on error in argument line.
Implements ts::TablesLoggerFilterInterface.
◆ filterSection()
virtual bool ts::TablesLoggerFilter::filterSection |
( |
DuckContext & |
duck, |
|
|
const Section & |
section, |
|
|
uint16_t |
cas, |
|
|
PIDSet & |
more_pids |
|
) |
| |
|
overridevirtual |
Check if a specific section must be filtered and displayed.
- Parameters
-
[in,out] | duck | TSDuck context. |
[in] | section | The section to check. |
[in] | cas | The CAS id for this section. |
[out] | more_pids | Additional PID's that the filter would like to see. |
- Returns
- True if the section can be displayed, false if it must not be displayed. A section is actually displayed if all section filters returned true.
Implements ts::TablesLoggerFilterInterface.
The documentation for this class was generated from the following file: