Abstract interface for a queue used to handle all callbacks within roscpp. More...
#include <callback_queue_interface.h>
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 () |
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.
virtual ros::CallbackQueueInterface::~CallbackQueueInterface | ( | ) | [inline, virtual] |
Definition at line 85 of file callback_queue_interface.h.
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.