|
cisst-saw
|
#include <prmBaseFrame.h>
Public Member Functions | |
| prmBaseFrame (void) | |
| prmBaseFrame (const prmBaseFrame &other) | |
| prmBaseFrame & | operator= (const prmBaseFrame &other) |
| ~prmBaseFrame () | |
| void | Getreference_frame (std::string &placeHolder) const |
| std::string | Getreference_frame (void) const |
| void | Setreference_frame (const std::string &newValue) |
| const std::string & | reference_frame (void) const |
| std::string & | reference_frame (void) |
| void | Gettransform (vctFrm4x4 &placeHolder) const |
| vctFrm4x4 | Gettransform (void) const |
| void | Settransform (const vctFrm4x4 &newValue) |
| const vctFrm4x4 & | transform (void) const |
| vctFrm4x4 & | transform (void) |
| void | Getcomponent (std::string &placeHolder) const |
| std::string | Getcomponent (void) const |
| void | Setcomponent (const std::string &newValue) |
| const std::string & | component (void) const |
| std::string & | component (void) |
| void | Getinterface (std::string &placeHolder) const |
| std::string | Getinterface (void) const |
| void | Setinterface (const std::string &newValue) |
| const std::string & | interface (void) const |
| std::string & | interface (void) |
| bool | ValidDefinition (void) const |
| bool | Fixed (void) const |
| bool | Dynamic (void) const |
| void | ApplyTo (const prmStateCartesian &local, prmStateCartesian &withBase) const |
| void | SerializeRaw (std::ostream &outputStream) const override |
| void | DeSerializeRaw (std::istream &inputStream) override |
| void | ToStream (std::ostream &outputStream) const override |
| void | ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const override |
| void | Copy (const prmBaseFrame &source) |
| bool | ScalarNumberIsFixed (void) const override |
| size_t | ScalarNumber (void) const override |
| 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=' ') |
| 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 |
Public Attributes | |
| void SerializeBinary(std::ostream &outputStream) const CISST_THROW(std void DeSerializeBinary(std::istream &inputStream, const cmnDataFormat &localFormat, const cmnDataFormat &remoteFormat) CISST_THROW(std void SerializeText(std::ostream &outputStream, const char delimiter=',') const CISST_THROW(std std::string | SerializeDescription (const char delimiter=',', const std::string &userDescription="") const |
| void DeSerializeText(std::istream &inputStream, const char delimiter=',') CISST_THROW(std std::string | HumanReadable (void) const |
Protected Attributes | |
| std::string | mreference_frame |
| vctFrm4x4 | mtransform |
| std::string | mcomponent |
| std::string | minterface |
| prmBaseFrame::prmBaseFrame | ( | void | ) |
| prmBaseFrame::prmBaseFrame | ( | const prmBaseFrame & | other | ) |
| prmBaseFrame::~prmBaseFrame | ( | ) |
|
inline |
| std::string & prmBaseFrame::component | ( | void | ) |
| const std::string & prmBaseFrame::component | ( | void | ) | const |
| void prmBaseFrame::Copy | ( | const prmBaseFrame & | source | ) |
|
overridevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
|
inline |
|
inline |
| void prmBaseFrame::Getcomponent | ( | std::string & | placeHolder | ) | const |
|
inline |
| void prmBaseFrame::Getinterface | ( | std::string & | placeHolder | ) | const |
|
inline |
| void prmBaseFrame::Getreference_frame | ( | std::string & | placeHolder | ) | const |
|
inline |
| void prmBaseFrame::Gettransform | ( | vctFrm4x4 & | placeHolder | ) | const |
|
inline |
| std::string & prmBaseFrame::interface | ( | void | ) |
| const std::string & prmBaseFrame::interface | ( | void | ) | const |
| prmBaseFrame & prmBaseFrame::operator= | ( | const prmBaseFrame & | other | ) |
| std::string & prmBaseFrame::reference_frame | ( | void | ) |
| const std::string & prmBaseFrame::reference_frame | ( | void | ) | const |
|
overridevirtual |
Methods for data visualization. Derived classes should override the following methods in order to be properly processed by the data visualizer of the global component manager.
Return a number of data (which can be visualized, i.e., type-casted to double)
Reimplemented from mtsGenericObject.
|
overridevirtual |
Indicates if this object has a fixed number of scalars. This is used for arrays of object in order to optimize random access for a given scalar. When defining an object with a fixed number of scalars, overloading this method to return true allows some optimizations.
Reimplemented from mtsGenericObject.
|
overridevirtual |
Binary serialization
Reimplemented from mtsGenericObject.
| void prmBaseFrame::Setcomponent | ( | const std::string & | newValue | ) |
| void prmBaseFrame::Setinterface | ( | const std::string & | newValue | ) |
| void prmBaseFrame::Setreference_frame | ( | const std::string & | newValue | ) |
| void prmBaseFrame::Settransform | ( | const vctFrm4x4 & | newValue | ) |
|
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.
|
overridevirtual |
Raw text output to stream
Reimplemented from mtsGenericObject.
| vctFrm4x4 & prmBaseFrame::transform | ( | void | ) |
| const vctFrm4x4 & prmBaseFrame::transform | ( | void | ) | const |
|
inline |
| void DeSerializeText(std::istream &inputStream, const char delimiter=',') CISST_THROW(std std::string prmBaseFrame::HumanReadable(void) const |
|
protected |
|
protected |
|
protected |
|
protected |
| void SerializeBinary(std::ostream &outputStream) const CISST_THROW(std void DeSerializeBinary(std::istream &inputStream, const cmnDataFormat &localFormat, const cmnDataFormat &remoteFormat) CISST_THROW(std void SerializeText(std::ostream &outputStream, const char delimiter=',') const CISST_THROW(std std::string prmBaseFrame::SerializeDescription(const char delimiter=',', const std::string &userDescription="") const |