28 #ifndef ROSCPP_SUBSCRIPTION_QUEUE_H 29 #define ROSCPP_SUBSCRIPTION_QUEUE_H 36 #include <boost/thread/recursive_mutex.hpp> 37 #include <boost/thread/mutex.hpp> 38 #include <boost/enable_shared_from_this.hpp> 44 class MessageDeserializer;
47 class SubscriptionCallbackHelper;
55 SubscriptionCallbackHelperPtr
helper;
67 SubscriptionQueue(
const std::string& topic, int32_t queue_size,
bool allow_concurrent_callbacks);
70 void push(
const SubscriptionCallbackHelperPtr& helper,
const MessageDeserializerPtr& deserializer,
71 bool has_tracked_object,
const VoidConstWPtr& tracked_object,
bool nonconst_need_copy,
95 #endif // ROSCPP_SUBSCRIPTION_QUEUE_H CallResult
Possible results for the call() method.
MessageDeserializerPtr deserializer
bool call(const std::string &service_name, MReq &req, MRes &res)
Invoke an RPC service.
VoidConstWPtr tracked_object
boost::mutex queue_mutex_
Abstract interface for items which can be added to a CallbackQueueInterface.
SubscriptionCallbackHelperPtr helper
bool allow_concurrent_callbacks_
boost::shared_ptr< SubscriptionCallbackHelper > SubscriptionCallbackHelperPtr
boost::recursive_mutex callback_mutex_
boost::weak_ptr< void const > VoidConstWPtr
boost::shared_ptr< MessageDeserializer > MessageDeserializerPtr
std::deque< Item > D_Item