Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AlarmSystemInterfaceFactory Class Reference

#include <AlarmSystemInterfaceFactory.h>

Inheritance diagram for AlarmSystemInterfaceFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual bool init ()=0
virtual void done ()=0
virtual auto_ptr< AlarmSystemInterfacecreateSource (string sourceName)=0
virtual auto_ptr< AlarmSystemInterfacecreateSource ()=0
virtual auto_ptr< acsalarm::FaultStatecreateFaultState (string family, string member, int code)
virtual auto_ptr< acsalarm::FaultStatecreateFaultState ()

Detailed Description

The abstract base class (actually just an interface) to create sources and fault states.


Member Function Documentation

virtual auto_ptr<acsalarm::FaultState> AlarmSystemInterfaceFactory::createFaultState  )  [virtual]
 

Create a fault state

virtual auto_ptr<acsalarm::FaultState> AlarmSystemInterfaceFactory::createFaultState string  family,
string  member,
int  code
[virtual]
 

Create a fault state with the given family, member and code

virtual auto_ptr<AlarmSystemInterface> AlarmSystemInterfaceFactory::createSource  )  [pure virtual]
 

Create a new instance of an alarm system interface without binding it to any source.

Returns:
the interface instance.

Implemented in laserSource::CERNAlarmSystemInterfaceFactory.

virtual auto_ptr<AlarmSystemInterface> AlarmSystemInterfaceFactory::createSource string  sourceName  )  [pure virtual]
 

Create a new instance of an alarm system interface.

Parameters:
sourceName the source name.
Returns:
the interface instance.

Implemented in laserSource::CERNAlarmSystemInterfaceFactory.

virtual void AlarmSystemInterfaceFactory::done  )  [pure virtual]
 

Release the resources: must be called when finished using the methods of this class

Implemented in laserSource::CERNAlarmSystemInterfaceFactory.

virtual bool AlarmSystemInterfaceFactory::init  )  [pure virtual]
 

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

Implemented in laserSource::CERNAlarmSystemInterfaceFactory.


The documentation for this class was generated from the following file:
Generated on Sun Oct 29 02:30:15 2006 for ACS C++ API by doxygen 1.3.6