#include <maciLogThrottleAlarmImpl.h>
Public Member Functions | |
LogThrottleAlarmImpl (const ContainerServices *containerSvcs, std::string name) | |
virtual | ~LogThrottleAlarmImpl () |
virtual void | raiseLogThrottleAlarm () |
virtual void | clearLogThrottleAlarm () |
Private Attributes | |
const ContainerServices * | m_containerSvcs |
The implementation of the LogThrottleAlarm.
This object is sent to the LoggingProxy that will use it for raising and clearing alarms.
Note thatthis object is own by the Container but used by the LoggingProxy so we need to build and hold a reference in the container. And we need to remove the pointer from the LoggingProxy before destring this object in the destructor of the Container.
maci::LogThrottleAlarmImpl::LogThrottleAlarmImpl | ( | const ContainerServices * | containerSvcs, | |
std::string | name | |||
) |
Constructor
The | not NULL pointer to the ContainerServices | |
The | name of the container used as fault member |
virtual maci::LogThrottleAlarmImpl::~LogThrottleAlarmImpl | ( | ) | [inline, virtual] |
Destructor
virtual void maci::LogThrottleAlarmImpl::clearLogThrottleAlarm | ( | ) | [virtual] |
Clear the alarm when the alarm throttle allowed the logging
see LogThrottleAlarm
Implements LogThrottleAlarm.
virtual void maci::LogThrottleAlarmImpl::raiseLogThrottleAlarm | ( | ) | [virtual] |
Raise an alarm when the alarm throttle inhibit the logging
Implements LogThrottleAlarm.
const ContainerServices* maci::LogThrottleAlarmImpl::m_containerSvcs [private] |
Container services