OpenJAUS Software Development Kit
4.3.1
|
#include <QueryEventsVariant.h>
Inherits openjaus::model::fields::Variant.
Public Types | |
enum | TypeEnum { MESSAGEID = 0, EVENTTYPE = 1, EVENTID = 2, ALLEVENTS = 3 } |
Public Member Functions | |
QueryEventsVariant () | |
~QueryEventsVariant () | |
QueryEventsVariant::TypeEnum | getType (void) |
void | setType (QueryEventsVariant::TypeEnum type) |
void | copy (QueryEventsVariant &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 |
uint16_t | getMessageID (void) |
bool | setMessageID (uint16_t value) |
EventTypeEnumeration::EventTypeEnum | getEventType (void) |
bool | setEventType (EventTypeEnumeration::EventTypeEnum value) |
std::string | getEventTypeToString (void) |
uint8_t | getEventID (void) |
bool | setEventID (uint8_t value) |
uint8_t | getAllEvents (void) |
bool | setAllEvents (uint8_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::UnsignedShort | messageID |
EventTypeEnumeration | eventType |
model::fields::UnsignedByte | eventID |
model::fields::UnsignedByte | allEvents |
Additional Inherited Members | |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::core::QueryEventsVariant::QueryEventsVariant | ( | ) |
openjaus::core::QueryEventsVariant::~QueryEventsVariant | ( | ) |
void openjaus::core::QueryEventsVariant::copy | ( | QueryEventsVariant & | source | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Variant.
uint8_t openjaus::core::QueryEventsVariant::getAllEvents | ( | void | ) |
uint8_t openjaus::core::QueryEventsVariant::getEventID | ( | void | ) |
EventTypeEnumeration::EventTypeEnum openjaus::core::QueryEventsVariant::getEventType | ( | void | ) |
std::string openjaus::core::QueryEventsVariant::getEventTypeToString | ( | void | ) |
uint16_t openjaus::core::QueryEventsVariant::getMessageID | ( | void | ) |
QueryEventsVariant::TypeEnum openjaus::core::QueryEventsVariant::getType | ( | void | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Variant.
bool openjaus::core::QueryEventsVariant::setAllEvents | ( | uint8_t | value | ) |
bool openjaus::core::QueryEventsVariant::setEventID | ( | uint8_t | value | ) |
bool openjaus::core::QueryEventsVariant::setEventType | ( | EventTypeEnumeration::EventTypeEnum | value | ) |
bool openjaus::core::QueryEventsVariant::setMessageID | ( | uint16_t | value | ) |
void openjaus::core::QueryEventsVariant::setType | ( | QueryEventsVariant::TypeEnum | type | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Variant.
std::string openjaus::core::QueryEventsVariant::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
std::string openjaus::core::QueryEventsVariant::typeToString | ( | void | ) |
|
private |
|
private |
|
private |
|
private |
|
private |