OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Protected Attributes | List of all members
openjaus::core::ReportEventRecord Class Reference

#include <ReportEventRecord.h>

Inherits openjaus::model::fields::Record.

Public Member Functions

 ReportEventRecord ()
 
 ReportEventRecord (const ReportEventRecord &source)
 
 ~ReportEventRecord ()
 
void copy (ReportEventRecord &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
 
EventTypeEnumeration::EventTypeEnum getEventType (void)
 
bool setEventType (EventTypeEnumeration::EventTypeEnum value)
 
std::string getEventTypeToString (void)
 
uint8_t getEventID (void)
 
bool setEventID (uint8_t value)
 
model::MessagegetQueryMessage (void)
 
bool setQueryMessage (model::Message *message)
 
- Public Member Functions inherited from openjaus::model::fields::Record
 Record ()
 
virtual ~Record ()
 
const std::vector< Field *> & getFields () const
 Accessor to get the value of fields. More...
 
bool setFields (const Field &fields)
 Accessor to set value of fields. More...
 
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 ()
 

Protected Attributes

EventTypeEnumeration eventType
 
model::fields::UnsignedByte eventID
 
model::fields::MessageField queryMessage
 
- Protected Attributes inherited from openjaus::model::fields::Record
std::vector< Field *> fields
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Constructor & Destructor Documentation

§ ReportEventRecord() [1/2]

openjaus::core::ReportEventRecord::ReportEventRecord ( )

§ ReportEventRecord() [2/2]

openjaus::core::ReportEventRecord::ReportEventRecord ( const ReportEventRecord source)

§ ~ReportEventRecord()

openjaus::core::ReportEventRecord::~ReportEventRecord ( )

Member Function Documentation

§ copy()

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

§ from()

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

Reimplemented from openjaus::model::fields::Record.

§ getEventID()

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

§ getEventType()

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

§ getEventTypeToString()

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

§ getQueryMessage()

model::Message * openjaus::core::ReportEventRecord::getQueryMessage ( void  )

§ length()

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

Reimplemented from openjaus::model::fields::Record.

§ setEventID()

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

§ setEventType()

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

§ setQueryMessage()

bool openjaus::core::ReportEventRecord::setQueryMessage ( model::Message message)

§ to()

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

Reimplemented from openjaus::model::fields::Record.

§ toXml()

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

Member Data Documentation

§ eventID

model::fields::UnsignedByte openjaus::core::ReportEventRecord::eventID
protected

§ eventType

EventTypeEnumeration openjaus::core::ReportEventRecord::eventType
protected

§ queryMessage

model::fields::MessageField openjaus::core::ReportEventRecord::queryMessage
protected

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