diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:30 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:30 +0000 |
commit | c44379cc7d9c7aa113989237ab0f56db12aa5219 (patch) | |
tree | 66a84b20d47f2269d8bdc6e0323f338763424d3a /ACE/examples/APG/Naming/Temperature_Monitor.h | |
parent | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (diff) | |
download | ATCD-c44379cc7d9c7aa113989237ab0f56db12aa5219.tar.gz |
Repo restructuring
Diffstat (limited to 'ACE/examples/APG/Naming/Temperature_Monitor.h')
-rw-r--r-- | ACE/examples/APG/Naming/Temperature_Monitor.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ACE/examples/APG/Naming/Temperature_Monitor.h b/ACE/examples/APG/Naming/Temperature_Monitor.h new file mode 100644 index 00000000000..3b85b100fa1 --- /dev/null +++ b/ACE/examples/APG/Naming/Temperature_Monitor.h @@ -0,0 +1,29 @@ +// $Id$ + +#ifndef TEMPERATURE_MONITOR_H +#define TEMPERATURE_MONITOR_H + +#include "Thermometer.h" +#include "Temperature_Monitor_Options.h" +#include "Naming_Context.h" + +class Temperature_Monitor + { + public: + Temperature_Monitor( Temperature_Monitor_Options & opt, + Naming_Context & naming_context ); + + void monitor(); + + protected: + void record_temperature(float temp); + void record_failure(); + void reset_device(Name_Binding_Ptr & resetCount); + + private: + Thermometer * thermometer_; + Temperature_Monitor_Options & opt_; + Naming_Context & naming_context_; + }; + +#endif /* TEMPERATURE_MONITOR_H */ |