42 Float3(
const Unit& unit,
float value,
bool scaleValue =
true );
45 Float3(
const Unit& unit,
const void *binary );
virtual ~Float3()
Destructor.
Definition: Float3.h:51
Wraps a single precision (4-byte) floating point number and unit for storage in a DataElement...
Definition: Float3.h:37
virtual bool equalsForStorage(const float &compareTo) const
A quick equality check used to see if value has changed enough to matter in logging (useful for reduc...
Definition: Float3.cpp:39
Contains the Float class definition.
Float3 * copy() const
Return a pointer to a new copy.
Definition: Float3.cpp:32
This is a very abstract class that can be implemented by classes that want to send stream output...
Definition: OutStream.h:41
Code that represents an engineering unit.
Definition: Unit.h:24
virtual void fromBinary(const void *buffer)
Load the data from the a binary representation in the buffer Typically just a memcopy of the variable...
Definition: Float3.cpp:53
virtual unsigned int toStream(OutStream &outStream) const
Send the data value to the indicated stream.
Definition: Float3.cpp:48
Float3()
Protected Empty constructor for use by DataEntry class.
Definition: Float3.cpp:60
Wraps a single precision (4-byte) floating point number and unit for storage in a DataElement...
Definition: Float.h:36