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::physicallayer::IPrintableObject inet::physicallayer::AnalogModelBase inet::physicallayer::IdealAnalogModel 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 ISNIRcomputeSNIR (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
}
 

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

virtual const INoise* inet::physicallayer::IAnalogModel::computeNoise ( const IListening listening,
const IInterference interference 
) const
pure virtual
virtual const IReception* inet::physicallayer::IAnalogModel::computeReception ( const IRadio receiver,
const ITransmission transmission,
const IArrival arrival 
) const
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().

virtual const ISNIR* inet::physicallayer::IAnalogModel::computeSNIR ( const IReception reception,
const INoise noise 
) const
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().


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