#include <ACSAlarmSystemInterfaceFactory.h>
Collaboration diagram for ACSAlarmSystemInterfaceFactory:

Static Public Member Functions | |
| maci::Manager_ptr | getManager () |
| bool | init (maci::Manager_ptr manager) |
| bool | usingACSAlarmSystem () |
| void | done () |
| auto_ptr< AlarmSystemInterface > | createSource (string sourceName) |
| auto_ptr< AlarmSystemInterface > | createSource () |
| auto_ptr< acsalarm::FaultState > | createFaultState (string family, string member, int code) |
| auto_ptr< acsalarm::FaultState > | createFaultState () |
| void | createAndSendAlarm (string &faultFamily, string &faultMember, int faultCode, bool active, Properties &faultProperties) |
Private Member Functions | |
| ACSAlarmSystemInterfaceFactory () | |
| virtual | ~ACSAlarmSystemInterfaceFactory () |
Static Private Attributes | |
| void * | dllHandle |
| auto_ptr< AlarmSystemInterface > | sharedSource |
| bool * | m_useACSAlarmSystem |
| maci::Manager_ptr | m_manager |
| AlarmSystemInterfaceFactory * | m_AlarmSystemInterfaceFactory_p |
The ACS implementation of the source logs a message for each alarm
Before using the static methods of this class, the init method must be called otherwise an exception is thrown.
|
|
Default constructor. |
|
|
|
|
||||||||||||||||||||||||
|
Experimental: Convenience API for creating/sending an alarm in a single step. |
|
|
Create a fault state |
|
||||||||||||||||
|
Create a fault state with the given family, member and code |
|
|
Create a new instance of an alarm system interface without binding it to any source.
|
|
|
Create a new instance of an alarm system interface.
|
|
|
Release the resources: must be called when finished using the methods of this class |
|
|
|
|
|
Init the object of the class: must be called before using the other methods of this class otherwise an exception will be thrown. Return true if the initialization went ok |
|
|
Getter for whether we're using the ACS Alarm system (true) or not (false). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6