TSDuck Version 3.21-1704 (TSDuck - The MPEG Transport Stream Toolkit)
ts::ArgsSupplierInterface Class Referenceabstract

An interface which is used to add options in an Args structure. More...

Inheritance diagram for ts::ArgsSupplierInterface:

Public Member Functions

virtual ~ArgsSupplierInterface ()
 Virtual destructor.
virtual void defineArgs (Args &args) const =0
 Add command line option definitions in an Args. More...
virtual bool loadArgs (DuckContext &duck, Args &args)=0
 Load arguments from command line. More...

Detailed Description

An interface which is used to add options in an Args structure.

Member Function Documentation

◆ defineArgs()

virtual void ts::ArgsSupplierInterface::defineArgs ( Args args) const
pure virtual

◆ loadArgs()

virtual bool ts::ArgsSupplierInterface::loadArgs ( DuckContext duck,
Args args 
pure virtual

Load arguments from command line.

Args error indicator is set in case of incorrect arguments.

[in,out]duckTSDuck execution context.
[in,out]argsCommand line arguments.
True on success, false on error in argument line.

Implemented in ts::ModulationArgs, ts::SRTSocket, ts::TSScrambling, ts::TSAnalyzerOptions, ts::InputSwitcherArgs, ts::TSProcessorArgs, ts::TablesLogger, ts::TunerArgs, ts::TablesDisplay, ts::CASSelectionArgs, ts::PagerArgs, ts::WebRequestArgs, ts::ECMGClientArgs, ts::AsyncReportArgs, ts::PSILogger, ts::UDPReceiver, and ts::xml::Tweaks.

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