class <NetworkModel/Wireless> WirelessNetModel : public NetModel


Inheritance:


Public Methods

void addToEdgePool(Edge*)
void BoundingBox(BBox&)
void handle(const TraceEvent& e, double now, int direction)
virtual void moveNode(Node *n)
Edge* removeFromEdgePool()
void removeLink(int src, int dst )
void removeLink(const TraceEvent& e)
virtual void update(double)
WirelessNetModel(const char *animator)
inline WirelessNetModel* wobj()
virtual ~WirelessNetModel()

Protected Classes

struct WEdgeList
Edge* wEdge
WEdgeList* next

Protected Fields

WirelessNetModel* wobj_

Protected Methods

int command(int argc, const char*const* argv)
we need our own 'cmd layout'
void layout()
virtual void placeEdge(Edge* e, Node* src)

Protected

struct WEdgeList
Edge* wEdge
WEdgeList* next

Private Fields

WEdgeList* edges_
int nNodes_
double pxmax_
double pymax_

Inherited from NetModel:

Public Methods

void add_drop(const TraceEvent &, double now, int direction)
int add_monitor(Animation *a)
int add_tag(Tag *tag)
void addView(NetView*)
void check_monitors(Animation *a)
void color_subtrees()
void delete_monitor(Monitor *m)
void delete_monitor(Animation *a)
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)
Animation* inside(float px, float py)
Tag* lookupTag(const char *tn)
int monitor(double now, int monitor, char *result, int len)
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 *)

Protected Classes

struct EdgeHashNode
EdgeHashNode* next
int src
int dst
Edge* edge
Queue* queue

Protected Fields

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_

Protected Methods

int add_group(Group *grp)
int addAddress(int id, int addr)
int addr2id(int addr)
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)
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)

Protected

#define EDGE_HASH_SIZE
struct EdgeHashNode
EdgeHashNode* next
int src
int dst
Edge* edge
Queue* queue

Inherited from TraceHandler:

Public Methods

inline NetworkAnimator* nam()

Protected Fields

NetworkAnimator* nam_

Documentation

WirelessNetModel(const char *animator)

virtual ~WirelessNetModel()

void handle(const TraceEvent& e, double now, int direction)

void removeLink(const TraceEvent& e)

void removeLink(int src, int dst )

void BoundingBox(BBox&)

virtual void moveNode(Node *n)

inline WirelessNetModel* wobj()

virtual void update(double)

void addToEdgePool(Edge*)

Edge* removeFromEdgePool()

void layout()

virtual void placeEdge(Edge* e, Node* src)

WirelessNetModel* wobj_

int command(int argc, const char*const* argv)
we need our own 'cmd layout'

struct WEdgeList

Edge* wEdge

WEdgeList* next

int nNodes_

double pxmax_

double pymax_

WEdgeList* edges_


This class has no child classes.

alphabetic index hierarchy of classes


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