
Public Member Functions | |
| ReductionRule (Alarm parent) | |
| void | addChild (Alarm alarm) |
| boolean | removeChild (Alarm alarm) |
| void | setIsNodeReduction (boolean v) |
| void | setThreshold (int v) |
| Alarm | getParent () |
| List< Alarm > | getChildren () |
| Alarm | getChild (String ff, String fm, int fc) |
| Alarm | getChild (String alarmId) |
| int | getChildrenCount () |
| int | getThreshold () |
| boolean | getIsNodeReduction () |
Private Attributes | |
| boolean | _isNodeReduction |
| Alarm | _parent |
| List< Alarm > | _children |
| int | _threshold |
Class used to represent a Reduction Rule. A reduction rule contains:
The reduction rule can be also of Node type of Multiplicity type. For the last one, a threshold must be defined.
| cl::utfsm::acs::acg::core::ReductionRule::ReductionRule | ( | Alarm | parent | ) | [inline] |
| void cl::utfsm::acs::acg::core::ReductionRule::addChild | ( | Alarm | alarm | ) | [inline] |
References _children, _isNodeReduction, _parent, cern::laser::business::data::Alarm::addMultiplicityChild(), and cern::laser::business::data::Alarm::addNodeChild().
Referenced by cl::utfsm::acs::acg::core::ReductionManager::loadFromCDB(), and cl::utfsm::acs::acg::core::ReductionRuleTest::testAddGetChildren().
| Alarm cl::utfsm::acs::acg::core::ReductionRule::getChild | ( | String | alarmId | ) | [inline] |
References _children.
| Alarm cl::utfsm::acs::acg::core::ReductionRule::getChild | ( | String | ff, | |
| String | fm, | |||
| int | fc | |||
| ) | [inline] |
References _children.
| List<Alarm> cl::utfsm::acs::acg::core::ReductionRule::getChildren | ( | ) | [inline] |
References _children.
Referenced by cl::utfsm::acs::acg::gui::ReductionsView::createViewWidgets(), cl::utfsm::acs::acg::gui::ReductionsView::fillMRParentChAlarmList(), cl::utfsm::acs::acg::gui::ReductionsView::fillNRParentChAlarmList(), and cl::utfsm::acs::acg::core::ReductionRuleTest::testAddGetChildren().
| int cl::utfsm::acs::acg::core::ReductionRule::getChildrenCount | ( | ) | [inline] |
References _children.
Referenced by cl::utfsm::acs::acg::core::ReductionManager::deleteReductionRule().
| boolean cl::utfsm::acs::acg::core::ReductionRule::getIsNodeReduction | ( | ) | [inline] |
| Alarm cl::utfsm::acs::acg::core::ReductionRule::getParent | ( | ) | [inline] |
References _parent.
Referenced by cl::utfsm::acs::acg::gui::ReductionsView::createMRParentWidgets(), cl::utfsm::acs::acg::gui::ReductionsView::createNRParentWidgets(), cl::utfsm::acs::acg::gui::ReductionsView::createViewWidgets(), cl::utfsm::acs::acg::core::ReductionManager::deleteReductionRule(), cl::utfsm::acs::acg::gui::ReductionsView::fillMRParentChAlarmList(), cl::utfsm::acs::acg::gui::ReductionsView::fillMRParentWidgets(), cl::utfsm::acs::acg::gui::ReductionsView::fillNRParentChAlarmList(), cl::utfsm::acs::acg::gui::ReductionsView::fillNRParentWidgets(), cl::utfsm::acs::acg::core::ReductionManager::getMRParentByTriplet(), cl::utfsm::acs::acg::core::ReductionManager::getNRParentByTriplet(), cl::utfsm::acs::acg::core::ReductionRuleTest::testGetParent(), and cl::utfsm::acs::acg::core::ReductionManagerTest::testReloadFromCDB().
| int cl::utfsm::acs::acg::core::ReductionRule::getThreshold | ( | ) | [inline] |
| boolean cl::utfsm::acs::acg::core::ReductionRule::removeChild | ( | Alarm | alarm | ) | [inline] |
References _children, _isNodeReduction, _parent, cern::laser::business::data::Alarm::getAlarmId(), cern::laser::business::data::Alarm::removeMultiplicityChild(), and cern::laser::business::data::Alarm::removeNodeChild().
Referenced by cl::utfsm::acs::acg::core::ReductionManager::deleteReductionRule().
| void cl::utfsm::acs::acg::core::ReductionRule::setIsNodeReduction | ( | boolean | v | ) | [inline] |
References _isNodeReduction.
Referenced by cl::utfsm::acs::acg::core::ReductionManager::addMultiReductionRule(), cl::utfsm::acs::acg::core::ReductionManager::addNodeReductionRule(), cl::utfsm::acs::acg::core::ReductionManager::loadFromCDB(), and cl::utfsm::acs::acg::core::ReductionRuleTest::testSetIsNodeReduction().
| void cl::utfsm::acs::acg::core::ReductionRule::setThreshold | ( | int | v | ) | [inline] |
References _threshold.
Referenced by cl::utfsm::acs::acg::core::ReductionManager::addMultiReductionRule(), cl::utfsm::acs::acg::core::ReductionManager::loadFromCDB(), cl::utfsm::acs::acg::core::ReductionRuleTest::testSetTreshold(), and cl::utfsm::acs::acg::core::ReductionManager::updateMultiThreshold().
List<Alarm> cl::utfsm::acs::acg::core::ReductionRule::_children [private] |
Referenced by addChild(), getChild(), getChildren(), getChildrenCount(), ReductionRule(), and removeChild().
boolean cl::utfsm::acs::acg::core::ReductionRule::_isNodeReduction [private] |
Referenced by addChild(), getIsNodeReduction(), removeChild(), and setIsNodeReduction().
Referenced by addChild(), getParent(), ReductionRule(), and removeChild().
int cl::utfsm::acs::acg::core::ReductionRule::_threshold [private] |
Referenced by getThreshold(), and setThreshold().
1.6.2