|
cisst-saw
|
#include <prmServoCartesian.h>
Public Member Functions | |
| prmServoCartesian (void) | |
| prmServoCartesian (const prmServoCartesian &other) | |
| prmServoCartesian & | operator= (const prmServoCartesian &other) |
| ~prmServoCartesian () | |
| void | GetTaskFrame (vctFrm3 &placeHolder) const |
| vctFrm3 | GetTaskFrame (void) const |
| void | SetTaskFrame (const vctFrm3 &newValue) |
| const vctFrm3 & | TaskFrame (void) const |
| vctFrm3 & | TaskFrame (void) |
| void | GetPosition (vctFrm3 &placeHolder) const |
| vctFrm3 | GetPosition (void) const |
| void | SetPosition (const vctFrm3 &newValue) |
| const vctFrm3 & | Position (void) const |
| vctFrm3 & | Position (void) |
| void | GetVelocity (vct6 &placeHolder) const |
| vct6 | GetVelocity (void) const |
| void | SetVelocity (const vct6 &newValue) |
| const vct6 & | Velocity (void) const |
| vct6 & | Velocity (void) |
| void | GetForce (vct6 &placeHolder) const |
| vct6 | GetForce (void) const |
| void | SetForce (const vct6 &newValue) |
| const vct6 & | Force (void) const |
| vct6 & | Force (void) |
| void | GetAxisMode (vctFixedSizeVector< prmSetpointMode, 6 > &placeHolder) const |
| vctFixedSizeVector< prmSetpointMode, 6 > | GetAxisMode (void) const |
| void | SetAxisMode (const vctFixedSizeVector< prmSetpointMode, 6 > &newValue) |
| const vctFixedSizeVector< prmSetpointMode, 6 > & | AxisMode (void) const |
| vctFixedSizeVector< prmSetpointMode, 6 > & | AxisMode (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 prmServoCartesian &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 | |
| vctFrm3 | mTaskFrame |
| vctFrm3 | mPosition |
| vct6 | mVelocity |
| vct6 | mForce |
| vctFixedSizeVector< prmSetpointMode, 6 > | mAxisMode |
| prmServoCartesian::prmServoCartesian | ( | void | ) |
| prmServoCartesian::prmServoCartesian | ( | const prmServoCartesian & | other | ) |
| prmServoCartesian::~prmServoCartesian | ( | ) |
| vctFixedSizeVector< prmSetpointMode, 6 > & prmServoCartesian::AxisMode | ( | void | ) |
| const vctFixedSizeVector< prmSetpointMode, 6 > & prmServoCartesian::AxisMode | ( | void | ) | const |
| void prmServoCartesian::Copy | ( | const prmServoCartesian & | source | ) |
|
overridevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
| vct6 & prmServoCartesian::Force | ( | void | ) |
| const vct6 & prmServoCartesian::Force | ( | void | ) | const |
| void prmServoCartesian::GetAxisMode | ( | vctFixedSizeVector< prmSetpointMode, 6 > & | placeHolder | ) | const |
|
inline |
| void prmServoCartesian::GetForce | ( | vct6 & | placeHolder | ) | const |
|
inline |
| void prmServoCartesian::GetPosition | ( | vctFrm3 & | placeHolder | ) | const |
|
inline |
| void prmServoCartesian::GetTaskFrame | ( | vctFrm3 & | placeHolder | ) | const |
|
inline |
| void prmServoCartesian::GetVelocity | ( | vct6 & | placeHolder | ) | const |
|
inline |
| prmServoCartesian & prmServoCartesian::operator= | ( | const prmServoCartesian & | other | ) |
| vctFrm3 & prmServoCartesian::Position | ( | void | ) |
| const vctFrm3 & prmServoCartesian::Position | ( | 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 prmServoCartesian::SetAxisMode | ( | const vctFixedSizeVector< prmSetpointMode, 6 > & | newValue | ) |
| void prmServoCartesian::SetForce | ( | const vct6 & | newValue | ) |
| void prmServoCartesian::SetPosition | ( | const vctFrm3 & | newValue | ) |
| void prmServoCartesian::SetTaskFrame | ( | const vctFrm3 & | newValue | ) |
| void prmServoCartesian::SetVelocity | ( | const vct6 & | newValue | ) |
| vctFrm3 & prmServoCartesian::TaskFrame | ( | void | ) |
| const vctFrm3 & prmServoCartesian::TaskFrame | ( | void | ) | 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.
|
overridevirtual |
Raw text output to stream
Reimplemented from mtsGenericObject.
| vct6 & prmServoCartesian::Velocity | ( | void | ) |
| const vct6 & prmServoCartesian::Velocity | ( | void | ) | const |
| void DeSerializeText(std::istream &inputStream, const char delimiter=',') CISST_THROW(std std::string prmServoCartesian::HumanReadable(void) const |
|
protected |
|
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 prmServoCartesian::SerializeDescription(const char delimiter=',', const std::string &userDescription="") const |