Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / APG / Naming / Temperature_Monitor_Options.h
blob9ab5c9fabb831a31ccb98b688e3326ab0fd3b532
1 #ifndef TEMPERATURE_MONITOR_OPTIONS_H
2 #define TEMPERATURE_MONITOR_OPTIONS_H
4 class Temperature_Monitor_Options
6 public:
7 Temperature_Monitor_Options (int, ACE_TCHAR *[])
8 { }
10 const char *thermometer_address ()
12 return "serial:// s0/0x3e52";
15 int poll_interval ()
17 return 10; // every 10 seconds
20 int reset_interval ()
22 return 60; // sixty seconds
25 int excessive_resets ()
27 return 5; // no response in 5 minutes
30 const char *admin_email ()
32 return "root@localhost";
35 const char *email_from ()
37 return "temperature monitor";
40 int history_size()
42 return 10;
46 #endif /* TEMPERATURE_MONITOR_OPTIONS_H */