EMANE  1.2.1
EMANE::FadingManager Class Reference

#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 &registrar)
 
void configure (const ConfigurationUpdate &update)
 
void modify (const ConfigurationUpdate &update)
 
std::pair< double, FadingStatuscalculate (NEMId txNEMId, double dPowerdBm, const std::pair< LocationInfo, bool > &location)
 
void update (const Events::FadingSelections &fadingSelections)
 

Detailed Description

Definition at line 47 of file fadingmanager.h.

Member Enumeration Documentation

◆ FadingStatus

Enumerator
SUCCESS 
ERROR_LOCATIONINFO 
ERROR_ALGORITHM 
ERROR_SELECTION 

Definition at line 60 of file fadingmanager.h.

Constructor & Destructor Documentation

◆ FadingManager()

EMANE::FadingManager::FadingManager ( NEMId  id,
PlatformServiceProvider pPlatformService,
const std::string &  sPrefix 
)

Definition at line 36 of file fadingmanager.cc.

Member Function Documentation

◆ calculate()

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.

◆ configure()

void EMANE::FadingManager::configure ( const ConfigurationUpdate update)

Definition at line 85 of file fadingmanager.cc.

◆ initialize()

void EMANE::FadingManager::initialize ( Registrar registrar)

Definition at line 51 of file fadingmanager.cc.

◆ modify()

void EMANE::FadingManager::modify ( const ConfigurationUpdate update)

Definition at line 91 of file fadingmanager.cc.

◆ update()

void EMANE::FadingManager::update ( const Events::FadingSelections fadingSelections)

Definition at line 244 of file fadingmanager.cc.


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