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 Member Functions | Private Attributes

Edge Class Reference

Inheritance diagram for Edge:
Inheritance graph
Collaboration diagram for Edge:
Collaboration graph

List of all members.

Public Member Functions

void addLossModel (LossModel *lossmodel)
void AddPacket (Packet *)
void addQueueHandle (QueueHandle *q_handle)
void addTag (Animation *)
int anchor () const
void anchor (int v)
double angle () const
void arrive_packet (Packet *, double atime)
void attachNodes (Node *source, Node *destination)
const BBoxbbox ()
void change_color (char *color)
virtual int classid () const
void clearLossModel ()
void color (const char *color)
void dcolor (const char *name)
void dec_usage ()
double delay () const
void DeletePacket (Packet *)
void deleteTag (Animation *)
void detach ()
void direction (const char *name)
virtual float distance (float x, float y) const
void dlabel (const char *name)
virtual void draw (View *, double)
int dst () const
 Edge (double ps, double bw, double delay, double length, double angle)
 Edge (Node *src, Node *dst, double ps, double bw, double _delay, double length, double angle)
 Edge (Node *src, Node *dst, double ps, double bw, double _delay, double length, double angle, int ws)
NodegetDestinationNode ()
virtual const char * getedst () const
virtual const char * getesrc () const
virtual const char * getfid () const
AnimationgetLastTag ()
LossModelgetLossModel ()
const char * getname () const
virtual const char * getProperties (const char *type)
QueueHandlegetQueueHandle ()
NodegetSourceNode ()
AnimationgetTag (int i) const
virtual const char * gettype () const
int id () const
void inc_usage ()
const char * info () const
void init_color (const char *clr)
void insert (Animation **)
virtual int inside (double, float, float) const
virtual int inside (float, float) const
int isdown () const
int isTagged () const
double length () const
void mark ()
int marked () const
int match (int s, int d) const
void merge (BBox &b)
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)
Nodeneighbor () const
Animationnext () const
int no_of_packets () const
int numTag () const
double PacketHeight () const
Packetpackets () const
void paint (int id)
int paint () const
void place (double, double, double, double)
Animation ** prev () const
const char * property ()
double realangle () const
double reallength () const
void remove_monitor ()
virtual void reset (double)
int save (FILE *file)
int saveAsEnam (FILE *file)
void set_down (char *clr)
void set_up ()
void setAngle (double angle)
void setBW (double bw)
void setDelay (double dlay)
void setLength (double length)
void size (double s)
double size () const
int src () const
Nodestart () const
StateInfo stateInfo ()
void toggle_color ()
const Transformtransform () const
double txtime (int n) const
int type () const
void unmark ()
virtual void update (double now)
virtual void update_bb ()
int used () const
int visible () const
void visible (int v)
int writeNsScript (FILE *file)
double x () const
double x0 () const
double y () const
double y0 () const

Static Public Member Functions

static Animationfind (unsigned int id)

Public Attributes


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 Member Functions

void setupDefaults ()

Private Attributes

int anchor_
double angle_
double bandwidth_
char * dcolor_
double delay_
int direction_
char * dlabel_
int dst_
BBox eb_
double length_
int marked_
Transform matrix_
int no_of_packets_
double psize_
int src_
int state_
int used_
int visible_
int wireless_
double x0_
double x1_
double y0_
double y1_

Detailed Description

Definition at line 53 of file edge.h.

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

Generated by  Doxygen 1.6.0   Back to index