ERC CISST - cisst software

mtsStateArrayBase Class Reference
[Multi Task Support]

#include <mtsStateArrayBase.h>

Inheritance diagram for mtsStateArrayBase:

Inheritance graph
[legend]
Collaboration diagram for mtsStateArrayBase:

Collaboration graph
[legend]
List of all members.

Detailed Description

Abstract base class for state data arrays. This class is mostly pure virtual and is used as a base class for mtsStateArray which is templated. Using a base class allows to keep all the state arrays in an homogenous container of pointers on different types of state arrays.

See also:
mtsStateArray

Definition at line 43 of file mtsStateArrayBase.h.

Public Types

Public Member Functions

Protected Member Functions

Protected Attributes


Constructor & Destructor Documentation

mtsStateArrayBase::mtsStateArrayBase ( void   )  [inline, protected]

Protected constructor. Does nothing.

Definition at line 46 of file mtsStateArrayBase.h.

virtual mtsStateArrayBase::~mtsStateArrayBase ( void   )  [inline, virtual]

Default destructor. Does nothing.

Definition at line 56 of file mtsStateArrayBase.h.


Member Function Documentation

virtual mtsGenericObject& mtsStateArrayBase::operator[] ( index_type  index  )  [pure virtual]

Overloaded subscript operator.

Implemented in mtsStateArray< _elementType >, and mtsStateArray< mtsGenericObjectProxyFinalType >.

virtual const mtsGenericObject& mtsStateArrayBase::operator[] ( index_type  index  )  const [pure virtual]

Overloaded subscript operator.

Implemented in mtsStateArray< _elementType >, and mtsStateArray< mtsGenericObjectProxyFinalType >.

virtual mtsStateArrayBase* mtsStateArrayBase::Create ( const mtsGenericObject objectExample,
size_type  size 
) [pure virtual]

Create the array of data. This is currently unused.

virtual void mtsStateArrayBase::Copy ( index_type  indexTo,
index_type  indexFrom 
) [pure virtual]

Copy data from one index to another.

virtual bool mtsStateArrayBase::Get ( index_type  index,
mtsGenericObject data 
) const [pure virtual]

Get data from array.

virtual bool mtsStateArrayBase::Set ( index_type  index,
const mtsGenericObject data 
) [pure virtual]

Set data in array.


Member Data Documentation

const cmnClassServicesBase* mtsStateArrayBase::DataClassServices [protected]

Class services associated to the element contained

Definition at line 46 of file mtsStateArrayBase.h.

Referenced by mtsStateArray< mtsGenericObjectProxyFinalType >::Create().


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu