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. More... | |
virtual void | removeByID (uint64_t owner_id)=0 |
Remove all callbacks associated with an owner id. More... | |
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.
|
inlinevirtual |
Definition at line 85 of file callback_queue_interface.h.
|
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.
|
pure virtual |
Remove all callbacks associated with an owner id.
Implemented in ros::CallbackQueue.