Loading...
Searching...
No Matches
ompl::base::WrapperStateSpace::StateType Class Reference

Wrapper state type. Contains a reference to an underlying state. More...

#include <ompl/base/spaces/WrapperStateSpace.h>

Inheritance diagram for ompl::base::WrapperStateSpace::StateType:

Public Member Functions

 StateType (State *state)
 Constructor. Takes a reference state to the underlying state.
 
const StategetState () const
 Get a const pointer to the underlying state.
 
StategetState ()
 Get a pointer to the underlying state.
 
- Public Member Functions inherited from ompl::base::State
template<class T >
const T * as () const
 Cast this instance to a desired type.
 
template<class T >
T * as ()
 Cast this instance to a desired type.
 

Protected Attributes

Statestate_
 Underlying state.
 

Detailed Description

Wrapper state type. Contains a reference to an underlying state.

Definition at line 103 of file WrapperStateSpace.h.

Constructor & Destructor Documentation

◆ StateType()

ompl::base::WrapperStateSpace::StateType::StateType ( State state)
inline

Constructor. Takes a reference state to the underlying state.

Definition at line 107 of file WrapperStateSpace.h.

Member Function Documentation

◆ getState() [1/2]

State * ompl::base::WrapperStateSpace::StateType::getState ( )
inline

Get a pointer to the underlying state.

Definition at line 118 of file WrapperStateSpace.h.

◆ getState() [2/2]

const State * ompl::base::WrapperStateSpace::StateType::getState ( ) const
inline

Get a const pointer to the underlying state.

Definition at line 112 of file WrapperStateSpace.h.

Member Data Documentation

◆ state_

State* ompl::base::WrapperStateSpace::StateType::state_
protected

Underlying state.

Definition at line 125 of file WrapperStateSpace.h.


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