Go to the documentation of this file.
40 #include <boost/thread/locks.hpp>
41 #include <boost/thread/shared_mutex.hpp>
42 #include <boost/function.hpp>
86 using ReadLock = boost::shared_lock<boost::shared_mutex>;
87 using WriteLock = boost::unique_lock<boost::shared_mutex>;
boost::function< void()> update_callback_
std::shared_ptr< const OccMapTree > OccMapTreeConstPtr
boost::unique_lock< boost::shared_mutex > WriteLock
octomap::OcTreeNode OccMapNode
OccMapTree(double resolution)
OcTree(double resolution)
void unlockWrite()
unlock the underlying octree.
boost::shared_mutex tree_mutex_
void lockWrite()
lock the underlying octree. it will not be read or written by the monitor until unlockTree() is calle...
void unlockRead()
unlock the underlying octree.
boost::shared_lock< boost::shared_mutex > ReadLock
void lockRead()
lock the underlying octree. it will not be read or written by the monitor until unlockTree() is calle...
void setUpdateCallback(const boost::function< void()> &update_callback)
Set the callback to trigger when updates are received.
void triggerUpdateCallback()
std::shared_ptr< OccMapTree > OccMapTreePtr
moveit_core
Author(s): Ioan Sucan
, Sachin Chitta , Acorn Pooley
autogenerated on Thu Nov 21 2024 03:23:41