|
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::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) } |
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.
|
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.
|
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::physicallayer::RadioMedium::createTransmitterSignal().
|
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.
|
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().