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