ERC CISST - cisst software

mtsHistory< _elementType > Class Template Reference

Inheritance diagram for mtsHistory< _elementType >:

Inheritance graph
[legend]
Collaboration diagram for mtsHistory< _elementType >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class _elementType>
class mtsHistory< _elementType >

Definition at line 55 of file mtsHistory.h.

Public Types

Public Member Functions


Member Typedef Documentation

template<class _elementType>
typedef _elementType mtsHistory< _elementType >::value_type

Type of elements.

Definition at line 62 of file mtsHistory.h.

template<class _elementType>
typedef mtsHistory<value_type> mtsHistory< _elementType >::ThisType

This type.

Reimplemented from vctDynamicVector< _elementType >.

Definition at line 65 of file mtsHistory.h.

template<class _elementType>
typedef vctDynamicVector<value_type> mtsHistory< _elementType >::VectorType

Type of vector used to store the elements.

Definition at line 68 of file mtsHistory.h.

template<class _elementType>
typedef VectorType::size_type mtsHistory< _elementType >::size_type

Type used to define the size of the vector.

Definition at line 71 of file mtsHistory.h.


Constructor & Destructor Documentation

template<class _elementType>
mtsHistory< _elementType >::mtsHistory ( void   )  [inline]

Default constructor.

Definition at line 74 of file mtsHistory.h.

template<class _elementType>
mtsHistory< _elementType >::mtsHistory ( size_type  size  )  [inline]

Constructor with memory allocation for a given size.

Definition at line 77 of file mtsHistory.h.

template<class _elementType>
mtsHistory< _elementType >::mtsHistory ( const ThisType otherVector  )  [inline]

Copy constructor.

Definition at line 93 of file mtsHistory.h.

template<class _elementType>
mtsHistory< _elementType >::~mtsHistory (  )  [inline]

Default destructor, will call the destructor of the contained vector and free the memory.

Definition at line 100 of file mtsHistory.h.


Member Function Documentation

template<class _elementType>
void mtsHistory< _elementType >::SetHistorySize ( const int  historySize  )  [inline, virtual]

Set the size of history buffer

Implements mtsHistoryBase.

Definition at line 80 of file mtsHistory.h.

References vctDynamicVector< _elementType >::SetSize().

template<class _elementType>
ThisType& mtsHistory< _elementType >::operator= ( const VectorType data  )  [inline]

Assignment from vector base class. This operator assign the data from one vector to another, it doesn't replace the object itself, i.e. it doesn't release and allocate any new memory.

Definition at line 87 of file mtsHistory.h.

References vctDynamicVectorBase< vctDynamicVectorOwner< _elementType >, _elementType >::Assign().

template<class _elementType>
virtual std::string mtsHistory< _elementType >::ToString ( void   )  const [inline, virtual]

To stream human readable output

Reimplemented from cmnGenericObject.

Definition at line 103 of file mtsHistory.h.

References vctDynamicConstVectorBase< vctDynamicVectorOwner< _elementType >, _elementType >::ToStream().

template<class _elementType>
virtual void mtsHistory< _elementType >::ToStream ( std::ostream &  outputStream  )  const [inline, virtual]

To stream human readable output

Reimplemented from mtsGenericObject.

Definition at line 110 of file mtsHistory.h.

References vctDynamicConstVectorBase< vctDynamicVectorOwner< _elementType >, _elementType >::ToStream().

template<class _elementType>
virtual void mtsHistory< _elementType >::ToStreamRaw ( std::ostream &  outputStream,
const char  delimiter = ' ',
bool  headerOnly = false,
const std::string &  headerPrefix = "" 
) const [inline, virtual]

To stream human readable output raw

Reimplemented from mtsGenericObject.

Definition at line 115 of file mtsHistory.h.

References vctDynamicConstVectorBase< vctDynamicVectorOwner< _elementType >, _elementType >::ToStreamRaw(), and mtsGenericObject::ToStreamRaw().


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