Logo Search packages:      
Sourcecode: nam version File versions  Download package

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | Private Attributes

Lan Class Reference

Inheritance diagram for Lan:
Inheritance graph
Collaboration diagram for Lan:
Collaboration graph

List of all members.

Public Member Functions

void add_link (Edge *e)
void addTag (Animation *)
void arrive_packet (Packet *p, Edge *e, double atime)
const BBoxbbox ()
double bw () const
void change_color (char *color)
virtual int classid () const
void color (const char *color)
double delay () const
void delete_packet (Packet *p)
void deleteTag (Animation *)
void detach ()
virtual float distance (float x, float y) const
void draw (class View *nv, double time)
virtual const char * getedst () const
virtual const char * getesrc () const
virtual const char * getfid () const
AnimationgetLastTag ()
virtual const char * getname () const
virtual const char * getProperties (const char *type)
AnimationgetTag (int i) const
virtual const char * gettype () const
int id () const
virtual const char * info () const
void insert (Animation **)
virtual int inside (double now, float px, float py) const
virtual int inside (float px, float py) const
int isTagged () const
 Lan (const char *name, NetModel *nm, double ps, double bw, double delay, double angle)
void mark ()
int marked () const
void merge (BBox &b)
virtual void monitor (Monitor *m, double now, char *result, int len)
virtual MonStatemonitor_state (void)
virtual void move (EditView *editview, float x_displacement, float y_displacement)
Animationnext () const
int no_of_nodes () const
int num () const
int numTag () const
void paint (int id)
int paint () const
virtual void place (double x, double y)
Animation ** prev () const
virtual const char * property ()
void register_drop (const TraceEvent &)
void remove_drop (const TraceEvent &)
void remove_monitor ()
virtual void reset (double now)
void size (double size)
StateInfo stateInfo ()
void toggle_color ()
int type () const
void unmark ()
virtual void update (double now)
void update_bb ()
Nodevirtual_node ()
double x (Edge *e) const
double y (Edge *e) const

Static Public Member Functions

static Animationfind (unsigned int id)

Public Attributes

Tcl_HashTable * dropHash_

Static Public Attributes

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

Protected Attributes

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

Private Attributes

double angle_
double bw_
double delay_
int ln_
int marked_
int max_
char * name_
int no_of_nodes_
double ps_
double size_
double x_
double y_

Detailed Description

Definition at line 68 of file lan.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index