DataPoint
Types
RfSweep

Typedef for a map of uint32 to int16 values.

DataPoint
public
Value
DataPoint
InertialDataPoint
WirelessDataPoint

Base class representing common functionality between Wireless and Inertial data points

See Also
Functions
DataPoint
DataPoint(
ValueType type,
const anyType &value
)

Creates a DataPoint object

Parameters
type

The ValueType of the data that is stored

value
const anyType&

The data that is to be stored

as_Vector
const Vector as_Vector() const

Gets the data value as a Vector object

Returns

The data value as a Vector object

Exceptions
as_Matrix
const Matrix as_Matrix() const

Gets the data value as a Matrix object

Returns

The data value as a Matrix object

Exceptions
as_Timestamp
const Timestamp as_Timestamp() const

Gets the data value as a Timestamp object

Returns

The data value as a Timestamp object

Exceptions
as_Bytes
const Bytes as_Bytes() const

Gets the data value as a Bytes object (vector of uint8).

Returns

The data value as a Bytes object.

Exceptions
as_StructuralHealth
const StructuralHealth as_StructuralHealth() const

Gets the data value as a StructuralHealth object.

Returns

The data value as a StructuralHealth object.

Exceptions
as_RfSweep
const RfSweep as_RfSweep() const

Gets the data value as an RfSweep.

Returns

The data value as an RfSweep.

Exceptions
as_string
std::string as_string() const

Gets the data value as a string

Returns

A string representing the data value. This will be created using the value's current valueType.  - A value stored as a float will return a string as so: "1.2345".  - A value stored as a Vector will return a string as so: "[1.2,3.4,5.6]" - A value stored as a Matrix will return a string as so: "[[0,0.1,0.2],[1,1.1,1.2],[2,2.1,2.2]]" - A value stored as Bytes will return a string as so: "0x01 0x02 0x03 0x0a 0xab"

Exceptions