TSDuck Version 3.20-1669 (TSDuck - The MPEG Transport Stream Toolkit)
ts::DektecDeviceInfo Class Reference

A simple encapsulation of Dektec device information. More...

Collaboration diagram for ts::DektecDeviceInfo:

Classes

class  PortInfo
 Information on an input or output port in a Dektec device. More...
 

Public Types

typedef std::vector< PortInfoPortInfoVector
 A vector of Dektec port information.
 

Public Member Functions

 DektecDeviceInfo ()
 Constructor.
 

Static Public Member Functions

static bool GetAllDevices (DektecDeviceInfoVector &info, Report &report=(*ts::CerrReport::Instance()))
 Get information on all Dektec devices in the system. More...
 

Public Attributes

UString description
 Device description.
 
PortInfoVector inputPorts
 Description of all input ports on this device.
 
UString model
 Device model;.
 
PortInfoVector outputPorts
 Description of all output ports on this device.
 

Detailed Description

A simple encapsulation of Dektec device information.

It is normally not possible to access DTAPI and Dektec devices from TSDuck applications. The binary DTAPI is privately isolated inside tsduck.dll/.so. This class provides only basic device information. All access to Dektec devices is normally done using the tsdektec command or the dektec plugin.

Member Function Documentation

◆ GetAllDevices()

static bool ts::DektecDeviceInfo::GetAllDevices ( DektecDeviceInfoVector info,
Report report = (*ts::CerrReport::Instance()) 
)
static

Get information on all Dektec devices in the system.

Parameters
[out]infoReturned list of device information.
[in,out]reportWhere to report errors.
Returns
True in case of success, false on error.

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