* \author Lars Gullik Bjønnes
* \author John Levon
*/
+
#ifndef TIMEOUT_H
#define TIMEOUT_H
*/
class Timeout {
public:
- ///
+ /// the timeout type
enum Type {
- /// one-shot timer
- ONETIME,
- /// repeating
- CONTINUOUS
+ ONETIME, //< one-shot timer
+ CONTINUOUS //< repeating
};
///
Timeout(unsigned int msec, Type = ONETIME);