|
cisst-saw
|
#include <prmInputData.h>
Public Member Functions | |
| prmInputData (void) | |
| prmInputData (const prmInputData &other) | |
| prmInputData & | operator= (const prmInputData &other) |
| ~prmInputData () | |
| void | GetAnalogInputs (vctDoubleVec &placeHolder) const |
| vctDoubleVec | GetAnalogInputs (void) const |
| void | SetAnalogInputs (const vctDoubleVec &newValue) |
| const vctDoubleVec & | AnalogInputs (void) const |
| vctDoubleVec & | AnalogInputs (void) |
| void | GetDigitalInputs (vctBoolVec &placeHolder) const |
| vctBoolVec | GetDigitalInputs (void) const |
| void | SetDigitalInputs (const vctBoolVec &newValue) |
| const vctBoolVec & | DigitalInputs (void) const |
| vctBoolVec & | DigitalInputs (void) |
| 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 prmInputData &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 | |
| vctDoubleVec | mAnalogInputs |
| vctBoolVec | mDigitalInputs |
| prmInputData::prmInputData | ( | void | ) |
| prmInputData::prmInputData | ( | const prmInputData & | other | ) |
| prmInputData::~prmInputData | ( | ) |
| vctDoubleVec & prmInputData::AnalogInputs | ( | void | ) |
| const vctDoubleVec & prmInputData::AnalogInputs | ( | void | ) | const |
| void prmInputData::Copy | ( | const prmInputData & | source | ) |
|
overridevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
| vctBoolVec & prmInputData::DigitalInputs | ( | void | ) |
| const vctBoolVec & prmInputData::DigitalInputs | ( | void | ) | const |
| void prmInputData::GetAnalogInputs | ( | vctDoubleVec & | placeHolder | ) | const |
|
inline |
| void prmInputData::GetDigitalInputs | ( | vctBoolVec & | placeHolder | ) | const |
|
inline |
| prmInputData & prmInputData::operator= | ( | const prmInputData & | other | ) |
|
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 prmInputData::SetAnalogInputs | ( | const vctDoubleVec & | newValue | ) |
| void prmInputData::SetDigitalInputs | ( | const vctBoolVec & | 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.
| void DeSerializeText(std::istream &inputStream, const char delimiter=',') CISST_THROW(std std::string prmInputData::HumanReadable(void) const |
|
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 prmInputData::SerializeDescription(const char delimiter=',', const std::string &userDescription="") const |