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

This interface models how a radio signal attenuates during propagation. More...

#include <IAnalogModel.h>

Inheritance diagram for inet::physicallayer::IAnalogModel:
inet::IPrintableObject inet::physicallayer::AnalogModelBase inet::physicallayer::UnitDiskAnalogModel inet::physicallayer::DimensionalAnalogModelBase inet::physicallayer::ScalarAnalogModelBase inet::physicallayer::DimensionalAnalogModel inet::physicallayer::LayeredDimensionalAnalogModel inet::physicallayer::LayeredScalarAnalogModel inet::physicallayer::ScalarAnalogModel

Public Member Functions

virtual const IReceptioncomputeReception (const IRadio *receiver, const ITransmission *transmission, const IArrival *arrival) const =0
 Returns the reception for the provided transmission at the receiver. More...
 
virtual const INoisecomputeNoise (const IListening *listening, const IInterference *interference) const =0
 Returns the total noise summing up all the interfering receptions and noises. More...
 
virtual const INoisecomputeNoise (const IReception *reception, const INoise *noise) const =0
 Returns the total noise summing up all the reception and the noise. More...
 
virtual const ISnircomputeSNIR (const IReception *reception, const INoise *noise) const =0
 Returns the signal to noise and interference ratio. More...
 
- Public Member Functions inherited from inet::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const
 Prints this object to the provided output stream. More...
 
virtual std::string printToString () const
 
virtual std::string printToString (int level, int evFlags=0) const
 
virtual std::string getInfoStringRepresentation (int evFlags=0) const
 
virtual std::string getDetailStringRepresentation (int evFlags=0) const
 
virtual std::string getDebugStringRepresentation (int evFlags=0) const
 
virtual std::string getTraceStringRepresentation (int evFlags=0) const
 
virtual std::string getCompleteStringRepresentation (int evFlags=0) const
 

Additional Inherited Members

- Public Types inherited from inet::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 
enum  PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) }
 

Detailed Description

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.

Member Function Documentation

◆ computeNoise() [1/2]

virtual const INoise* inet::physicallayer::IAnalogModel::computeNoise ( const IListening listening,
const IInterference interference 
) const
pure virtual

◆ computeNoise() [2/2]

virtual const INoise* inet::physicallayer::IAnalogModel::computeNoise ( const IReception reception,
const INoise noise 
) const
pure virtual

Returns the total noise summing up all the reception and the noise.

This function never returns nullptr.

Implemented in inet::physicallayer::ScalarAnalogModelBase, inet::physicallayer::DimensionalAnalogModelBase, and inet::physicallayer::UnitDiskAnalogModel.

◆ computeReception()

virtual const IReception* inet::physicallayer::IAnalogModel::computeReception ( const IRadio receiver,
const ITransmission transmission,
const IArrival arrival 
) const
pure virtual

◆ computeSNIR()

virtual const ISnir* inet::physicallayer::IAnalogModel::computeSNIR ( const IReception reception,
const INoise noise 
) const
pure virtual

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