Public Member Functions | Protected Member Functions | Static Protected Attributes

openjaus::mobility::OrientationScaledInteger Class Reference

#include <OrientationScaledInteger.h>

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

List of all members.

Public Member Functions

 OrientationScaledInteger ()
 ~OrientationScaledInteger ()
bool setValue (double value)
 Accessor to set value of value.
virtual int to (system::Buffer *dst)
 Operation to.
virtual int from (system::Buffer *src)
 Operation from.
virtual int length (void)
 Serializes object to internal transport buffer.
std::string toXml (unsigned char level=0) const

Protected Member Functions

void toDouble (uint16_t intValue)
uint16_t fromDouble (void) const

Static Protected Attributes

static const double MIN_VALUE = -3.141592653589793
static const double MAX_VALUE = 3.141592653589793
static const double SCALE_FACTOR = 9.587526218325454E-5

Constructor & Destructor Documentation

openjaus::mobility::OrientationScaledInteger::OrientationScaledInteger (  ) 
openjaus::mobility::OrientationScaledInteger::~OrientationScaledInteger (  ) 

Member Function Documentation

int openjaus::mobility::OrientationScaledInteger::from ( system::Buffer src  )  [virtual]
Parameters:
src 

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

uint16_t openjaus::mobility::OrientationScaledInteger::fromDouble ( void   )  const [protected]
int openjaus::mobility::OrientationScaledInteger::length ( void   )  [virtual]
bool openjaus::mobility::OrientationScaledInteger::setValue ( double  value  ) 
Parameters:
value The value of the new value.

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

int openjaus::mobility::OrientationScaledInteger::to ( system::Buffer dst  )  [virtual]
Parameters:
dst 

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

void openjaus::mobility::OrientationScaledInteger::toDouble ( uint16_t  intValue  )  [protected]
std::string openjaus::mobility::OrientationScaledInteger::toXml ( unsigned char  level = 0  )  const

Member Data Documentation

const double openjaus::mobility::OrientationScaledInteger::MAX_VALUE = 3.141592653589793 [static, protected]
const double openjaus::mobility::OrientationScaledInteger::MIN_VALUE = -3.141592653589793 [static, protected]
const double openjaus::mobility::OrientationScaledInteger::SCALE_FACTOR = 9.587526218325454E-5 [static, protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines