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::mobility::LinearSpeedScaledInteger Class Reference

#include <LinearSpeedScaledInteger.h>

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

Public Member Functions

 LinearSpeedScaledInteger ()
 
 ~LinearSpeedScaledInteger ()
 
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 = 327.67
 
static const double SCALE_FACTOR = 0.0049999237048905165
 

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

§ LinearSpeedScaledInteger()

openjaus::mobility::LinearSpeedScaledInteger::LinearSpeedScaledInteger ( )

§ ~LinearSpeedScaledInteger()

openjaus::mobility::LinearSpeedScaledInteger::~LinearSpeedScaledInteger ( )

Member Function Documentation

§ from()

int openjaus::mobility::LinearSpeedScaledInteger::from ( system::Buffer src)
virtual
Parameters
src

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

§ fromDouble()

uint16_t openjaus::mobility::LinearSpeedScaledInteger::fromDouble ( void  ) const
protected

§ length()

int openjaus::mobility::LinearSpeedScaledInteger::length ( void  )
virtual

§ maxValue()

double openjaus::mobility::LinearSpeedScaledInteger::maxValue ( )
static

§ minValue()

double openjaus::mobility::LinearSpeedScaledInteger::minValue ( )
static

§ scaleFactor()

double openjaus::mobility::LinearSpeedScaledInteger::scaleFactor ( )
static

§ setValue()

bool openjaus::mobility::LinearSpeedScaledInteger::setValue ( double  value)

§ to()

int openjaus::mobility::LinearSpeedScaledInteger::to ( system::Buffer dst)
virtual
Parameters
dst

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

§ toDouble()

void openjaus::mobility::LinearSpeedScaledInteger::toDouble ( uint16_t  intValue)
protected

§ toXml()

std::string openjaus::mobility::LinearSpeedScaledInteger::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ MAX_VALUE

const double openjaus::mobility::LinearSpeedScaledInteger::MAX_VALUE = 327.67
static

§ MIN_VALUE

const double openjaus::mobility::LinearSpeedScaledInteger::MIN_VALUE = 0.0
static

§ SCALE_FACTOR

const double openjaus::mobility::LinearSpeedScaledInteger::SCALE_FACTOR = 0.0049999237048905165
static

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