AlarmSupplier − |
#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 () |
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. |
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. |
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 |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |