OpenJAUS Software Development Kit  4.3.1
Public Types | Public Member Functions | Private Attributes | List of all members
openjaus::core::QueryEventsVariant Class Reference

#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
 

Member Enumeration Documentation

§ TypeEnum

Enumerator
MESSAGEID 
EVENTTYPE 
EVENTID 
ALLEVENTS 

Constructor & Destructor Documentation

§ QueryEventsVariant()

openjaus::core::QueryEventsVariant::QueryEventsVariant ( )

§ ~QueryEventsVariant()

openjaus::core::QueryEventsVariant::~QueryEventsVariant ( )

Member Function Documentation

§ copy()

void openjaus::core::QueryEventsVariant::copy ( QueryEventsVariant source)

§ from()

int openjaus::core::QueryEventsVariant::from ( system::Buffer src)
virtual
Parameters
src

Reimplemented from openjaus::model::fields::Variant.

§ getAllEvents()

uint8_t openjaus::core::QueryEventsVariant::getAllEvents ( void  )

§ getEventID()

uint8_t openjaus::core::QueryEventsVariant::getEventID ( void  )

§ getEventType()

EventTypeEnumeration::EventTypeEnum openjaus::core::QueryEventsVariant::getEventType ( void  )

§ getEventTypeToString()

std::string openjaus::core::QueryEventsVariant::getEventTypeToString ( void  )

§ getMessageID()

uint16_t openjaus::core::QueryEventsVariant::getMessageID ( void  )

§ getType()

QueryEventsVariant::TypeEnum openjaus::core::QueryEventsVariant::getType ( void  )

§ length()

int openjaus::core::QueryEventsVariant::length ( void  )
virtual

Reimplemented from openjaus::model::fields::Variant.

§ setAllEvents()

bool openjaus::core::QueryEventsVariant::setAllEvents ( uint8_t  value)

§ setEventID()

bool openjaus::core::QueryEventsVariant::setEventID ( uint8_t  value)

§ setEventType()

bool openjaus::core::QueryEventsVariant::setEventType ( EventTypeEnumeration::EventTypeEnum  value)

§ setMessageID()

bool openjaus::core::QueryEventsVariant::setMessageID ( uint16_t  value)

§ setType()

void openjaus::core::QueryEventsVariant::setType ( QueryEventsVariant::TypeEnum  type)

§ to()

int openjaus::core::QueryEventsVariant::to ( system::Buffer dst)
virtual
Parameters
dst

Reimplemented from openjaus::model::fields::Variant.

§ toXml()

std::string openjaus::core::QueryEventsVariant::toXml ( unsigned char  ojIndentLevel = 0) const

§ typeToString()

std::string openjaus::core::QueryEventsVariant::typeToString ( void  )

Member Data Documentation

§ allEvents

model::fields::UnsignedByte openjaus::core::QueryEventsVariant::allEvents
private

§ eventID

model::fields::UnsignedByte openjaus::core::QueryEventsVariant::eventID
private

§ eventType

EventTypeEnumeration openjaus::core::QueryEventsVariant::eventType
private

§ messageID

model::fields::UnsignedShort openjaus::core::QueryEventsVariant::messageID
private

§ type

TypeEnum openjaus::core::QueryEventsVariant::type
private

The documentation for this class was generated from the following files: