OverSim
|
#include <TopologyVis.h>
Public Member Functions | |
TopologyVis () | |
void | showOverlayNeighborArrow (const NodeHandle &neighbor, bool flush=true, const char *displayString=NULL) |
Draws an arrow from this node to neighbor. | |
void | deleteOverlayNeighborArrow (const NodeHandle &neighbor) |
Removes an arrow from this node to neighbor. |
Protected Member Functions | |
void | initVis (cModule *terminal) |
Protected Attributes | |
cModule * | thisTerminal |
GlobalNodeList * | globalNodeList |
pointer to corresponding node |
Private Member Functions | |
void | compactGateArray (cModule *terminal, enum VisDrawDirection dir) |
compacts arrow gate-array |
Definition at line 37 of file TopologyVis.h.
TopologyVis::TopologyVis | ( | ) |
Definition at line 33 of file TopologyVis.cc.
|
private |
compacts arrow gate-array
terminal | node |
dir | in- or out-array? |
Definition at line 180 of file TopologyVis.cc.
Referenced by deleteOverlayNeighborArrow(), and showOverlayNeighborArrow().
void TopologyVis::deleteOverlayNeighborArrow | ( | const NodeHandle & | neighbor | ) |
Removes an arrow from this node to neighbor.
neighbor | neighbor to remove arrow to |
Definition at line 138 of file TopologyVis.cc.
Referenced by oversim::Nice::cleanPeers(), oversim::Nice::ClusterMerge(), oversim::Nice::ClusterMergeRequest(), oversim::Nice::ClusterSplit(), oversim::Nice::gracefulLeave(), Kademlia::handleFailedNode(), oversim::Nice::handleNiceClusterMergeRequest(), oversim::Nice::handleNiceLeaderHeartbeat(), oversim::Nice::handleNiceLeaderTransfer(), oversim::Nice::handleNicePeerTemporaryRelease(), oversim::Nice::handleNiceRemove(), TreeManagement::handleRpcTimeout(), oversim::Nice::initializeOverlay(), oversim::Nice::maintenance(), Gia::removeNeighbor(), TreeManagement::removeParentConnection(), Kademlia::routingAdd(), and Kademlia::routingTimeout().
|
protected |
Definition at line 39 of file TopologyVis.cc.
void TopologyVis::showOverlayNeighborArrow | ( | const NodeHandle & | neighbor, |
bool | flush = true , |
||
const char * | displayString = NULL |
||
) |
Draws an arrow from this node to neighbor.
neighbor | neighbor to point to |
flush | delete all previous drawn arrows starting at this node? |
displayString | display string to define the arrow drawing style |
Definition at line 52 of file TopologyVis.cc.
Referenced by Gia::addNeighbor(), Gia::changeState(), oversim::Nice::handleNiceClusterMergeRequest(), oversim::Nice::handleNiceJoinCluster(), oversim::Nice::handleNiceLeaderTransfer(), TreeManagement::handleParentRequestRpcResponse(), Kademlia::refillSiblingTable(), Kademlia::routingAdd(), BasePastry::updateTooltip(), and oversim::Nice::updateVisualization().
|
protected |
pointer to corresponding node
Definition at line 45 of file TopologyVis.h.
Referenced by deleteOverlayNeighborArrow(), initVis(), showOverlayNeighborArrow(), and TopologyVis().
|
protected |
Definition at line 44 of file TopologyVis.h.
Referenced by deleteOverlayNeighborArrow(), initVis(), showOverlayNeighborArrow(), and TopologyVis().