roo_control
API Documentation for roo_control
Loading...
Searching...
No Matches
thermometer.cpp
Go to the documentation of this file.
2
3namespace roo_control {
4
5roo_logging::Stream& operator<<(roo_logging::Stream& os,
6 const Thermometer::Reading& r) {
7 os << r.value << " measuread at " << r.time << " ("
8 << (roo_time::Uptime::Now() - r.time) << "s ago)";
9 return os;
10}
11
12}
An abstraction of a multi-state settable switch.
Definition switch.h:24
roo_logging::Stream & operator<<(roo_logging::Stream &out, BinaryLogicalState state)
Streams a human-readable state name.
Captures a temperature measured at a specific time.
Definition thermometer.h:13