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

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

Detailed Description

Definition at line 52 of file callback_queue.h.

Constructor & Destructor Documentation

◆ CallbackQueue()

nodelet::detail::CallbackQueue::CallbackQueue ( CallbackQueueManager parent,
const ros::VoidConstPtr tracked_object = ros::VoidConstPtr() 

Definition at line 40 of file callback_queue.cpp.

◆ ~CallbackQueue()

nodelet::detail::CallbackQueue::~CallbackQueue ( )

Definition at line 48 of file callback_queue.cpp.

Member Function Documentation

◆ addCallback()

void nodelet::detail::CallbackQueue::addCallback ( const ros::CallbackInterfacePtr callback,
uint64_t  owner_id = 0 

Implements ros::CallbackQueueInterface.

Definition at line 52 of file callback_queue.cpp.

◆ callOne()

uint32_t nodelet::detail::CallbackQueue::callOne ( )

Definition at line 66 of file callback_queue.cpp.

◆ disable()

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.

◆ enable()

void nodelet::detail::CallbackQueue::enable ( )

Enable the queue (queue is enabled by default)

Definition at line 81 of file callback_queue.cpp.

◆ removeByID()

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

Implements ros::CallbackQueueInterface.

Definition at line 61 of file callback_queue.cpp.

Member Data Documentation

◆ has_tracked_object_

bool nodelet::detail::CallbackQueue::has_tracked_object_

Definition at line 79 of file callback_queue.h.

◆ parent_

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

Definition at line 76 of file callback_queue.h.

◆ queue_

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

Definition at line 77 of file callback_queue.h.

◆ tracked_object_

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

Definition at line 78 of file callback_queue.h.

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

Author(s): Tully Foote, Radu Bogdan Rusu
autogenerated on Mon Feb 28 2022 22:57:13