Public Member Functions | List of all members
ros::CallbackQueueInterface Class Referenceabstract

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]

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. More...
 
virtual void removeByID (uint64_t owner_id)=0
 Remove all callbacks associated with an owner id. More...
 
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

◆ ~CallbackQueueInterface()

virtual ros::CallbackQueueInterface::~CallbackQueueInterface ( )
inlinevirtual

Definition at line 85 of file callback_queue_interface.h.

Member Function Documentation

◆ addCallback()

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.

◆ removeByID()

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, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:27