Go to the documentation of this file.
29 #ifndef ROSCPP_WALL_TIMER_OPTIONS_H
30 #define ROSCPP_WALL_TIMER_OPTIONS_H
33 #include "ros/forwards.h"
56 bool oneshot =
false,
bool autostart =
true)
59 , callback_queue(_queue)
61 , autostart(autostart)
WallTimerCallback callback
The callback to call.
std::function< void(const WallTimerEvent &)> WallTimerCallback
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.
WallDuration period
The period to call the callback at.
VoidConstPtr tracked_object
Abstract interface for a queue used to handle all callbacks within roscpp.
Duration representation for use with the WallTime class.
WallTimerOptions(WallDuration _period, const WallTimerCallback &_callback, CallbackQueueInterface *_queue, bool oneshot=false, bool autostart=true)
std::shared_ptr< void const > VoidConstPtr
void callback(const sick_scan_xd::RadarScan::ConstPtr &oa)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13