Public Member Functions

ns3::SNRToBlockErrorRateManager Class Reference

List of all members.

Public Member Functions

void SetTraceFilePath (char *traceFilePath)
 Set the path of the repository containing the traces.
std::string GetTraceFilePath (void)
double GetBlockErrorRate (double SNR, uint8_t modulation)
 returns the Block Error Rate for a given modulation and SNR value
SNRToBlockErrorRateRecordGetSNRToBlockErrorRateRecord (double SNR, uint8_t modulation)
 returns a record of type SNRToBlockErrorRateRecord corresponding to a given modulation and SNR value
void LoadTraces (void)
 Loads the traces form the repository specified in the constructor or setted by SetTraceFilePath function. If no repository is provided, default traces will be loaded from default-traces.h file.
void LoadDefaultTraces (void)
 Loads the default traces from default-traces.h file.
void ReLoadTraces (void)
 Reloads the trace.
void ActivateLoss (bool loss)
 If activate loss is called with false, all the returned BlcER will be 0 (no losses).

Member Function Documentation

double ns3::SNRToBlockErrorRateManager::GetBlockErrorRate ( double  SNR,
uint8_t  modulation 
)

returns the Block Error Rate for a given modulation and SNR value

Parameters:
SNR the SNR value
modulation one of the seven MCS
Returns:
the Block Error Rate
SNRToBlockErrorRateRecord* ns3::SNRToBlockErrorRateManager::GetSNRToBlockErrorRateRecord ( double  SNR,
uint8_t  modulation 
)

returns a record of type SNRToBlockErrorRateRecord corresponding to a given modulation and SNR value

Parameters:
SNR the SNR value
modulation one of the seven MCS
Returns:
the Block Error Rate
std::string ns3::SNRToBlockErrorRateManager::GetTraceFilePath ( void   ) 
Returns:
the path to the repository containing the traces.
void ns3::SNRToBlockErrorRateManager::SetTraceFilePath ( char *  traceFilePath  ) 

Set the path of the repository containing the traces.

Parameters:
traceFilePath the path to the repository.

The documentation for this class was generated from the following file: