TSDuck v3.44-4659
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::DSMCCExtractorArgs Class Reference

Command-line options for DSMCCExtractor. More...

#include <tsDSMCCExtractorArgs.h>

Collaboration diagram for ts::DSMCCExtractorArgs:

Public Member Functions

 DSMCCExtractorArgs ()=default
 Default constructor.
 
void defineArgs (Args &args)
 Define the command-line options on args.
 
bool loadArgs (Args &args)
 Load parsed values from args into this structure and validate option combinations.
 

Public Attributes

DSMCCExtractor::Options options {}
 Extraction policy.
 
PID pid = PID_NULL
 PID carrying the carousel.
 

Detailed Description

Command-line options for DSMCCExtractor.

Consolidates the argument definitions, parsing and validation shared by the dsmcc plugin and the tsdsmcc standalone command. Adding a new option happens in one place.

Member Function Documentation

◆ defineArgs()

void ts::DSMCCExtractorArgs::defineArgs ( Args args)

Define the command-line options on args.

Parameters
[in,out]argsThe Args subclass (plugin or command).

◆ loadArgs()

bool ts::DSMCCExtractorArgs::loadArgs ( Args args)

Load parsed values from args into this structure and validate option combinations.

Parameters
[in,out]argsThe Args subclass (plugin or command).
Returns
True on success, false if validation failed.

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