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

#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
 
RevoluteJointSpecificationRecordgetRevoluteJointSpecificationRec (void)
 
PrismaticJointSpecificationRecordgetPrismaticJointSpecificationRec (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
 

Member Enumeration Documentation

§ TypeEnum

Enumerator
REVOLUTEJOINTSPECIFICATIONREC 
PRISMATICJOINTSPECIFICATIONREC 

Constructor & Destructor Documentation

§ JointSpecificationsVariant()

openjaus::manipulator::JointSpecificationsVariant::JointSpecificationsVariant ( )

§ ~JointSpecificationsVariant()

openjaus::manipulator::JointSpecificationsVariant::~JointSpecificationsVariant ( )

Member Function Documentation

§ copy()

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

§ from()

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

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

§ getPrismaticJointSpecificationRec()

PrismaticJointSpecificationRecord & openjaus::manipulator::JointSpecificationsVariant::getPrismaticJointSpecificationRec ( void  )

§ getRevoluteJointSpecificationRec()

RevoluteJointSpecificationRecord & openjaus::manipulator::JointSpecificationsVariant::getRevoluteJointSpecificationRec ( void  )

§ getType()

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

§ length()

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

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

§ setType()

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

§ to()

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

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

§ toXml()

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

§ typeToString()

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

Member Data Documentation

§ prismaticJointSpecificationRec

PrismaticJointSpecificationRecord openjaus::manipulator::JointSpecificationsVariant::prismaticJointSpecificationRec
private

§ revoluteJointSpecificationRec

RevoluteJointSpecificationRecord openjaus::manipulator::JointSpecificationsVariant::revoluteJointSpecificationRec
private

§ type

TypeEnum openjaus::manipulator::JointSpecificationsVariant::type
private

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