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