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

#include <ElementRecord.h>

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

Public Member Functions

 ElementRecord ()
 
 ElementRecord (const ElementRecord &source)
 
 ~ElementRecord ()
 
void copy (ElementRecord &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 getElementUID (void)
 
bool setElementUID (uint16_t value)
 
uint16_t getPreviousUID (void)
 
bool setPreviousUID (uint16_t value)
 
uint16_t getNextUID (void)
 
bool setNextUID (uint16_t value)
 
model::MessagegetElementData (void)
 
bool setElementData (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

model::fields::UnsignedShort elementUID
 
model::fields::UnsignedShort previousUID
 
model::fields::UnsignedShort nextUID
 
model::fields::MessageField elementData
 
- 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

§ ElementRecord() [1/2]

openjaus::mobility::ElementRecord::ElementRecord ( )

§ ElementRecord() [2/2]

openjaus::mobility::ElementRecord::ElementRecord ( const ElementRecord source)

§ ~ElementRecord()

openjaus::mobility::ElementRecord::~ElementRecord ( )

Member Function Documentation

§ copy()

void openjaus::mobility::ElementRecord::copy ( ElementRecord source)

§ from()

int openjaus::mobility::ElementRecord::from ( system::Buffer src)
virtual
Parameters
src

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

§ getElementData()

model::Message * openjaus::mobility::ElementRecord::getElementData ( void  )

§ getElementUID()

uint16_t openjaus::mobility::ElementRecord::getElementUID ( void  )

§ getNextUID()

uint16_t openjaus::mobility::ElementRecord::getNextUID ( void  )

§ getPreviousUID()

uint16_t openjaus::mobility::ElementRecord::getPreviousUID ( void  )

§ length()

int openjaus::mobility::ElementRecord::length ( void  )
virtual

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

§ setElementData()

bool openjaus::mobility::ElementRecord::setElementData ( model::Message message)

§ setElementUID()

bool openjaus::mobility::ElementRecord::setElementUID ( uint16_t  value)

§ setNextUID()

bool openjaus::mobility::ElementRecord::setNextUID ( uint16_t  value)

§ setPreviousUID()

bool openjaus::mobility::ElementRecord::setPreviousUID ( uint16_t  value)

§ to()

int openjaus::mobility::ElementRecord::to ( system::Buffer dst)
virtual
Parameters
dst

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

§ toXml()

std::string openjaus::mobility::ElementRecord::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ elementData

model::fields::MessageField openjaus::mobility::ElementRecord::elementData
protected

§ elementUID

model::fields::UnsignedShort openjaus::mobility::ElementRecord::elementUID
protected

§ nextUID

model::fields::UnsignedShort openjaus::mobility::ElementRecord::nextUID
protected

§ previousUID

model::fields::UnsignedShort openjaus::mobility::ElementRecord::previousUID
protected

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