Go to the documentation of this file.
29 #ifndef ROSCPP_TIMER_OPTIONS_H
30 #define ROSCPP_TIMER_OPTIONS_H
33 #include "ros/forwards.h"
58 , callback_queue(_queue)
60 , autostart(autostart)
Encapsulates all options available for starting a timer.
Duration period
The period to call the callback at.
VoidConstPtr tracked_object
Duration representation for use with the Time class.
Abstract interface for a queue used to handle all callbacks within roscpp.
CallbackQueueInterface * callback_queue
Queue to add callbacks to. If NULL, the global callback queue will be used.
std::function< void(const TimerEvent &)> TimerCallback
std::shared_ptr< void const > VoidConstPtr
TimerCallback callback
The callback to call.
void callback(const sick_scan_xd::RadarScan::ConstPtr &oa)
TimerOptions(Duration _period, const TimerCallback &_callback, CallbackQueueInterface *_queue, bool oneshot=false, bool autostart=true)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:12