EMANE
1.2.1
|
provides access to the pcr curves More...
#include <pcrmanager.h>
Public Member Functions | |
PCRManager (NEMId id, PlatformServiceProvider *pPlatformService) | |
~PCRManager () | |
void | load (const std::string &uri) |
float | getPCR (float fSinr, size_t size, std::uint16_t DataRateIndex) |
provides access to the pcr curves
Definition at line 61 of file ieee80211abg/pcrmanager.h.
EMANE::Models::IEEE80211ABG::PCRManager::PCRManager | ( | EMANE::NEMId | id, |
EMANE::PlatformServiceProvider * | pPlatformService | ||
) |
initialized constructor
id | the NEM id |
pPlatformService | a reference to the platform service(s) |
Definition at line 55 of file ieee80211abg/pcrmanager.cc.
EMANE::Models::IEEE80211ABG::PCRManager::~PCRManager | ( | ) |
destructor
Definition at line 63 of file ieee80211abg/pcrmanager.cc.
float EMANE::Models::IEEE80211ABG::PCRManager::getPCR | ( | float | fSinr, |
size_t | size, | ||
std::uint16_t | DataRateIndex | ||
) |
provides the pcr for a given sinr, packet size and data rate index
fSinr | the signal to noise ratio |
size | the packet size in bytes |
DataRateIndex | the data rate index |
Definition at line 312 of file ieee80211abg/pcrmanager.cc.
void EMANE::Models::IEEE80211ABG::PCRManager::load | ( | const std::string & | uri | ) |
loads the pcr curve
uri | the location of the pcr curve file |
ConfigurationException |
Definition at line 127 of file ieee80211abg/pcrmanager.cc.