OpenJAUS Software Development Kit
4.3.1
|
#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 |
openjaus::hmi::YawVariant::YawVariant | ( | ) |
openjaus::hmi::YawVariant::~YawVariant | ( | ) |
void openjaus::hmi::YawVariant::copy | ( | YawVariant & | source | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Variant.
int8_t openjaus::hmi::YawVariant::getOption0 | ( | void | ) |
int16_t openjaus::hmi::YawVariant::getOption1 | ( | void | ) |
int32_t openjaus::hmi::YawVariant::getOption2 | ( | void | ) |
YawVariant::TypeEnum openjaus::hmi::YawVariant::getType | ( | void | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Variant.
bool openjaus::hmi::YawVariant::setOption0 | ( | int8_t | value | ) |
bool openjaus::hmi::YawVariant::setOption1 | ( | int16_t | value | ) |
bool openjaus::hmi::YawVariant::setOption2 | ( | int32_t | value | ) |
void openjaus::hmi::YawVariant::setType | ( | YawVariant::TypeEnum | type | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Variant.
std::string openjaus::hmi::YawVariant::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
std::string openjaus::hmi::YawVariant::typeToString | ( | void | ) |
|
private |
|
private |
|
private |
|
private |