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