|
Static Public Member Functions |
maci::Manager_ptr | getManager () |
bool | init (maci::Manager_ptr manager) throw (acsErrTypeAlarmSourceFactory::ErrorLoadingCERNDLLExImpl) |
bool | usingACSAlarmSystem () throw (acsErrTypeAlarmSourceFactory::ACSASFactoryNotInitedExImpl) |
void | done () |
std::auto_ptr< acsalarm::AlarmSystemInterface > | createSource (std::string sourceName) throw (acsErrTypeAlarmSourceFactory::ACSASFactoryNotInitedExImpl) |
std::auto_ptr< acsalarm::AlarmSystemInterface > | createSource () throw (acsErrTypeAlarmSourceFactory::ACSASFactoryNotInitedExImpl) |
std::auto_ptr< acsalarm::FaultState > | createFaultState (std::string family, std::string member, int code) throw (acsErrTypeAlarmSourceFactory::ACSASFactoryNotInitedExImpl) |
std::auto_ptr< acsalarm::FaultState > | createFaultState () throw (acsErrTypeAlarmSourceFactory::ACSASFactoryNotInitedExImpl) |
void | createAndSendAlarm (std::string &faultFamily, std::string &faultMember, int faultCode, bool active, std::string sourceName=asiConfigurationConstants::ALARM_SOURCE_NAME) throw (acsErrTypeAlarmSourceFactory::ACSASFactoryNotInitedExImpl) |
void | createAndSendAlarm (std::string &faultFamily, std::string &faultMember, int faultCode, bool active, acsalarm::Properties &faultProperties, std::string sourceName=asiConfigurationConstants::ALARM_SOURCE_NAME) throw (acsErrTypeAlarmSourceFactory::ACSASFactoryNotInitedExImpl) |
Private Member Functions |
| ACSAlarmSystemInterfaceFactory () |
| ACSAlarmSystemInterfaceFactory (const ACSAlarmSystemInterfaceFactory &) |
ACSAlarmSystemInterfaceFactory | operator= (const ACSAlarmSystemInterfaceFactory &) |
| ~ACSAlarmSystemInterfaceFactory () |
Static Private Member Functions |
void | cleanUpAlarmSystemInterfacePtr () |
void | cleanUpSharedSource () |
void | cleanUpDLL () |
void | cleanUpBooleanPtr () |
void | cleanUpManagerReference () |
void | initImplementationType (maci::Manager_ptr manager) |
bool | initDLL () |
Static Private Attributes |
void * | dllHandle |
std::auto_ptr< acsalarm::AlarmSystemInterface > | sharedSource |
bool * | m_useACSAlarmSystem |
maci::Manager_ptr | m_manager |
AlarmSystemInterfaceFactory * | m_AlarmSystemInterfaceFactory_p |
ACE_Recursive_Thread_Mutex | main_mutex |
Before using the static methods of this class, the init method must be called otherwise an exception is thrown.