INET Framework for OMNeT++/OMNEST
inet::physicallayer::IErrorModel Class Referenceabstract

The error model describes how the signal to noise ratio affects the amount of errors at the receiver. More...

#include <IErrorModel.h>

Inheritance diagram for inet::physicallayer::IErrorModel:
inet::physicallayer::IPrintableObject inet::physicallayer::ErrorModelBase inet::physicallayer::APSKErrorModel inet::physicallayer::Ieee80211BerTableErrorModel inet::physicallayer::Ieee80211ErrorModelBase inet::physicallayer::StochasticErrorModel inet::physicallayer::Ieee80211NistErrorModel inet::physicallayer::Ieee80211YansErrorModel

Public Member Functions

virtual double computePacketErrorRate (const ISNIR *snir, IRadioSignal::SignalPart part) const =0
 Returns the packet error rate based on SNIR, modulation, FEC encoding and any other physical layer characteristics. More...
 
virtual double computeBitErrorRate (const ISNIR *snir, IRadioSignal::SignalPart part) const =0
 Returns the bit error rate based on SNIR, modulation, FEC encoding and any other physical layer characteristics. More...
 
virtual double computeSymbolErrorRate (const ISNIR *snir, IRadioSignal::SignalPart part) const =0
 Returns the symbol error rate based on SNIR, modulation, and any other physical layer characteristics. More...
 
- Public Member Functions inherited from inet::physicallayer::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const
 Prints this object to the provided output stream. More...
 
virtual std::string getInfoStringRepresentation () const
 
virtual std::string getDetailStringRepresentation () const
 
virtual std::string getDebugStringRepresentation () const
 
virtual std::string getTraceStringRepresentation () const
 
virtual std::string getCompleteStringRepresentation () const
 

Additional Inherited Members

- Public Types inherited from inet::physicallayer::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 

Detailed Description

The error model describes how the signal to noise ratio affects the amount of errors at the receiver.

The main purpose of this model is to determine whether if the received packet has errors or not. It also computes various physical layer indications for higher layers such as packet error rate, bit error rate, and symbol error rate.

Member Function Documentation

virtual double inet::physicallayer::IErrorModel::computeBitErrorRate ( const ISNIR snir,
IRadioSignal::SignalPart  part 
) const
pure virtual

Returns the bit error rate based on SNIR, modulation, FEC encoding and any other physical layer characteristics.

Implemented in inet::physicallayer::StochasticErrorModel, inet::physicallayer::Ieee80211BerTableErrorModel, inet::physicallayer::Ieee80211ErrorModelBase, and inet::physicallayer::APSKErrorModel.

Referenced by inet::physicallayer::FlatReceiverBase::computeReceptionIndication().

virtual double inet::physicallayer::IErrorModel::computePacketErrorRate ( const ISNIR snir,
IRadioSignal::SignalPart  part 
) const
pure virtual
virtual double inet::physicallayer::IErrorModel::computeSymbolErrorRate ( const ISNIR snir,
IRadioSignal::SignalPart  part 
) const
pure virtual

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