cwidget::toplevel::timeout_thread Class Reference
List of all members.
Classes |
class | SingletonViolationException |
struct | timeout_info |
| Information about a single time-out.
|
Public Member Functions |
void | operator() () |
int | add_timeout (event *ev, int msecs) |
| Add a timeout to the set of active timeouts.
|
void | del_timeout (int id) |
Static Public Member Functions |
static timeout_thread & | get_instance () |
static void | start () |
static void | stop () |
Member Function Documentation
int cwidget::toplevel::timeout_thread::add_timeout |
( |
event * |
ev, |
|
|
int |
msecs | |
|
) |
| | [inline] |
Add a timeout to the set of active timeouts.
- Parameters:
-
| slot | a callback to activate when the timeout triggers |
| msecs | the number of milliseconds in which to activate the timeout. |
- Returns:
- the ID number of the new timeout; can be used later to remove the timeout before it triggers.
The documentation for this class was generated from the following file: