OpenJAUS Software Development Kit
4.3.1
|
#include <OilLevelScaledInteger.h>
Inherits openjaus::model::fields::ScaledInteger.
Public Member Functions | |
OilLevelScaledInteger () | |
~OilLevelScaledInteger () | |
bool | setValue (double value) |
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 |
Public Member Functions inherited from openjaus::model::fields::ScaledInteger | |
ScaledInteger () | |
virtual | ~ScaledInteger () |
double | getValue () const |
Accessor to get the value of value. More... | |
bool | setValue (double value) |
Accessor to set value of value. 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::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 () | |
Static Public Member Functions | |
static double | minValue () |
static double | maxValue () |
static double | scaleFactor () |
Static Public Attributes | |
static const double | MIN_VALUE = 0.0 |
static const double | MAX_VALUE = 100.0 |
static const double | SCALE_FACTOR = 0.0015259021896696422 |
Protected Member Functions | |
void | toDouble (uint16_t intValue) |
uint16_t | fromDouble (void) const |
Additional Inherited Members | |
Protected Attributes inherited from openjaus::model::fields::ScaledInteger | |
double | value |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
Protected Attributes inherited from openjaus::model::fields::Unitized | |
Units | units |
openjaus::ugv::OilLevelScaledInteger::OilLevelScaledInteger | ( | ) |
openjaus::ugv::OilLevelScaledInteger::~OilLevelScaledInteger | ( | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::ScaledInteger.
|
protected |
|
virtual |
Reimplemented from openjaus::model::fields::ScaledInteger.
|
static |
|
static |
|
static |
bool openjaus::ugv::OilLevelScaledInteger::setValue | ( | double | value | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::ScaledInteger.
|
protected |
std::string openjaus::ugv::OilLevelScaledInteger::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
static |
|
static |
|
static |