Class to ease the creation of a set of samplers. This is especially useful for multi-threaded planners. More...
#include <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. | |
Sampler * | operator[] (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 (void) const |
Get the count of samplers currently available. | |
void | clear (void) |
Clear all allocated samplers. |
Class to ease the creation of a set of samplers. This is especially useful for multi-threaded planners.
Definition at line 88 of file StateSamplerArray.h.