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 (unsigned int index) const
 Cast a component of this instance to a desired type. More...
 
template<class T >
T * as (unsigned int index)
 Cast a component of this instance to a desired type. More...
 
Controloperator[] (unsigned int index)
 Return the i-th control component.
 
- 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 148 of file Control.h.

Member Function Documentation

◆ as() [1/2]

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

◆ as() [2/2]

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


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