EMANE  1.2.1
EMANE::FadingAlgorithm Class Referenceabstract

#include <fadingalgorithm.h>

Inheritance diagram for EMANE::FadingAlgorithm:
EMANE::NakagamiFadingAlgorithm

Public Member Functions

 FadingAlgorithm (const std::string &sName, NEMId id, PlatformServiceProvider *pPlatformService, const std::string &sPrefix)
 
virtual ~FadingAlgorithm ()
 
virtual void initialize (Registrar &registrar)=0
 
virtual void configure (const ConfigurationUpdate &update)=0
 
virtual void modify (const ConfigurationUpdate &update)=0
 
virtual double operator() (double dPowerdBm, double dDistanceMeters)=0
 
std::string name () const
 

Protected Attributes

const std::string sName_
 
const NEMId id_
 
PlatformServiceProvider *const pPlatformService_
 
const std::string sPrefix_
 

Detailed Description

Definition at line 41 of file fadingalgorithm.h.

Constructor & Destructor Documentation

◆ FadingAlgorithm()

EMANE::FadingAlgorithm::FadingAlgorithm ( const std::string &  sName,
NEMId  id,
PlatformServiceProvider pPlatformService,
const std::string &  sPrefix 
)
inline

Definition at line 44 of file fadingalgorithm.h.

◆ ~FadingAlgorithm()

virtual EMANE::FadingAlgorithm::~FadingAlgorithm ( )
inlinevirtual

Definition at line 53 of file fadingalgorithm.h.

Member Function Documentation

◆ configure()

virtual void EMANE::FadingAlgorithm::configure ( const ConfigurationUpdate update)
pure virtual

◆ initialize()

virtual void EMANE::FadingAlgorithm::initialize ( Registrar registrar)
pure virtual

◆ modify()

virtual void EMANE::FadingAlgorithm::modify ( const ConfigurationUpdate update)
pure virtual

◆ name()

std::string EMANE::FadingAlgorithm::name ( ) const
inline

Definition at line 64 of file fadingalgorithm.h.

◆ operator()()

virtual double EMANE::FadingAlgorithm::operator() ( double  dPowerdBm,
double  dDistanceMeters 
)
pure virtual

Member Data Documentation

◆ id_

const NEMId EMANE::FadingAlgorithm::id_
protected

Definition at line 68 of file fadingalgorithm.h.

◆ pPlatformService_

PlatformServiceProvider* const EMANE::FadingAlgorithm::pPlatformService_
protected

Definition at line 69 of file fadingalgorithm.h.

◆ sName_

const std::string EMANE::FadingAlgorithm::sName_
protected

Definition at line 67 of file fadingalgorithm.h.

◆ sPrefix_

const std::string EMANE::FadingAlgorithm::sPrefix_
protected

Definition at line 70 of file fadingalgorithm.h.


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