OverSim
AbstractNcs Class Reference

#include <CoordinateSystem.h>

Inheritance diagram for AbstractNcs:
Nps SimpleNcs SimpleUnderlayNCS Vivaldi SVivaldi

Public Member Functions

virtual ~AbstractNcs ()
virtual void init (NeighborCache *neighorCache)=0
virtual bool isReady ()
virtual AbstractNcsNodeInfogetUnvalidNcsInfo () const =0
virtual Prox getCoordinateBasedProx (const AbstractNcsNodeInfo &node) const =0
virtual void processCoordinates (const simtime_t &rtt, const AbstractNcsNodeInfo &nodeInfo)
virtual const AbstractNcsNodeInfogetOwnNcsInfo () const =0
virtual AbstractNcsNodeInfocreateNcsInfo (const Coords &coords) const =0
virtual void handleTimerEvent (cMessage *msg)
virtual bool handleRpcCall (BaseCallMessage *msg)

Detailed Description

Definition at line 180 of file CoordinateSystem.h.

Constructor & Destructor Documentation

virtual AbstractNcs::~AbstractNcs ( )
inlinevirtual

Definition at line 182 of file CoordinateSystem.h.

{ };

Member Function Documentation

virtual AbstractNcsNodeInfo* AbstractNcs::createNcsInfo ( const Coords coords) const
pure virtual
virtual Prox AbstractNcs::getCoordinateBasedProx ( const AbstractNcsNodeInfo node) const
pure virtual
virtual AbstractNcsNodeInfo* AbstractNcs::getUnvalidNcsInfo ( ) const
pure virtual

Implemented in Nps, Vivaldi, SimpleNcs, and SimpleUnderlayNCS.

virtual bool AbstractNcs::handleRpcCall ( BaseCallMessage msg)
inlinevirtual

Reimplemented in Nps.

Definition at line 197 of file CoordinateSystem.h.

Referenced by NeighborCache::handleRpcCall().

{ return false; };
virtual void AbstractNcs::handleTimerEvent ( cMessage *  msg)
inlinevirtual

Reimplemented in Nps.

Definition at line 196 of file CoordinateSystem.h.

Referenced by NeighborCache::handleTimerEvent().

{ };
virtual void AbstractNcs::init ( NeighborCache neighorCache)
pure virtual
virtual bool AbstractNcs::isReady ( )
inlinevirtual

Reimplemented in Nps.

Definition at line 185 of file CoordinateSystem.h.

Referenced by NeighborCache::prepareOverlay().

{return true; };
virtual void AbstractNcs::processCoordinates ( const simtime_t &  rtt,
const AbstractNcsNodeInfo nodeInfo 
)
inlinevirtual

Reimplemented in Vivaldi.

Definition at line 190 of file CoordinateSystem.h.

Referenced by NeighborCache::updateNode().

{ };

The documentation for this class was generated from the following file: