Structure containing main board information. More...
#include <SDRHardwareInformation.hxx>
Public Member Functions | |
void | merge (const SDRMainBoardInfo &other) |
Merge another board's information into this one. | |
size_t | getTotalBoardCount () const |
Get total number of boards. | |
void | buildInverseMap () |
Build inverse mapping of identifiers. | |
Public Attributes | |
std::string | name |
std::string | serial {} |
std::string | model {} |
std::string | resource {} |
std::string | fpgaImage {} |
PicoScenesDeviceType | deviceType {PicoScenesDeviceType::Unknown} |
PicoScenesDeviceSubtype | deviceSubtype {PicoScenesDeviceSubtype::Unknown} |
uint16_t | deviceOrder {0} |
SDRConnectionProfile | connectionProfile |
std::map< std::string, std::string > | inverseMap {} |
std::vector< SDRMainBoardInfo > | otherBoards {} |
Structure containing main board information.
Definition at line 121 of file SDRHardwareInformation.hxx.
|
inline |
Build inverse mapping of identifiers.
Definition at line 154 of file SDRHardwareInformation.hxx.
References connectionProfile, SDRConnectionProfile::connectionType, SDRConnectionProfile::Ethernet, SDRConnectionProfile::ethernetInterfaces, inverseMap, name, resource, and serial.
|
inline |
Get total number of boards.
Definition at line 147 of file SDRHardwareInformation.hxx.
References otherBoards.
Referenced by SDRDeviceHardwareInformation::getHardwareBoardCount().
|
inline |
Merge another board's information into this one.
other | Board information to merge |
Definition at line 138 of file SDRHardwareInformation.hxx.
References otherBoards.
SDRConnectionProfile SDRMainBoardInfo::connectionProfile |
Connection profile
Definition at line 130 of file SDRHardwareInformation.hxx.
Referenced by buildInverseMap().
uint16_t SDRMainBoardInfo::deviceOrder {0} |
Order in the original device list
Definition at line 129 of file SDRHardwareInformation.hxx.
PicoScenesDeviceSubtype SDRMainBoardInfo::deviceSubtype {PicoScenesDeviceSubtype::Unknown} |
Device subtype
Definition at line 128 of file SDRHardwareInformation.hxx.
PicoScenesDeviceType SDRMainBoardInfo::deviceType {PicoScenesDeviceType::Unknown} |
Device type
Definition at line 127 of file SDRHardwareInformation.hxx.
std::string SDRMainBoardInfo::fpgaImage {} |
FPGA image name
Definition at line 126 of file SDRHardwareInformation.hxx.
std::map<std::string, std::string> SDRMainBoardInfo::inverseMap {} |
Maps identifiers to their types
Definition at line 131 of file SDRHardwareInformation.hxx.
Referenced by buildInverseMap().
std::string SDRMainBoardInfo::model {} |
Board model
Definition at line 124 of file SDRHardwareInformation.hxx.
std::string SDRMainBoardInfo::name |
Board name
Definition at line 122 of file SDRHardwareInformation.hxx.
Referenced by buildInverseMap().
std::vector<SDRMainBoardInfo> SDRMainBoardInfo::otherBoards {} |
Connected boards that form a bigger virtual board
Definition at line 132 of file SDRHardwareInformation.hxx.
Referenced by SDRDeviceHardwareInformation::getAllHardwareBoards(), SDRDeviceHardwareInformation::getHardwareBoardByIndex(), getTotalBoardCount(), and merge().
std::string SDRMainBoardInfo::resource {} |
Board resource identifier
Definition at line 125 of file SDRHardwareInformation.hxx.
Referenced by buildInverseMap().
std::string SDRMainBoardInfo::serial {} |
Board serial number
Definition at line 123 of file SDRHardwareInformation.hxx.
Referenced by buildInverseMap().