1 #ifndef TEMPERATURE_MONITOR_H
2 #define TEMPERATURE_MONITOR_H
4 #include "Thermometer.h"
5 #include "Temperature_Monitor_Options.h"
6 #include "Naming_Context.h"
8 class Temperature_Monitor2
11 Temperature_Monitor2 (Temperature_Monitor_Options
& opt
,
12 Naming_Context
& naming_context
,
13 Naming_Context
& shared_context
)
15 naming_context_(naming_context
),
16 shared_context_(shared_context
)
22 void record_temperature (float temp
);
23 void record_history (float temp
);
24 void record_failure ();
25 void reset_device (Name_Binding_Ptr
& resetCount
);
28 Thermometer
*thermometer_
;
29 Temperature_Monitor_Options
&opt_
;
30 Naming_Context
&naming_context_
;
31 Naming_Context
&shared_context_
;
34 #endif /* TEMPERATURE_MONITOR_H */