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

Information on Linux DVB tuner device. More...

#include <tsTunerDeviceInfo.h>

Collaboration diagram for ts::TunerDeviceInfo:

Public Member Functions

 TunerDeviceInfo ()=default
 Default constructor.
 
 TunerDeviceInfo (const UString &devname, Report &report)
 Constructor which loads tuner information from a node tree in /sys/devices.
 
 TunerDeviceInfo (int adapter, int frontend, Report &report)
 Constructor which loads tuner information from adapter and frontend numbers.
 
UString fullName () const
 Get a full display name for the tuner.
 

Static Public Member Functions

static void LoadAll (std::vector< TunerDeviceInfo > &devices, Report &report)
 Load the description of all tuner devices.
 

Public Attributes

int adapter_number = 0
 DVB adapter number.
 
int frontend_number = 0
 DVB frontend number.
 
UString manufacturer {}
 Manufacturer name.
 
UString product {}
 Product name.
 
uint16_t product_id = 0
 Product id (USB, PCI).
 
UString serial {}
 Device serial number.
 
uint16_t vendor_id = 0
 Vendor id (USB, PCI).
 
UString version {}
 Product version string.
 

Detailed Description

Information on Linux DVB tuner device.

Constructor & Destructor Documentation

◆ TunerDeviceInfo() [1/2]

ts::TunerDeviceInfo::TunerDeviceInfo ( int  adapter,
int  frontend,
Report report 
)

Constructor which loads tuner information from adapter and frontend numbers.

Parameters
[in]adapterAdapter number.
[in]frontendFrontend number.
[in,out]reportWhere to report errors.

◆ TunerDeviceInfo() [2/2]

ts::TunerDeviceInfo::TunerDeviceInfo ( const UString devname,
Report report 
)

Constructor which loads tuner information from a node tree in /sys/devices.

Parameters
[in]devnameDevice name, for instance /sys/devices/pci0000:00/0000:00:0c.0/usb1/1-1/dvb/dvb0.frontend0
[in,out]reportWhere to report errors.

Member Function Documentation

◆ fullName()

UString ts::TunerDeviceInfo::fullName ( ) const

Get a full display name for the tuner.

Returns
A full display name.

◆ LoadAll()

static void ts::TunerDeviceInfo::LoadAll ( std::vector< TunerDeviceInfo > &  devices,
Report report 
)
static

Load the description of all tuner devices.

Parameters
[out]devicesDescription of all tuner devices.
[in,out]reportWhere to report errors.

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