CARMA C++
CanMonitor.h
Go to the documentation of this file.
1 #ifndef SZA_ANTENNA_CANBUS_CANMONITOR_H
2 #define SZA_ANTENNA_CANBUS_CANMONITOR_H
3 
12 
14 
15 #include <map>
16 #include <string>
17 #include <vector>
18 
19 namespace sza {
20  namespace antenna {
21  namespace canbus {
22 
23  // Forward declaration of SzaShare lets us use it without defining
24  // it
25 
26  namespace control {
27  class SzaShare;
28  }
29 
30  class CanMonitorPoint;
31 
32  class CanMonitor : public sza::antenna::control::Board {
33  public:
34 
38  CanMonitor(sza::antenna::control::SzaShare* share,
39  std::string boardName);
40 
44  virtual ~CanMonitor();
45 
51  CanMonitorPoint* addMonitorPoint(char* name);
52 
56  CanMonitorPoint* findMonitorPoint(char* name);
57 
58  private:
59 
60  std::vector<CanMonitorPoint*> monitorPoints_;
61  std::map<std::string, CanMonitorPoint*> monitorMap_;
62 
63  }; // End class CanMonitor
64 
65  } // End namespace canbus
66  } // End namespace antenna
67 } // End namespace sza
68 
69 
70 
71 #endif // End #ifndef SZA_ANTENNA_CANBUS_CANMONITOR_H
Tagged: Sat Oct 23 22:31:40 PDT 2004.
A class which encapsulates resources of a board of the shared register map.
Definition: Board.h:24
Tagged: Thu Nov 13 16:53:34 UTC 2003.
An instance of this class is created by AntennaMaster and passed to the constructors of other tasks...
Definition: Share.h:38