Structure containing connection profile information for SDR devices. More...
#include <SDRHardwareInformation.hxx>
Public Types | |
| enum class | SDRConnectionType : uint8_t { Ethernet = 0 , USB = 1 , PCIe = 2 , UnSpecified = 255 } |
| Enumeration for SDR connection types. More... | |
Public Member Functions | |
| const SDREthernetConnectionInterface * | getPrimaryInterface () const |
| Get the primary Ethernet interface. | |
| bool | isDualConnection () const |
| Check if device has dual connection. | |
Public Attributes | |
| SDRConnectionType | connectionType {SDRConnectionType::UnSpecified} |
| std::vector< SDREthernetConnectionInterface > | ethernetInterfaces {} |
| SDRDeviceCombinationType | combinationType {SDRDeviceCombinationType::None} |
| uint8_t | combinedDeviceCount {1} |
| uint8_t | deviceIndexInCombination {0} |
| std::string | combinationIdentifier {} |
Structure containing connection profile information for SDR devices.
Definition at line 44 of file SDRHardwareInformation.hxx.
|
strong |
Enumeration for SDR connection types.
| Enumerator | |
|---|---|
| Ethernet | Ethernet connection |
| USB | USB connection |
| PCIe | PCIe connection |
| UnSpecified | Unspecified connection type |
Definition at line 48 of file SDRHardwareInformation.hxx.
|
inline |
Get the primary Ethernet interface.
Definition at line 67 of file SDRHardwareInformation.hxx.
References connectionType, Ethernet, and ethernetInterfaces.
|
inline |
Check if device has dual connection.
Definition at line 81 of file SDRHardwareInformation.hxx.
References ethernetInterfaces.
| std::string SDRConnectionProfile::combinationIdentifier {} |
Unique identifier for this combination
Definition at line 61 of file SDRHardwareInformation.hxx.
| SDRDeviceCombinationType SDRConnectionProfile::combinationType {SDRDeviceCombinationType::None} |
Type of device combination
Definition at line 58 of file SDRHardwareInformation.hxx.
| uint8_t SDRConnectionProfile::combinedDeviceCount {1} |
Total number of devices in the combination
Definition at line 59 of file SDRHardwareInformation.hxx.
| SDRConnectionType SDRConnectionProfile::connectionType {SDRConnectionType::UnSpecified} |
Type of connection
Definition at line 55 of file SDRHardwareInformation.hxx.
Referenced by SDRMainBoardInfo::buildInverseMap(), and getPrimaryInterface().
| uint8_t SDRConnectionProfile::deviceIndexInCombination {0} |
Index of this device in the combination (0 for primary)
Definition at line 60 of file SDRHardwareInformation.hxx.
| std::vector<SDREthernetConnectionInterface> SDRConnectionProfile::ethernetInterfaces {} |
List of Ethernet interfaces
Definition at line 56 of file SDRHardwareInformation.hxx.
Referenced by SDRMainBoardInfo::buildInverseMap(), getPrimaryInterface(), and isDualConnection().