ompl::base::CompoundState Class Reference
Definition of a compound state.
More...
#include <State.h>
List of all members.
Public Member Functions |
| template<class T > |
| T * | as (const unsigned int index) |
| | Cast a component of this instance to a desired type.
|
| template<class T > |
| const T * | as (const unsigned int index) const |
| | Cast a component of this instance to a desired type.
|
| | CompoundState (void) |
| State * | operator[] (unsigned int i) const |
| | Access element ith component. This does not check whether the index is within bounds.
|
| virtual | ~CompoundState (void) |
Public Attributes |
| State ** | components |
| | The components that make up a compound state.
|
Detailed Description
Definition of a compound state.
Definition at line 95 of file State.h.
Constructor & Destructor Documentation
| ompl::base::CompoundState::CompoundState |
( |
void |
|
) |
[inline] |
| virtual ompl::base::CompoundState::~CompoundState |
( |
void |
|
) |
[inline, virtual] |
Member Function Documentation
template<class T >
| T* ompl::base::CompoundState::as |
( |
const unsigned int |
index |
) |
[inline] |
Cast a component of this instance to a desired type.
Make sure the type we are allocating is indeed a state
Definition at line 119 of file State.h.
template<class T >
| const T* ompl::base::CompoundState::as |
( |
const unsigned int |
index |
) |
const [inline] |
Cast a component of this instance to a desired type.
Make sure the type we are allocating is indeed a state
Definition at line 109 of file State.h.
| State* ompl::base::CompoundState::operator[] |
( |
unsigned int |
i |
) |
const [inline] |
Access element ith component. This does not check whether the index is within bounds.
Definition at line 129 of file State.h.
Member Data Documentation
The components that make up a compound state.
Definition at line 135 of file State.h.
The documentation for this class was generated from the following file: