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

#include <FloatRecord.h>

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

Public Member Functions

 FloatRecord ()
 
 FloatRecord (const FloatRecord &source)
 
 ~FloatRecord ()
 
void copy (FloatRecord &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
 
float getData (void)
 
bool setData (float 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::Float data
 
- 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

§ FloatRecord() [1/2]

openjaus::hmi::FloatRecord::FloatRecord ( )

§ FloatRecord() [2/2]

openjaus::hmi::FloatRecord::FloatRecord ( const FloatRecord source)

§ ~FloatRecord()

openjaus::hmi::FloatRecord::~FloatRecord ( )

Member Function Documentation

§ copy()

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

§ from()

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

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

§ getData()

float openjaus::hmi::FloatRecord::getData ( void  )

§ length()

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

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

§ setData()

bool openjaus::hmi::FloatRecord::setData ( float  value)

§ to()

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

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

§ toXml()

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

Member Data Documentation

§ data

model::fields::Float openjaus::hmi::FloatRecord::data
protected

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