class TimerFeature : public Feature


Inheritance:


Public Methods

virtual void draw(View*, double now)
void monitor(double now, char *result, int len)
virtual void place(double x, double y)
void set_feature(double timer, int direction, double time_set)
virtual void size(double s)
TimerFeature(Agent *a, const char* name)

Private Fields

int direction_
double time_set_
double timer_
float x0_
float x1_

Inherited from Feature:

Public Fields

Feature* next_

Public Methods

inline void anchor(int v)
inline int anchor()
const char* info()
int inside(double, float, float)
inline void mark(int v)
inline int marked()
inline const char* name()
inline void next(Feature * f)
inline Feature* next()
inline int num()
virtual void reset(double)
void varname(const char* name, int anchor)
inline double x()
inline double y()

Protected Fields

Agent* agent_
int anchor_
int mark_
int nn_
double size_
char* varname_
double x_

Protected Methods

void drawlabel(View*)
void update_bb()

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)
virtual int classid()
void color(char *color)
void deleteTag(Animation *)
void detach()
virtual float distance(float x, float y)
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()
void insert(Animation **)
inline int isTagged()
inline void merge(BBox& b)
virtual MonState* monitor_state(void)
virtual void move(EditView*, float, float )
inline int numTag()
void paint(int id)
inline int paint()
inline Animation** prev()
virtual const char* property()
void remove_monitor()
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

TimerFeature(Agent *a, const char* name)

void set_feature(double timer, int direction, double time_set)

virtual void size(double s)

virtual void draw(View*, double now)

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

virtual void place(double x, double y)

double timer_

double time_set_

int direction_

float x0_

float x1_


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