class Animation


Inheritance:


Public Fields

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

Public Methods

void addTag(Animation *)
label myself with a new tag
const BBox& bbox()
void change_color(char *color)
virtual int classid()
void color(char *color)
void deleteTag(Animation *)
void detach()
virtual float distance(float x, float y)
virtual void draw(View*, double now)
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(double now, float px, float py)
This one is obsolete. Need not pass "now" if everything is updated timely.
virtual int inside(float px, float py)
inline int isTagged()
inline void merge(BBox& b)
XXX
virtual void monitor(Monitor *m, double now, char *result, int len)
virtual MonState* monitor_state(void)
virtual void move(EditView*, float, float )
Move this object by a displacement in window coordinates
inline Animation* next()
inline int numTag()
void paint(int id)
inline int paint()
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)
virtual void update_bb()
virtual ~Animation()

Protected Fields

int aType_
BBox bb_
unsigned int id_
unique identifier for all animation objs
Monitor* monitor_
Animation* next_
int nTag_
int oldPaint_
saved for node down event
int paint_
id for X graphics context (e
Animation** prev_
StateInfo si_
Animation** tags_
an dynamic array of tags

Protected Methods

Animation(double, long)
Animation()

Documentation

virtual ~Animation()

virtual void draw(View*, double now)

virtual int inside(double now, float px, float py)
This one is obsolete. Need not pass "now" if everything is updated timely.

virtual int inside(float px, float py)

virtual void move(EditView*, float, float )
Move this object by a displacement in window coordinates

virtual float distance(float x, float y)

inline void merge(BBox& b)
XXX

virtual void update_bb()

virtual void update(double now)

virtual void reset(double now)

virtual const char* info()

virtual const char* property()

virtual const char* getname()

virtual const char* getfid()

virtual const char* getesrc()

virtual const char* getedst()

virtual const char* gettype()

int id()

const BBox& bbox()

virtual void monitor(Monitor *m, double now, char *result, int len)

virtual MonState* monitor_state(void)

void remove_monitor()

void insert(Animation **)

void detach()

void paint(int id)

void color(char *color)

void change_color(char *color)

void toggle_color()

inline StateInfo stateInfo()

inline int paint()

inline Animation* next()

inline Animation** prev()

static unsigned int LASTID_

static Tcl_HashTable* AniHash_

static unsigned int nAniHash_

static Animation* find(unsigned int id)

virtual int classid()

inline int isTagged()

inline int numTag()

inline int type()

inline Animation* getTag(int i)

Animation* getLastTag()

void deleteTag(Animation *)

void addTag(Animation *)
label myself with a new tag

Animation()

Animation(double, long)

int paint_
id for X graphics context (e.g., color and linewidth)

int oldPaint_
saved for node down event

Monitor* monitor_

BBox bb_

StateInfo si_

Animation* next_

Animation** prev_

unsigned int id_
unique identifier for all animation objs

Animation** tags_
an dynamic array of tags

int nTag_

int aType_


Direct child classes:
Tag
Route
QueueItem
Packet
Node
Lan
Group
Feature
Edge
Drop
BPacket
Agent

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