ompl::base::CompoundState Class Reference

Definition of a compound state. More...

#include <State.h>

Inheritance diagram for ompl::base::CompoundState:
Inheritance graph
[legend]

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)
Stateoperator[] (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]

Definition at line 99 of file State.h.

virtual ompl::base::CompoundState::~CompoundState ( void   )  [inline, virtual]

Definition at line 103 of file State.h.


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ompl
Author(s): Ioan Sucan/isucan@rice.edu, Mark Moll/mmoll@rice.edu, Lydia Kavraki/kavraki@rice.edu
autogenerated on Fri Jan 11 09:33:58 2013