OpenJAUS SAE SDK  6.0.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger Class Reference

#include <HorizontalFieldOfViewScaledInteger.h>

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

Public Member Functions

 HorizontalFieldOfViewScaledInteger ()
 
 ~HorizontalFieldOfViewScaledInteger ()
 
bool setValue (double value)
 
virtual uint64 to (system::BufferWriter &dst) const
 Serializes the contents of this object into the Buffer connected to the provided BufferWriter. More...
 
virtual uint64 from (system::BufferReader &src)
 Deserializes the contents the Buffer connected to the provided BufferReader into this object. More...
 
virtual uint64 length (void) const
 Gets the serialized length of this object. 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
 Transportable ()
 
virtual ~Transportable ()
 

Static Public Member Functions

static double minValue ()
 
static double maxValue ()
 
static double scaleFactor ()
 

Static Public Attributes

static const double MIN_VALUE = -3.141592653589793
 
static const double MAX_VALUE = 3.141592653589793
 
static const double SCALE_FACTOR = 1.4629180796077717E-9
 

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

◆ HorizontalFieldOfViewScaledInteger()

openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::HorizontalFieldOfViewScaledInteger ( )

◆ ~HorizontalFieldOfViewScaledInteger()

openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::~HorizontalFieldOfViewScaledInteger ( )

Member Function Documentation

◆ from()

uint64 openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::from ( system::BufferReader src)
virtual

Deserializes the contents the Buffer connected to the provided BufferReader into this object. The BufferReader position will be advanced inside this method such that calling from() again will attempt to read the next Transportable object from the Buffer.

Parameters
src

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

◆ fromDouble()

uint32_t openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::fromDouble ( void  ) const
protected

◆ length()

uint64 openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::length ( void  ) const
virtual

◆ maxValue()

double openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::maxValue ( )
static

◆ minValue()

double openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::minValue ( )
static

◆ scaleFactor()

double openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::scaleFactor ( )
static

◆ setValue()

bool openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::setValue ( double  value)

◆ to()

uint64 openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::to ( system::BufferWriter dst) const
virtual

Serializes the contents of this object into the Buffer connected to the provided BufferWriter. The BufferWriter position will be advanced inside this method such that calling to() again will write the Transportable object into the Buffer a second time.

Parameters
dst

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

◆ toDouble()

void openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::toDouble ( uint32_t  intValue)
protected

◆ toXml()

std::string openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

◆ MAX_VALUE

const double openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::MAX_VALUE = 3.141592653589793
static

◆ MIN_VALUE

const double openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::MIN_VALUE = -3.141592653589793
static

◆ SCALE_FACTOR

const double openjaus::environment_v1_0::HorizontalFieldOfViewScaledInteger::SCALE_FACTOR = 1.4629180796077717E-9
static

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