OpenJAUS Software Development Kit
4.3.1
|
#include <JointSpecificationsVariant.h>
Inherits openjaus::model::fields::Variant.
Public Types | |
enum | TypeEnum { REVOLUTEJOINTSPECIFICATIONREC = 0, PRISMATICJOINTSPECIFICATIONREC = 1 } |
Public Member Functions | |
JointSpecificationsVariant () | |
~JointSpecificationsVariant () | |
JointSpecificationsVariant::TypeEnum | getType (void) |
void | setType (JointSpecificationsVariant::TypeEnum type) |
void | copy (JointSpecificationsVariant &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 |
RevoluteJointSpecificationRecord & | getRevoluteJointSpecificationRec (void) |
PrismaticJointSpecificationRecord & | getPrismaticJointSpecificationRec (void) |
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 |
RevoluteJointSpecificationRecord | revoluteJointSpecificationRec |
PrismaticJointSpecificationRecord | prismaticJointSpecificationRec |
Additional Inherited Members | |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::manipulator::JointSpecificationsVariant::JointSpecificationsVariant | ( | ) |
openjaus::manipulator::JointSpecificationsVariant::~JointSpecificationsVariant | ( | ) |
void openjaus::manipulator::JointSpecificationsVariant::copy | ( | JointSpecificationsVariant & | source | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Variant.
PrismaticJointSpecificationRecord & openjaus::manipulator::JointSpecificationsVariant::getPrismaticJointSpecificationRec | ( | void | ) |
RevoluteJointSpecificationRecord & openjaus::manipulator::JointSpecificationsVariant::getRevoluteJointSpecificationRec | ( | void | ) |
JointSpecificationsVariant::TypeEnum openjaus::manipulator::JointSpecificationsVariant::getType | ( | void | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Variant.
void openjaus::manipulator::JointSpecificationsVariant::setType | ( | JointSpecificationsVariant::TypeEnum | type | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Variant.
std::string openjaus::manipulator::JointSpecificationsVariant::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
std::string openjaus::manipulator::JointSpecificationsVariant::typeToString | ( | void | ) |
|
private |
|
private |
|
private |