AlarmSupplier

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Author

NAME

AlarmSupplier −

SYNOPSIS

#include <AlarmSupplier.h>

Inherits BaseSupplier.

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.

Reimplemented from 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

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.