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

#include <MaxOilPressureScaledInteger.h>

Inherits openjaus::model::fields::ScaledInteger.

Public Member Functions

 MaxOilPressureScaledInteger ()
 
 ~MaxOilPressureScaledInteger ()
 
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 = 512.0
 
static const double SCALE_FACTOR = 0.007812619211108568
 

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
 

Constructor & Destructor Documentation

§ MaxOilPressureScaledInteger()

openjaus::ugv::MaxOilPressureScaledInteger::MaxOilPressureScaledInteger ( )

§ ~MaxOilPressureScaledInteger()

openjaus::ugv::MaxOilPressureScaledInteger::~MaxOilPressureScaledInteger ( )

Member Function Documentation

§ from()

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

Reimplemented from openjaus::model::fields::ScaledInteger.

§ fromDouble()

uint16_t openjaus::ugv::MaxOilPressureScaledInteger::fromDouble ( void  ) const
protected

§ length()

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

§ maxValue()

double openjaus::ugv::MaxOilPressureScaledInteger::maxValue ( )
static

§ minValue()

double openjaus::ugv::MaxOilPressureScaledInteger::minValue ( )
static

§ scaleFactor()

double openjaus::ugv::MaxOilPressureScaledInteger::scaleFactor ( )
static

§ setValue()

bool openjaus::ugv::MaxOilPressureScaledInteger::setValue ( double  value)

§ to()

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

Reimplemented from openjaus::model::fields::ScaledInteger.

§ toDouble()

void openjaus::ugv::MaxOilPressureScaledInteger::toDouble ( uint16_t  intValue)
protected

§ toXml()

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

Member Data Documentation

§ MAX_VALUE

const double openjaus::ugv::MaxOilPressureScaledInteger::MAX_VALUE = 512.0
static

§ MIN_VALUE

const double openjaus::ugv::MaxOilPressureScaledInteger::MIN_VALUE = 0.0
static

§ SCALE_FACTOR

const double openjaus::ugv::MaxOilPressureScaledInteger::SCALE_FACTOR = 0.007812619211108568
static

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