LogThrottleAlarm − |
#include <loggingThrottleAlarmInterface.h> Inherited by maci::LogThrottleAlarmImpl. |
Public Member Functions |
LogThrottleAlarm (std::string faultFamily, std::string faultMember, int faultCode) |
virtual ~LogThrottleAlarm () |
virtual void raiseLogThrottleAlarm ()=0 |
virtual void clearLogThrottleAlarm ()=0 |
Protected Attributes |
const std::string m_faultFamily |
const std::string m_faultMember |
const int m_faultCode |
The logging module is built much before alarms by the ACS/Makefile. In order to send alarms when the log throttle reaches it maximum allowed number of logs per second, we define here an interface whose implementation must be provided later in maci. |
LogThrottleAlarm::LogThrottleAlarm (std::string faultFamily, std::string faultMember, int faultCode) [inline] Constructor |
Parameters: |
faultFamily The fault family of the alarm to
raise/clear |
virtual LogThrottleAlarm::~LogThrottleAlarm () [inline, virtual] Virtual destructor |
virtual void LogThrottleAlarm::clearLogThrottleAlarm () [pure virtual] Clear the alarm when the alarm throttle allowed the logging |
Implemented in maci::LogThrottleAlarmImpl. |
virtual void LogThrottleAlarm::raiseLogThrottleAlarm () [pure virtual] Raise an alarm when the alarm throttle inhibit the logging |
Implemented in maci::LogThrottleAlarmImpl. |
const int LogThrottleAlarm::m_faultCode [protected] The Fault Code of the log throttle alarm |
const std::string LogThrottleAlarm::m_faultFamily [protected] The Fault Family of the log throttle alarm |
const std::string LogThrottleAlarm::m_faultMember [protected] The Fault Member of the log throttle alarm |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |