nub::timer Class Reference

Wraps a signal/slot interface around a timer callback mechansim. More...

#include <nub/timer.h>

Collaboration diagram for nub::timer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 timer (unsigned int msec, bool repeat=false)
void schedule (rutz::shared_ptr< nub::scheduler > s)
void cancel ()
unsigned int delay_msec () const
void set_delay_msec (unsigned int msec)
bool is_repeating () const
void set_repeating (bool repeat)
bool is_pending () const
double elapsed_msec () const

Public Attributes

nub::signal0 sig_timeout


Detailed Description

Wraps a signal/slot interface around a timer callback mechansim.

Definition at line 49 of file timer.h.


The documentation for this class was generated from the following files:

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:29 2008 by Doxygen version 1.5.5.