In file modules/Activable.h:

namespace yav class Activable : public AutoLink<Activable>

Prototype for an activable object

Inheritance:


Public Methods

virtual void on (void)
request activation
virtual void off (void)
request deactivation
bool active (void)
returns activation flag
static unsigned int getActivatedObjectsCount (void)
return total number of active objects
static void activate (void)
call activation callback method for all active objects

Public

Constructor
Activable ()
new object is unactivated
Destructor
virtual ~Activable ()
unactivates object

Protected Methods

virtual void activation (void)
activation callback method

Private Fields

static unsigned int activatedObjects
total number of activated objects
bool activated
activation flag

Documentation

Prototype for an activable object. An activable object can be activated in the TK events loop.
static unsigned int activatedObjects
total number of activated objects

bool activated
activation flag

virtual void activation(void)
activation callback method

Constructor

Activable()
new object is unactivated

Destructor

virtual ~Activable()
unactivates object

virtual void on(void)
request activation

virtual void off(void)
request deactivation

bool active(void)
returns activation flag

static unsigned int getActivatedObjectsCount(void)
return total number of active objects

static void activate(void)
call activation callback method for all active objects


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de