The underlying model for a NetView
void add_drop(const TraceEvent &, double now, int direction) |
int add_monitor(Animation *a) |
int add_tag(Tag *tag) |
void addView(NetView*) |
virtual void BoundingBox(BBox&) |
void check_monitors(Animation *a) |
void color_subtrees() |
void delete_monitor(Animation *a) |
void delete_monitor(Monitor *m) |
void delete_monitor(int monnum) |
void delete_tag(const char *tn) |
int deleteTagCmd(char *tagName, char *tagDel) |
Animation* findClosest(float dx, float dy, double halo) |
void handle(const TraceEvent&, double now, int direction) |
Animation* inside(float px, float py) |
Tag* lookupTag(const char *tn) |
int monitor(double now, int monitor, char *result, int len) |
virtual void moveNode(Node *n) |
NetModel(const char *animator) |
Packet* newPacket(PacketAttr &pkt, Edge *e, double time) |
inline double now() |
virtual void recalc() |
void remove_view(View *v) |
virtual void render(EditView*, BBox &bb) |
void render(View*) |
void render(TestView*) |
void render(PSView*) |
void reset(double) |
int save_layout(const char *filename) |
void selectPkt(int, int, int ) |
void set_wireless() |
int tagArea(BBox &bb, Tag *tag, int bEnclosed) |
int tagCmd(View *v, int argc, char **argv, char *newTag, char *cmdName) |
void tagObject(Tag *tag, Animation *) |
virtual void update(double) |
void update(double, Animation*) |
virtual ~NetModel() |
struct EdgeHashNode |
EdgeHashNode* next |
int src |
int dst |
Edge* edge |
Queue* queue |
Tcl_HashTable* addrHash_ |
Animation* animations_ |
int colorDst_ |
int colorFid_ |
int colorSrc_ |
char colorTraffic_[PTYPELEN] |
Animation* drawables_ |
Tcl_HashTable* grpHash_ |
EdgeHashNode* hashtab_[EDGE_HASH_SIZE] |
int hideDst_ |
int hideFid_ |
int hideSrc_ |
char hideTraffic_[PTYPELEN] |
Lan* lans_ |
int mon_count_ |
Monitor* monitors_ |
int nclass_ |
int nGroup_ |
Node* nodes_ |
double now_ |
int nTag_ |
double nymin_ |
Tcl_HashTable* objnameHash_ |
int* oldpaint_ |
int* paint_ |
int paintMask_ |
Queue* queues_ |
int resetf_ |
int selectedColor_ |
int selectedDst_ |
int selectedFid_ |
int selectedSrc_ |
char selectedTraffic_[PTYPELEN] |
int showData_ |
int showMac_ |
int showRouting_ |
Tcl_HashTable* tagHash_ |
View* views_ |
int wireless_ |
double wirelessNodeSize_ |
int add_group(Group *grp) |
int addAddress(int id, int addr) |
int addr2id(int addr) |
int command(int argc, const char*const* argv) |
inline int ehash(int src, int dst) |
void enterEdge(Edge* e) |
Agent* lookupAgent(int id) |
EdgeHashNode* lookupEdge(int, int) |
Group* lookupGroup(unsigned int addr) |
Lan* lookupLan(int nn) |
Node* lookupNode(int nn) |
int lookupObjname(const char *) |
Packet* lookupPacket(int src, int dst, int id) |
Animation* lookupTagOrID(const char *) |
void move(double& x, double& y, double angle, double d) |
virtual void placeAgent(Agent* a, Node* src) |
virtual void placeEdge(Edge* e, Node* src) |
void placeEdgeByAngle(Edge* e, Node* src) |
virtual void placeEverything() |
int registerObjName(const char*, int) |
void removeEdge(Edge* e) |
void removeNode(Node *n) |
void saveState(double) |
virtual void scale_estimate() |
int traverse(Node* n) |
#define EDGE_HASH_SIZE |
struct EdgeHashNode |
EdgeHashNode* next |
int src |
int dst |
Edge* edge |
Queue* queue |
inline NetworkAnimator* nam() |
NetworkAnimator* nam_ |
The underlying model for a NetView. We factor this state out of the NetView since we might have multiple displays of the same network (i.e., zoomed windows), as opposed to multiple interpretations (i.e, strip charts).
this page has been generated automatically by doc++
Adapted for the NS documentation page
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de