Public Member Functions | Protected Member Functions

AlarmSupplier Class Reference

#include <AlarmSupplier.h>

Inheritance diagram for AlarmSupplier:
Inheritance graph
[legend]
Collaboration diagram for AlarmSupplier:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AlarmSupplier (const char *channelName)
virtual ~AlarmSupplier ()
void publishEvent (acsalarm::ASIMessage &msg)

Protected Member Functions

virtual const char * getChannelKind ()
virtual const char * getEventType ()

Detailed Description

This class is used to encapsulate functionality related to the CORBA Notification Service to send alarms to the laser alarm server over a CORBA notification channel. It extends the BaseSupplier class from the basenc module in ACS.


Constructor & Destructor Documentation

AlarmSupplier::AlarmSupplier ( const char *  channelName  ) 

Constructor.

Parameters:
channelName the name of the notification channel to use when sending events to the laser alarm server.
virtual AlarmSupplier::~AlarmSupplier (  )  [virtual]

Destructor.


Member Function Documentation

virtual const char* AlarmSupplier::getChannelKind (  )  [inline, protected, virtual]

Overrides method from BaseSupplier.

Implements BaseHelper.

virtual const char* AlarmSupplier::getEventType (  )  [inline, protected, virtual]

Overrides method from BaseSupplier.

Implements BaseSupplier.

void AlarmSupplier::publishEvent ( acsalarm::ASIMessage msg  ) 

Method to publish an event to the LASER alarm server.

Exceptions:
acsncErrType::PublishEventFailureExImpl Cannot publish the event in the Notification Channel

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