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

This interface is used to cache various medium limits among the radios. More...

#include <IMediumLimitCache.h>

Inheritance diagram for inet::physicallayer::IMediumLimitCache:
inet::physicallayer::IPrintableObject inet::physicallayer::MediumLimitCache

Public Member Functions

virtual void addRadio (const IRadio *radio)=0
 Notifies the cache when a radio is added to the medium. More...
 
virtual void removeRadio (const IRadio *radio)=0
 Notifies the cache when a radio is removed from the medium. More...
 
virtual Coord getMinConstraintArea () const =0
 Returns the minimum possible position among the radios, the coordinate values are in the range (-infinity, +infinity) or NaN if unspecified. More...
 
virtual Coord getMaxConstraintArea () const =0
 Returns the maximum possible position among the radios, the coordinate values are in the range (-infinity, +infinity) or NaN if unspecified. More...
 
virtual mps getMaxSpeed () const =0
 Returns the maximum possible speed among the radios, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual W getMaxTransmissionPower () const =0
 Returns the maximum possible transmission power among the radios, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual W getMinInterferencePower () const =0
 Returns the minimum possible interference power among the radios, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual W getMinReceptionPower () const =0
 Returns the minimum possible reception power among the radios, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual double getMaxAntennaGain () const =0
 Returns the maximum possible antenna gain among the radios, the value is in the range [1, +infinity) or NaN if unspecified. More...
 
virtual const simtime_t & getMinInterferenceTime () const =0
 Returns the minimum required signal interference time among the radios, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual const simtime_t & getMaxTransmissionDuration () const =0
 Returns the maximum possible transmission durations among the radios, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual m getMaxCommunicationRange () const =0
 Returns the maximum possible communication range among the radios, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual m getMaxInterferenceRange () const =0
 Returns the maximum possible interference range among the radios, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual m getMaxCommunicationRange (const IRadio *radio) const =0
 Returns the maximum possible communication range for a given radio, the value is in the range [0, +infinity) or NaN if unspecified. More...
 
virtual m getMaxInterferenceRange (const IRadio *radio) const =0
 Returns the maximum possible interference range for a given radio, the value is in the range [0, +infinity) or NaN if unspecified. 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 is used to cache various medium limits among the radios.

Member Function Documentation

virtual void inet::physicallayer::IMediumLimitCache::addRadio ( const IRadio radio)
pure virtual

Notifies the cache when a radio is added to the medium.

Implemented in inet::physicallayer::MediumLimitCache.

Referenced by inet::physicallayer::RadioMedium::addRadio().

virtual double inet::physicallayer::IMediumLimitCache::getMaxAntennaGain ( ) const
pure virtual

Returns the maximum possible antenna gain among the radios, the value is in the range [1, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

virtual m inet::physicallayer::IMediumLimitCache::getMaxCommunicationRange ( ) const
pure virtual

Returns the maximum possible communication range among the radios, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

Referenced by inet::physicallayer::RadioMedium::isInCommunicationRange(), and inet::physicallayer::RadioMedium::sendToAffectedRadios().

virtual m inet::physicallayer::IMediumLimitCache::getMaxCommunicationRange ( const IRadio radio) const
pure virtual

Returns the maximum possible communication range for a given radio, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

virtual m inet::physicallayer::IMediumLimitCache::getMaxInterferenceRange ( ) const
pure virtual

Returns the maximum possible interference range among the radios, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

Referenced by inet::physicallayer::RadioMedium::isInInterferenceRange(), and inet::physicallayer::RadioMedium::sendToAffectedRadios().

virtual m inet::physicallayer::IMediumLimitCache::getMaxInterferenceRange ( const IRadio radio) const
pure virtual

Returns the maximum possible interference range for a given radio, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

virtual const simtime_t& inet::physicallayer::IMediumLimitCache::getMaxTransmissionDuration ( ) const
pure virtual

Returns the maximum possible transmission durations among the radios, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

Referenced by inet::physicallayer::RadioMedium::addTransmission(), and inet::visualizer::MediumVisualizerBase::isSignalPropagationInProgress().

virtual W inet::physicallayer::IMediumLimitCache::getMaxTransmissionPower ( ) const
pure virtual

Returns the maximum possible transmission power among the radios, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

virtual W inet::physicallayer::IMediumLimitCache::getMinInterferencePower ( ) const
pure virtual

Returns the minimum possible interference power among the radios, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

virtual const simtime_t& inet::physicallayer::IMediumLimitCache::getMinInterferenceTime ( ) const
pure virtual

Returns the minimum required signal interference time among the radios, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

Referenced by inet::physicallayer::RadioMedium::isInterferingTransmission().

virtual W inet::physicallayer::IMediumLimitCache::getMinReceptionPower ( ) const
pure virtual

Returns the minimum possible reception power among the radios, the value is in the range [0, +infinity) or NaN if unspecified.

Implemented in inet::physicallayer::MediumLimitCache.

virtual void inet::physicallayer::IMediumLimitCache::removeRadio ( const IRadio radio)
pure virtual

Notifies the cache when a radio is removed from the medium.

Implemented in inet::physicallayer::MediumLimitCache.

Referenced by inet::physicallayer::RadioMedium::removeRadio().


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