Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / APG / Naming / Temperature_Monitor.h
bloba28845ef4e681967c6d2789d8ef12f85948fd275
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_Monitor
10 public:
11 Temperature_Monitor( Temperature_Monitor_Options & opt,
12 Naming_Context & naming_context );
14 void monitor();
16 protected:
17 void record_temperature(float temp);
18 void record_failure();
19 void reset_device(Name_Binding_Ptr & resetCount);
21 private:
22 Thermometer * thermometer_;
23 Temperature_Monitor_Options & opt_;
24 Naming_Context & naming_context_;
27 #endif /* TEMPERATURE_MONITOR_H */