EMANE
1.2.1
|
#include <gainmanager.h>
Public Types | |
enum | GainStatus { GainStatus::SUCCESS = 0, GainStatus::ERROR_LOCATIONINFO, GainStatus::ERROR_PROFILEINFO, GainStatus::ERROR_HORIZON } |
Public Member Functions | |
GainManager (NEMId nemId) | |
void | update (const Events::AntennaProfiles &antennaProfiles) |
std::pair< double, GainStatus > | determineGain (NEMId transmitterId, const LocationInfo &locationPairInfo, const std::pair< double, bool > &optionalRxFixedGaindBi, const std::pair< double, bool > &optionalTxFixedGaindBi) const |
Definition at line 44 of file gainmanager.h.
|
strong |
Enumerator | |
---|---|
SUCCESS | |
ERROR_LOCATIONINFO | |
ERROR_PROFILEINFO | |
ERROR_HORIZON |
Definition at line 51 of file gainmanager.h.
EMANE::GainManager::GainManager | ( | NEMId | nemId | ) |
Definition at line 41 of file gainmanager.cc.
std::pair< double, EMANE::GainManager::GainStatus > EMANE::GainManager::determineGain | ( | NEMId | transmitterId, |
const LocationInfo & | locationPairInfo, | ||
const std::pair< double, bool > & | optionalRxFixedGaindBi, | ||
const std::pair< double, bool > & | optionalTxFixedGaindBi | ||
) | const |
Definition at line 85 of file gainmanager.cc.
void EMANE::GainManager::update | ( | const Events::AntennaProfiles & | antennaProfiles | ) |
Definition at line 50 of file gainmanager.cc.