Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::collision::fcl_internal::FCLCollisionGeometryCache Class Reference

Static Public Member Functions

static void insert (const std::shared_ptr< const tesseract::geometry::Geometry > &key, const std::shared_ptr< fcl::CollisionGeometryd > &value)
 Insert a new entry into the cache.
static std::shared_ptr< fcl::CollisionGeometryd > get (const std::shared_ptr< const tesseract::geometry::Geometry > &key)
 Retrieve the cache entry by key.
static void prune ()
 Remove any entries which are no longer valid.

Member Function Documentation

◆ insert()

void tesseract::collision::fcl_internal::FCLCollisionGeometryCache::insert ( const std::shared_ptr< const tesseract::geometry::Geometry > & key,
const std::shared_ptr< fcl::CollisionGeometryd > & value )
static

Insert a new entry into the cache.

Parameters
keyThe cache key
valueThe value to store

◆ get()

std::shared_ptr< fcl::CollisionGeometryd > tesseract::collision::fcl_internal::FCLCollisionGeometryCache::get ( const std::shared_ptr< const tesseract::geometry::Geometry > & key)
static

Retrieve the cache entry by key.

Parameters
keyThe cache key
Returns
If key exists the entry is returned, otherwise a nullptr is returned