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

Friends

class UAppli
class UNatAppli

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 Thu Mar 3 06:33:22 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.1