TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
Command line

Command line applications. More...

Collaboration diagram for Command line:

Classes

class  ts::Args
class  ts::AsyncReportArgs
class  ts::CASSelectionArgs
class  ts::CommandLine
class  ts::CommandLineHandler
class  ts::FileNameRate
class  ts::FileNameRateList
class  ts::json::OutputArgs
class  ts::PagerArgs
class  ts::SectionFileArgs
class  ts::TLVSyntax
class  ts::TSDumpArgs

Typedefs

using ts::CommandLineMethod = CommandStatus (CommandLineHandler::*)(const UString& command, Args& args)

Enumerations

enum class  ts::CommandStatus {
  ts::CommandStatus::SUCCESS ,
  ts::CommandStatus::EXIT ,
  ts::CommandStatus::ERROR ,
  ts::CommandStatus::FATAL
}

Detailed Description

Command line applications.

Typedef Documentation

◆ CommandLineMethod

using ts::CommandLineMethod = CommandStatus (CommandLineHandler::*)(const UString& command, Args& args)

Profile of a CommandLineHandler method which is invoked by a CommandLine instance for one command.

Parameters
[in]commandName of the command, unabbreviated, as defined in CommandLine::command().
[in,out]argsCommand line arguments.
Returns
Status of the execution of the command.

Enumeration Type Documentation

◆ CommandStatus

enum class ts::CommandStatus
strong

Status of a command which is executed by a CommandLine object.

Enumerator
SUCCESS 

Command successful.

EXIT 

Exit command interpreter with success status.

ERROR 

Command terminated on error.

FATAL 

Fatal error, exit command interpreter with error status.