

Public Member Functions | |
| CommentedAlarmMap () | |
| CommentedAlarm | put (CommentedAlarm alarm) |
| void | putAll (CommentedAlarmMap alarms) |
| CommentedAlarm | get (String alarmId) |
| CommentedAlarm | remove (String alarmId) |
| boolean | containsKey (String alarmId) |
| void | clear () |
| boolean | isEmpty () |
| Collection | values () |
| int | size () |
| String | toString () |
Private Attributes | |
| Map | adaptee = null |
A generic commented alarm container. It defines a mapping between alarm identifiers and commented alarms.
| cern::laser::console::CommentedAlarmMap::CommentedAlarmMap | ( | ) | [inline] |
Constructor.
References adaptee.
| void cern::laser::console::CommentedAlarmMap::clear | ( | ) | [inline] |
Clears this hashtable so that it contains no alarms.
References adaptee.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::clearContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::clearNodeManagers().
| boolean cern::laser::console::CommentedAlarmMap::containsKey | ( | String | alarmId | ) | [inline] |
Tests if the specified alarm is a key in this hashtable.
| alarmId | the alarm to check. |
References adaptee.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmContainer::onAlarm(), cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmOnActiveList().
| CommentedAlarm cern::laser::console::CommentedAlarmMap::get | ( | String | alarmId | ) | [inline] |
Returns the commented alarm to which the specified alarm identifier is mapped in this hashtable.
| alarmId | the alarm identifier. |
References adaptee.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::addAlarmToActiveList(), cern::laser::console::impl::ConfigurationImpl::buildCommentedAlarmMap(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer(), cern::laser::test::TestSelectionAndConfiguration::TestSelectionAndConfiguration(), cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmOnActiveList(), and cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmOnInstantList().
| boolean cern::laser::console::CommentedAlarmMap::isEmpty | ( | ) | [inline] |
Tests if this hashtable maps no alarms to comments.
References adaptee.
| CommentedAlarm cern::laser::console::CommentedAlarmMap::put | ( | CommentedAlarm | alarm | ) | [inline] |
Maps the specified commented alarm in this hashtable.
| alarm | the commented alarm. |
References adaptee, and cern::laser::console::CommentedAlarm::getAlarm().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::acknowledge(), cern::laser::guiplatform::alarms::AlarmContainer::addAlarmToActiveList(), cern::laser::console::impl::ConfigurationImpl::buildCommentedAlarmMap(), cern::laser::guiplatform::alarms::AlarmContainer::clearInhibitList(), cern::laser::guiplatform::alarms::AlarmContainer::clearMaskList(), cern::laser::guiplatform::alarms::AlarmContainer::highlight(), cern::laser::guiplatform::alarms::AlarmContainer::highlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::inhibit(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmContainer::mask(), com::cosylab::acs::alarm::AlarmUserTest::notestUserConfiguration(), cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer(), cern::laser::guiplatform::alarms::AlarmContainer::setNewIndicator(), cern::laser::console::TestConfiguration::TestConfiguration(), cern::laser::test::TstConfiguration2::TstConfiguration2(), cern::laser::guiplatform::alarms::AlarmContainer::uninhibit(), cern::laser::guiplatform::alarms::AlarmContainer::unmask(), and cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmOnInstantList().
| void cern::laser::console::CommentedAlarmMap::putAll | ( | CommentedAlarmMap | alarms | ) | [inline] |
Copies all the mappings from the specified CommentedAlarmMap to this one.
| alarms | the commented alarm map. |
References adaptee, cern::laser::console::CommentedAlarm::getAlarm(), and values().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::acknowledge(), cern::laser::guiplatform::alarms::AlarmContainer::highlight(), cern::laser::guiplatform::alarms::AlarmContainer::highlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::inhibit(), cern::laser::guiplatform::alarms::AlarmContainer::mask(), cern::laser::guiplatform::alarms::AlarmContainer::unacknowledge(), cern::laser::guiplatform::alarms::AlarmContainer::unhighlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::uninhibit(), and cern::laser::guiplatform::alarms::AlarmContainer::unmask().
| CommentedAlarm cern::laser::console::CommentedAlarmMap::remove | ( | String | alarmId | ) | [inline] |
Removes the commented alarm to which the specified alarm identifeir is mapped in this hashtable.
| alarmId | the alarm to remove. |
References adaptee.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::acknowledge(), cern::laser::guiplatform::alarms::AlarmContainer::highlight(), cern::laser::guiplatform::alarms::AlarmContainer::highlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::inhibit(), cern::laser::guiplatform::alarms::AlarmContainer::mask(), cern::laser::guiplatform::alarms::AlarmContainer::unacknowledge(), cern::laser::guiplatform::alarms::AlarmContainer::unhighlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::uninhibit(), cern::laser::guiplatform::alarms::AlarmContainer::unmask(), cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmMaskedOnList(), and cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmOnActiveList().
| int cern::laser::console::CommentedAlarmMap::size | ( | ) | [inline] |
Returns the number of commented alarms in this hashtable.
References adaptee.
Referenced by cern::laser::console::impl::ConfigurationImpl::buildCommentedAlarmCollection(), and cern::laser::guiplatform::alarms::AlarmContainer::initContainer().
| String cern::laser::console::CommentedAlarmMap::toString | ( | ) | [inline] |
| Collection cern::laser::console::CommentedAlarmMap::values | ( | ) | [inline] |
Returns a collection of the commented alarms in this hashtable.
References adaptee.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::attach(), cern::laser::console::impl::ConfigurationImpl::buildCommentedAlarmCollection(), cern::laser::guiplatform::alarms::AlarmContainer::clearAutoHighlightedList(), cern::laser::guiplatform::alarms::AlarmContainer::clearInhibitList(), cern::laser::guiplatform::alarms::AlarmContainer::clearMaskList(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmContainer::processList(), putAll(), cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer(), cern::laser::guiplatform::alarms::AlarmContainer::removeNewOrTerminatedAlarms(), cern::laser::test::TestSelectionAndConfiguration::TestSelectionAndConfiguration(), and toString().
Map cern::laser::console::CommentedAlarmMap::adaptee = null [private] |
Referenced by clear(), CommentedAlarmMap(), containsKey(), get(), isEmpty(), put(), putAll(), remove(), size(), and values().
1.6.2