OpenJAUS Software Development Kit  4.3.1
Public Types | Public Member Functions | Private Attributes | List of all members
openjaus::manipulator::JointPositionVariant Class Reference

#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
 

Member Enumeration Documentation

§ TypeEnum

Enumerator
JOINTPOSITIONOPTION0 
JOINTPOSITIONOPTION1 

Constructor & Destructor Documentation

§ JointPositionVariant()

openjaus::manipulator::JointPositionVariant::JointPositionVariant ( )

§ ~JointPositionVariant()

openjaus::manipulator::JointPositionVariant::~JointPositionVariant ( )

Member Function Documentation

§ copy()

void openjaus::manipulator::JointPositionVariant::copy ( JointPositionVariant source)

§ from()

int openjaus::manipulator::JointPositionVariant::from ( system::Buffer src)
virtual
Parameters
src

Reimplemented from openjaus::model::fields::Variant.

§ getJointPositionOption0_rad()

double openjaus::manipulator::JointPositionVariant::getJointPositionOption0_rad ( void  )

§ getJointPositionOption1_m()

double openjaus::manipulator::JointPositionVariant::getJointPositionOption1_m ( void  )

§ getType()

JointPositionVariant::TypeEnum openjaus::manipulator::JointPositionVariant::getType ( void  )

§ length()

int openjaus::manipulator::JointPositionVariant::length ( void  )
virtual

Reimplemented from openjaus::model::fields::Variant.

§ setJointPositionOption0_rad()

bool openjaus::manipulator::JointPositionVariant::setJointPositionOption0_rad ( double  value)

§ setJointPositionOption1_m()

bool openjaus::manipulator::JointPositionVariant::setJointPositionOption1_m ( double  value)

§ setType()

void openjaus::manipulator::JointPositionVariant::setType ( JointPositionVariant::TypeEnum  type)

§ to()

int openjaus::manipulator::JointPositionVariant::to ( system::Buffer dst)
virtual
Parameters
dst

Reimplemented from openjaus::model::fields::Variant.

§ toXml()

std::string openjaus::manipulator::JointPositionVariant::toXml ( unsigned char  ojIndentLevel = 0) const

§ typeToString()

std::string openjaus::manipulator::JointPositionVariant::typeToString ( void  )

Member Data Documentation

§ jointPositionOption0_rad

JointPositionOption0ScaledInteger openjaus::manipulator::JointPositionVariant::jointPositionOption0_rad
private

§ jointPositionOption1_m

JointPositionOption1ScaledInteger openjaus::manipulator::JointPositionVariant::jointPositionOption1_m
private

§ type

TypeEnum openjaus::manipulator::JointPositionVariant::type
private

The documentation for this class was generated from the following files: