EMANE  1.0.1
EMANE::GainManager Class Reference

#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, GainStatusdetermineGain (NEMId transmitterId, const LocationInfo &locationPairInfo, const std::pair< double, bool > &optionalRxFixedGaindBi, const std::pair< double, bool > &optionalTxFixedGaindBi) const
 

Detailed Description

Definition at line 44 of file gainmanager.h.

Member Enumeration Documentation

◆ GainStatus

Enumerator
SUCCESS 
ERROR_LOCATIONINFO 
ERROR_PROFILEINFO 
ERROR_HORIZON 

Definition at line 51 of file gainmanager.h.

Constructor & Destructor Documentation

◆ GainManager()

EMANE::GainManager::GainManager ( NEMId  nemId)

Definition at line 41 of file gainmanager.cc.

Member Function Documentation

◆ determineGain()

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.

◆ update()

void EMANE::GainManager::update ( const Events::AntennaProfiles antennaProfiles)

Definition at line 50 of file gainmanager.cc.


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