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.
|
#include <deviceperseusscan.h>
Classes | |
struct | DeviceScan |
Public Member Functions | |
bool | scan (int nbDevices) |
false if one device had its firmware not yet downloaded More... | |
void | clear () |
int | getNbActiveDevices () const |
const std::string * | getSerialAt (unsigned int index) const |
uint16_t | getSerialNumberAt (unsigned int index) const |
int | getSequenceAt (unsigned int index) const |
int | getSequenceFromSerial (const std::string &serial) const |
void | getSerials (std::vector< std::string > &serials) const |
Private Attributes | |
std::vector< DeviceScan > | m_scans |
std::map< std::string, DeviceScan * > | m_serialMap |
Definition at line 29 of file deviceperseusscan.h.
void DevicePerseusScan::clear | ( | ) |
Definition at line 79 of file deviceperseusscan.cpp.
References m_scans, and m_serialMap.
Referenced by DevicePerseus::scan().
|
inline |
Definition at line 41 of file deviceperseusscan.h.
int DevicePerseusScan::getSequenceAt | ( | unsigned int | index | ) | const |
int DevicePerseusScan::getSequenceFromSerial | ( | const std::string & | serial | ) | const |
Definition at line 112 of file deviceperseusscan.cpp.
References m_serialMap.
const std::string * DevicePerseusScan::getSerialAt | ( | unsigned int | index | ) | const |
uint16_t DevicePerseusScan::getSerialNumberAt | ( | unsigned int | index | ) | const |
void DevicePerseusScan::getSerials | ( | std::vector< std::string > & | serials | ) | const |
bool DevicePerseusScan::scan | ( | int | nbDevices | ) |
false if one device had its firmware not yet downloaded
Definition at line 24 of file deviceperseusscan.cpp.
References m_scans, and m_serialMap.
Referenced by DevicePerseus::internal_scan().
|
private |
Definition at line 49 of file deviceperseusscan.h.
Referenced by clear(), getSequenceAt(), getSerialAt(), getSerialNumberAt(), getSerials(), and scan().
|
private |
Definition at line 50 of file deviceperseusscan.h.
Referenced by clear(), getSequenceFromSerial(), and scan().