OpenJAUS Software Development Kit
4.3.1
|
#include <JointPositionVariant.h>
Inherits openjaus::model::fields::Variant.
Public Types | |
enum | TypeEnum { JOINTPOSITIONOPTION0 = 1, JOINTPOSITIONOPTION1 = 2 } |
Public Member Functions | |
JointPositionVariant () | |
~JointPositionVariant () | |
JointPositionVariant::TypeEnum | getType (void) |
void | setType (JointPositionVariant::TypeEnum type) |
void | copy (JointPositionVariant &source) |
virtual int | to (system::Buffer *dst) |
Operation to. More... | |
virtual int | from (system::Buffer *src) |
Operation from. More... | |
virtual int | length (void) |
Serializes object to internal transport buffer. More... | |
std::string | toXml (unsigned char ojIndentLevel=0) const |
double | getJointPositionOption0_rad (void) |
bool | setJointPositionOption0_rad (double value) |
double | getJointPositionOption1_m (void) |
bool | setJointPositionOption1_m (double value) |
std::string | typeToString (void) |
Public Member Functions inherited from openjaus::model::fields::Variant | |
Variant () | |
virtual | ~Variant () |
virtual std::string | toString () const |
Public Member Functions inherited from openjaus::model::fields::ComplexField | |
virtual | ~ComplexField () |
Public Member Functions inherited from openjaus::model::fields::Field | |
Field () | |
virtual | ~Field () |
std::string | getName () const |
Accessor to get the value of name. More... | |
bool | setName (std::string name) |
Accessor to set value of name. More... | |
Public Member Functions inherited from openjaus::system::Transportable | |
virtual | ~Transportable () |
Transportable () | |
Private Attributes | |
TypeEnum | type |
JointPositionOption0ScaledInteger | jointPositionOption0_rad |
JointPositionOption1ScaledInteger | jointPositionOption1_m |
Additional Inherited Members | |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::manipulator::JointPositionVariant::JointPositionVariant | ( | ) |
openjaus::manipulator::JointPositionVariant::~JointPositionVariant | ( | ) |
void openjaus::manipulator::JointPositionVariant::copy | ( | JointPositionVariant & | source | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Variant.
double openjaus::manipulator::JointPositionVariant::getJointPositionOption0_rad | ( | void | ) |
double openjaus::manipulator::JointPositionVariant::getJointPositionOption1_m | ( | void | ) |
JointPositionVariant::TypeEnum openjaus::manipulator::JointPositionVariant::getType | ( | void | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Variant.
bool openjaus::manipulator::JointPositionVariant::setJointPositionOption0_rad | ( | double | value | ) |
bool openjaus::manipulator::JointPositionVariant::setJointPositionOption1_m | ( | double | value | ) |
void openjaus::manipulator::JointPositionVariant::setType | ( | JointPositionVariant::TypeEnum | type | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Variant.
std::string openjaus::manipulator::JointPositionVariant::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
std::string openjaus::manipulator::JointPositionVariant::typeToString | ( | void | ) |
|
private |
|
private |
|
private |