OverSim
|
#include <SimpleNcs.h>
Public Member Functions | |
SimpleNcs () | |
virtual | ~SimpleNcs () |
virtual void | init (NeighborCache *neighborCache) |
Prox | getCoordinateBasedProx (const AbstractNcsNodeInfo &info) const |
virtual AbstractNcsNodeInfo * | getUnvalidNcsInfo () const |
virtual AbstractNcsNodeInfo * | createNcsInfo (const std::vector< double > &coords) const |
const AbstractNcsNodeInfo & | getOwnNcsInfo () const |
const std::vector< double > & | getOwnCoordinates () const |
Public Member Functions inherited from AbstractNcs | |
virtual | ~AbstractNcs () |
virtual bool | isReady () |
virtual void | processCoordinates (const simtime_t &rtt, const AbstractNcsNodeInfo &nodeInfo) |
virtual void | handleTimerEvent (cMessage *msg) |
virtual bool | handleRpcCall (BaseCallMessage *msg) |
Protected Attributes | |
NeighborCache * | neighborCache |
Private Types | |
enum | delayFaultTypeNum { delayFaultUndefined, delayFaultLiveAll, delayFaultLivePlanetlab, delayFaultSimulation } |
Private Member Functions | |
simtime_t | falsifyDelay (simtime_t oldDelay) const |
Private Attributes | |
SimpleCoordsInfo * | ownCoords |
uint32_t | dimension |
Static Private Attributes | |
static std::map< std::string, delayFaultTypeNum > | delayFaultTypeMap |
static std::string | delayFaultTypeString |
static bool | faultyDelay |
Definition at line 35 of file SimpleNcs.h.
|
private |
Definition at line 46 of file SimpleNcs.h.
|
inline |
Definition at line 60 of file SimpleNcs.h.
|
inlinevirtual |
Definition at line 61 of file SimpleNcs.h.
|
virtual |
Implements AbstractNcs.
Definition at line 79 of file SimpleNcs.cc.
|
private |
Definition at line 102 of file SimpleNcs.cc.
Referenced by getCoordinateBasedProx().
|
virtual |
|
inline |
Definition at line 71 of file SimpleNcs.h.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Implements AbstractNcs.
Definition at line 36 of file SimpleNcs.cc.
|
staticprivate |
Definition at line 52 of file SimpleNcs.h.
Referenced by falsifyDelay(), and init().
|
staticprivate |
Definition at line 53 of file SimpleNcs.h.
Referenced by falsifyDelay(), and init().
|
private |
Definition at line 42 of file SimpleNcs.h.
|
staticprivate |
Definition at line 54 of file SimpleNcs.h.
Referenced by getCoordinateBasedProx(), and init().
|
protected |
Definition at line 57 of file SimpleNcs.h.
Referenced by init().
|
private |
Definition at line 39 of file SimpleNcs.h.
Referenced by getCoordinateBasedProx(), getOwnCoordinates(), getOwnNcsInfo(), init(), SimpleNcs(), and ~SimpleNcs().