33 #ifndef EMANEMODELSTDMAPORMANAGER_HEADER_ 34 #define EMANEMODELSTDMAPORMANAGER_HEADER_ 61 void load(
const std::string & sPCRFileName);
63 float getPOR(std::uint64_t u64DataRate,
65 size_t packetLengthBytes);
72 using Curve = std::map<std::int32_t,float>;
73 using DataRateTable = std::map<std::uint64_t,
74 std::tuple<std::int32_t,
77 DataRateTable dataRateTable_;
78 std::uint64_t u64DefaultCurveDataRate_;
79 size_t modifierLengthBytes_;
85 #endif // EMANEMODELSTDMAPORMANAGER_HEADER_ void load(const std::string &sPCRFileName)
std::map< std::uint64_t, CurveDump > CurveDumps
std::map< float, float > CurveDump
POR Manager responsible for loading PCR curves from file and determining POR.
float getPOR(std::uint64_t u64DataRate, float fSINR, size_t packetLengthBytes)