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::JausAltitudeScaledInteger Class Reference

#include <JausAltitudeScaledInteger.h>

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

Public Member Functions

 JausAltitudeScaledInteger ()
 
 ~JausAltitudeScaledInteger ()
 
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 = -10000.0
 
static const double MAX_VALUE = 35000.0
 
static const double SCALE_FACTOR = 1.0477378966863588E-5
 

Protected Member Functions

void toDouble (uint32_t intValue)
 
uint32_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

§ JausAltitudeScaledInteger()

openjaus::mobility::JausAltitudeScaledInteger::JausAltitudeScaledInteger ( )

§ ~JausAltitudeScaledInteger()

openjaus::mobility::JausAltitudeScaledInteger::~JausAltitudeScaledInteger ( )

Member Function Documentation

§ from()

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

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

§ fromDouble()

uint32_t openjaus::mobility::JausAltitudeScaledInteger::fromDouble ( void  ) const
protected

§ length()

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

§ maxValue()

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

§ minValue()

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

§ scaleFactor()

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

§ setValue()

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

§ to()

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

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

§ toDouble()

void openjaus::mobility::JausAltitudeScaledInteger::toDouble ( uint32_t  intValue)
protected

§ toXml()

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

Member Data Documentation

§ MAX_VALUE

const double openjaus::mobility::JausAltitudeScaledInteger::MAX_VALUE = 35000.0
static

§ MIN_VALUE

const double openjaus::mobility::JausAltitudeScaledInteger::MIN_VALUE = -10000.0
static

§ SCALE_FACTOR

const double openjaus::mobility::JausAltitudeScaledInteger::SCALE_FACTOR = 1.0477378966863588E-5
static

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