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

#include <YawVariant.h>

Inherits openjaus::model::fields::Variant.

Public Types

enum  TypeEnum { OPTION0 = 0, OPTION1 = 1, OPTION2 = 2 }
 

Public Member Functions

 YawVariant ()
 
 ~YawVariant ()
 
YawVariant::TypeEnum getType (void)
 
void setType (YawVariant::TypeEnum type)
 
void copy (YawVariant &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
 
int8_t getOption0 (void)
 
bool setOption0 (int8_t value)
 
int16_t getOption1 (void)
 
bool setOption1 (int16_t value)
 
int32_t getOption2 (void)
 
bool setOption2 (int32_t 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
 
model::fields::Byte option0
 
model::fields::Short option1
 
model::fields::Integer option2
 

Additional Inherited Members

- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Member Enumeration Documentation

§ TypeEnum

Enumerator
OPTION0 
OPTION1 
OPTION2 

Constructor & Destructor Documentation

§ YawVariant()

openjaus::hmi::YawVariant::YawVariant ( )

§ ~YawVariant()

openjaus::hmi::YawVariant::~YawVariant ( )

Member Function Documentation

§ copy()

void openjaus::hmi::YawVariant::copy ( YawVariant source)

§ from()

int openjaus::hmi::YawVariant::from ( system::Buffer src)
virtual
Parameters
src

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

§ getOption0()

int8_t openjaus::hmi::YawVariant::getOption0 ( void  )

§ getOption1()

int16_t openjaus::hmi::YawVariant::getOption1 ( void  )

§ getOption2()

int32_t openjaus::hmi::YawVariant::getOption2 ( void  )

§ getType()

YawVariant::TypeEnum openjaus::hmi::YawVariant::getType ( void  )

§ length()

int openjaus::hmi::YawVariant::length ( void  )
virtual

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

§ setOption0()

bool openjaus::hmi::YawVariant::setOption0 ( int8_t  value)

§ setOption1()

bool openjaus::hmi::YawVariant::setOption1 ( int16_t  value)

§ setOption2()

bool openjaus::hmi::YawVariant::setOption2 ( int32_t  value)

§ setType()

void openjaus::hmi::YawVariant::setType ( YawVariant::TypeEnum  type)

§ to()

int openjaus::hmi::YawVariant::to ( system::Buffer dst)
virtual
Parameters
dst

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

§ toXml()

std::string openjaus::hmi::YawVariant::toXml ( unsigned char  ojIndentLevel = 0) const

§ typeToString()

std::string openjaus::hmi::YawVariant::typeToString ( void  )

Member Data Documentation

§ option0

model::fields::Byte openjaus::hmi::YawVariant::option0
private

§ option1

model::fields::Short openjaus::hmi::YawVariant::option1
private

§ option2

model::fields::Integer openjaus::hmi::YawVariant::option2
private

§ type

TypeEnum openjaus::hmi::YawVariant::type
private

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