DART  6.10.1
dart::collision::BulletCollisionDetector::BulletCollisionShapeDeleter Class Referencefinal

This deleter is responsible for deleting BulletCollsionShape objects and removing them from mShapeMap when they are not shared by any CollisionObjects. More...

Public Member Functions

 BulletCollisionShapeDeleter (BulletCollisionDetector *cd, const dynamics::ConstShapePtr &shape)
 
void operator() (BulletCollisionShape *shape) const
 

Private Attributes

BulletCollisionDetectormBulletCollisionDetector
 
dynamics::ConstShapePtr mShape
 

Detailed Description

This deleter is responsible for deleting BulletCollsionShape objects and removing them from mShapeMap when they are not shared by any CollisionObjects.

Constructor & Destructor Documentation

◆ BulletCollisionShapeDeleter()

dart::collision::BulletCollisionDetector::BulletCollisionShapeDeleter::BulletCollisionShapeDeleter ( BulletCollisionDetector cd,
const dynamics::ConstShapePtr shape 
)

Member Function Documentation

◆ operator()()

void dart::collision::BulletCollisionDetector::BulletCollisionShapeDeleter::operator() ( BulletCollisionShape shape) const

Member Data Documentation

◆ mBulletCollisionDetector

BulletCollisionDetector* dart::collision::BulletCollisionDetector::BulletCollisionShapeDeleter::mBulletCollisionDetector
private

◆ mShape

dynamics::ConstShapePtr dart::collision::BulletCollisionDetector::BulletCollisionShapeDeleter::mShape
private