Go to the documentation of this file.
41 , allow_concurrent_callbacks_(allow_concurrent_callbacks)
50 bool has_tracked_object,
const VoidConstWPtr& tracked_object,
bool nonconst_need_copy,
67 ROS_DEBUG(
"Incoming queue was full for topic \"%s\". Discarded oldest message (current queue size [%d])",
topic_.c_str(), (
int)
queue_.size());
107 boost::recursive_mutex::scoped_try_lock lock(
callback_mutex_, boost::defer_lock);
112 if (!lock.owns_lock())
157 self = shared_from_this();
159 catch (boost::bad_weak_ptr&)
@ Invalid
Call no longer valid.
SubscriptionCallbackHelperPtr helper
boost::function< MessagePtr()> CreateFunction
MessageEvent< void const > event
SubscriptionQueue(const std::string &topic, int32_t queue_size, bool allow_concurrent_callbacks)
boost::mutex queue_mutex_
CallResult
Possible results for the call() method.
void push(const SubscriptionCallbackHelperPtr &helper, const MessageDeserializerPtr &deserializer, bool has_tracked_object, const VoidConstWPtr &tracked_object, bool nonconst_need_copy, ros::Time receipt_time=ros::Time(), bool *was_full=0)
VoidConstWPtr tracked_object
bool allow_concurrent_callbacks_
virtual CallbackInterface::CallResult call()
Call this callback.
@ TryAgain
Call not ready, try again later.
MessageDeserializerPtr deserializer
boost::weak_ptr< void const > VoidConstWPtr
virtual bool ready()
Provides the opportunity for specifying that a callback is not ready to be called before call() actua...
boost::recursive_mutex callback_mutex_
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:36