cisst-saw
Loading...
Searching...
No Matches
mtsComponentPointer Class Reference

#include <mtsManagerComponentServices.h>

Inheritance diagram for mtsComponentPointer:
mtsGenericObject cmnGenericObject

Public Member Functions

 mtsComponentPointer ()
 mtsComponentPointer (mtsComponent *cptr)
 ~mtsComponentPointer ()
void SetPointer (mtsComponent *cptr)
mtsComponentGetPointer () const
void ToStream (std::ostream &outputStream) const override
void SerializeRaw (std::ostream &outputStream) const override
void DeSerializeRaw (std::istream &inputStream) override
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 ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const
virtual bool FromStreamRaw (std::istream &inputStream, const char delimiter=' ')
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

Constructor & Destructor Documentation

◆ mtsComponentPointer() [1/2]

mtsComponentPointer::mtsComponentPointer ( )
inline

◆ mtsComponentPointer() [2/2]

mtsComponentPointer::mtsComponentPointer ( mtsComponent * cptr)
inline

◆ ~mtsComponentPointer()

mtsComponentPointer::~mtsComponentPointer ( )
inline

Member Function Documentation

◆ DeSerializeRaw()

void mtsComponentPointer::DeSerializeRaw ( std::istream & inputStream)
overridevirtual

Binary deserialization

Reimplemented from mtsGenericObject.

◆ GetPointer()

mtsComponent * mtsComponentPointer::GetPointer ( ) const
inline

◆ SerializeRaw()

void mtsComponentPointer::SerializeRaw ( std::ostream & outputStream) const
overridevirtual

Binary serialization

Reimplemented from mtsGenericObject.

◆ SetPointer()

void mtsComponentPointer::SetPointer ( mtsComponent * cptr)
inline

◆ ToStream()

void mtsComponentPointer::ToStream ( std::ostream & outputStream) const
overridevirtual

Human readable text output. This method only streams the data members of mtsGenericObject, i.e. the Timestamp and Valid flag. It should be called by any derived class re-implementing ToStream.

Reimplemented from mtsGenericObject.


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