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

#include <PowerPlantDescRecord.h>

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

Public Member Functions

 PowerPlantDescRecord ()
 
 PowerPlantDescRecord (const PowerPlantDescRecord &source)
 
 ~PowerPlantDescRecord ()
 
void copy (PowerPlantDescRecord &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
 
uint8_t getPowerPlantID (void)
 
bool setPowerPlantID (uint8_t value)
 
std::string getDescription (void)
 
bool setDescription (std::string 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::UnsignedByte powerPlantID
 
model::fields::VariableLengthString description
 
- 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

§ PowerPlantDescRecord() [1/2]

openjaus::ugv::PowerPlantDescRecord::PowerPlantDescRecord ( )

§ PowerPlantDescRecord() [2/2]

openjaus::ugv::PowerPlantDescRecord::PowerPlantDescRecord ( const PowerPlantDescRecord source)

§ ~PowerPlantDescRecord()

openjaus::ugv::PowerPlantDescRecord::~PowerPlantDescRecord ( )

Member Function Documentation

§ copy()

void openjaus::ugv::PowerPlantDescRecord::copy ( PowerPlantDescRecord source)

§ from()

int openjaus::ugv::PowerPlantDescRecord::from ( system::Buffer src)
virtual
Parameters
src

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

§ getDescription()

std::string openjaus::ugv::PowerPlantDescRecord::getDescription ( void  )

§ getPowerPlantID()

uint8_t openjaus::ugv::PowerPlantDescRecord::getPowerPlantID ( void  )

§ length()

int openjaus::ugv::PowerPlantDescRecord::length ( void  )
virtual

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

§ setDescription()

bool openjaus::ugv::PowerPlantDescRecord::setDescription ( std::string  value)

§ setPowerPlantID()

bool openjaus::ugv::PowerPlantDescRecord::setPowerPlantID ( uint8_t  value)

§ to()

int openjaus::ugv::PowerPlantDescRecord::to ( system::Buffer dst)
virtual
Parameters
dst

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

§ toXml()

std::string openjaus::ugv::PowerPlantDescRecord::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ description

model::fields::VariableLengthString openjaus::ugv::PowerPlantDescRecord::description
protected

§ powerPlantID

model::fields::UnsignedByte openjaus::ugv::PowerPlantDescRecord::powerPlantID
protected

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