OverSim
|
#include <CoordinateSystem.h>
Public Member Functions | |
EuclideanNcsNodeInfo () | |
virtual | ~EuclideanNcsNodeInfo () |
uint8_t | getDimension () const |
double | getCoords (uint8_t i) const |
const Coords & | getCoords () const |
void | setCoords (uint8_t i, double value) |
Prox | getDistance (const AbstractNcsNodeInfo &abstractInfo) const |
Public Member Functions inherited from AbstractNcsNodeInfo | |
virtual | ~AbstractNcsNodeInfo () |
virtual bool | isValid ()=0 |
virtual bool | update (const AbstractNcsNodeInfo &info)=0 |
virtual | operator Coords () const =0 |
Static Public Member Functions | |
static void | setDimension (uint8_t dimension) |
Protected Attributes | |
Coords | coordinates |
Static Protected Attributes | |
static uint8_t | dim |
Definition at line 55 of file CoordinateSystem.h.
|
inline |
Definition at line 58 of file CoordinateSystem.h.
|
inlinevirtual |
Definition at line 59 of file CoordinateSystem.h.
|
inline |
Definition at line 64 of file CoordinateSystem.h.
Referenced by Nps::coordsReqRpcResponse(), getDistance(), SimpleUnderlayCoordsInfo::getDistance(), VivaldiCoordsInfo::getDistance(), SimpleNcs::getOwnCoordinates(), Vivaldi::getOwnCoordinates(), Nps::getOwnCoordinates(), operator<<(), Vivaldi::processCoordinates(), and Vivaldi::updateDisplay().
|
inlinevirtual |
Implements AbstractNcsNodeInfo.
Definition at line 71 of file CoordinateSystem.h.
Referenced by getDistance(), SimpleUnderlayCoordsInfo::getDistance(), and VivaldiCoordsInfo::getDistance().
|
inline |
Definition at line 61 of file CoordinateSystem.h.
Referenced by Nps::coordsReqRpcResponse(), getDistance(), SimpleUnderlayCoordsInfo::getDistance(), and VivaldiCoordsInfo::getDistance().
|
virtual |
Implements AbstractNcsNodeInfo.
Reimplemented in VivaldiCoordsInfo, SimpleCoordsInfo, and SimpleUnderlayCoordsInfo.
Definition at line 30 of file CoordinateSystem.cc.
Referenced by Nps::getCoordinateBasedProx().
|
inline |
Definition at line 73 of file CoordinateSystem.h.
Referenced by SimpleUnderlayNCS::createNcsInfo(), SimpleUnderlayNCS::init(), Vivaldi::init(), Vivaldi::processCoordinates(), and Nps::setOwnCoordinates().
|
inlinestatic |
Definition at line 62 of file CoordinateSystem.h.
Referenced by SimpleUnderlayNCS::init(), SimpleNcs::init(), Vivaldi::init(), and Nps::init().
|
protected |
Definition at line 83 of file CoordinateSystem.h.
Referenced by EuclideanNcsNodeInfo(), getCoords(), getDimension(), setCoords(), GnpNpsCoordsInfo::update(), SimpleUnderlayCoordsInfo::update(), SimpleCoordsInfo::update(), and VivaldiCoordsInfo::update().
|
staticprotected |
Definition at line 84 of file CoordinateSystem.h.
Referenced by EuclideanNcsNodeInfo(), and setDimension().