Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

UTimer Class Reference

a UTimer object activates callbacks when a timeout is reached (or when the main loop become idle). More...

#include <uappli.hpp>

Inheritance diagram for UTimer:

UBrick List of all members.

Public Member Functions

 UTimer (UAppli &, u_time delay, int ntimes)
 constructor (use UAppli::openTimer() instead).

void onAction (UCall &)
 add a callback function that is called after the delay.

void onTimeout (UCall &c)
 obsolete synonym

virtual void close ()
virtual void reset (u_time delay, int ntimes)
u_time getDelay () const
int getTimes () const

Protected Member Functions

virtual bool verifies (const UContext *, const UCtrl *) const

Detailed Description

a UTimer object activates callbacks when a timeout is reached (or when the main loop become idle).

Usage: see UAppli::openTimer() and UAppli::closeTimer()


The documentation for this class was generated from the following files:
Generated on Tue Jul 27 18:01:56 2004 for Ubit[Eric.Lecolinet@enst.fr] by doxygen 1.3.7