cisst-saw
Loading...
Searching...
No Matches
mtsHistoryBase Class Referenceabstract

#include <mtsHistory.h>

Inheritance diagram for mtsHistoryBase:
mtsGenericObject cmnGenericObject mtsHistory< value_type > mtsHistory< mtsDouble > mtsHistory< mtsDoubleVec > mtsHistory< _elementType >

Public Member Functions

 mtsHistoryBase ()
 mtsHistoryBase (const mtsHistoryBase &other)
virtual ~mtsHistoryBase ()
virtual void SetHistorySize (const int historySize)=0
Public Member Functions inherited from mtsGenericObject
 mtsGenericObject (void)
 mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid)
 mtsGenericObject (const mtsGenericObject &other)
virtual ~mtsGenericObject (void)
mtsGenericObjectoperator= (const mtsGenericObject &other)
bool SetTimestampIfAutomatic (double timestamp)
virtual void ToStream (std::ostream &outputStream) const
virtual void ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const
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 cmnClassServicesBaseServices (void) const =0
bool ReconstructFrom (const cmnGenericObject &other)
std::string ToString (void) const
virtual cmnLogger::StreamBufTypeGetLogMultiplexer (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

Friends

class mtsHistoryBaseTest

Constructor & Destructor Documentation

◆ mtsHistoryBase() [1/2]

mtsHistoryBase::mtsHistoryBase ( )
inline

◆ mtsHistoryBase() [2/2]

mtsHistoryBase::mtsHistoryBase ( const mtsHistoryBase & other)
inline

◆ ~mtsHistoryBase()

virtual mtsHistoryBase::~mtsHistoryBase ( )
inlinevirtual

Member Function Documentation

◆ SetHistorySize()

virtual void mtsHistoryBase::SetHistorySize ( const int historySize)
pure virtual

In the derived class, vctDynamicVector::SetSize() should be called.

Implemented in mtsHistory< _elementType >, mtsHistory< mtsDouble >, mtsHistory< mtsDoubleVec >, and mtsHistory< value_type >.

◆ mtsHistoryBaseTest

friend class mtsHistoryBaseTest
friend

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