Go to the documentation of this file.
45 queue_ = std::make_shared<ros::CallbackQueue>();
48 spinner_ = std::make_shared<ros::AsyncSpinner>(1, raw_queue_ptr);
std::function< void()> Function
Executor(const ros::NodeHandle &base_nh, bool create_cb_queue=true)
Constructor. Creates new CallbackQueue or uses global CallbackQueue.
virtual void addCallback(const CallbackInterfacePtr &callback, uint64_t removal_id=0)
std::shared_ptr< ros::CallbackQueue > queue_
void setCallbackQueue(CallbackQueueInterface *queue)
void addCallback(LocomotorCallback::Function f)
Add a callback to this executor's CallbackQueue.
virtual const ros::NodeHandle & getNodeHandle() const
Gets NodeHandle coupled with this executor's CallbackQueue.
std::shared_ptr< ros::AsyncSpinner > spinner_
virtual ros::CallbackQueue & getQueue()
Gets the queue for this executor.
ROSCPP_DECL CallbackQueue * getGlobalCallbackQueue()
locomotor
Author(s):
autogenerated on Sun Jul 3 2022 02:47:59