+ std::vector<SlotProxy> slots;
+ Semaphore sem;
+ Mutex mutex;
+ bool blocking;
+
+public:
+ Timer();
+ ~Timer();
+
+ /** Adds a timer that will be executed periodically as long as the timeout
+ signal hander returns true. */
+ Slot &add(const TimeDelta &);
+
+ /** Adds a timer that will be executed once at a specific time. The return
+ value of the timeout signal handler is ignored. */
+ Slot &add(const TimeStamp &);
+
+ /** Cancels a previously added timer. */
+ void cancel(Slot &);
+
+ /** Deprecated. Use one of the other overloads. */
+ void tick(bool block);