#include <error-rate-model.h>
Public Member Functions | |
double | CalculateSnr (WifiMode txMode, double ber) const |
virtual double | GetChunkSuccessRate (WifiMode mode, double snr, uint32_t nbits) const =0 |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::ErrorRateModel. |
Definition at line 29 of file error-rate-model.h.
double ns3::ErrorRateModel::CalculateSnr | ( | WifiMode | txMode, | |
double | ber | |||
) | const |
txMode | a specific transmission mode | |
ber | a target ber |
Definition at line 32 of file error-rate-model.cc.
References GetChunkSuccessRate(), and NS_ASSERT.
virtual double ns3::ErrorRateModel::GetChunkSuccessRate | ( | WifiMode | mode, | |
double | snr, | |||
uint32_t | nbits | |||
) | const [pure virtual] |
Implemented in ns3::YansErrorRateModel.
Referenced by CalculateSnr().
TypeId ns3::ErrorRateModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::ErrorRateModel.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Reimplemented in ns3::YansErrorRateModel.
Definition at line 23 of file error-rate-model.cc.
References ns3::TypeId::SetParent().