ompl::base::StateSamplerArray< T > Class Template Reference

Class to ease the creation of a set of samplers. This is especially useful for multi-threaded planners. More...

#include <ompl/base/StateSamplerArray.h>

Public Types

typedef SamplerSelector< T >::SamplerPtr SamplerPtr
 Pointer to the type of sampler allocated.
 
typedef SamplerSelector< T >::Sampler Sampler
 The type of sampler allocated.
 

Public Member Functions

 StateSamplerArray (const SpaceInformationPtr &si)
 Constructor.
 
 StateSamplerArray (const SpaceInformation *si)
 Constructor.
 
Sampleroperator[] (std::size_t index) const
 Access operator for a specific sampler. For performance reasons, the bounds are not checked.
 
void resize (std::size_t count)
 Create or release some state samplers.
 
std::size_t size () const
 Get the count of samplers currently available.
 
void clear ()
 Clear all allocated samplers.
 

Detailed Description

template<typename T>
class ompl::base::StateSamplerArray< T >

Class to ease the creation of a set of samplers. This is especially useful for multi-threaded planners.

Definition at line 87 of file StateSamplerArray.h.


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