cern::laser::client::impl::common::AlarmServiceSingleton Class Reference

Collaboration diagram for cern::laser::client::impl::common::AlarmServiceSingleton:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static synchronized
CERNAlarmService 
getInstance () throws Exception
static synchronized
CERNAlarmService 
getInstance (ContainerServicesBase contSvc) throws Exception

Static Private Attributes

static CERNAlarmService instance = null
static ComponentClient client
static ContainerServicesBase contSvcBase = null
static CernAlarmServiceUtils alarmUtils = null

Detailed Description

Singleton class to connect to and supply the AlarmService.

Author:
Igor Habjan, Cosylab

Member Function Documentation

static synchronized CERNAlarmService cern::laser::client::impl::common::AlarmServiceSingleton::getInstance ( ContainerServicesBase  contSvc  )  throws Exception [inline, static]
static synchronized CERNAlarmService cern::laser::client::impl::common::AlarmServiceSingleton::getInstance (  )  throws Exception [inline, static]

Get an instance of the alarm service

This class instantiates a component client to get the Container Services out of it.

Returns:
A reference to the alarm service
Exceptions:
ExceptionIn case of error getting the alarm service

References alarmUtils, client, contSvcBase, alma::alarmsystem::corbaservice::CernAlarmServiceUtils::getCernAlarmService(), alma::acs::component::client::ComponentClient::getContainerServices(), and instance.


Member Data Documentation

The alarm service utils

Referenced by getInstance().

Referenced by getInstance().

Referenced by getInstance().

Referenced by getInstance().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2