|
ADS-IDAC Engine 5.0.0
|
#include <BranchExpectedAlarmState.h>
Public Member Functions | |
| BranchExpectedAlarmState () | |
| virtual | ~BranchExpectedAlarmState () |
| void | copyBranchExpectedAlarmState (BranchExpectedAlarmState &) |
| void | saveInfoToFile (std::ostream &) |
| std::string | translateMessage () |
| void | saveBranchExpectedAlarmStateToFile (std::ofstream &) |
| void | retrieveBranchExpectedAlarmStateFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from DecisionExpectedAlarmState | |
| DecisionExpectedAlarmState () | |
| virtual | ~DecisionExpectedAlarmState () |
| void | copyDecisionExpectedAlarmState (DecisionExpectedAlarmState &) |
| void | saveDecisionExpectedAlarmStateToFile (std::ofstream &) |
| void | retrieveDecisionExpectedAlarmStateFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from KBExpectedAlarmStateUnit | |
| KBExpectedAlarmStateUnit () | |
| virtual | ~KBExpectedAlarmStateUnit () |
| void | setExpectedState (int) |
| int | getExpectedState () |
| void | readInfoFromFile (std::ifstream &) |
| int | checkForMatch (std::string, int) |
| void | copyKBExpectedAlarmStateUnit (KBExpectedAlarmStateUnit &) |
| void | saveKBExpectedAlarmStateUnitToFile (std::ofstream &) |
| void | retrieveKBExpectedAlarmStateUnitFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from KBElement | |
| KBElement () | |
| virtual | ~KBElement () |
| void | setInfoName (std::string) |
| std::string | getInfoName () |
| void | readInfoFromFile (std::ifstream &) |
| void | copyKBElement (KBElement &) |
| void | saveKBElementToFile (std::ofstream &) |
| void | retrieveKBElementFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalKBElement (KBElement &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from ExpectationElement | |
| virtual void | state_save (boost::archive::binary_oarchive &ar) const |
| virtual void | state_load (boost::archive::binary_iarchive &ar) |
| ExpectationElement () | |
| virtual | ~ExpectationElement () |
| void | setStateOfExpectation (int) |
| int | getStateOfExpectation () |
| int | updateExpectation (int) |
| void | copyExpectationElement (ExpectationElement &) |
| void | setTypeOfExpectation (int) |
| int | getTypeOfExpectation () |
| void | saveExpectationElementToFile (std::ofstream &) |
| void | retrieveExpectationElementFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalExpectationElement (ExpectationElement &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Decision | |
| Decision () | |
| virtual | ~Decision () |
| void | setDecision (int) |
| int | getDecision () |
| void | copyDecision (Decision &) |
| void | saveDecisionToFile (std::ostream &) |
| void | retrieveDecisionFromFile (std::istream &) |
| bool | checkIfIsIdenticalDecision (Decision &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from StateOfActivation | |
| StateOfActivation () | |
| virtual | ~StateOfActivation () |
| int | getStateOfActivation () |
| void | setStateOfActivation (int) |
| void | copyStateOfActivation (StateOfActivation &) |
| void | saveStateOfActivationToFile (std::ofstream &) |
| void | retrieveStateOfActivationFromFile (std::ifstream &) |
| void | resetStateOfActivation () |
| bool | checkIfIsIdenticalStateOfActivation (StateOfActivation &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from MentalAlarm | |
| MentalAlarm () | |
| virtual | ~MentalAlarm () |
| void | setObservedAlarmState (int) |
| int | getObservedAlarmState () |
| void | copyMentalAlarm (MentalAlarm &) |
| void | saveMentalAlarmToFile (std::ofstream &) |
| void | retrieveMentalAlarmFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalMentalAlarm (MentalAlarm &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from AlarmElement | |
| AlarmElement () | |
| virtual | ~AlarmElement () |
| void | copyAlarmElement (AlarmElement &) |
| void | setAlarmName (std::string) |
| std::string | getAlarmName () |
| void | readInfoFromFile (std::ifstream &) |
| void | setCorrespondingIndicatorName (std::string) |
| void | setDisplayedAlarmState (int) |
| void | setImportanceOfTheAlarm (double) |
| void | setDisplayedOperatorControlState (int) |
| std::string | getCorrespondingIndicatorName () |
| std::string | getDisplayedAlarmStateString () |
| int | getDisplayedAlarmState () |
| double | getImportanceOfTheAlarm () |
| int | getDisplayedOperatorControlState () |
| void | setTimeRequiredToCheckThisAlarm (double) |
| double | getTimeRequiredToCheckThisAlarm () |
| void | setTimeAtWhichThisAlarmIsActivated (double) |
| double | getTimeAtWhichThisAlarmIsActivated () |
| void | saveAlarmElementToFile (std::ofstream &) |
| void | retrieveAlarmElementFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalAlarmElement (AlarmElement &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from MentalInfo | |
| MentalInfo () | |
| virtual | ~MentalInfo () |
| void | setTimeAtWhichThisInfoIsPerceived (double) |
| double | getTimeAtWhichThisInfoIsPerceived () |
| void | setTypeOfMentalInfo (int) |
| int | getTypeOfMentalInfo () |
| void | copyMentalInfo (MentalInfo &) |
| void | saveMentalInfoToFile (std::ofstream &) |
| void | retrieveMentalInfoFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalMentalInfo (MentalInfo &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from TimerAndProbability | |
| TimerAndProbability () | |
| virtual | ~TimerAndProbability () |
| void | setTimerAndProbability (double, double) |
| void | copyTimerAndProbability (TimerAndProbability &) |
| void | saveTimerAndProbabilityToFile (std::ofstream &) |
| void | retrieveTimerAndProbabilityFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Timer | |
| template<class Archive > | |
| void | timer_state_save (Archive &ar) const |
| template<class Archive > | |
| void | timer_state_load (Archive &ar) |
| double | calculateRequiredTime () |
| double | calculateRequiredTime (double) |
| double | calculateMeanRequiredTime () |
| double | calculateMeanRequiredTime (double, double) |
| double | calculateWeibull_pdf (double) |
| Timer () | |
| virtual | ~Timer () |
| void | setRemainingTime (double) |
| void | setTotalTimeRequired (double) |
| void | setAlpha_Weibull (double) |
| void | setBeta_Weibull (double) |
| void | setT_Minimum (double) |
| double | getTotalTimeRequired () |
| double | getRemainingTime () |
| double | reduceRemainingTime (double) |
| double | getAlpha_Weibull () |
| double | getBeta_Weibull () |
| double | getT_Minimum () |
| void | copyTimer (Timer &) |
| int | getNumberOfIntervals () const |
| void | setNumberOfIntervals (int) |
| int | getNumberOfIntervalsPassed () const |
| void | setNumberOfIntervalsPassed (int) |
| double | getTimeAtDemand () const |
| void | setTimeAtDemand (double) |
| void | saveTimerToFile (std::ofstream &) |
| void | retrieveTimerFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalTimer (Timer &) |
| void | setBothTotalTimeRequiredAndRemainingTime (double) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Probability | |
| double | calculateProbability () |
| double | calculateSurvivalProbability (double) |
| double | gamma_log (double) |
| double | beta_cdf_inv (double, double, double) |
| double | beta_cdf (double, double, double) |
| double | beta_pdf (double, double, double) |
| double | beta_inc (double, double, double) |
| double | beta (double, double) |
| double | r8_huge () |
| double | r8_epsilon (void) |
| Probability () | |
| virtual | ~Probability () |
| void | setProbability (double) |
| double | getProbability () |
| void | setAlpha_Parameter (double) |
| double | getAlpha_Parameter () |
| void | setBeta_Parameter (double) |
| double | getBeta_Parameter () |
| void | copyProbability (Probability &) |
| void | saveProbabilityToFile (std::ofstream &) |
| void | retrieveProbabilityFromFile (std::ifstream &) |
| double | getFailureRate () const |
| void | setFailureRate (double failure_rate) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Communication | |
| Communication () | |
| Communication (int, int) | |
| virtual | ~Communication () |
| void | setSender (int) |
| void | setTypeOfCommunication (int) |
| void | setTypeOfPauseActivity (int) |
| void | setIntendedReceiver (int) |
| void | setTimeOfCommunication (double) |
| void | setSenderAndReceiver (int, int) |
| void | setCommunicationPriority (int) |
| int | getSender () |
| int | getIntendedReceiver () |
| int | getTypeOfCommunication () |
| int | getTypeOfPauseActivity () |
| double | getTimeOfCommunication () |
| int | getCommunicationPriority () |
| void | copyCommunication (Communication &) |
| void | saveCommunicationToFile (std::ofstream &) |
| void | retrieveCommunicationFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Public Attributes inherited from KBElement | |
| std::string | info_name |
Definition at line 17 of file BranchExpectedAlarmState.h.
| BranchExpectedAlarmState::BranchExpectedAlarmState | ( | ) |
Definition at line 20 of file BranchExpectedAlarmState.cpp.
|
virtual |
Definition at line 24 of file BranchExpectedAlarmState.cpp.
| void BranchExpectedAlarmState::copyBranchExpectedAlarmState | ( | BranchExpectedAlarmState & | _bep | ) |
Definition at line 27 of file BranchExpectedAlarmState.cpp.
References Communication::copyCommunication(), DecisionExpectedAlarmState::copyDecisionExpectedAlarmState(), and TimerAndProbability::copyTimerAndProbability().
Referenced by OperatorAT::infoChunking(), and OperatorAT::performFollowInstructionStrategy().
| void BranchExpectedAlarmState::retrieveBranchExpectedAlarmStateFromFile | ( | std::ifstream & | ) |
Definition at line 77 of file BranchExpectedAlarmState.cpp.
References Communication::retrieveCommunicationFromFile(), DecisionExpectedAlarmState::retrieveDecisionExpectedAlarmStateFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().
| void BranchExpectedAlarmState::saveBranchExpectedAlarmStateToFile | ( | std::ofstream & | ) |
Definition at line 72 of file BranchExpectedAlarmState.cpp.
References Communication::saveCommunicationToFile(), DecisionExpectedAlarmState::saveDecisionExpectedAlarmStateToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().
| void BranchExpectedAlarmState::saveInfoToFile | ( | std::ostream & | ) |
Definition at line 55 of file BranchExpectedAlarmState.cpp.
References g_sim, KBExpectedAlarmStateUnit::getExpectedState(), KBElement::getInfoName(), Communication::getIntendedReceiver(), MentalAlarm::getObservedAlarmState(), Probability::getProbability(), Timer::getRemainingTime(), Communication::getSender(), StateOfActivation::getStateOfActivation(), ExpectationElement::getStateOfExpectation(), ConvertToString::getString(), Communication::getTimeOfCommunication(), sim::State::OldInfo, sim::Action::SendInfo, and SimulationContext::Translator.
|
inline |
Definition at line 32 of file BranchExpectedAlarmState.h.
| string BranchExpectedAlarmState::translateMessage | ( | ) |
Definition at line 32 of file BranchExpectedAlarmState.cpp.
References g_sim, AlarmElement::getAlarmName(), KBExpectedAlarmStateUnit::getExpectedState(), Communication::getIntendedReceiver(), MentalAlarm::getObservedAlarmState(), Probability::getProbability(), Communication::getSender(), StateOfActivation::getStateOfActivation(), ExpectationElement::getStateOfExpectation(), ConvertToString::getString(), sim::State::OldInfo, and SimulationContext::Translator.
|
friend |
Definition at line 30 of file BranchExpectedAlarmState.h.