TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::PluginOptions Class Reference

Command-line options for one plugin. More...

#include <tsPluginOptions.h>

Collaboration diagram for ts::PluginOptions:

Public Member Functions

 PluginOptions (const UString &name=UString(), const UStringVector &args=UStringVector())
 Default constructor.
 
void clear ()
 Clear the content of the options.
 
void set (const UString &name, const UStringVector &args=UStringVector())
 Set values.
 
UString toString (PluginType type) const
 Format the options as a string.
 

Public Attributes

UStringVector args {}
 Plugin options.
 
UString name {}
 Plugin name.
 

Detailed Description

Command-line options for one plugin.

Constructor & Destructor Documentation

◆ PluginOptions()

ts::PluginOptions::PluginOptions ( const UString name = UString(),
const UStringVector args = UStringVector() 
)

Default constructor.

Parameters
[in]namePlugin name.
[in]argsPlugin arguments.

Member Function Documentation

◆ set()

void ts::PluginOptions::set ( const UString name,
const UStringVector args = UStringVector() 
)

Set values.

Parameters
[in]namePlugin name.
[in]argsPlugin arguments.

◆ toString()

UString ts::PluginOptions::toString ( PluginType  type) const

Format the options as a string.

Parameters
[in]typePlugin type.
Returns
The command line equivalent.

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