Public Member Functions | Private Attributes | List of all members
nodelet::detail::CallbackQueue Class Reference

#include <callback_queue.h>

Inheritance diagram for nodelet::detail::CallbackQueue:
Inheritance graph
[legend]

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_
 
CallbackQueueManagerparent_
 
ros::CallbackQueue queue_
 
ros::VoidConstWPtr tracked_object_
 

Detailed Description

Definition at line 52 of file callback_queue.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

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.

void nodelet::detail::CallbackQueue::removeByID ( uint64_t  owner_id)
virtual

Implements ros::CallbackQueueInterface.

Definition at line 61 of file callback_queue.cpp.

Member Data Documentation

bool nodelet::detail::CallbackQueue::has_tracked_object_
private

Definition at line 79 of file callback_queue.h.

CallbackQueueManager* nodelet::detail::CallbackQueue::parent_
private

Definition at line 76 of file callback_queue.h.

ros::CallbackQueue nodelet::detail::CallbackQueue::queue_
private

Definition at line 77 of file callback_queue.h.

ros::VoidConstWPtr nodelet::detail::CallbackQueue::tracked_object_
private

Definition at line 78 of file callback_queue.h.


The documentation for this class was generated from the following files:


nodelet
Author(s): Tully Foote, Radu Bogdan Rusu
autogenerated on Sat Jul 18 2020 03:17:53