35 #ifndef ROSCPP_CALLBACK_QUEUE_INTERFACE_H 36 #define ROSCPP_CALLBACK_QUEUE_INTERFACE_H 38 #include <boost/shared_ptr.hpp> 72 virtual bool ready() {
return true; }
91 virtual void addCallback(
const CallbackInterfacePtr& callback, uint64_t owner_id = 0) = 0;
96 virtual void removeByID(uint64_t owner_id) = 0;
CallResult
Possible results for the call() method.
boost::shared_ptr< CallbackInterface > CallbackInterfacePtr
bool call(const std::string &service_name, MReq &req, MRes &res)
Invoke an RPC service.
virtual ~CallbackInterface()
Abstract interface for items which can be added to a CallbackQueueInterface.
Abstract interface for a queue used to handle all callbacks within roscpp.
virtual bool ready()
Provides the opportunity for specifying that a callback is not ready to be called before call() actua...
Call not ready, try again later.
virtual ~CallbackQueueInterface()