28 #ifndef ROSCPP_STEADY_TIMER_OPTIONS_H 29 #define ROSCPP_STEADY_TIMER_OPTIONS_H 55 bool oneshot =
false,
bool autostart =
true)
58 , callback_queue(_queue)
60 , autostart(autostart)
SteadyTimerCallback callback
The callback to call.
Abstract interface for a queue used to handle all callbacks within roscpp.
WallDuration period
The period to call the callback at.
SteadyTimerOptions(WallDuration _period, const SteadyTimerCallback &_callback, CallbackQueueInterface *_queue, bool oneshot=false, bool autostart=true)
boost::function< void(const SteadyTimerEvent &)> SteadyTimerCallback
CallbackQueueInterface * callback_queue
Queue to add callbacks to. If NULL, the global callback queue will be used.
Encapsulates all options available for starting a timer.
VoidConstPtr tracked_object