moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
Cache for an arbitrary type of shape. It is assigned during the execution of createCollisionGeometry(). More...
Public Types | |
using | ShapeKey = shapes::ShapeConstWeakPtr |
using | ShapeMap = std::map< ShapeKey, FCLGeometryConstPtr, std::owner_less< ShapeKey > > |
Public Member Functions | |
FCLShapeCache () | |
void | bumpUseCount (bool force=false) |
Public Attributes | |
ShapeMap | map_ |
Map of weak pointers to the FCLGeometry. More... | |
unsigned int | clean_count_ |
Counts cache usage and triggers clearing of cache when \m MAX_CLEAN_COUNT is exceeded. More... | |
Static Public Attributes | |
static const unsigned int | MAX_CLEAN_COUNT = 100 |
Cache for an arbitrary type of shape. It is assigned during the execution of createCollisionGeometry().
Only a single cache per thread and object type is created as it is a quasi-singleton instance.
Definition at line 371 of file collision_common.cpp.
using collision_detection::FCLShapeCache::ShapeKey = shapes::ShapeConstWeakPtr |
Definition at line 373 of file collision_common.cpp.
using collision_detection::FCLShapeCache::ShapeMap = std::map<ShapeKey, FCLGeometryConstPtr, std::owner_less<ShapeKey> > |
Definition at line 374 of file collision_common.cpp.
|
inline |
Definition at line 376 of file collision_common.cpp.
|
inline |
unsigned int collision_detection::FCLShapeCache::clean_count_ |
Counts cache usage and triggers clearing of cache when \m MAX_CLEAN_COUNT is exceeded.
Definition at line 409 of file collision_common.cpp.
ShapeMap collision_detection::FCLShapeCache::map_ |
Map of weak pointers to the FCLGeometry.
Definition at line 406 of file collision_common.cpp.
|
static |
Definition at line 403 of file collision_common.cpp.