cern::laser::guiplatform::alarms::AlarmsNumberChangeListener Interface Reference

Inheritance diagram for cern::laser::guiplatform::alarms::AlarmsNumberChangeListener:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void moveAlarmNumber (final int fromCounterType, final int toCounterType)
void update (final int counterType, final long alarmNo)
void increaseCounter (final int counterType)
void decreaseCounter (final int counterType)

Public Attributes

final int ACTIVE_ALARM_COUNTER = 0
final int MASKED_ALARM_COUNTER = 1
final int INHIBITED_ALARM_COUNTER = 2
final int HIGHLIGHTED_AND_KLAXON_ALARM_COUNTER = 3
final int HIGHLIGHTED_ALARM_COUNTER = 4
final int INSTANT_ALARM_COUNTER = 5
final int ALL_LIST_NUMBER = 6

Detailed Description

This interface is used by Alarm statistic panel (Observer)

Author:
pawlowsk

Member Function Documentation

void cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::decreaseCounter ( final int  counterType  ) 
void cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::increaseCounter ( final int  counterType  ) 
void cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::moveAlarmNumber ( final int  fromCounterType,
final int  toCounterType 
)

This method subtracts 1 from fromCounterType and adds 1 to toCounterType

Parameters:
fromCounterType i. e. AlarmNumberChangeListener.ACTIVE_ALARM_COUNTER
toCounterType i. e. AlarmNumberChangeListener.ACTIVE_ALARM_COUNTER

Implemented in cern::laser::guiplatform::windows::AlarmStatisticInfoPanel.

Referenced by cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmNumberChangeListeners().

void cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::update ( final int  counterType,
final long  alarmNo 
)

This mehtod is used to update listener (i. e. when user wants to add this listener to AlarmContainer

Parameters:
counterType (i. e. AlarmNumberChangeListener.ACTIVE_ALARM_COUNTER)
alarmNo new alarm number

Implemented in cern::laser::guiplatform::windows::AlarmStatisticInfoPanel.

Referenced by cern::laser::guiplatform::alarms::AlarmContainer::attach(), cern::laser::guiplatform::alarms::AlarmContainer::clearNodeManagers(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer().


Member Data Documentation


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

Generated by  doxygen 1.6.2