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

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

#include <callback_queue_interface.h>

Inheritance diagram for roswrap::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 83 of file callback_queue_interface.h.

Constructor & Destructor Documentation

◆ ~CallbackQueueInterface()

virtual roswrap::CallbackQueueInterface::~CallbackQueueInterface ( )
inlinevirtual

Definition at line 86 of file callback_queue_interface.h.

Member Function Documentation

◆ addCallback()

virtual void roswrap::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 roswrap::CallbackQueue.

◆ removeByID()

virtual void roswrap::CallbackQueueInterface::removeByID ( uint64_t  owner_id)
pure virtual

Remove all callbacks associated with an owner id.

Implemented in roswrap::CallbackQueue.


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


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:15