36#ifndef ASYNC_AT_TIMER_INCLUDED
37#define ASYNC_AT_TIMER_INCLUDED
48#include <sigc++/sigc++.h>
152 explicit AtTimer(
struct tm &tm,
bool do_start=
true);
209 struct timeval m_expire_at;
210 int m_expire_offset {0};
214 int msecToTimeout(
void);
215 void onTimerExpired(Timer *t);
Contains a single shot or periodic timer that emits a signal on timeout.
A timer that times out at a specified absolute time.
AtTimer(struct tm &tm, bool do_start=true)
Constuctor.
~AtTimer(void)
Destructor.
sigc::signal< void, AtTimer * > expired
A signal that is emitted when the timer expires.
bool start(void)
Start the timer.
bool setTimeout(struct tm &tm)
Set the timeout time.
void setExpireOffset(int offset_ms)
Set the expire offset.
void stop(void)
Stop the timer.
bool setTimeout(time_t t)
Set the timeout time.
AtTimer(void)
Default constructor.
A class that produces timer events.
Namespace for the asynchronous programming classes.