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

Public Member Functions | |
template<class T > | |
const T * | as (const unsigned int index) const |
Cast a component of this instance to a desired type. | |
template<class T > | |
T * | as (const unsigned int index) |
Cast a component of this instance to a desired type. | |
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. | |
Public Attributes | |
State ** | components |
The components that make up a compound state. |
Detailed Description
Member Function Documentation
template<class T >
const T* base::CompoundState::as | ( | const unsigned int | index | ) | const [inline] |
template<class T >
T* base::CompoundState::as | ( | const unsigned int | index | ) | [inline] |
The documentation for this class was generated from the following file:
- ompl/base/State.h