28 float value = nanf(
""))
38 roo_time::Uptime
time()
const {
39 return roo_time::Uptime::Start() + roo_time::Micros(
time_micros_);
43 float value()
const {
return value_; }
Measurement of a quantity at a specific time.
bool isDefined() const
Returns true if quantity and value are defined.
float value() const
Returns the measurement value.
bool isInitial() const
Returns true if this is the initial/empty measurement.
bool isUnknown() const
Returns true if value is unknown (NaN).
roo_time::Uptime time() const
Returns the measurement timestamp.
roo_transceivers_Quantity quantity() const
Returns the quantity type.
Measurement(roo_transceivers_Quantity quantity, roo_time::Uptime time, float value=nanf(""))
roo_transceivers_Quantity quantity_
@ roo_transceivers_Quantity_kUnspecifiedQuantity
enum _roo_transceivers_Quantity roo_transceivers_Quantity