TSDuck v3.38-3675
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::DektecDeviceInfo Class Reference

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

#include <tsDektecDeviceInfo.h>

Collaboration diagram for ts::DektecDeviceInfo:

Classes

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

Public Types

using PortInfoVector = std::vector< PortInfo >
 A vector of Dektec port information.
 

Public Member Functions

 DektecDeviceInfo ()=default
 Constructor.
 

Static Public Member Functions

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

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 the TSDuck library. 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: