EMANE
1.2.1
|
POR Manager responsible for loading PCR curves from file and determining POR. More...
#include <pormanager.h>
Public Types | |
using | CurveDump = std::map< float, float > |
using | CurveDumps = std::map< std::uint64_t, CurveDump > |
Public Member Functions | |
PORManager () | |
void | load (const std::string &sPCRFileName) |
float | getPOR (std::uint64_t u64DataRate, float fSINR, size_t packetLengthBytes) |
CurveDumps | dump () |
POR Manager responsible for loading PCR curves from file and determining POR.
PCR curves are defined per data rate, with the first curve defined also serving as the default curve used when a POR is requested for an undefined data rate.
Definition at line 56 of file pormanager.h.
using EMANE::Models::TDMA::PORManager::CurveDump = std::map<float,float> |
Definition at line 67 of file pormanager.h.
using EMANE::Models::TDMA::PORManager::CurveDumps = std::map<std::uint64_t,CurveDump> |
Definition at line 68 of file pormanager.h.
EMANE::Models::TDMA::PORManager::PORManager | ( | ) |
Definition at line 123 of file pormanager.cc.
CurveDumps EMANE::Models::TDMA::PORManager::dump | ( | ) |
float EMANE::Models::TDMA::PORManager::getPOR | ( | std::uint64_t | u64DataRate, |
float | fSINR, | ||
size_t | packetLengthBytes | ||
) |
Definition at line 280 of file pormanager.cc.
void EMANE::Models::TDMA::PORManager::load | ( | const std::string & | sPCRFileName | ) |
Definition at line 127 of file pormanager.cc.