39 #ifndef ORO_RTT_TIMER_HPP 40 #define ORO_RTT_TIMER_HPP 48 #include "../base/RunnableInterface.hpp" 124 Timer(TimerId max_timers,
int scheduler = -1,
int priority = 0,
const std::string& name = std::string(
"Timer"));
133 virtual void timeout(TimerId timer_id);
139 void setMaxTimers(TimerId max);
149 bool startTimer(TimerId timer_id,
Seconds period);
158 bool arm(TimerId timer_id,
Seconds wait_time);
171 bool isArmed(TimerId timer_id)
const;
177 bool killTimer(TimerId timer_id);
TimerInfo(const TimerInfo &other)
std::vector< TimerInfo > TimerIds
TimerInfo & operator=(const TimerInfo &other)
base::ActivityInterface * mThread
A class for running a certain piece of code in a thread.
An object oriented wrapper around a condition variable.
Interface to start/stop and query a Activity.
An object oriented wrapper around a non recursive mutex.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.