| 
    INET Framework for OMNeT++/OMNEST
    
   | 
 
#include <GridNeighborCache.h>
  
 Classes | |
| class | GridNeighborCacheVisitor | 
Public Types | |
| typedef std::vector< const IRadio * > | Radios | 
  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 }  | 
Public Member Functions | |
| GridNeighborCache () | |
| virtual | ~GridNeighborCache () | 
| virtual std::ostream & | printToStream (std::ostream &stream, int level) const override | 
| Prints this object to the provided output stream.  More... | |
| virtual void | addRadio (const IRadio *radio) override | 
| virtual void | removeRadio (const IRadio *radio) override | 
| virtual void | sendToNeighbors (IRadio *transmitter, const IRadioFrame *frame, double range) const override | 
| 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::string | getInfoStringRepresentation () const | 
| virtual std::string | getDetailStringRepresentation () const | 
| virtual std::string | getDebugStringRepresentation () const | 
| virtual std::string | getTraceStringRepresentation () const | 
| virtual std::string | getCompleteStringRepresentation () const | 
Protected Member Functions | |
| virtual int | numInitStages () const override | 
| virtual void | initialize (int stage) override | 
| virtual void | handleMessage (cMessage *msg) override | 
| void | fillCubeVector () | 
Protected Attributes | |
| SpatialGrid * | grid | 
| Radios | radios | 
| RadioMedium * | radioMedium | 
| Coord | constraintAreaMin | 
| Coord | constraintAreaMax | 
| cMessage * | refillCellsTimer | 
| double | refillPeriod | 
| double | maxSpeed | 
| Coord | cellSize | 
| typedef std::vector<const IRadio *> inet::physicallayer::GridNeighborCache::Radios | 
| inet::physicallayer::GridNeighborCache::GridNeighborCache | ( | ) | 
      
  | 
  virtual | 
      
  | 
  overridevirtual | 
Implements inet::physicallayer::INeighborCache.
      
  | 
  protected | 
Referenced by addRadio(), handleMessage(), initialize(), and removeRadio().
      
  | 
  overrideprotectedvirtual | 
      
  | 
  overrideprotectedvirtual | 
      
  | 
  inlineoverrideprotectedvirtual | 
      
  | 
  overridevirtual | 
Prints this object to the provided output stream.
Function calls to operator<< with pointers or references either const or not are all forwarded to this function.
Reimplemented from inet::physicallayer::IPrintableObject.
      
  | 
  overridevirtual | 
Implements inet::physicallayer::INeighborCache.
      
  | 
  overridevirtual | 
Sends the provided frame (using the radio medium) to all neighbors within the given range.
Implements inet::physicallayer::INeighborCache.
      
  | 
  protected | 
Referenced by fillCubeVector(), initialize(), and printToStream().
      
  | 
  protected | 
Referenced by addRadio(), fillCubeVector(), initialize(), and removeRadio().
      
  | 
  protected | 
Referenced by addRadio(), fillCubeVector(), initialize(), and removeRadio().
      
  | 
  protected | 
Referenced by addRadio(), fillCubeVector(), sendToNeighbors(), and ~GridNeighborCache().
      
  | 
  protected | 
Referenced by addRadio(), initialize(), printToStream(), removeRadio(), and sendToNeighbors().
      
  | 
  protected | 
      
  | 
  protected | 
Referenced by addRadio(), fillCubeVector(), and removeRadio().
      
  | 
  protected | 
Referenced by addRadio(), initialize(), removeRadio(), and ~GridNeighborCache().
      
  | 
  protected | 
Referenced by addRadio(), handleMessage(), initialize(), printToStream(), and sendToNeighbors().