#include <callback_queue.h>
Public Member Functions | |
virtual void | addCallback (const ros::CallbackInterfacePtr &callback, uint64_t owner_id=0) |
CallbackQueue (CallbackQueueManager *parent, const ros::VoidConstPtr &tracked_object=ros::VoidConstPtr()) | |
uint32_t | callOne () |
void | disable () |
Disable the queue, meaning any calls to addCallback() will have no effect. | |
void | enable () |
Enable the queue (queue is enabled by default) | |
virtual void | removeByID (uint64_t owner_id) |
~CallbackQueue () | |
Private Attributes | |
bool | has_tracked_object_ |
CallbackQueueManager * | parent_ |
ros::CallbackQueue | queue_ |
ros::VoidConstWPtr | tracked_object_ |
Definition at line 52 of file callback_queue.h.
nodelet::detail::CallbackQueue::CallbackQueue | ( | CallbackQueueManager * | parent, |
const ros::VoidConstPtr & | tracked_object = ros::VoidConstPtr() |
||
) |
Definition at line 40 of file callback_queue.cpp.
Definition at line 48 of file callback_queue.cpp.
void nodelet::detail::CallbackQueue::addCallback | ( | const ros::CallbackInterfacePtr & | callback, |
uint64_t | owner_id = 0 |
||
) | [virtual] |
Implements ros::CallbackQueueInterface.
Definition at line 52 of file callback_queue.cpp.
uint32_t nodelet::detail::CallbackQueue::callOne | ( | ) |
Definition at line 66 of file callback_queue.cpp.
Disable the queue, meaning any calls to addCallback() will have no effect.
Definition at line 86 of file callback_queue.cpp.
Enable the queue (queue is enabled by default)
Definition at line 81 of file callback_queue.cpp.
void nodelet::detail::CallbackQueue::removeByID | ( | uint64_t | owner_id | ) | [virtual] |
Implements ros::CallbackQueueInterface.
Definition at line 61 of file callback_queue.cpp.
bool nodelet::detail::CallbackQueue::has_tracked_object_ [private] |
Definition at line 79 of file callback_queue.h.
Definition at line 76 of file callback_queue.h.
Definition at line 77 of file callback_queue.h.
Definition at line 78 of file callback_queue.h.