#include <CoordinateSystem.h>
Public Member Functions | |
virtual | ~AbstractNcs () |
virtual void | init (NeighborCache *neighorCache)=0 |
virtual AbstractNcsNodeInfo * | getUnvalidNcsInfo () const =0 |
virtual Prox | getCoordinateBasedProx (const AbstractNcsNodeInfo &node) const =0 |
virtual void | processCoordinates (const simtime_t &rtt, const AbstractNcsNodeInfo &nodeInfo) |
virtual const AbstractNcsNodeInfo & | getOwnNcsInfo () const =0 |
virtual AbstractNcsNodeInfo * | createNcsInfo (const std::vector< double > &coords) const =0 |
virtual void | handleTimerEvent (cMessage *msg) |
virtual bool | handleRpcCall (BaseCallMessage *msg) |
Definition at line 151 of file CoordinateSystem.h.
virtual AbstractNcs::~AbstractNcs | ( | ) | [inline, virtual] |
Definition at line 153 of file CoordinateSystem.h.
{ };
virtual AbstractNcsNodeInfo* AbstractNcs::createNcsInfo | ( | const std::vector< double > & | coords | ) | const [pure virtual] |
Implemented in Nps, SimpleNcs, and Vivaldi.
Referenced by BaseRpc::internalHandleRpcMessage().
virtual Prox AbstractNcs::getCoordinateBasedProx | ( | const AbstractNcsNodeInfo & | node | ) | const [pure virtual] |
Implemented in Nps, SimpleNcs, and Vivaldi.
Referenced by NeighborCache::getCoordinateBasedProx().
virtual const AbstractNcsNodeInfo& AbstractNcs::getOwnNcsInfo | ( | ) | const [pure virtual] |
Implemented in Nps, SimpleNcs, and Vivaldi.
Referenced by NeighborCache::getAvgAbsPredictionError(), and BaseRpc::sendRpcResponse().
virtual AbstractNcsNodeInfo* AbstractNcs::getUnvalidNcsInfo | ( | ) | const [pure virtual] |
virtual bool AbstractNcs::handleRpcCall | ( | BaseCallMessage * | msg | ) | [inline, virtual] |
Reimplemented in Nps.
Definition at line 167 of file CoordinateSystem.h.
Referenced by NeighborCache::handleRpcCall().
{ return false; };
virtual void AbstractNcs::handleTimerEvent | ( | cMessage * | msg | ) | [inline, virtual] |
Reimplemented in Nps.
Definition at line 166 of file CoordinateSystem.h.
Referenced by NeighborCache::handleTimerEvent().
{ };
virtual void AbstractNcs::init | ( | NeighborCache * | neighorCache | ) | [pure virtual] |
Implemented in Nps, SimpleNcs, SVivaldi, and Vivaldi.
Referenced by NeighborCache::initializeApp().
virtual void AbstractNcs::processCoordinates | ( | const simtime_t & | rtt, | |
const AbstractNcsNodeInfo & | nodeInfo | |||
) | [inline, virtual] |
Reimplemented in Vivaldi.
Definition at line 160 of file CoordinateSystem.h.
Referenced by NeighborCache::updateNode().
{ };