Go to the documentation of this file.
35 #ifndef ROSCPP_CALLBACK_QUEUE_INTERFACE_H
36 #define ROSCPP_CALLBACK_QUEUE_INTERFACE_H
38 #include <boost/shared_ptr.hpp>
67 virtual CallResult
call() = 0;
72 virtual bool ready() {
return true; }
96 virtual void removeByID(uint64_t owner_id) = 0;
@ Invalid
Call no longer valid.
boost::shared_ptr< CallbackInterface > CallbackInterfacePtr
bool call(const std::string &service_name, MReq &req, MRes &res)
Invoke an RPC service.
CallResult
Possible results for the call() method.
virtual bool ready()
Provides the opportunity for specifying that a callback is not ready to be called before call() actua...
virtual void removeByID(uint64_t owner_id)=0
Remove all callbacks associated with an owner id.
Abstract interface for items which can be added to a CallbackQueueInterface.
virtual ~CallbackInterface()
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...
@ TryAgain
Call not ready, try again later.
virtual ~CallbackQueueInterface()
Abstract interface for a queue used to handle all callbacks within roscpp.
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:35