Public Member Functions | Static Public Member Functions | List of all members
collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType > Class Template Reference

Template class to make it easy to create an allocator for a specific CollisionWorld/CollisionRobot pair. More...

#include <collision_detector_allocator.h>

Inheritance diagram for collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >:
Inheritance graph
[legend]

Public Member Functions

CollisionEnvPtr allocateEnv (const CollisionEnvConstPtr &orig, const WorldPtr &world) const override
 
CollisionEnvPtr allocateEnv (const moveit::core::RobotModelConstPtr &robot_model) const override
 
CollisionEnvPtr allocateEnv (const WorldPtr &world, const moveit::core::RobotModelConstPtr &robot_model) const override
 
- Public Member Functions inherited from collision_detection::CollisionDetectorAllocator
virtual const std::string & getName () const =0
 
virtual ~CollisionDetectorAllocator ()
 

Static Public Member Functions

static CollisionDetectorAllocatorPtr create ()
 

Detailed Description

template<class CollisionEnvType, class CollisionDetectorAllocatorType>
class collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >

Template class to make it easy to create an allocator for a specific CollisionWorld/CollisionRobot pair.

Definition at line 104 of file collision_detector_allocator.h.

Member Function Documentation

◆ allocateEnv() [1/3]

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
CollisionEnvPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::allocateEnv ( const CollisionEnvConstPtr &  orig,
const WorldPtr &  world 
) const
inlineoverridevirtual

create a new CollisionWorld by copying an existing CollisionWorld of the same type.s The world must be either the same world as used by orig or a copy of that world which has not yet been modified.

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 112 of file collision_detector_allocator.h.

◆ allocateEnv() [2/3]

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
CollisionEnvPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::allocateEnv ( const moveit::core::RobotModelConstPtr &  robot_model) const
inlineoverridevirtual

create a new CollisionEnv given a robot_model with a new empty world

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 117 of file collision_detector_allocator.h.

◆ allocateEnv() [3/3]

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
CollisionEnvPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::allocateEnv ( const WorldPtr &  world,
const moveit::core::RobotModelConstPtr &  robot_model 
) const
inlineoverridevirtual

create a new CollisionWorld for checking collisions with the supplied world.

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 107 of file collision_detector_allocator.h.

◆ create()

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
static CollisionDetectorAllocatorPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::create ( )
inlinestatic

Create an allocator for collision detectors.

Definition at line 123 of file collision_detector_allocator.h.


The documentation for this class was generated from the following file:


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Tue Dec 24 2024 03:27:15