|
INET Framework for OMNeT++/OMNEST
|
This interface keeps track of neighbor relationships between radios. More...
#include <INeighborCache.h>
Public Member Functions | |
| virtual void | addRadio (const IRadio *radio)=0 |
| virtual void | removeRadio (const IRadio *radio)=0 |
| virtual void | sendToNeighbors (IRadio *transmitter, const IWirelessSignal *signal, double range) const =0 |
| Sends the provided frame (using the radio medium) to all neighbors within the given range. 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 keeps track of neighbor relationships between radios.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Sends the provided frame (using the radio medium) to all neighbors within the given range.
Implemented in inet::physicallayer::GridNeighborCache, inet::physicallayer::NeighborListNeighborCache, and inet::physicallayer::QuadTreeNeighborCache.
Referenced by inet::physicallayer::RadioMedium::sendToAffectedRadios().