PicoScenes API Docs
 
Loading...
Searching...
No Matches
SDRDeviceHardwareInformation Class Reference

#include <SDRHardwareInformation.hxx>

Inheritance diagram for SDRDeviceHardwareInformation:
Collaboration diagram for SDRDeviceHardwareInformation:

Public Member Functions

virtual std::vector< SDRMainBoardInfogetAllHardwareBoards (bool refresh=false)
 Get all hardware boards information including the main board and connected boards.
 
virtual const SDRMainBoardInfogetHardwareBoardByIndex (size_t boardIndex, bool refresh=false)
 Get a specific board's information by its index (0 is main board).
 
virtual size_t getHardwareBoardCount (bool refresh=false)
 Get the total number of boards (main + connected).
 
virtual const SDRMainBoardInfogetHardwareBoardInfo (bool refresh=false)
 Get the hardware board information.
 
virtual const std::vector< uint8_t > & getHardwareSupportedTxChannels (bool refresh=false)
 Get the hardware supported Tx channels.
 
virtual const std::vector< uint8_t > & getHardwareSupportedRxChannels (bool refresh=false)
 Get the hardware supported Rx channels.
 
virtual const std::vector< std::string > & getHardwareSupportedTxAntennas (uint8_t channel, bool refresh=false)
 Get the supported Tx antennas for a specific channel.
 
virtual const std::vector< std::string > & getHardwareSupportedRxAntennas (uint8_t channel, bool refresh=false)
 Get the supported Rx antennas for a specific channel.
 
virtual const std::vector< std::vector< std::string > > & getHardwareSupportedTxAntennas (bool refresh=false)
 Get the hardware supported Tx antennas for all channels.
 
virtual const std::vector< std::vector< std::string > > & getHardwareSupportedRxAntennas (bool refresh=false)
 Get the hardware supported Rx antennas for all channels.
 
virtual const std::pair< double, double > & getHardwareTxGainRange (uint8_t channel, bool refresh=false)
 Get the Tx gain range for a specific channel.
 
virtual const std::pair< double, double > & getHardwareRxGainRange (uint8_t channel, bool refresh=false)
 Get the Rx gain range for a specific channel.
 
virtual const std::vector< std::pair< double, double > > & getHardwareTxGainRanges (bool refresh=false)
 Get the hardware Tx gain range for all channels.
 
virtual const std::vector< std::pair< double, double > > & getHardwareRxGainRanges (bool refresh=false)
 Get the hardware Rx gain range for all channels.
 
virtual const std::pair< double, double > & getHardwareTxFrequencyRange (uint8_t channel, bool refresh=false)
 Get the Tx frequency range for a specific channel.
 
virtual const std::pair< double, double > & getHardwareRxFrequencyRange (uint8_t channel, bool refresh=false)
 Get the Rx frequency range for a specific channel.
 
virtual const std::vector< std::pair< double, double > > & getHardwareTxFrequencyRanges (bool refresh=false)
 Get the Tx frequency range for all channels.
 
virtual const std::vector< std::pair< double, double > > & getHardwareRxFrequencyRanges (bool refresh=false)
 Get the Rx frequency range for all channels.
 
virtual const std::pair< double, double > & getHardwareTxSamplingRateRange (uint8_t channel, bool refresh=false)
 Get the Tx sampling rate range for a specific channel.
 
virtual const std::pair< double, double > & getHardwareRxSamplingRateRange (uint8_t channel, bool refresh=false)
 Get the Rx sampling rate range for a specific channel.
 
virtual const std::vector< std::pair< double, double > > & getHardwareTxSamplingRateRanges (bool refresh=false)
 Get the Tx sampling rate range for all channels.
 
virtual const std::vector< std::pair< double, double > > & getHardwareRxSamplingRateRanges (bool refresh=false)
 Get the Rx sampling rate range for all channels.
 
virtual const std::vector< double > & getHardwareSupportedMasterClockRates (bool refresh=false)
 Get the supported master clock rates.
 
virtual const std::vector< std::string > & getHardwareSupportedClockAndTimeSources (bool refresh=false)
 Get the supported clock sources.
 
virtual const std::vector< std::string > & getHardwareSupportedSensors (uint8_t channel, bool refresh=false)
 Get the supported sensor names for a specific channel.
 
virtual const std::vector< std::vector< std::string > > & getAllHardwareSupportedSensors (bool refresh=false)
 Get all supported sensors for all channels.
 
virtual const std::vector< double > & getHardwareTemperatures (bool refresh=false)
 Get the hardware's temperature sensors readings.
 
virtual bool getHardwareAGCSupport (uint8_t channel, bool refresh=false)
 Get the AGC support for a specific channel.
 
virtual const std::vector< bool > & getHardwareAGCSupport (bool refresh=false)
 Get the AGC support for all channels.
 
virtual const std::shared_ptr< SDRFrontEndProfile > & getHardwareFrontEndProfile (uint8_t channel, bool refresh=false)
 Get the frontend profile for a specific channel.
 
virtual const std::vector< std::shared_ptr< SDRFrontEndProfile > > & getHardwareFrontEndProfiles (bool refresh=false)
 Get all frontend profiles.
 
virtual const SDRDaughterboardProfilegetHardwareDaughterboardProfile (size_t index, bool refresh=false)
 Get the daughterboard profile at a specific index.
 
virtual const std::vector< SDRDaughterboardProfile > & getHardwareDaughterboardProfiles (bool refresh=false)
 Get all daughterboard profiles.
 
virtual void refreshAllHardwareInfo ()
 
std::string hardwareInformationSheet ()
 
virtual ~SDRDeviceHardwareInformation ()=default
 

Protected Member Functions

virtual void refreshHardwareInfoForSupportedChannels ()
 
virtual void refreshHardwareInfoForSupportedAntennas ()
 
virtual void refreshHardwareInfoForGainRanges ()
 
virtual void refreshHardwareInfoForFrequencyRanges ()
 
virtual void refreshHardwareInfoForSamplingRateRanges ()
 
virtual void refreshHardwareInfoForMasterClockRates ()
 
virtual void refreshHardwareInfoForClockAndTimeSources ()
 
virtual void refreshHardwareInfoForSensors ()
 
virtual void refreshHardwareInfoForTemperatures ()
 
virtual void refreshHardwareInfoForAGCSupport ()
 
virtual void refreshHardwareInfoForBoards ()
 
virtual void refreshHardwareInfoForConnectionProfile ()
 
virtual void refreshHardwareInfoForFrontEndProfiles ()
 

Protected Attributes

SDRMainBoardInfo boardInfo
 
bool boardInfoChanged {true}
 
std::vector< uint8_t > supportedTxChannels {}
 
std::vector< uint8_t > supportedRxChannels {}
 
bool supportedChannelsChanged {true}
 
std::vector< SDRDaughterboardProfiledaughterboardProfiles {}
 
std::vector< std::shared_ptr< SDRFrontEndProfile > > frontendProfiles {}
 
bool frontendProfilesChanged {true}
 
std::vector< std::vector< std::string > > supportedTxAntennas {}
 
std::vector< std::vector< std::string > > supportedRxAntennas {}
 
bool supportedAntennasChanged {true}
 
bool supportedAntennasMapChanged {true}
 
std::vector< std::pair< double, double > > txGainRanges {}
 
std::vector< std::pair< double, double > > rxGainRanges {}
 
bool gainRangesChanged {true}
 
bool gainRangesMapChanged {true}
 
std::vector< std::pair< double, double > > txFrequencyRanges {}
 
std::vector< std::pair< double, double > > rxFrequencyRanges {}
 
bool frequencyRangesChanged {true}
 
bool frequencyRangesMapChanged {true}
 
std::vector< std::pair< double, double > > txSamplingRateRanges {}
 
std::vector< std::pair< double, double > > rxSamplingRateRanges {}
 
bool samplingRateRangesChanged {true}
 
bool samplingRateRangesMapChanged {true}
 
std::vector< double > supportedMasterClockRates {}
 
bool masterClockRatesChanged {true}
 
std::vector< std::string > supportedClockAndTimeSources {}
 
bool clockAndTimeSourcesChanged {true}
 
std::vector< std::vector< std::string > > supportedSensors {}
 
bool sensorsChanged {true}
 
bool sensorsMapChanged {true}
 
std::vector< double > temperatureReadings {}
 
bool temperaturesChanged {true}
 
std::vector< bool > agcSupport {}
 
bool agcSupportChanged {true}
 
bool agcSupportMapChanged {true}
 

Detailed Description

Definition at line 125 of file SDRHardwareInformation.hxx.

Constructor & Destructor Documentation

◆ ~SDRDeviceHardwareInformation()

virtual SDRDeviceHardwareInformation::~SDRDeviceHardwareInformation ( )
virtualdefault

Member Function Documentation

◆ getAllHardwareBoards()

virtual std::vector< SDRMainBoardInfo > SDRDeviceHardwareInformation::getAllHardwareBoards ( bool  refresh = false)
inlinevirtual

Get all hardware boards information including the main board and connected boards.

Returns
vector of all board information

Definition at line 131 of file SDRHardwareInformation.hxx.

References boardInfo, boardInfoChanged, SDRMainBoardInfo::otherBoards, and refreshHardwareInfoForBoards().

Referenced by hardwareInformationSheet().

◆ getAllHardwareSupportedSensors()

virtual const std::vector< std::vector< std::string > > & SDRDeviceHardwareInformation::getAllHardwareSupportedSensors ( bool  refresh = false)
inlinevirtual

Get all supported sensors for all channels.

Returns
A map where each key is a channel number and the value is a vector of supported sensor names

Definition at line 448 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSensors(), sensorsMapChanged, and supportedSensors.

◆ getHardwareAGCSupport() [1/2]

virtual const std::vector< bool > & SDRDeviceHardwareInformation::getHardwareAGCSupport ( bool  refresh = false)
inlinevirtual

Get the AGC support for all channels.

Returns
A map where each key is a channel number and the value is true if AGC is supported, false otherwise

Definition at line 484 of file SDRHardwareInformation.hxx.

References agcSupport, agcSupportMapChanged, and refreshHardwareInfoForAGCSupport().

◆ getHardwareAGCSupport() [2/2]

virtual bool SDRDeviceHardwareInformation::getHardwareAGCSupport ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the AGC support for a specific channel.

Parameters
channelThe channel number to query
Returns
true if AGC is supported, false otherwise

Definition at line 472 of file SDRHardwareInformation.hxx.

References agcSupport, agcSupportChanged, and refreshHardwareInfoForAGCSupport().

Referenced by hardwareInformationSheet().

◆ getHardwareBoardByIndex()

virtual const SDRMainBoardInfo & SDRDeviceHardwareInformation::getHardwareBoardByIndex ( size_t  boardIndex,
bool  refresh = false 
)
inlinevirtual

Get a specific board's information by its index (0 is main board).

Parameters
boardIndexThe index of the board to retrieve
Returns
the hardware board information for the specified index
Exceptions
std::out_of_rangeif boardIndex is invalid

Definition at line 147 of file SDRHardwareInformation.hxx.

References boardInfo, boardInfoChanged, SDRMainBoardInfo::otherBoards, and refreshHardwareInfoForBoards().

◆ getHardwareBoardCount()

virtual size_t SDRDeviceHardwareInformation::getHardwareBoardCount ( bool  refresh = false)
inlinevirtual

Get the total number of boards (main + connected).

Returns
total number of boards

Definition at line 163 of file SDRHardwareInformation.hxx.

References boardInfo, boardInfoChanged, SDRMainBoardInfo::getTotalBoardCount(), and refreshHardwareInfoForBoards().

◆ getHardwareBoardInfo()

virtual const SDRMainBoardInfo & SDRDeviceHardwareInformation::getHardwareBoardInfo ( bool  refresh = false)
inlinevirtual

Get the hardware board information.

Returns
the hardware board information

Definition at line 175 of file SDRHardwareInformation.hxx.

References boardInfo, boardInfoChanged, and refreshHardwareInfoForBoards().

Referenced by hardwareInformationSheet().

◆ getHardwareDaughterboardProfile()

virtual const SDRDaughterboardProfile & SDRDeviceHardwareInformation::getHardwareDaughterboardProfile ( size_t  index,
bool  refresh = false 
)
inlinevirtual

Get the daughterboard profile at a specific index.

Parameters
indexThe index of the daughterboard
Returns
The daughterboard profile at the specified index

Definition at line 522 of file SDRHardwareInformation.hxx.

References daughterboardProfiles, frontendProfilesChanged, and refreshHardwareInfoForFrontEndProfiles().

◆ getHardwareDaughterboardProfiles()

virtual const std::vector< SDRDaughterboardProfile > & SDRDeviceHardwareInformation::getHardwareDaughterboardProfiles ( bool  refresh = false)
inlinevirtual

Get all daughterboard profiles.

Returns
A vector of daughterboard profiles

Definition at line 534 of file SDRHardwareInformation.hxx.

References daughterboardProfiles, frontendProfilesChanged, and refreshHardwareInfoForFrontEndProfiles().

Referenced by hardwareInformationSheet().

◆ getHardwareFrontEndProfile()

virtual const std::shared_ptr< SDRFrontEndProfile > & SDRDeviceHardwareInformation::getHardwareFrontEndProfile ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the frontend profile for a specific channel.

Parameters
channelThe channel number to query
Returns
The frontend profile for the specified channel

Definition at line 497 of file SDRHardwareInformation.hxx.

References frontendProfiles, frontendProfilesChanged, and refreshHardwareInfoForFrontEndProfiles().

◆ getHardwareFrontEndProfiles()

virtual const std::vector< std::shared_ptr< SDRFrontEndProfile > > & SDRDeviceHardwareInformation::getHardwareFrontEndProfiles ( bool  refresh = false)
inlinevirtual

Get all frontend profiles.

Returns
A map of channel numbers to their corresponding frontend profiles

Definition at line 509 of file SDRHardwareInformation.hxx.

References frontendProfiles, frontendProfilesChanged, and refreshHardwareInfoForFrontEndProfiles().

Referenced by hardwareInformationSheet().

◆ getHardwareRxFrequencyRange()

virtual const std::pair< double, double > & SDRDeviceHardwareInformation::getHardwareRxFrequencyRange ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the Rx frequency range for a specific channel.

Parameters
channelThe channel number to query
Returns
A pair of {minimum frequency, maximum frequency} in Hz

Definition at line 325 of file SDRHardwareInformation.hxx.

References frequencyRangesChanged, refreshHardwareInfoForFrequencyRanges(), and rxFrequencyRanges.

Referenced by hardwareInformationSheet().

◆ getHardwareRxFrequencyRanges()

virtual const std::vector< std::pair< double, double > > & SDRDeviceHardwareInformation::getHardwareRxFrequencyRanges ( bool  refresh = false)
inlinevirtual

Get the Rx frequency range for all channels.

Returns
A map where each key is a channel number and the value is a pair of {minimum frequency, maximum frequency} in Hz

Definition at line 349 of file SDRHardwareInformation.hxx.

References frequencyRangesMapChanged, refreshHardwareInfoForFrequencyRanges(), and rxFrequencyRanges.

◆ getHardwareRxGainRange()

virtual const std::pair< double, double > & SDRDeviceHardwareInformation::getHardwareRxGainRange ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the Rx gain range for a specific channel.

Parameters
channelThe channel number to query
Returns
A pair of {minimum gain, maximum gain} in dB

Definition at line 275 of file SDRHardwareInformation.hxx.

References gainRangesChanged, refreshHardwareInfoForGainRanges(), and rxGainRanges.

Referenced by hardwareInformationSheet().

◆ getHardwareRxGainRanges()

virtual const std::vector< std::pair< double, double > > & SDRDeviceHardwareInformation::getHardwareRxGainRanges ( bool  refresh = false)
inlinevirtual

Get the hardware Rx gain range for all channels.

Returns
A map where each key is a channel number and the value is a pair of {minimum gain, maximum gain} in dB

Definition at line 299 of file SDRHardwareInformation.hxx.

References gainRangesMapChanged, refreshHardwareInfoForGainRanges(), and rxGainRanges.

◆ getHardwareRxSamplingRateRange()

virtual const std::pair< double, double > & SDRDeviceHardwareInformation::getHardwareRxSamplingRateRange ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the Rx sampling rate range for a specific channel.

Parameters
channelThe channel number to query
Returns
A pair of {minimum rate, maximum rate} in Hz

Definition at line 375 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSamplingRateRanges(), rxSamplingRateRanges, and samplingRateRangesChanged.

Referenced by hardwareInformationSheet().

◆ getHardwareRxSamplingRateRanges()

virtual const std::vector< std::pair< double, double > > & SDRDeviceHardwareInformation::getHardwareRxSamplingRateRanges ( bool  refresh = false)
inlinevirtual

Get the Rx sampling rate range for all channels.

Returns
A map where each key is a channel number and the value is a pair of {minimum rate, maximum rate} in Hz

Definition at line 399 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSamplingRateRanges(), rxSamplingRateRanges, and samplingRateRangesMapChanged.

◆ getHardwareSupportedClockAndTimeSources()

virtual const std::vector< std::string > & SDRDeviceHardwareInformation::getHardwareSupportedClockAndTimeSources ( bool  refresh = false)
inlinevirtual

Get the supported clock sources.

Returns
A vector of supported clock source names

Definition at line 423 of file SDRHardwareInformation.hxx.

References clockAndTimeSourcesChanged, refreshHardwareInfoForClockAndTimeSources(), and supportedClockAndTimeSources.

◆ getHardwareSupportedMasterClockRates()

virtual const std::vector< double > & SDRDeviceHardwareInformation::getHardwareSupportedMasterClockRates ( bool  refresh = false)
inlinevirtual

Get the supported master clock rates.

Returns
A vector of supported master clock rates in Hz

Definition at line 411 of file SDRHardwareInformation.hxx.

References masterClockRatesChanged, refreshHardwareInfoForMasterClockRates(), and supportedMasterClockRates.

Referenced by hardwareInformationSheet().

◆ getHardwareSupportedRxAntennas() [1/2]

virtual const std::vector< std::vector< std::string > > & SDRDeviceHardwareInformation::getHardwareSupportedRxAntennas ( bool  refresh = false)
inlinevirtual

Get the hardware supported Rx antennas for all channels.

Returns
A map where each key is a channel number and the value is a vector of supported antenna names for that channel

Definition at line 249 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSupportedAntennas(), supportedAntennasMapChanged, and supportedRxAntennas.

◆ getHardwareSupportedRxAntennas() [2/2]

virtual const std::vector< std::string > & SDRDeviceHardwareInformation::getHardwareSupportedRxAntennas ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the supported Rx antennas for a specific channel.

Parameters
channelThe channel number to query
Returns
A vector of supported antenna names

Definition at line 225 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSupportedAntennas(), supportedAntennasChanged, and supportedRxAntennas.

Referenced by hardwareInformationSheet().

◆ getHardwareSupportedRxChannels()

virtual const std::vector< uint8_t > & SDRDeviceHardwareInformation::getHardwareSupportedRxChannels ( bool  refresh = false)
inlinevirtual

Get the hardware supported Rx channels.

Returns
a vector containing the supported Rx channels, e.g, {0, 1, 2, 3}

Definition at line 199 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSupportedChannels(), supportedChannelsChanged, and supportedRxChannels.

Referenced by hardwareInformationSheet().

◆ getHardwareSupportedSensors()

virtual const std::vector< std::string > & SDRDeviceHardwareInformation::getHardwareSupportedSensors ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the supported sensor names for a specific channel.

Parameters
channelThe channel number to query
Returns
A vector of supported sensor names

Definition at line 436 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSensors(), sensorsChanged, and supportedSensors.

◆ getHardwareSupportedTxAntennas() [1/2]

virtual const std::vector< std::vector< std::string > > & SDRDeviceHardwareInformation::getHardwareSupportedTxAntennas ( bool  refresh = false)
inlinevirtual

Get the hardware supported Tx antennas for all channels.

Returns
A map where each key is a channel number and the value is a vector of supported antenna names for that channel

Definition at line 237 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSupportedAntennas(), supportedAntennasMapChanged, and supportedTxAntennas.

◆ getHardwareSupportedTxAntennas() [2/2]

virtual const std::vector< std::string > & SDRDeviceHardwareInformation::getHardwareSupportedTxAntennas ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the supported Tx antennas for a specific channel.

Parameters
channelThe channel number to query
Returns
A vector of supported antenna names

Definition at line 212 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSupportedAntennas(), supportedAntennasChanged, and supportedTxAntennas.

Referenced by hardwareInformationSheet().

◆ getHardwareSupportedTxChannels()

virtual const std::vector< uint8_t > & SDRDeviceHardwareInformation::getHardwareSupportedTxChannels ( bool  refresh = false)
inlinevirtual

Get the hardware supported Tx channels.

Returns
a vector containing the supported Tx channels, e.g, {0, 1, 2, 3}

Definition at line 187 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSupportedChannels(), supportedChannelsChanged, and supportedTxChannels.

Referenced by hardwareInformationSheet().

◆ getHardwareTemperatures()

virtual const std::vector< double > & SDRDeviceHardwareInformation::getHardwareTemperatures ( bool  refresh = false)
inlinevirtual

Get the hardware's temperature sensors readings.

Returns
A map of sensor name to temperature value in Celsius

Definition at line 460 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForTemperatures(), temperatureReadings, and temperaturesChanged.

◆ getHardwareTxFrequencyRange()

virtual const std::pair< double, double > & SDRDeviceHardwareInformation::getHardwareTxFrequencyRange ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the Tx frequency range for a specific channel.

Parameters
channelThe channel number to query
Returns
A pair of {minimum frequency, maximum frequency} in Hz

Definition at line 312 of file SDRHardwareInformation.hxx.

References frequencyRangesChanged, refreshHardwareInfoForFrequencyRanges(), and txFrequencyRanges.

Referenced by hardwareInformationSheet().

◆ getHardwareTxFrequencyRanges()

virtual const std::vector< std::pair< double, double > > & SDRDeviceHardwareInformation::getHardwareTxFrequencyRanges ( bool  refresh = false)
inlinevirtual

Get the Tx frequency range for all channels.

Returns
A map where each key is a channel number and the value is a pair of {minimum frequency, maximum frequency} in Hz

Definition at line 337 of file SDRHardwareInformation.hxx.

References frequencyRangesMapChanged, refreshHardwareInfoForFrequencyRanges(), and txFrequencyRanges.

◆ getHardwareTxGainRange()

virtual const std::pair< double, double > & SDRDeviceHardwareInformation::getHardwareTxGainRange ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the Tx gain range for a specific channel.

Parameters
channelThe channel number to query
Returns
A pair of {minimum gain, maximum gain} in dB

Definition at line 262 of file SDRHardwareInformation.hxx.

References gainRangesChanged, refreshHardwareInfoForGainRanges(), and txGainRanges.

Referenced by hardwareInformationSheet().

◆ getHardwareTxGainRanges()

virtual const std::vector< std::pair< double, double > > & SDRDeviceHardwareInformation::getHardwareTxGainRanges ( bool  refresh = false)
inlinevirtual

Get the hardware Tx gain range for all channels.

Returns
A map where each key is a channel number and the value is a pair of {minimum gain, maximum gain} in dB

Definition at line 287 of file SDRHardwareInformation.hxx.

References gainRangesMapChanged, refreshHardwareInfoForGainRanges(), and txGainRanges.

◆ getHardwareTxSamplingRateRange()

virtual const std::pair< double, double > & SDRDeviceHardwareInformation::getHardwareTxSamplingRateRange ( uint8_t  channel,
bool  refresh = false 
)
inlinevirtual

Get the Tx sampling rate range for a specific channel.

Parameters
channelThe channel number to query
Returns
A pair of {minimum rate, maximum rate} in Hz

Definition at line 362 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSamplingRateRanges(), samplingRateRangesChanged, and txSamplingRateRanges.

Referenced by hardwareInformationSheet().

◆ getHardwareTxSamplingRateRanges()

virtual const std::vector< std::pair< double, double > > & SDRDeviceHardwareInformation::getHardwareTxSamplingRateRanges ( bool  refresh = false)
inlinevirtual

Get the Tx sampling rate range for all channels.

Returns
A map where each key is a channel number and the value is a pair of {minimum rate, maximum rate} in Hz

Definition at line 387 of file SDRHardwareInformation.hxx.

References refreshHardwareInfoForSamplingRateRanges(), samplingRateRangesMapChanged, and txSamplingRateRanges.

◆ hardwareInformationSheet()

◆ refreshAllHardwareInfo()

◆ refreshHardwareInfoForAGCSupport()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForAGCSupport ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForBoards()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForBoards ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForClockAndTimeSources()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForClockAndTimeSources ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForConnectionProfile()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForConnectionProfile ( )
inlineprotectedvirtual

Definition at line 862 of file SDRHardwareInformation.hxx.

Referenced by refreshAllHardwareInfo().

◆ refreshHardwareInfoForFrequencyRanges()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForFrequencyRanges ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForFrontEndProfiles()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForFrontEndProfiles ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForGainRanges()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForGainRanges ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForMasterClockRates()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForMasterClockRates ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForSamplingRateRanges()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForSamplingRateRanges ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForSensors()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForSensors ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForSupportedAntennas()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForSupportedAntennas ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForSupportedChannels()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForSupportedChannels ( )
inlineprotectedvirtual

◆ refreshHardwareInfoForTemperatures()

virtual void SDRDeviceHardwareInformation::refreshHardwareInfoForTemperatures ( )
inlineprotectedvirtual

Reimplemented in AbstractSDRFrontEnd.

Definition at line 853 of file SDRHardwareInformation.hxx.

Referenced by getHardwareTemperatures(), and refreshAllHardwareInfo().

Member Data Documentation

◆ agcSupport

std::vector<bool> SDRDeviceHardwareInformation::agcSupport {}
mutableprotected

◆ agcSupportChanged

bool SDRDeviceHardwareInformation::agcSupportChanged {true}
mutableprotected

Definition at line 925 of file SDRHardwareInformation.hxx.

Referenced by getHardwareAGCSupport().

◆ agcSupportMapChanged

bool SDRDeviceHardwareInformation::agcSupportMapChanged {true}
mutableprotected

Definition at line 926 of file SDRHardwareInformation.hxx.

Referenced by getHardwareAGCSupport().

◆ boardInfo

SDRMainBoardInfo SDRDeviceHardwareInformation::boardInfo
mutableprotected

◆ boardInfoChanged

bool SDRDeviceHardwareInformation::boardInfoChanged {true}
mutableprotected

◆ clockAndTimeSourcesChanged

bool SDRDeviceHardwareInformation::clockAndTimeSourcesChanged {true}
mutableprotected

Definition at line 912 of file SDRHardwareInformation.hxx.

Referenced by getHardwareSupportedClockAndTimeSources().

◆ daughterboardProfiles

std::vector<SDRDaughterboardProfile> SDRDeviceHardwareInformation::daughterboardProfiles {}
mutableprotected

◆ frequencyRangesChanged

bool SDRDeviceHardwareInformation::frequencyRangesChanged {true}
mutableprotected

◆ frequencyRangesMapChanged

bool SDRDeviceHardwareInformation::frequencyRangesMapChanged {true}
mutableprotected

◆ frontendProfiles

std::vector<std::shared_ptr<SDRFrontEndProfile> > SDRDeviceHardwareInformation::frontendProfiles {}
mutableprotected

◆ frontendProfilesChanged

bool SDRDeviceHardwareInformation::frontendProfilesChanged {true}
mutableprotected

◆ gainRangesChanged

bool SDRDeviceHardwareInformation::gainRangesChanged {true}
mutableprotected

Definition at line 891 of file SDRHardwareInformation.hxx.

Referenced by getHardwareRxGainRange(), and getHardwareTxGainRange().

◆ gainRangesMapChanged

bool SDRDeviceHardwareInformation::gainRangesMapChanged {true}
mutableprotected

Definition at line 892 of file SDRHardwareInformation.hxx.

Referenced by getHardwareRxGainRanges(), and getHardwareTxGainRanges().

◆ masterClockRatesChanged

bool SDRDeviceHardwareInformation::masterClockRatesChanged {true}
mutableprotected

Definition at line 908 of file SDRHardwareInformation.hxx.

Referenced by getHardwareSupportedMasterClockRates().

◆ rxFrequencyRanges

std::vector<std::pair<double, double> > SDRDeviceHardwareInformation::rxFrequencyRanges {}
mutableprotected

◆ rxGainRanges

std::vector<std::pair<double, double> > SDRDeviceHardwareInformation::rxGainRanges {}
mutableprotected

Definition at line 890 of file SDRHardwareInformation.hxx.

Referenced by getHardwareRxGainRange(), and getHardwareRxGainRanges().

◆ rxSamplingRateRanges

std::vector<std::pair<double, double> > SDRDeviceHardwareInformation::rxSamplingRateRanges {}
mutableprotected

◆ samplingRateRangesChanged

bool SDRDeviceHardwareInformation::samplingRateRangesChanged {true}
mutableprotected

◆ samplingRateRangesMapChanged

bool SDRDeviceHardwareInformation::samplingRateRangesMapChanged {true}
mutableprotected

◆ sensorsChanged

bool SDRDeviceHardwareInformation::sensorsChanged {true}
mutableprotected

Definition at line 916 of file SDRHardwareInformation.hxx.

Referenced by getHardwareSupportedSensors().

◆ sensorsMapChanged

bool SDRDeviceHardwareInformation::sensorsMapChanged {true}
mutableprotected

Definition at line 917 of file SDRHardwareInformation.hxx.

Referenced by getAllHardwareSupportedSensors().

◆ supportedAntennasChanged

bool SDRDeviceHardwareInformation::supportedAntennasChanged {true}
mutableprotected

◆ supportedAntennasMapChanged

bool SDRDeviceHardwareInformation::supportedAntennasMapChanged {true}
mutableprotected

◆ supportedChannelsChanged

bool SDRDeviceHardwareInformation::supportedChannelsChanged {true}
mutableprotected

◆ supportedClockAndTimeSources

std::vector<std::string> SDRDeviceHardwareInformation::supportedClockAndTimeSources {}
mutableprotected

Definition at line 911 of file SDRHardwareInformation.hxx.

Referenced by getHardwareSupportedClockAndTimeSources().

◆ supportedMasterClockRates

std::vector<double> SDRDeviceHardwareInformation::supportedMasterClockRates {}
mutableprotected

Definition at line 907 of file SDRHardwareInformation.hxx.

Referenced by getHardwareSupportedMasterClockRates().

◆ supportedRxAntennas

std::vector<std::vector<std::string> > SDRDeviceHardwareInformation::supportedRxAntennas {}
mutableprotected

◆ supportedRxChannels

std::vector<uint8_t> SDRDeviceHardwareInformation::supportedRxChannels {}
mutableprotected

Definition at line 874 of file SDRHardwareInformation.hxx.

Referenced by getHardwareSupportedRxChannels().

◆ supportedSensors

std::vector<std::vector<std::string> > SDRDeviceHardwareInformation::supportedSensors {}
mutableprotected

◆ supportedTxAntennas

std::vector<std::vector<std::string> > SDRDeviceHardwareInformation::supportedTxAntennas {}
mutableprotected

◆ supportedTxChannels

std::vector<uint8_t> SDRDeviceHardwareInformation::supportedTxChannels {}
mutableprotected

Definition at line 873 of file SDRHardwareInformation.hxx.

Referenced by getHardwareSupportedTxChannels().

◆ temperatureReadings

std::vector<double> SDRDeviceHardwareInformation::temperatureReadings {}
mutableprotected

Definition at line 920 of file SDRHardwareInformation.hxx.

Referenced by getHardwareTemperatures().

◆ temperaturesChanged

bool SDRDeviceHardwareInformation::temperaturesChanged {true}
mutableprotected

Definition at line 921 of file SDRHardwareInformation.hxx.

Referenced by getHardwareTemperatures().

◆ txFrequencyRanges

std::vector<std::pair<double, double> > SDRDeviceHardwareInformation::txFrequencyRanges {}
mutableprotected

◆ txGainRanges

std::vector<std::pair<double, double> > SDRDeviceHardwareInformation::txGainRanges {}
mutableprotected

Definition at line 889 of file SDRHardwareInformation.hxx.

Referenced by getHardwareTxGainRange(), and getHardwareTxGainRanges().

◆ txSamplingRateRanges

std::vector<std::pair<double, double> > SDRDeviceHardwareInformation::txSamplingRateRanges {}
mutableprotected

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