|
ICAROUS
|
#include <AlertLevels.h>
Public Types | |
| typedef std::vector< AlertThresholds >::size_type | nat |
Public Member Functions | |
| AlertLevels (const AlertLevels &alertor) | |
| void | clear () |
| int | mostSevereAlertLevel () const |
| int | firstGuidanceLevel () const |
| int | lastGuidanceLevel () const |
| int | conflictAlertLevel () const |
| Detection3D * | detectorRef (int alert_level) const |
| Detection3D * | conflictDetectorRef () const |
| void | setConflictAlertLevel (int alert_level) |
| void | setLevel (int level, const AlertThresholds &thresholds) |
| int | addLevel (const AlertThresholds &thresholds) |
| AlertThresholds const & | getLevel (int level) const |
| void | copy (const AlertLevels &alertor) |
| ParameterData | getParameters () const |
| void | updateParameterData (ParameterData &p) const |
| void | setParameters (const ParameterData &p) |
| std::string | toString () const |
| std::string | toPVS (int prec) const |
Static Public Member Functions | |
| static AlertLevels | WC_SC_228_Thresholds () |
| static AlertLevels | SingleBands_WC_SC_228_Thresholds () |
| static AlertLevels | Buffered_WC_SC_228_Thresholds () |
| static AlertLevels | SingleBands (const Detection3D *detector, double alerting_time, double lookahead_time) |
Public Attributes | |
| std::vector< AlertThresholds > | alertor_ |
| int | conflict_level_ |
It is assumed that for all alert level i >= 1: detection(i+1) => detection(i) and that there is at least one guidance level whose region is different from NONE.
| int larcfm::AlertLevels::addLevel | ( | const AlertThresholds & | thresholds | ) |
Add an alert level and returns its numerical type, which is a positive number.
|
static |
| void larcfm::AlertLevels::clear | ( | ) |
Clears alert levels
| int larcfm::AlertLevels::conflictAlertLevel | ( | ) | const |
| Detection3D * larcfm::AlertLevels::conflictDetectorRef | ( | ) | const |
| void larcfm::AlertLevels::copy | ( | const AlertLevels & | alertor | ) |
Copy alertor to the same values as the given parameter. Detectors are deeply copied.
| Detection3D * larcfm::AlertLevels::detectorRef | ( | int | alert_level | ) | const |
| int larcfm::AlertLevels::firstGuidanceLevel | ( | ) | const |
| AlertThresholds const & larcfm::AlertLevels::getLevel | ( | int | level | ) | const |
|
virtual |
Implements larcfm::ParameterProvider.
| int larcfm::AlertLevels::lastGuidanceLevel | ( | ) | const |
| int larcfm::AlertLevels::mostSevereAlertLevel | ( | ) | const |
| void larcfm::AlertLevels::setConflictAlertLevel | ( | int | alert_level | ) |
Set conflict alert level
| void larcfm::AlertLevels::setLevel | ( | int | level, |
| const AlertThresholds & | thresholds | ||
| ) |
Set the threshold values of a given alert level.
|
virtual |
Implements larcfm::ParameterAcceptor.
|
static |
|
static |
|
virtual |
Implements larcfm::ParameterProvider.
|
static |