Public Member Functions
ros::CallbackQueueInterface Class Reference

Abstract interface for a queue used to handle all callbacks within roscpp. More...

#include <callback_queue_interface.h>

Inheritance diagram for ros::CallbackQueueInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void addCallback (const CallbackInterfacePtr &callback, uint64_t owner_id=0)=0
 Add a callback, with an optional owner id. The owner id can be used to remove a set of callbacks from this queue.
virtual void removeByID (uint64_t owner_id)=0
 Remove all callbacks associated with an owner id.
virtual ~CallbackQueueInterface ()

Detailed Description

Abstract interface for a queue used to handle all callbacks within roscpp.

Allows you to inherit and provide your own implementation that can be used instead of our default CallbackQueue

Definition at line 82 of file callback_queue_interface.h.


Constructor & Destructor Documentation

Definition at line 85 of file callback_queue_interface.h.


Member Function Documentation

virtual void ros::CallbackQueueInterface::addCallback ( const CallbackInterfacePtr &  callback,
uint64_t  owner_id = 0 
) [pure virtual]

Add a callback, with an optional owner id. The owner id can be used to remove a set of callbacks from this queue.

Implemented in ros::CallbackQueue.

virtual void ros::CallbackQueueInterface::removeByID ( uint64_t  owner_id) [pure virtual]

Remove all callbacks associated with an owner id.

Implemented in ros::CallbackQueue.


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


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Thu Jun 6 2019 21:10:05