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

#include <BrushRecord.h>

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

Public Member Functions

 BrushRecord ()
 
 BrushRecord (const BrushRecord &source)
 
 ~BrushRecord ()
 
void copy (BrushRecord &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
 
int8_t getRedColor (void)
 
bool setRedColor (int8_t value)
 
int8_t getGreenColor (void)
 
bool setGreenColor (int8_t value)
 
int8_t getBlueColor (void)
 
bool setBlueColor (int8_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::Byte redColor
 
model::fields::Byte greenColor
 
model::fields::Byte blueColor
 
- 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

§ BrushRecord() [1/2]

openjaus::hmi::BrushRecord::BrushRecord ( )

§ BrushRecord() [2/2]

openjaus::hmi::BrushRecord::BrushRecord ( const BrushRecord source)

§ ~BrushRecord()

openjaus::hmi::BrushRecord::~BrushRecord ( )

Member Function Documentation

§ copy()

void openjaus::hmi::BrushRecord::copy ( BrushRecord source)

§ from()

int openjaus::hmi::BrushRecord::from ( system::Buffer src)
virtual
Parameters
src

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

§ getBlueColor()

int8_t openjaus::hmi::BrushRecord::getBlueColor ( void  )

§ getGreenColor()

int8_t openjaus::hmi::BrushRecord::getGreenColor ( void  )

§ getRedColor()

int8_t openjaus::hmi::BrushRecord::getRedColor ( void  )

§ length()

int openjaus::hmi::BrushRecord::length ( void  )
virtual

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

§ setBlueColor()

bool openjaus::hmi::BrushRecord::setBlueColor ( int8_t  value)

§ setGreenColor()

bool openjaus::hmi::BrushRecord::setGreenColor ( int8_t  value)

§ setRedColor()

bool openjaus::hmi::BrushRecord::setRedColor ( int8_t  value)

§ to()

int openjaus::hmi::BrushRecord::to ( system::Buffer dst)
virtual
Parameters
dst

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

§ toXml()

std::string openjaus::hmi::BrushRecord::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ blueColor

model::fields::Byte openjaus::hmi::BrushRecord::blueColor
protected

§ greenColor

model::fields::Byte openjaus::hmi::BrushRecord::greenColor
protected

§ redColor

model::fields::Byte openjaus::hmi::BrushRecord::redColor
protected

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