ompl::base::CompoundState Class Reference
Definition of a compound state. More...
#include <ompl/base/State.h>
Inheritance diagram for ompl::base::CompoundState:

Public Member Functions | |
template<class T > | |
const T * | as (unsigned int index) const |
Cast a component of this instance to a desired type. More... | |
template<class T > | |
T * | as (const unsigned int index) |
Cast a component of this instance to a desired type. More... | |
const State * | operator[] (unsigned int i) const |
Access const element ith component. This does not check whether the index is within bounds. | |
State * | operator[] (unsigned int i) |
Access element ith component. This does not check whether the index is within bounds. | |
![]() | |
template<class T > | |
const T * | as () const |
Cast this instance to a desired type. More... | |
template<class T > | |
T * | as () |
Cast this instance to a desired type. More... | |
Public Attributes | |
State ** | components {nullptr} |
The components that make up a compound state. | |
Detailed Description
Member Function Documentation
◆ as() [1/2]
template<class T >
|
inline |
◆ as() [2/2]
template<class T >
|
inline |
The documentation for this class was generated from the following file:
- ompl/base/State.h