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