CONTINUOUS
};
///
- Timeout();
- ///
Timeout(unsigned int msec, Type = ONETIME);
///
~Timeout();
+ /// Is the timer running?
+ bool running() const;
/// start the timer
void start();
/// stop the timer
Timeout & setTimeout(unsigned int msec);
private:
+ ///
struct Pimpl;
+ ///
friend struct Pimpl;
/// implementation
Pimpl * pimpl_;
-
/// one-shot or repeating
Type type;
/// timeout value in milliseconds