roo_control
API Documentation for roo_control
Loading...
Searching...
No Matches
thermometer.cpp
Go to the documentation of this file.
1
#include "
roo_control/thermometer/thermometer.h
"
2
3
namespace
roo_control
{
4
5
roo_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
}
roo_control::Switch
An abstraction of a multi-state settable switch.
Definition
switch.h:24
roo_control
Definition
binary_logical_state.cpp:3
roo_control::operator<<
roo_logging::Stream & operator<<(roo_logging::Stream &out, BinaryLogicalState state)
Streams a human-readable state name.
Definition
binary_logical_state.cpp:5
roo_control::Thermometer::Reading
Captures a temperature measured at a specific time.
Definition
thermometer.h:13
thermometer.h
temp_repos
roo_control
src
roo_control
thermometer
thermometer.cpp
Generated by
1.9.8