class Lan : public Animation


Inheritance:


Public Fields

Tcl_HashTable* dropHash_
Lan* next_

Public Methods

void add_link(Edge *e)
void arrive_packet(Packet *p, Edge *e, double atime)
double bw()
virtual int classid()
double delay()
void delete_packet(Packet *p)
virtual float distance(float x, float y)
void draw(class View *nv, double time)
Lan(const char *name, NetModel *nm, double ps, double bw, double delay, double angle)
inline void mark()
inline int marked()
int no_of_nodes()
int num()
virtual void place(double x, double y)
void register_drop(const TraceEvent &)
void remove_drop(const TraceEvent &)
void size(double size)
inline void unmark()
void update_bb()
void draw(class PSView *nv, double time) const;
Node* virtual_node()
double x(Edge *e)
double y(Edge *e)
~Lan()

Private Fields

LanLink* links_
int ln_
int marked_
int max_
char* name_
NetModel* nm_
int no_of_nodes_
double ps_
VirtualNode* virtual_node_
double x_

Inherited from Animation:

Public Fields

static Tcl_HashTable* AniHash_
static unsigned int LASTID_
static unsigned int nAniHash_

Public Methods

void addTag(Animation *)
const BBox& bbox()
void change_color(char *color)
void color(char *color)
void deleteTag(Animation *)
void detach()
static Animation* find(unsigned int id)
virtual const char* getedst()
virtual const char* getesrc()
virtual const char* getfid()
Animation* getLastTag()
virtual const char* getname()
inline Animation* getTag(int i)
virtual const char* gettype()
int id()
virtual const char* info()
void insert(Animation **)
virtual int inside(float px, float py)
virtual int inside(double now, float px, float py)
inline int isTagged()
inline void merge(BBox& b)
virtual void monitor(Monitor *m, double now, char *result, int len)
virtual MonState* monitor_state(void)
virtual void move(EditView*, float, float )
inline Animation* next()
inline int numTag()
inline int paint()
void paint(int id)
inline Animation** prev()
virtual const char* property()
void remove_monitor()
virtual void reset(double now)
inline StateInfo stateInfo()
void toggle_color()
inline int type()
virtual void update(double now)

Protected Fields

int aType_
BBox bb_
unsigned int id_
Monitor* monitor_
int nTag_
int oldPaint_
int paint_
Animation** prev_
StateInfo si_
Animation** tags_

Documentation

Lan(const char *name, NetModel *nm, double ps, double bw, double delay, double angle)

~Lan()

virtual float distance(float x, float y)

void add_link(Edge *e)

int no_of_nodes()

int num()

void draw(class View *nv, double time)

void update_bb()
void draw(class PSView *nv, double time) const;

void size(double size)

virtual void place(double x, double y)

Lan* next_

Node* virtual_node()

inline int marked()

inline void mark()

inline void unmark()

double bw()

double delay()

void arrive_packet(Packet *p, Edge *e, double atime)

void delete_packet(Packet *p)

double x(Edge *e)

double y(Edge *e)

virtual int classid()

Tcl_HashTable* dropHash_

void register_drop(const TraceEvent &)

void remove_drop(const TraceEvent &)

NetModel* nm_

VirtualNode* virtual_node_

LanLink* links_

int no_of_nodes_

double x_

double ps_

char* name_

int ln_

int marked_

int max_


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