INET Framework for OMNeT++/OMNEST
|
This interface models how a radio signal attenuates during propagation. More...
#include <IAnalogModel.h>
Public Member Functions | |
virtual const IReception * | computeReception (const IRadio *receiver, const ITransmission *transmission, const IArrival *arrival) const =0 |
Returns the reception for the provided transmission at the receiver. More... | |
virtual const INoise * | computeNoise (const IListening *listening, const IInterference *interference) const =0 |
Returns the total noise summing up all the interfering receptions and noises. More... | |
virtual const ISNIR * | computeSNIR (const IReception *reception, const INoise *noise) const =0 |
Returns the signal to noise and interference ratio. 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 } |
This interface models how a radio signal attenuates during propagation.
It includes various effects such as free-space path loss, shadowing, refraction, reflection, absorption, diffraction and others.
|
pure virtual |
Returns the total noise summing up all the interfering receptions and noises.
This function never returns nullptr.
Implemented in inet::physicallayer::DimensionalAnalogModelBase, inet::physicallayer::IdealAnalogModel, and inet::physicallayer::ScalarAnalogModelBase.
Referenced by inet::physicallayer::FlatReceiverBase::computeListeningDecision(), inet::physicallayer::APSKLayeredReceiver::computeListeningDecision(), inet::physicallayer::Ieee80211LayeredOFDMReceiver::computeListeningDecision(), and inet::physicallayer::RadioMedium::getNoise().
|
pure virtual |
Returns the reception for the provided transmission at the receiver.
The result incorporates all modeled attenuation. This function never returns nullptr.
Implemented in inet::physicallayer::LayeredDimensionalAnalogModel, inet::physicallayer::LayeredScalarAnalogModel, inet::physicallayer::IdealAnalogModel, inet::physicallayer::DimensionalAnalogModel, and inet::physicallayer::ScalarAnalogModel.
Referenced by inet::physicallayer::RadioMedium::computeReception().
|
pure virtual |
Returns the signal to noise and interference ratio.
This function never returns nullptr.
Implemented in inet::physicallayer::DimensionalAnalogModelBase, inet::physicallayer::IdealAnalogModel, and inet::physicallayer::ScalarAnalogModelBase.
Referenced by inet::physicallayer::RadioMedium::getSNIR().