|
cisst-saw
|
#include <prmActuatorState.h>
Public Types | |
| typedef prmActuatorState | ThisType |
| typedef mtsGenericObject | BaseType |
| typedef unsigned int | size_type |
Public Member Functions | |
| prmActuatorState () | |
| prmActuatorState (size_type size) | |
| void | SetSize (size_type size) |
| virtual | ~prmActuatorState () |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (mtsDoubleVec, Position) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (mtsDoubleVec, Velocity) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, InMotion) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, MotorOff) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, SoftFwdLimitHit) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, SoftRevLimitHit) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, HardFwdLimitHit) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, HardRevLimitHit) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, HomeSwitchOn) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, IsHomed) | |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (bool, EStopON) | |
| 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) |
| mtsGenericObject & | operator= (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 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 |
A container for Controlloer's Actuator states Position, Velocity, etc. for each actuator
| typedef unsigned int prmActuatorState::size_type |
|
inline |
default constructor - does nothing for now
| prmActuatorState::prmActuatorState | ( | size_type | size | ) |
|
inlinevirtual |
constructor with all possible parameters */ inline prmActuatorState(const prmPosition & position, const mtsStateIndex & stateIndex): PositionMember(position), StateIndexMember(stateIndex) {}
/*! destructor
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | bool | , |
| EStopON | ) |
Set and Get methods for the state of the estop button.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | mtsDoubleVec | , |
| Position | ) |
Set and Get methods for the the position.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | mtsDoubleVec | , |
| Velocity | ) |
Set and Get methods for the the Velocity.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | vctBoolVec | , |
| HardFwdLimitHit | ) |
Set and Get methods for the forward HARDWARE limits hit.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | vctBoolVec | , |
| HardRevLimitHit | ) |
Set and Get methods for the reverse HARDWARE Limit.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | vctBoolVec | , |
| HomeSwitchOn | ) |
Set and Get methods for the HomeSwitch .
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | vctBoolVec | , |
| InMotion | ) |
Set and Get methods for the the position.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | vctBoolVec | , |
| IsHomed | ) |
Set and Get methods for state of homing variable on the controller.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | vctBoolVec | , |
| MotorOff | ) |
Set and Get methods for the the position.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | vctBoolVec | , |
| SoftFwdLimitHit | ) |
Set and Get methods for the forward SOFTWARE limits hit.
| prmActuatorState::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | vctBoolVec | , |
| SoftRevLimitHit | ) |
Set and Get methods for the reverse SOFTWARE Limit.
|
overridevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
|
overridevirtual |
Binary serialization
Reimplemented from mtsGenericObject.
| void prmActuatorState::SetSize | ( | size_type | size | ) |
|
overridevirtual |
Human readable output to stream.
Reimplemented from mtsGenericObject.