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

Command line arguments for the class ECMGClient. More...

#include <tsECMGClientArgs.h>

Collaboration diagram for ts::ECMGClientArgs:

Public Member Functions

 ECMGClientArgs ()=default
 Constructor.
 
void defineArgs (Args &args)
 Add command line option definitions in an Args.
 
bool loadArgs (DuckContext &duck, Args &args)
 Load arguments from command line.
 

Public Attributes

ByteBlock access_criteria {}
 --access-criteria
 
ts::deciseconds cp_duration {0}
 --cp-duration, crypto-period duration, converted to 100 ms units
 
tlv::VERSION dvbsim_version = 0
 --ecmg-scs-version
 
uint16_t ecm_channel_id = 0
 --channel-id
 
uint16_t ecm_id = 0
 --ecm-id
 
uint16_t ecm_stream_id = 0
 --stream-id
 
IPv4SocketAddress ecmg_address {}
 --ecmg, ECMG socket address (required or optional)
 
int log_data = 0
 --log-data
 
int log_protocol = 0
 --log-protocol
 
uint32_t super_cas_id = 0
 --super-cas-id, CA system & subsystem id
 

Detailed Description

Command line arguments for the class ECMGClient.

Member Function Documentation

◆ defineArgs()

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

Add command line option definitions in an Args.

Parameters
[in,out]argsCommand line arguments to update.

◆ loadArgs()

bool ts::ECMGClientArgs::loadArgs ( DuckContext duck,
Args args 
)

Load arguments from command line.

Args error indicator is set in case of incorrect arguments.

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

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