ompl::control::CompoundControl Class Reference

Definition of a compound control. More...

#include <ompl/control/Control.h>

Inheritance diagram for ompl::control::CompoundControl:

Public Member Functions

template<class T >
const T * as (const 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...
 
- Public Member Functions inherited from ompl::control::Control
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

Control ** components
 The components that make up a compound control.
 

Detailed Description

Definition of a compound control.

Definition at line 84 of file Control.h.

Member Function Documentation

◆ as() [1/2]

template<class T >
const T* ompl::control::CompoundControl::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 93 of file Control.h.

◆ as() [2/2]

template<class T >
T* ompl::control::CompoundControl::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 103 of file Control.h.


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