#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. More... | |
void | enable () |
Enable the queue (queue is enabled by default) More... | |
virtual void | removeByID (uint64_t owner_id) |
~CallbackQueue () | |
Public Member Functions inherited from ros::CallbackQueueInterface | |
virtual | ~CallbackQueueInterface () |
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.
nodelet::detail::CallbackQueue::~CallbackQueue | ( | ) |
Definition at line 48 of file callback_queue.cpp.
|
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.
void nodelet::detail::CallbackQueue::disable | ( | ) |
Disable the queue, meaning any calls to addCallback() will have no effect.
Definition at line 86 of file callback_queue.cpp.
void nodelet::detail::CallbackQueue::enable | ( | ) |
Enable the queue (queue is enabled by default)
Definition at line 81 of file callback_queue.cpp.
|
virtual |
Implements ros::CallbackQueueInterface.
Definition at line 61 of file callback_queue.cpp.
|
private |
Definition at line 79 of file callback_queue.h.
|
private |
Definition at line 76 of file callback_queue.h.
|
private |
Definition at line 77 of file callback_queue.h.
|
private |
Definition at line 78 of file callback_queue.h.