Template Class StateSamplerArray
Defined in File StateSamplerArray.h
Class Documentation
-
template<typename T>
class StateSamplerArray Class to ease the creation of a set of samplers. This is especially useful for multi-threaded planners.
Public Types
-
using SamplerPtr = typename SamplerSelector<T>::SamplerPtr
Pointer to the type of sampler allocated.
-
using Sampler = typename SamplerSelector<T>::Sampler
The type of sampler allocated.
Public Functions
-
inline StateSamplerArray(const SpaceInformationPtr &si)
Constructor.
-
inline StateSamplerArray(const SpaceInformation *si)
Constructor.
-
~StateSamplerArray() = default
-
inline Sampler *operator[](std::size_t index) const
Access operator for a specific sampler. For performance reasons, the bounds are not checked.
-
inline void resize(std::size_t count)
Create or release some state samplers.
-
inline std::size_t size() const
Get the count of samplers currently available.
-
inline void clear()
Clear all allocated samplers.
-
using SamplerPtr = typename SamplerSelector<T>::SamplerPtr