Encapsulates all options available for starting a timer. More...
#include <wall_timer_options.h>
Public Member Functions | |
WallTimerOptions (WallDuration _period, const WallTimerCallback &_callback, CallbackQueueInterface *_queue, bool oneshot=false) | |
WallTimerOptions () | |
Public Attributes | |
WallTimerCallback | callback |
The callback to call. | |
CallbackQueueInterface * | callback_queue |
Queue to add callbacks to. If NULL, the global callback queue will be used. | |
bool | oneshot |
WallDuration | period |
The period to call the callback at. | |
VoidConstPtr | tracked_object |
Encapsulates all options available for starting a timer.
Definition at line 39 of file wall_timer_options.h.
ros::WallTimerOptions::WallTimerOptions | ( | ) | [inline] |
Definition at line 41 of file wall_timer_options.h.
ros::WallTimerOptions::WallTimerOptions | ( | WallDuration | _period, | |
const WallTimerCallback & | _callback, | |||
CallbackQueueInterface * | _queue, | |||
bool | oneshot = false | |||
) | [inline] |
Definition at line 52 of file wall_timer_options.h.
The callback to call.
Definition at line 60 of file wall_timer_options.h.
Queue to add callbacks to. If NULL, the global callback queue will be used.
Definition at line 62 of file wall_timer_options.h.
Definition at line 74 of file wall_timer_options.h.
WallDuration ros::WallTimerOptions::period |
The period to call the callback at.
Definition at line 59 of file wall_timer_options.h.
A shared pointer to an object to track for these callbacks. If set, the a weak_ptr will be created to this object, and if the reference count goes to 0 the subscriber callbacks will not get called.
Definition at line 72 of file wall_timer_options.h.