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

This interface models obstacle loss that is the reduction in power density of a radio signal as it propagates through physical objects present in space. More...

#include <IObstacleLoss.h>

Inheritance diagram for inet::physicallayer::IObstacleLoss:
inet::IPrintableObject inet::physicallayer::ITracingObstacleLoss inet::physicallayer::TracingObstacleLossBase inet::physicallayer::DielectricObstacleLoss inet::physicallayer::IdealObstacleLoss

Public Member Functions

virtual double computeObstacleLoss (Hz frequency, const Coord &transmissionPosition, const Coord &receptionPosition) const =0
 Returns the obstacle loss factor caused by physical objects present in the environment as a function of frequency, transmission position, and reception position. 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 obstacle loss that is the reduction in power density of a radio signal as it propagates through physical objects present in space.

Member Function Documentation

◆ computeObstacleLoss()

virtual double inet::physicallayer::IObstacleLoss::computeObstacleLoss ( Hz  frequency,
const Coord transmissionPosition,
const Coord receptionPosition 
) const
pure virtual

Returns the obstacle loss factor caused by physical objects present in the environment as a function of frequency, transmission position, and reception position.

The value is in the range [0, 1] where 1 means no loss at all and 0 means all power is lost.

Implemented in inet::physicallayer::DielectricObstacleLoss, and inet::physicallayer::IdealObstacleLoss.

Referenced by inet::physicallayer::UnitDiskAnalogModel::computeReception(), inet::physicallayer::ScalarAnalogModelBase::computeReceptionPower(), inet::physicallayer::FrequencyDependentAttenuationFunction::getValue(), and inet::physicallayer::ObstacleLossFunction::getValue().


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