EMANE  1.2.1
EMANE::NakagamiFadingAlgorithm Class Reference

#include <nakagamifadingalgorithm.h>

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

Public Member Functions

 NakagamiFadingAlgorithm (NEMId id, PlatformServiceProvider *pPlatformService, const std::string &sPrefix)
 
void initialize (Registrar &registrar) override
 
void configure (const ConfigurationUpdate &update)
 
void modify (const ConfigurationUpdate &update) override
 
double operator() (double dPowerdBm, double dDistanceMeters) override
 
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 43 of file nakagamifadingalgorithm.h.

Constructor & Destructor Documentation

◆ NakagamiFadingAlgorithm()

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

Definition at line 39 of file nakagamifadingalgorithm.cc.

Member Function Documentation

◆ configure()

void EMANE::NakagamiFadingAlgorithm::configure ( const ConfigurationUpdate update)
virtual

Implements EMANE::FadingAlgorithm.

Definition at line 114 of file nakagamifadingalgorithm.cc.

◆ initialize()

void EMANE::NakagamiFadingAlgorithm::initialize ( Registrar registrar)
overridevirtual

Implements EMANE::FadingAlgorithm.

Definition at line 49 of file nakagamifadingalgorithm.cc.

◆ modify()

void EMANE::NakagamiFadingAlgorithm::modify ( const ConfigurationUpdate update)
overridevirtual

Implements EMANE::FadingAlgorithm.

Definition at line 119 of file nakagamifadingalgorithm.cc.

◆ name()

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

Definition at line 64 of file fadingalgorithm.h.

◆ operator()()

double EMANE::NakagamiFadingAlgorithm::operator() ( double  dPowerdBm,
double  dDistanceMeters 
)
inlineoverridevirtual

Implements EMANE::FadingAlgorithm.

Definition at line 56 of file nakagamifadingalgorithm.h.

Member Data Documentation

◆ id_

const NEMId EMANE::FadingAlgorithm::id_
protectedinherited

Definition at line 68 of file fadingalgorithm.h.

◆ pPlatformService_

PlatformServiceProvider* const EMANE::FadingAlgorithm::pPlatformService_
protectedinherited

Definition at line 69 of file fadingalgorithm.h.

◆ sName_

const std::string EMANE::FadingAlgorithm::sName_
protectedinherited

Definition at line 67 of file fadingalgorithm.h.

◆ sPrefix_

const std::string EMANE::FadingAlgorithm::sPrefix_
protectedinherited

Definition at line 70 of file fadingalgorithm.h.


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