4 #ifndef EventFilter_StorageManager_AlarmHandler_h
5 #define EventFilter_StorageManager_AlarmHandler_h
9 #include "boost/shared_ptr.hpp"
10 #include "boost/thread/mutex.hpp"
12 #include "xcept/Exception.h"
13 #include "xdaq/Application.h"
14 #include "xdata/InfoSpace.h"
19 class SharedResources;
47 boost::shared_ptr<SharedResources>
66 const std::string
name,
96 {
return app_->getApplicationLogger(); }
103 const std::string
name,
104 const std::string
level,
120 #endif // EventFilter_StorageManager_AlarmHandler_h
virtual void notifySentinel(const ALARM_LEVEL, xcept::Exception &)
static boost::mutex mutex
xdata::InfoSpace * alarmInfoSpace_
virtual void raiseAlarm(const std::string name, const ALARM_LEVEL, xcept::Exception &)
virtual void revokeAlarm(const std::string name)
void localDebug(const std::string &message) const
boost::shared_ptr< SharedResources > sharedResources_
boost::shared_ptr< AlarmHandler > AlarmHandlerPtr
virtual void moveToFailedState(xcept::Exception &)
Logger & getLogger() const