|
Avionics
Core avionics package for CURE flight computers
|
Timestamped float measurement container. More...
#include <DataPoint.h>

Public Member Functions | |
| DataPoint () | |
| Default construct an empty data point. | |
| DataPoint (uint32_t timestamp_ms, float data) | |
| Construct a populated data point. | |
Public Attributes | |
| uint32_t | timestamp_ms |
| float | data |
Friends | |
| bool | operator> (const DataPoint &lhs, const DataPoint &rhs) |
| bool | operator>= (const DataPoint &lhs, const DataPoint &rhs) |
| bool | operator< (const DataPoint &lhs, const DataPoint &rhs) |
| bool | operator<= (const DataPoint &lhs, const DataPoint &rhs) |
Timestamped float measurement container.
Definition at line 11 of file DataPoint.h.
|
inline |
Default construct an empty data point.
Definition at line 21 of file DataPoint.h.
|
inline |
Construct a populated data point.
| timestamp_ms | Measurement time in milliseconds. |
| data | Scalar value associated with the timestamp. |
Definition at line 31 of file DataPoint.h.
Definition at line 45 of file DataPoint.h.
Definition at line 50 of file DataPoint.h.
Definition at line 35 of file DataPoint.h.
Definition at line 40 of file DataPoint.h.
| float DataPoint::data |
Definition at line 14 of file DataPoint.h.
| uint32_t DataPoint::timestamp_ms |
Definition at line 13 of file DataPoint.h.