EMANE
1.2.1
|
#include <fadingmanager.h>
Public Types | |
enum | FadingStatus { FadingStatus::SUCCESS = 0, FadingStatus::ERROR_LOCATIONINFO, FadingStatus::ERROR_ALGORITHM, FadingStatus::ERROR_SELECTION } |
Public Member Functions | |
FadingManager (NEMId id, PlatformServiceProvider *pPlatformService, const std::string &sPrefix) | |
void | initialize (Registrar ®istrar) |
void | configure (const ConfigurationUpdate &update) |
void | modify (const ConfigurationUpdate &update) |
std::pair< double, FadingStatus > | calculate (NEMId txNEMId, double dPowerdBm, const std::pair< LocationInfo, bool > &location) |
void | update (const Events::FadingSelections &fadingSelections) |
Definition at line 47 of file fadingmanager.h.
|
strong |
Enumerator | |
---|---|
SUCCESS | |
ERROR_LOCATIONINFO | |
ERROR_ALGORITHM | |
ERROR_SELECTION |
Definition at line 60 of file fadingmanager.h.
EMANE::FadingManager::FadingManager | ( | NEMId | id, |
PlatformServiceProvider * | pPlatformService, | ||
const std::string & | sPrefix | ||
) |
Definition at line 36 of file fadingmanager.cc.
std::pair< double, EMANE::FadingManager::FadingStatus > EMANE::FadingManager::calculate | ( | NEMId | txNEMId, |
double | dPowerdBm, | ||
const std::pair< LocationInfo, bool > & | location | ||
) |
Definition at line 186 of file fadingmanager.cc.
void EMANE::FadingManager::configure | ( | const ConfigurationUpdate & | update | ) |
Definition at line 85 of file fadingmanager.cc.
void EMANE::FadingManager::initialize | ( | Registrar & | registrar | ) |
Definition at line 51 of file fadingmanager.cc.
void EMANE::FadingManager::modify | ( | const ConfigurationUpdate & | update | ) |
Definition at line 91 of file fadingmanager.cc.
void EMANE::FadingManager::update | ( | const Events::FadingSelections & | fadingSelections | ) |
Definition at line 244 of file fadingmanager.cc.