EMANE
1.2.1
|
Manages the PCR curves. More...
#include <pcrmanager.h>
Public Member Functions | |
PCRManager (EMANE::NEMId id, EMANE::PlatformServiceProvider *pPlatformService) | |
~PCRManager () | |
void | load (const std::string &uri) |
float | getPCR (float fSinr, size_t size) |
Manages the PCR curves.
Definition at line 62 of file rfpipe/pcrmanager.h.
EMANE::Models::RFPipe::PCRManager::PCRManager | ( | EMANE::NEMId | id, |
EMANE::PlatformServiceProvider * | pPlatformService | ||
) |
Definition at line 54 of file rfpipe/pcrmanager.cc.
EMANE::Models::RFPipe::PCRManager::~PCRManager | ( | ) |
Definition at line 62 of file rfpipe/pcrmanager.cc.
float EMANE::Models::RFPipe::PCRManager::getPCR | ( | float | fSinr, |
size_t | size | ||
) |
get the PCR for a given sinr and pkt size
fSinr | the signal to noise ratio |
size | the packet size in bytes, units (bytes) must match the units provided in the pcr curve file. |
Definition at line 264 of file rfpipe/pcrmanager.cc.
void EMANE::Models::RFPipe::PCRManager::load | ( | const std::string & | uri | ) |
loads the PCR curve entries
uri | location of the PCR file |
Definition at line 120 of file rfpipe/pcrmanager.cc.