INET Framework for OMNeT++/OMNEST
|
This interface is used to cache various medium limits among the radios. More...
#include <IMediumLimitCache.h>
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 } |
This interface is used to cache various medium limits among the radios.
|
pure virtual |
Notifies the cache when a radio is added to the medium.
Implemented in inet::physicallayer::MediumLimitCache.
Referenced by inet::physicallayer::RadioMedium::addRadio().
|
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.
|
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().
|
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.
|
pure virtual |
Returns the maximum possible position among the radios, the coordinate values are in the range (-infinity, +infinity) or NaN if unspecified.
Implemented in inet::physicallayer::MediumLimitCache.
Referenced by inet::physicallayer::GridNeighborCache::addRadio(), inet::physicallayer::QuadTreeNeighborCache::addRadio(), inet::physicallayer::GridNeighborCache::initialize(), inet::physicallayer::QuadTreeNeighborCache::initialize(), inet::visualizer::MediumVisualizerBase::initialize(), inet::visualizer::MediumCanvasVisualizer::initialize(), inet::visualizer::MediumCanvasVisualizer::receptionStarted(), inet::physicallayer::GridNeighborCache::removeRadio(), and inet::physicallayer::QuadTreeNeighborCache::removeRadio().
|
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().
|
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.
|
pure virtual |
Returns the maximum possible speed among the radios, the value is in the range [0, +infinity) or NaN if unspecified.
Implemented in inet::physicallayer::MediumLimitCache.
Referenced by inet::physicallayer::GridNeighborCache::addRadio(), inet::physicallayer::NeighborListNeighborCache::addRadio(), inet::physicallayer::QuadTreeNeighborCache::addRadio(), inet::physicallayer::NeighborListNeighborCache::initialize(), inet::physicallayer::GridNeighborCache::initialize(), inet::physicallayer::QuadTreeNeighborCache::initialize(), inet::physicallayer::GridNeighborCache::removeRadio(), inet::physicallayer::NeighborListNeighborCache::removeRadio(), and inet::physicallayer::QuadTreeNeighborCache::removeRadio().
|
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().
|
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.
|
pure virtual |
Returns the minimum possible position among the radios, the coordinate values are in the range (-infinity, +infinity) or NaN if unspecified.
Implemented in inet::physicallayer::MediumLimitCache.
Referenced by inet::physicallayer::GridNeighborCache::addRadio(), inet::physicallayer::QuadTreeNeighborCache::addRadio(), inet::physicallayer::GridNeighborCache::initialize(), inet::physicallayer::QuadTreeNeighborCache::initialize(), inet::visualizer::MediumVisualizerBase::initialize(), inet::visualizer::MediumCanvasVisualizer::initialize(), inet::visualizer::MediumCanvasVisualizer::receptionStarted(), inet::physicallayer::GridNeighborCache::removeRadio(), and inet::physicallayer::QuadTreeNeighborCache::removeRadio().
|
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.
|
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().
|
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.
|
pure virtual |
Notifies the cache when a radio is removed from the medium.
Implemented in inet::physicallayer::MediumLimitCache.
Referenced by inet::physicallayer::RadioMedium::removeRadio().