42 Float2(
const Unit& unit,
float value,
bool scaleValue =
true );
45 Float2(
const Unit& unit,
const void *binary );
Float2()
Protected Empty constructor for use by DataEntry class.
Definition: Float2.cpp:60
virtual ~Float2()
Destructor.
Definition: Float2.h:51
virtual unsigned int toStream(OutStream &outStream) const
Send the data value to the indicated stream.
Definition: Float2.cpp:48
Contains the Float class definition.
Wraps a single precision (4-byte) floating point number and unit for storage in a DataElement...
Definition: Float2.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: Float2.cpp:39
This is a very abstract class that can be implemented by classes that want to send stream output...
Definition: OutStream.h:41
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: Float2.cpp:53
Code that represents an engineering unit.
Definition: Unit.h:24
Float2 * copy() const
Return a pointer to a new copy.
Definition: Float2.cpp:32
Wraps a single precision (4-byte) floating point number and unit for storage in a DataElement...
Definition: Float.h:36