TSDuck Version 3.32-2769 (TSDuck - The MPEG Transport Stream Toolkit)
ts::TunerDeviceInfo Class Reference

Information on Linux DVB tuner device. More...

Collaboration diagram for ts::TunerDeviceInfo:

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

int adapter_number
 DVB adapter number.
 
int frontend_number
 DVB frontend number.
 
UString manufacturer
 Manufacturer name.
 
UString product
 Product name.
 
uint16_t product_id
 Product id (USB, PCI).
 
UString serial
 Device serial number.
 
uint16_t vendor_id
 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: