|
cisst-saw
|
#include <mtsHistory.h>
Public Types | |
| typedef _elementType | value_type |
| typedef mtsHistory< value_type > | ThisType |
| typedef vctDynamicVector< value_type > | VectorType |
| typedef VectorType::size_type | size_type |
Public Member Functions | |
| mtsHistory (void) | |
| mtsHistory (size_type size) | |
| void | SetHistorySize (const int historySize) |
| ThisType & | operator= (const VectorType &data) |
| mtsHistory (const ThisType &otherVector) | |
| ~mtsHistory () | |
| virtual std::string | ToString (void) const |
| virtual void | ToStream (std::ostream &outputStream) const |
| virtual void | ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const |
| Public Member Functions inherited from mtsHistoryBase | |
| mtsHistoryBase () | |
| mtsHistoryBase (const mtsHistoryBase &other) | |
| virtual | ~mtsHistoryBase () |
| Public Member Functions inherited from mtsGenericObject | |
| mtsGenericObject (void) | |
| mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) | |
| mtsGenericObject (const mtsGenericObject &other) | |
| virtual | ~mtsGenericObject (void) |
| mtsGenericObject & | operator= (const mtsGenericObject &other) |
| bool | SetTimestampIfAutomatic (double timestamp) |
| virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter=' ') |
| virtual void | SerializeRaw (std::ostream &outputStream) const |
| virtual void | DeSerializeRaw (std::istream &inputStream) |
| size_t | ScalarNumber (void) const |
| bool | ScalarNumberIsFixed (void) const |
| Public Member Functions inherited from cmnGenericObject | |
| virtual | ~cmnGenericObject (void) |
| virtual const cmnClassServicesBase * | Services (void) const =0 |
| bool | ReconstructFrom (const cmnGenericObject &other) |
| std::string | ToString (void) const |
| virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
| virtual double | Scalar (const size_t CMN_UNUSED(index)) const CISST_THROW(std |
| virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
| typedef VectorType::size_type mtsHistory< _elementType >::size_type |
Type used to define the size of the vector.
| typedef mtsHistory<value_type> mtsHistory< _elementType >::ThisType |
This type.
| typedef _elementType mtsHistory< _elementType >::value_type |
Type of elements.
| typedef vctDynamicVector<value_type> mtsHistory< _elementType >::VectorType |
Type of vector used to store the elements.
|
inline |
Default constructor.
|
inline |
Constructor with memory allocation for a given size.
|
inline |
Copy constructor.
|
inline |
Default destructor, will call the destructor of the contained vector and free the memory.
|
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.
|
inlinevirtual |
Set the size of history buffer
Implements mtsHistoryBase.
|
inlinevirtual |
To stream human readable output
Reimplemented from mtsGenericObject.
|
inlinevirtual |
To stream human readable output raw
Reimplemented from mtsGenericObject.
|
inlinevirtual |
To stream human readable output