class Counter : public Walkable

Can manage delayed action on Countable objects, very interesting ! (it uses clock() C-system-function)

Inheritance:


Public Methods

Counter(int t, int v, Countable& ref) throw()
virtual ~Counter() throw()
int getValue() const throw()
return value

Protected Fields

int cpt
const int value
Countable* const countableRef

Protected Methods

virtual int virtualWalk() throw()

Inherited from Walkable:

Public Methods

int walk() throw(Exception)
int getSlow() const throw()
virtual void setSlow(int slow) throw()

Protected Fields

int s
int t
int returnWalk

Documentation

Can manage delayed action on Countable objects, very interesting ! (it uses clock() C-system-function). When the time finished, Counter calls endOfCount() of the Countable.
int cpt

const int value

Countable* const countableRef

virtual int virtualWalk() throw()

Counter(int t, int v, Countable& ref) throw()

virtual ~Counter() throw()

int getValue() const throw()
return value


Direct child classes:
LoopCounter
Author:
David FAUTHOUX
See Also:
Countable

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