ns3::ErrorRateModel Class Reference

#include <error-rate-model.h>

Inheritance diagram for ns3::ErrorRateModel:
Inheritance graph
[legend]
Collaboration diagram for ns3::ErrorRateModel:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Definition at line 29 of file error-rate-model.h.


Member Function Documentation

double ns3::ErrorRateModel::CalculateSnr ( WifiMode  txMode,
double  ber 
) const
Parameters:
txMode a specific transmission mode
ber a target ber
Returns:
the snr which corresponds to the requested 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().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:11:03 2009 for NS-3 by  doxygen 1.6.3