Static Public Member Functions | Protected Member Functions

cern.laser.source.alarmsysteminterface.AlarmSystemInterfaceFactory Class Reference

List of all members.

Static Public Member Functions

static FaultState createFaultState ()
static FaultState createFaultState (String family, String member, int code)
static AlarmSystemInterface createSource (String sourceName) throws ASIException
static AlarmSystemInterface createSource () throws ASIException

Protected Member Functions

 AlarmSystemInterfaceFactory ()

Detailed Description

Factory class for creating new instances of alarm system interface.

Author:
fracalde

Constructor & Destructor Documentation

cern.laser.source.alarmsysteminterface.AlarmSystemInterfaceFactory.AlarmSystemInterfaceFactory (  )  [protected]

Default constructor.


Member Function Documentation

static FaultState cern.laser.source.alarmsysteminterface.AlarmSystemInterfaceFactory.createFaultState (  )  [static]

Factory method for creating FaultState instances.

Returns:
a new FaultState instance.
static FaultState cern.laser.source.alarmsysteminterface.AlarmSystemInterfaceFactory.createFaultState ( String  family,
String  member,
int  code 
) [static]

Factory method for creating FaultState instances.

Returns:
a new FaultState instance.
Parameters:
family the fault family.
member the fault member.
code the fault code.
static AlarmSystemInterface cern.laser.source.alarmsysteminterface.AlarmSystemInterfaceFactory.createSource ( String  sourceName  )  throws ASIException [static]

Create a new instance of an alarm system interface.

Parameters:
sourceName the source name.
Returns:
the interface instance.
Exceptions:
ASIException if the AlarmSystemInterface instance can not be created.
static AlarmSystemInterface cern.laser.source.alarmsysteminterface.AlarmSystemInterfaceFactory.createSource (  )  throws ASIException [static]

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

Returns:
the interface instance.
Exceptions:
ASIException if the AlarmSystemInterface instance can not be created.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties