22 #ifndef __PLUGINS_PLEXIL_TIMER_THREAD_H_
23 #define __PLUGINS_PLEXIL_TIMER_THREAD_H_
25 #include <aspect/clock.h>
26 #include <core/threading/thread.h>
59 CallbackListener *listener_;
Callback listener pure virtual class.
virtual void timer_event()=0
Called for timer events.
void start_timer(CallbackListener *listener, const fawkes::Time &wait_until)
Start timer non-blocking.
virtual void run()
Stub to see name in backtrace for easier debugging.
void abort_timer()
Abort a currently running timer.
virtual void loop()
Code to execute in the thread.
PlexilTimerThread()
Constructor.
virtual ~PlexilTimerThread()
Empty destructor.
Mutex mutual exclusion lock.
Thread class encapsulation of pthreads.
A class for handling time.
Wait until a given condition holds.