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

#include <RSubsystemRecord.h>

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

Public Member Functions

 RSubsystemRecord ()
 
 RSubsystemRecord (const RSubsystemRecord &source)
 
 ~RSubsystemRecord ()
 
void copy (RSubsystemRecord &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 getSubsystemID (void)
 
bool setSubsystemID (uint16_t value)
 
uint8_t getNodeID (void)
 
bool setNodeID (uint8_t value)
 
uint8_t getComponentID (void)
 
bool setComponentID (uint8_t value)
 
- 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 subsystemID
 
model::fields::UnsignedByte nodeID
 
model::fields::UnsignedByte componentID
 
- 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

§ RSubsystemRecord() [1/2]

openjaus::core::RSubsystemRecord::RSubsystemRecord ( )

§ RSubsystemRecord() [2/2]

openjaus::core::RSubsystemRecord::RSubsystemRecord ( const RSubsystemRecord source)

§ ~RSubsystemRecord()

openjaus::core::RSubsystemRecord::~RSubsystemRecord ( )

Member Function Documentation

§ copy()

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

§ from()

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

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

§ getComponentID()

uint8_t openjaus::core::RSubsystemRecord::getComponentID ( void  )

§ getNodeID()

uint8_t openjaus::core::RSubsystemRecord::getNodeID ( void  )

§ getSubsystemID()

uint16_t openjaus::core::RSubsystemRecord::getSubsystemID ( void  )

§ length()

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

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

§ setComponentID()

bool openjaus::core::RSubsystemRecord::setComponentID ( uint8_t  value)

§ setNodeID()

bool openjaus::core::RSubsystemRecord::setNodeID ( uint8_t  value)

§ setSubsystemID()

bool openjaus::core::RSubsystemRecord::setSubsystemID ( uint16_t  value)

§ to()

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

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

§ toXml()

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

Member Data Documentation

§ componentID

model::fields::UnsignedByte openjaus::core::RSubsystemRecord::componentID
protected

§ nodeID

model::fields::UnsignedByte openjaus::core::RSubsystemRecord::nodeID
protected

§ subsystemID

model::fields::UnsignedShort openjaus::core::RSubsystemRecord::subsystemID
protected

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