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 IRadioFrame *frame, 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::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 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::QuadTreeNeighborCache, inet::physicallayer::GridNeighborCache, and inet::physicallayer::NeighborListNeighborCache.
Referenced by inet::physicallayer::RadioMedium::sendToAffectedRadios().