CARMA C++
RemoteSensorIServer.h
Go to the documentation of this file.
1 // $Id: RemoteSensorIServer.h,v 1.3 2011/07/19 20:53:21 eml Exp $
2 
3 #ifndef SZA_UTIL_REMOTESENSORISERVER_H
4 #define SZA_UTIL_REMOTESENSORISERVER_H
5 
16 
17 namespace sza {
18  namespace util {
19 
20  class RemoteSensorIServer : public RemoteSensorHtml {
21  public:
22 
26  RemoteSensorIServer(std::string host,
27  unsigned timeoutIntervalInSeconds=0,
28  std::string query="main?PW=&PAGENAME=1");
29 
30  RemoteSensorIServer(std::string host,
31  SystemStatusSubsystemMutex* ms,
32  carma::monitor::MonitorPointBool& mpIsReachable,
34  unsigned timeoutIntervalInSeconds=0,
35  std::string query="main?PW=&PAGENAME=1");
36 
37  RemoteSensorIServer(std::string host,
38  SystemStatusSubsystemMutex* ms,
39  carma::monitor::MonitorPointBool& mpHostIsReachable,
42  carma::monitor::MonitorPointEnum& mpPlaceStatus,
45  sza::util::Temperature& minTemp,
46  sza::util::Temperature& maxTemp,
47  unsigned timeoutIntervalInSeconds=0,
48  std::string query="main?PW=&PAGENAME=1");
49 
53  virtual ~RemoteSensorIServer();
54 
55  protected:
56 
57  void parseUrl();
58 
59  void printTemps();
60 
61  }; // End class RemoteSensorIServer
62 
63  } // End namespace util
64 } // End namespace sza
65 
66 
67 
68 #endif // End #ifndef SZA_UTIL_REMOTESENSORISERVER_H
Abstract base class for any enumerated constants, like state machines.
Tagged: Tue Nov 2 14:30:13 PDT 2010.
Absolute time value monitor point.