OpenJAUS Software Development Kit
4.3.1
|
This is a brief description. More...
#include <Double.h>
Inherits openjaus::model::fields::Field, openjaus::model::fields::VariablePoint, and openjaus::system::Transportable.
Public Member Functions | |
Double () | |
virtual | ~Double () |
double | getValue () const |
Accessor to get the value of value. More... | |
bool | setValue (double value) |
Accessor to set value of value. More... | |
virtual int | to (system::Buffer *dst) |
Operation to. More... | |
virtual int | from (system::Buffer *src) |
Operation from. More... | |
virtual int | length () |
Serializes object to internal transport buffer. More... | |
virtual std::string | toString () const |
std::string | toXml (unsigned char level=0) const |
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::model::fields::VariablePoint | |
virtual | ~VariablePoint () |
Public Member Functions inherited from openjaus::model::fields::Unitized | |
virtual | ~Unitized () |
Units | getUnits () const |
Accessor to get the value of units. More... | |
bool | setUnits (Units units) |
Accessor to set value of units. More... | |
Public Member Functions inherited from openjaus::system::Transportable | |
virtual | ~Transportable () |
Transportable () | |
Protected Attributes | |
double | value |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
Protected Attributes inherited from openjaus::model::fields::Unitized | |
Units | units |
Friends | |
OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Double &object) |
OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Double *object) |
Detailed description.
openjaus::model::fields::Double::Double | ( | ) |
|
virtual |
|
virtual |
src |
Implements openjaus::system::Transportable.
double openjaus::model::fields::Double::getValue | ( | ) | const |
|
virtual |
Implements openjaus::system::Transportable.
bool openjaus::model::fields::Double::setValue | ( | double | value | ) |
value | The value of the new value. |
|
virtual |
dst |
Implements openjaus::system::Transportable.
|
virtual |
Reimplemented from openjaus::model::fields::Field.
std::string openjaus::model::fields::Double::toXml | ( | unsigned char | level = 0 | ) | const |
|
friend |
|
friend |
|
protected |