CARMA C++
SystemStatusSubsystemMutex.h
Go to the documentation of this file.
1 // $Id: SystemStatusSubsystemMutex.h,v 1.1 2011/07/19 20:53:21 eml Exp $
2 
3 #ifndef SZA_UTIL_SYSTEMSTATUSSUBSYSTEMMUTEX_H
4 #define SZA_UTIL_SYSTEMSTATUSSUBSYSTEMMUTEX_H
5 
15 #include "carma/monitor/SystemStatus.h"
16 
17 #include "carma/szautil/Mutex.h"
18 
19 namespace sza {
20  namespace util {
21 
22  class SystemStatusSubsystemMutex {
23  public:
24 
28  SystemStatusSubsystemMutex();
29 
33  virtual ~SystemStatusSubsystemMutex();
34 
35  void lock();
36  void unlock();
37 
38  public:
39 
40  carma::monitor::SystemStatusSubsystem* ss_;
41  Mutex guard_;
42 
43  }; // End class SystemStatusSubsystemMutex
44 
45  } // End namespace util
46 } // End namespace sza
47 
48 
49 
50 #endif // End #ifndef SZA_UTIL_SYSTEMSTATUSSUBSYSTEMMUTEX_H
Tagged: Sat Mar 27 16:28:13 PST 2004.