SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Types | Public Member Functions | Public Attributes | List of all members
PluginInterface::SamplingDevice Struct Reference

#include <plugininterface.h>

Public Types

enum  SamplingDeviceType { PhysicalDevice, BuiltInDevice }
 
enum  StreamType { StreamSingleRx, StreamSingleTx, StreamMIMO }
 

Public Member Functions

 SamplingDevice (const QString &_displayedName, const QString &_hardwareId, const QString &_id, const QString &_serial, int _sequence, SamplingDeviceType _type, StreamType _streamType, int _deviceNbItems, int _deviceItemIndex)
 

Public Attributes

QString displayedName
 The human readable name. More...
 
QString hardwareId
 The internal id that identifies the type of hardware (i.e. HackRF, BladeRF, ...) More...
 
QString id
 The internal plugin ID corresponding to the device (i.e. for HackRF input, for HackRF output ...) More...
 
QString serial
 The device serial number defined by the vendor or a fake one (SDRplay) More...
 
int sequence
 The device sequence. >0 when more than one device of the same type is connected. More...
 
SamplingDeviceType type
 The sampling device type for behavior information. More...
 
StreamType streamType
 This is the type of stream supported. More...
 
int deviceNbItems
 Number of items (or streams) in the device. >1 for composite devices. More...
 
int deviceItemIndex
 For composite devices this is the Rx or Tx stream index. -1 if not initialized. More...
 
int claimed
 This is the device set index if claimed else -1. More...
 

Detailed Description

Definition at line 33 of file plugininterface.h.

Member Enumeration Documentation

◆ SamplingDeviceType

Enumerator
PhysicalDevice 
BuiltInDevice 

Definition at line 35 of file plugininterface.h.

◆ StreamType

Enumerator
StreamSingleRx 

Exposes a single input stream that can be one of the streams of a physical device.

StreamSingleTx 

Exposes a single output stream that can be one of the streams of a physical device.

StreamMIMO 

May expose any number of input and/or output streams.

Definition at line 41 of file plugininterface.h.

42  {
45  StreamMIMO
46  };
May expose any number of input and/or output streams.
Exposes a single output stream that can be one of the streams of a physical device.
Exposes a single input stream that can be one of the streams of a physical device.

Constructor & Destructor Documentation

◆ SamplingDevice()

PluginInterface::SamplingDevice::SamplingDevice ( const QString &  _displayedName,
const QString &  _hardwareId,
const QString &  _id,
const QString &  _serial,
int  _sequence,
SamplingDeviceType  _type,
StreamType  _streamType,
int  _deviceNbItems,
int  _deviceItemIndex 
)
inline

Definition at line 59 of file plugininterface.h.

67  :
68  displayedName(_displayedName),
69  hardwareId(_hardwareId),
70  id(_id),
71  serial(_serial),
72  sequence(_sequence),
73  type(_type),
74  streamType(_streamType),
75  deviceNbItems(_deviceNbItems),
76  deviceItemIndex(_deviceItemIndex),
77  claimed(-1)
78  { }
int sequence
The device sequence. >0 when more than one device of the same type is connected.
QString displayedName
The human readable name.
QString hardwareId
The internal id that identifies the type of hardware (i.e. HackRF, BladeRF, ...)
SamplingDeviceType type
The sampling device type for behavior information.
int deviceNbItems
Number of items (or streams) in the device. >1 for composite devices.
int claimed
This is the device set index if claimed else -1.
QString id
The internal plugin ID corresponding to the device (i.e. for HackRF input, for HackRF output ...
QString serial
The device serial number defined by the vendor or a fake one (SDRplay)
StreamType streamType
This is the type of stream supported.
int deviceItemIndex
For composite devices this is the Rx or Tx stream index. -1 if not initialized.

Member Data Documentation

◆ claimed

int PluginInterface::SamplingDevice::claimed

This is the device set index if claimed else -1.

Definition at line 57 of file plugininterface.h.

Referenced by WebAPIAdapterGUI::instanceDevices(), and WebAPIAdapterSrv::instanceDevices().

◆ deviceItemIndex

int PluginInterface::SamplingDevice::deviceItemIndex

◆ deviceNbItems

int PluginInterface::SamplingDevice::deviceNbItems

◆ displayedName

QString PluginInterface::SamplingDevice::displayedName

◆ hardwareId

QString PluginInterface::SamplingDevice::hardwareId

◆ id

QString PluginInterface::SamplingDevice::id

◆ sequence

int PluginInterface::SamplingDevice::sequence

◆ serial

QString PluginInterface::SamplingDevice::serial

◆ streamType

StreamType PluginInterface::SamplingDevice::streamType

This is the type of stream supported.

Definition at line 54 of file plugininterface.h.

Referenced by WebAPIAdapterGUI::instanceDevices(), and WebAPIAdapterSrv::instanceDevices().

◆ type

SamplingDeviceType PluginInterface::SamplingDevice::type

The sampling device type for behavior information.

Definition at line 53 of file plugininterface.h.


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