StateSamplerArray.h
A boost shared pointer wrapper for ompl::base::StateSampler.
Class to ease the creation of a set of samplers. This is especially useful for multi-threaded planner...
Definition: StateSamplerArray.h:88
std::size_t size() const
Get the count of samplers currently available.
Definition: StateSamplerArray.h:135
SamplerSelector< T >::Sampler Sampler
The type of sampler allocated.
Definition: StateSamplerArray.h:96
StateSamplerPtr allocStateSampler() const
Allocate a uniform state sampler for the state space.
Definition: SpaceInformation.h:264
A boost shared pointer wrapper for ompl::base::SpaceInformation.
The base class for space information. This contains all the information about the space planning is d...
Definition: SpaceInformation.h:86
SamplerSelector< T >::SamplerPtr SamplerPtr
Pointer to the type of sampler allocated.
Definition: StateSamplerArray.h:93
Sampler * operator[](std::size_t index) const
Access operator for a specific sampler. For performance reasons, the bounds are not checked...
Definition: StateSamplerArray.h:114
Depending on the type of state sampler, we have different allocation routines.
Definition: StateSamplerArray.h:55
void resize(std::size_t count)
Create or release some state samplers.
Definition: StateSamplerArray.h:120