Public Member Functions | Static Public Member Functions | List of all members
collision_detection::CollisionDetectorAllocatorTemplate< CollisionWorldType, CollisionRobotType, 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< CollisionWorldType, CollisionRobotType, CollisionDetectorAllocatorType >:
Inheritance graph
[legend]

Public Member Functions

CollisionRobotPtr allocateRobot (const robot_model::RobotModelConstPtr &robot_model) const override
 
CollisionRobotPtr allocateRobot (const CollisionRobotConstPtr &orig) const override
 
CollisionWorldPtr allocateWorld (const WorldPtr &world) const override
 
CollisionWorldPtr allocateWorld (const CollisionWorldConstPtr &orig, const WorldPtr &world) const override
 
const std::string & getName () const override
 
- Public Member Functions inherited from collision_detection::CollisionDetectorAllocator
virtual ~CollisionDetectorAllocator ()
 

Static Public Member Functions

static CollisionDetectorAllocatorPtr create ()
 

Detailed Description

template<class CollisionWorldType, class CollisionRobotType, class CollisionDetectorAllocatorType>
class collision_detection::CollisionDetectorAllocatorTemplate< CollisionWorldType, CollisionRobotType, CollisionDetectorAllocatorType >

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

Definition at line 76 of file collision_detector_allocator.h.

Member Function Documentation

◆ allocateRobot() [1/2]

template<class CollisionWorldType, class CollisionRobotType, class CollisionDetectorAllocatorType>
CollisionRobotPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionWorldType, CollisionRobotType, CollisionDetectorAllocatorType >::allocateRobot ( const robot_model::RobotModelConstPtr &  robot_model) const
inlineoverridevirtual

create a new CollisionRobot given a robot_model

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 94 of file collision_detector_allocator.h.

◆ allocateRobot() [2/2]

template<class CollisionWorldType, class CollisionRobotType, class CollisionDetectorAllocatorType>
CollisionRobotPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionWorldType, CollisionRobotType, CollisionDetectorAllocatorType >::allocateRobot ( const CollisionRobotConstPtr &  orig) const
inlineoverridevirtual

create a new CollisionRobot by copying an existing CollisionRobot of the same type.

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 99 of file collision_detector_allocator.h.

◆ allocateWorld() [1/2]

template<class CollisionWorldType, class CollisionRobotType, class CollisionDetectorAllocatorType>
CollisionWorldPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionWorldType, CollisionRobotType, CollisionDetectorAllocatorType >::allocateWorld ( const WorldPtr &  world) const
inlineoverridevirtual

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

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 84 of file collision_detector_allocator.h.

◆ allocateWorld() [2/2]

template<class CollisionWorldType, class CollisionRobotType, class CollisionDetectorAllocatorType>
CollisionWorldPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionWorldType, CollisionRobotType, CollisionDetectorAllocatorType >::allocateWorld ( const CollisionWorldConstPtr &  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 or a copy of that world which has not yet been modified.

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 89 of file collision_detector_allocator.h.

◆ create()

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

Create an allocator for collision detectors.

Definition at line 105 of file collision_detector_allocator.h.

◆ getName()

template<class CollisionWorldType, class CollisionRobotType, class CollisionDetectorAllocatorType>
const std::string& collision_detection::CollisionDetectorAllocatorTemplate< CollisionWorldType, CollisionRobotType, CollisionDetectorAllocatorType >::getName ( ) const
inlineoverridevirtual

A unique name identifying the CollisionWorld/CollisionRobot pairing.

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 79 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 Mon Nov 23 2020 03:52:31