|
cisst-saw
|
#include <prmServoJoint.h>
Public Member Functions | |
| prmServoJoint (void) | |
| prmServoJoint (const prmServoJoint &other) | |
| prmServoJoint & | operator= (const prmServoJoint &other) |
| ~prmServoJoint () | |
| void | GetName (std::vector< std::string > &placeHolder) const |
| std::vector< std::string > | GetName (void) const |
| void | SetName (const std::vector< std::string > &newValue) |
| const std::vector< std::string > & | Name (void) const |
| std::vector< std::string > & | Name (void) |
| void | GetMode (std::vector< prmSetpointMode > &placeHolder) const |
| std::vector< prmSetpointMode > | GetMode (void) const |
| void | SetMode (const std::vector< prmSetpointMode > &newValue) |
| const std::vector< prmSetpointMode > & | Mode (void) const |
| std::vector< prmSetpointMode > & | Mode (void) |
| void | GetPosition (vctDoubleVec &placeHolder) const |
| vctDoubleVec | GetPosition (void) const |
| void | SetPosition (const vctDoubleVec &newValue) |
| const vctDoubleVec & | Position (void) const |
| vctDoubleVec & | Position (void) |
| void | GetVelocity (vctDoubleVec &placeHolder) const |
| vctDoubleVec | GetVelocity (void) const |
| void | SetVelocity (const vctDoubleVec &newValue) |
| const vctDoubleVec & | Velocity (void) const |
| vctDoubleVec & | Velocity (void) |
| void | GetEffort (vctDoubleVec &placeHolder) const |
| vctDoubleVec | GetEffort (void) const |
| void | SetEffort (const vctDoubleVec &newValue) |
| const vctDoubleVec & | Effort (void) const |
| vctDoubleVec & | Effort (void) |
| void | GetPositionProjection (vctDoubleMat &placeHolder) const |
| vctDoubleMat | GetPositionProjection (void) const |
| void | SetPositionProjection (const vctDoubleMat &newValue) |
| const vctDoubleMat & | PositionProjection (void) const |
| vctDoubleMat & | PositionProjection (void) |
| void | SetSize (const size_t &size) |
| 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 prmServoJoint &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::vector< std::string > | mName |
| std::vector< prmSetpointMode > | mMode |
| vctDoubleVec | mPosition |
| vctDoubleVec | mVelocity |
| vctDoubleVec | mEffort |
| vctDoubleMat | mPositionProjection |
| prmServoJoint::prmServoJoint | ( | void | ) |
| prmServoJoint::prmServoJoint | ( | const prmServoJoint & | other | ) |
| prmServoJoint::~prmServoJoint | ( | ) |
| void prmServoJoint::Copy | ( | const prmServoJoint & | source | ) |
|
overridevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
| vctDoubleVec & prmServoJoint::Effort | ( | void | ) |
| const vctDoubleVec & prmServoJoint::Effort | ( | void | ) | const |
| void prmServoJoint::GetEffort | ( | vctDoubleVec & | placeHolder | ) | const |
|
inline |
| void prmServoJoint::GetMode | ( | std::vector< prmSetpointMode > & | placeHolder | ) | const |
|
inline |
| void prmServoJoint::GetName | ( | std::vector< std::string > & | placeHolder | ) | const |
|
inline |
| void prmServoJoint::GetPosition | ( | vctDoubleVec & | placeHolder | ) | const |
|
inline |
| void prmServoJoint::GetPositionProjection | ( | vctDoubleMat & | placeHolder | ) | const |
|
inline |
| void prmServoJoint::GetVelocity | ( | vctDoubleVec & | placeHolder | ) | const |
|
inline |
| std::vector< prmSetpointMode > & prmServoJoint::Mode | ( | void | ) |
| const std::vector< prmSetpointMode > & prmServoJoint::Mode | ( | void | ) | const |
| std::vector< std::string > & prmServoJoint::Name | ( | void | ) |
| const std::vector< std::string > & prmServoJoint::Name | ( | void | ) | const |
| prmServoJoint & prmServoJoint::operator= | ( | const prmServoJoint & | other | ) |
| vctDoubleVec & prmServoJoint::Position | ( | void | ) |
| const vctDoubleVec & prmServoJoint::Position | ( | void | ) | const |
| vctDoubleMat & prmServoJoint::PositionProjection | ( | void | ) |
| const vctDoubleMat & prmServoJoint::PositionProjection | ( | 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 prmServoJoint::SetEffort | ( | const vctDoubleVec & | newValue | ) |
| void prmServoJoint::SetMode | ( | const std::vector< prmSetpointMode > & | newValue | ) |
| void prmServoJoint::SetName | ( | const std::vector< std::string > & | newValue | ) |
| void prmServoJoint::SetPosition | ( | const vctDoubleVec & | newValue | ) |
| void prmServoJoint::SetPositionProjection | ( | const vctDoubleMat & | newValue | ) |
|
inline |
| void prmServoJoint::SetVelocity | ( | const vctDoubleVec & | 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.
| vctDoubleVec & prmServoJoint::Velocity | ( | void | ) |
| const vctDoubleVec & prmServoJoint::Velocity | ( | void | ) | const |
| void DeSerializeText(std::istream &inputStream, const char delimiter=',') CISST_THROW(std std::string prmServoJoint::HumanReadable(void) const |
|
protected |
|
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 prmServoJoint::SerializeDescription(const char delimiter=',', const std::string &userDescription="") const |