#include <JointPositionVariant.h>
Inherits openjaus::model::fields::Variant.
◆ TypeEnum
Enumerator |
---|
JOINTPOSITIONOPTION0 | |
JOINTPOSITIONOPTION1 | |
◆ JointPositionVariant()
openjaus::manipulator_v1_0::JointPositionVariant::JointPositionVariant |
( |
| ) |
|
◆ ~JointPositionVariant()
openjaus::manipulator_v1_0::JointPositionVariant::~JointPositionVariant |
( |
| ) |
|
◆ copy()
◆ from()
Deserializes the contents the Buffer connected to the provided BufferReader into this object. The BufferReader position will be advanced inside this method such that calling from() again will attempt to read the next Transportable object from the Buffer.
- Parameters
-
Reimplemented from openjaus::model::fields::Variant.
◆ getJointPositionOption0_rad()
double openjaus::manipulator_v1_0::JointPositionVariant::getJointPositionOption0_rad |
( |
void |
| ) |
|
◆ getJointPositionOption1_m()
double openjaus::manipulator_v1_0::JointPositionVariant::getJointPositionOption1_m |
( |
void |
| ) |
|
◆ getType()
◆ length()
uint64 openjaus::manipulator_v1_0::JointPositionVariant::length |
( |
void |
| ) |
const |
|
virtual |
◆ setJointPositionOption0_rad()
bool openjaus::manipulator_v1_0::JointPositionVariant::setJointPositionOption0_rad |
( |
double |
value | ) |
|
◆ setJointPositionOption1_m()
bool openjaus::manipulator_v1_0::JointPositionVariant::setJointPositionOption1_m |
( |
double |
value | ) |
|
◆ setType()
◆ to()
Serializes the contents of this object into the Buffer connected to the provided BufferWriter. The BufferWriter position will be advanced inside this method such that calling to() again will write the Transportable object into the Buffer a second time.
- Parameters
-
Reimplemented from openjaus::model::fields::Variant.
◆ toXml()
std::string openjaus::manipulator_v1_0::JointPositionVariant::toXml |
( |
unsigned char |
ojIndentLevel = 0 | ) |
const |
◆ typeToString()
std::string openjaus::manipulator_v1_0::JointPositionVariant::typeToString |
( |
void |
| ) |
|
◆ jointPositionOption0_rad
◆ jointPositionOption1_m
◆ type
TypeEnum openjaus::manipulator_v1_0::JointPositionVariant::type |
|
private |
The documentation for this class was generated from the following files: