OpenJAUS Software Development Kit
4.3.1
|
#include <VerticalVariant.h>
Inherits openjaus::model::fields::Variant.
Public Types | |
enum | TypeEnum { OPTION0 = 0, OPTION1 = 1, OPTION2 = 2 } |
Public Member Functions | |
VerticalVariant () | |
~VerticalVariant () | |
VerticalVariant::TypeEnum | getType (void) |
void | setType (VerticalVariant::TypeEnum type) |
void | copy (VerticalVariant &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::VerticalVariant::VerticalVariant | ( | ) |
openjaus::hmi::VerticalVariant::~VerticalVariant | ( | ) |
void openjaus::hmi::VerticalVariant::copy | ( | VerticalVariant & | source | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Variant.
int8_t openjaus::hmi::VerticalVariant::getOption0 | ( | void | ) |
int16_t openjaus::hmi::VerticalVariant::getOption1 | ( | void | ) |
int32_t openjaus::hmi::VerticalVariant::getOption2 | ( | void | ) |
VerticalVariant::TypeEnum openjaus::hmi::VerticalVariant::getType | ( | void | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Variant.
bool openjaus::hmi::VerticalVariant::setOption0 | ( | int8_t | value | ) |
bool openjaus::hmi::VerticalVariant::setOption1 | ( | int16_t | value | ) |
bool openjaus::hmi::VerticalVariant::setOption2 | ( | int32_t | value | ) |
void openjaus::hmi::VerticalVariant::setType | ( | VerticalVariant::TypeEnum | type | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Variant.
std::string openjaus::hmi::VerticalVariant::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
std::string openjaus::hmi::VerticalVariant::typeToString | ( | void | ) |
|
private |
|
private |
|
private |
|
private |