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

This interface models how a radio signal propagates through space over time. More...

#include <IPropagation.h>

Inheritance diagram for inet::physicallayer::IPropagation:
inet::physicallayer::IPrintableObject inet::physicallayer::PropagationBase inet::physicallayer::ConstantSpeedPropagation inet::physicallayer::ConstantTimePropagation

Public Member Functions

virtual mps getPropagationSpeed () const =0
 Returns the theoretical propagation speed of radio signals in the range (0, +infinity). More...
 
virtual const IArrivalcomputeArrival (const ITransmission *transmission, IMobility *mobility) const =0
 Returns the time and space coordinates when the transmission arrives at the object that moves with the provided mobility. 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 propagates through space over time.

Member Function Documentation

virtual const IArrival* inet::physicallayer::IPropagation::computeArrival ( const ITransmission transmission,
IMobility mobility 
) const
pure virtual

Returns the time and space coordinates when the transmission arrives at the object that moves with the provided mobility.

The result might be an approximation only, because there's a tradeoff between precision and performance. This function never returns nullptr.

Implemented in inet::physicallayer::ConstantSpeedPropagation, and inet::physicallayer::ConstantTimePropagation.

Referenced by inet::physicallayer::RadioMedium::addRadio(), inet::physicallayer::RadioMedium::addTransmission(), and inet::NetworkConfiguratorBase::computeWirelessLinkWeight().

virtual mps inet::physicallayer::IPropagation::getPropagationSpeed ( ) const
pure virtual

Returns the theoretical propagation speed of radio signals in the range (0, +infinity).

The value might be different from the approximation provided by the actual computation of arrival times.

Implemented in inet::physicallayer::PropagationBase.

Referenced by inet::physicallayer::MediumLimitCache::computeMaxRange(), inet::physicallayer::DimensionalAnalogModelBase::computeReceptionPower(), inet::visualizer::MediumVisualizerBase::initialize(), and inet::visualizer::MediumCanvasVisualizer::refreshSignalFigure().


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