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::manipulator::JointOffsetScaledInteger Class Reference

#include <JointOffsetScaledInteger.h>

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

Public Member Functions

 JointOffsetScaledInteger ()
 
 ~JointOffsetScaledInteger ()
 
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 = -10.0
 
static const double MAX_VALUE = 10.0
 
static const double SCALE_FACTOR = 3.0518043793392844E-4
 

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

§ JointOffsetScaledInteger()

openjaus::manipulator::JointOffsetScaledInteger::JointOffsetScaledInteger ( )

§ ~JointOffsetScaledInteger()

openjaus::manipulator::JointOffsetScaledInteger::~JointOffsetScaledInteger ( )

Member Function Documentation

§ from()

int openjaus::manipulator::JointOffsetScaledInteger::from ( system::Buffer src)
virtual
Parameters
src

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

§ fromDouble()

uint16_t openjaus::manipulator::JointOffsetScaledInteger::fromDouble ( void  ) const
protected

§ length()

int openjaus::manipulator::JointOffsetScaledInteger::length ( void  )
virtual

§ maxValue()

double openjaus::manipulator::JointOffsetScaledInteger::maxValue ( )
static

§ minValue()

double openjaus::manipulator::JointOffsetScaledInteger::minValue ( )
static

§ scaleFactor()

double openjaus::manipulator::JointOffsetScaledInteger::scaleFactor ( )
static

§ setValue()

bool openjaus::manipulator::JointOffsetScaledInteger::setValue ( double  value)

§ to()

int openjaus::manipulator::JointOffsetScaledInteger::to ( system::Buffer dst)
virtual
Parameters
dst

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

§ toDouble()

void openjaus::manipulator::JointOffsetScaledInteger::toDouble ( uint16_t  intValue)
protected

§ toXml()

std::string openjaus::manipulator::JointOffsetScaledInteger::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ MAX_VALUE

const double openjaus::manipulator::JointOffsetScaledInteger::MAX_VALUE = 10.0
static

§ MIN_VALUE

const double openjaus::manipulator::JointOffsetScaledInteger::MIN_VALUE = -10.0
static

§ SCALE_FACTOR

const double openjaus::manipulator::JointOffsetScaledInteger::SCALE_FACTOR = 3.0518043793392844E-4
static

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