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

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

Packet Class Reference

Inheritance diagram for Packet:
Inheritance graph
[legend]
Collaboration diagram for Packet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addTag (Animation *)
const int attr () const
const BBoxbbox ()
void change_color (char *color)
void CheckPolygon (View *, int, float x[5], float y[5]) const
virtual int classid () const
void color (const char *color)
int ComputePolygon (double now, float ax[5], float ay[5]) const
const char * convid () const
void deleteTag (Animation *)
void detach ()
virtual float distance (float, float) const
virtual void draw (View *nv, double now)
double finish () const
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 (float px, float py) const
virtual int inside (double now, float px, float py) const
int isTagged () const
void merge (BBox &b)
void monitor (Monitor *m, double now, char *result, int len)
MonStatemonitor_state ()
virtual void move (EditView *editview, float x_displacement, float y_displacement)
Packetnext () const
void next (Packet *p)
int numTag () const
 Packet (Edge *, const PacketAttr &, double, double, long)
void paint (int id)
int paint () const
void position (float &, float &, double) const
Packetprev () const
void prev (Packet *p)
virtual const char * property ()
void RearrangePoints (View *v, int npts, float x[5], float y[5]) const
void remove_monitor ()
virtual void reset (double now)
int size () const
double start () const
StateInfo stateInfo ()
void toggle_color ()
const char * type () const
virtual void update (double now)
virtual void update_bb ()

Static Public Member Functions

static int count ()
static Animationfind (unsigned int id)

Static Public Attributes

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

Protected Member Functions

virtual int EndPoints (double, double &, double &) const

Protected Attributes

int arriving_
int aType_
BBox bb_
double curTime_
Edgeedge_
unsigned int id_
Monitormonitor_
Packetnext_
int nTag_
int oldPaint_
int paint_
PacketAttr pkt_
Packetprev_
StateInfo si_
double ta_
Animation ** tags_
double ts_
double tx_
int type_

Static Protected Attributes

static int count_ = 0

Detailed Description

Definition at line 58 of file packet.h.


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

Generated by  Doxygen 1.6.0   Back to index