TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
An interface which is used to filter sections in TablesLogger. More...
#include <tsTablesLoggerFilterInterface.h>
Public Member Functions | |
virtual void | defineFilterOptions (Args &args) const =0 |
Define section filtering command line options in an Args. | |
virtual bool | filterSection (DuckContext &duck, const Section §ion, CASID cas, PIDSet &more_pids)=0 |
Check if a specific section must be filtered and displayed. | |
virtual bool | loadFilterOptions (DuckContext &duck, Args &args, PIDSet &initial_pids)=0 |
Load arguments from command line. | |
virtual bool | reset ()=0 |
Reset context, if filtering restarts from the beginning for instance. | |
An interface which is used to filter sections in TablesLogger.
This abstract interface must be implemented by classes which define filtering rules for TablesLogger. There is one main instance which comes from TSDuck. Additional instances may be defined by external extensions.
|
pure virtual |
Define section filtering command line options in an Args.
[in,out] | args | Command line arguments to update. |
Implemented in ts::TablesLoggerFilter.
|
pure virtual |
Load arguments from command line.
Args error indicator is set in case of incorrect arguments.
[in,out] | duck | TSDuck context. |
[in,out] | args | Command line arguments. |
[out] | initial_pids | Initial PID's that the filter would like to see. |
Implemented in ts::TablesLoggerFilter.
|
pure virtual |
Reset context, if filtering restarts from the beginning for instance.
Implemented in ts::TablesLoggerFilter.
|
pure virtual |
Check if a specific section must be filtered and displayed.
[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. |
Implemented in ts::TablesLoggerFilter.