ompl::base::State Class Reference

Definition of an abstract state. More...

#include <ompl/base/State.h>

Inheritance diagram for ompl::base::State:

Public Member Functions

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...
 

Detailed Description

Definition of an abstract state.

See Allocating memory for states and Working with states.

Definition at line 113 of file State.h.

Member Function Documentation

◆ as() [1/2]

template<class T >
T* ompl::base::State::as ( )
inline

Cast this instance to a desired type.

Make sure the type we are allocating is indeed a state

Definition at line 172 of file State.h.

◆ as() [2/2]

template<class T >
const T* ompl::base::State::as ( ) const
inline

Cast this instance to a desired type.

Make sure the type we are allocating is indeed a state

Definition at line 162 of file State.h.


The documentation for this class was generated from the following file: