|
ADS-IDAC Engine 5.0.0
|
#include <ProcedureExpectedComponentStateUnit.h>
Public Member Functions | |
| void | state_save (boost::archive::binary_oarchive &ar) const override |
| void | state_load (boost::archive::binary_iarchive &ar) override |
| ProcedureExpectedComponentStateUnit () | |
| virtual | ~ProcedureExpectedComponentStateUnit () |
| void | setUseNewInfo (int) |
| int | getUseNewInfo () |
| void | readInfoFromFile (std::ifstream &) |
| void | readInfoFromFileWithoutInfoName (std::ifstream &) |
| void | copyProcedureExpectedComponentStateUnit (ProcedureExpectedComponentStateUnit &) |
| void | saveProcedureExpectedComponentStateUnitToFile (std::ofstream &) |
| void | retrieveProcedureExpectedComponentStateUnitFromFile (std::ifstream &) |
Public Member Functions inherited from KBExpectedComponentStateUnit | |
| KBExpectedComponentStateUnit () | |
| virtual | ~KBExpectedComponentStateUnit () |
| void | setExpectedState (int) |
| void | readInfoFromFile (std::ifstream &) |
| int | getExpectedState () |
| int | checkForMatch (std::string, int) |
| void | copyKBExpectedComponentStateUnit (KBExpectedComponentStateUnit &) |
| void | saveKBExpectedComponentStateUnitToFile (std::ofstream &) |
| void | retrieveKBExpectedComponentStateUnitFromFile (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 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 ProcedureExpectORLink | |
| ProcedureExpectORLink () | |
| virtual | ~ProcedureExpectORLink () |
| void | setORLink (int) |
| int | getORLink () |
| void | reafInfoFromFile (std::ifstream &) |
| void | copyProcedureExpectORLink (ProcedureExpectORLink &) |
| void | saveProcedureExpectORLinkToFile (std::ofstream &) |
| void | retrieveProcedureExpectORLinkFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| int | use_new_info |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Public Attributes inherited from KBElement | |
| std::string | info_name |
Definition at line 17 of file ProcedureExpectedComponentStateUnit.h.
| ProcedureExpectedComponentStateUnit::ProcedureExpectedComponentStateUnit | ( | ) |
Definition at line 15 of file ProcedureExpectedComponentStateUnit.cpp.
References sim::None, and use_new_info.
|
virtual |
Definition at line 20 of file ProcedureExpectedComponentStateUnit.cpp.
| void ProcedureExpectedComponentStateUnit::copyProcedureExpectedComponentStateUnit | ( | ProcedureExpectedComponentStateUnit & | _pec | ) |
Definition at line 54 of file ProcedureExpectedComponentStateUnit.cpp.
References KBExpectedComponentStateUnit::copyKBExpectedComponentStateUnit(), ProcedureExpectORLink::copyProcedureExpectORLink(), Timer::copyTimer(), getUseNewInfo(), and use_new_info.
| int ProcedureExpectedComponentStateUnit::getUseNewInfo | ( | ) |
Definition at line 25 of file ProcedureExpectedComponentStateUnit.cpp.
References use_new_info.
Referenced by ExpectationORUnit::assessExpectation(), and copyProcedureExpectedComponentStateUnit().
| void ProcedureExpectedComponentStateUnit::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 26 of file ProcedureExpectedComponentStateUnit.cpp.
References Timer::alpha_weibull, Timer::beta_weibull, Timer::setAlpha_Weibull(), Timer::setBeta_Weibull(), KBExpectedComponentStateUnit::setExpectedState(), KBElement::setInfoName(), ProcedureExpectORLink::setORLink(), Timer::setT_Minimum(), setUseNewInfo(), and Timer::t_minimum.
| void ProcedureExpectedComponentStateUnit::readInfoFromFileWithoutInfoName | ( | std::ifstream & | ) |
Definition at line 41 of file ProcedureExpectedComponentStateUnit.cpp.
References Timer::alpha_weibull, Timer::beta_weibull, Timer::setAlpha_Weibull(), Timer::setBeta_Weibull(), KBExpectedComponentStateUnit::setExpectedState(), ProcedureExpectORLink::setORLink(), Timer::setT_Minimum(), setUseNewInfo(), and Timer::t_minimum.
Referenced by DiagnosisComponentActionUnit::readDiagnosisComponentPrerequisiteFromFile(), and ProcedureStepUnit::readInfofromFileExpectation().
| void ProcedureExpectedComponentStateUnit::retrieveProcedureExpectedComponentStateUnitFromFile | ( | std::ifstream & | ) |
Definition at line 66 of file ProcedureExpectedComponentStateUnit.cpp.
References KBExpectedComponentStateUnit::retrieveKBExpectedComponentStateUnitFromFile(), ProcedureExpectORLink::retrieveProcedureExpectORLinkFromFile(), Timer::retrieveTimerFromFile(), and use_new_info.
| void ProcedureExpectedComponentStateUnit::saveProcedureExpectedComponentStateUnitToFile | ( | std::ofstream & | ) |
Definition at line 60 of file ProcedureExpectedComponentStateUnit.cpp.
References KBExpectedComponentStateUnit::saveKBExpectedComponentStateUnitToFile(), ProcedureExpectORLink::saveProcedureExpectORLinkToFile(), Timer::saveTimerToFile(), and use_new_info.
|
inlineprivate |
Definition at line 39 of file ProcedureExpectedComponentStateUnit.h.
References use_new_info.
| void ProcedureExpectedComponentStateUnit::setUseNewInfo | ( | int | n | ) |
Definition at line 24 of file ProcedureExpectedComponentStateUnit.cpp.
References use_new_info.
Referenced by readInfoFromFile(), and readInfoFromFileWithoutInfoName().
|
overridevirtual |
Reimplemented from ExpectationElement.
Definition at line 82 of file ProcedureExpectedComponentStateUnit.cpp.
References ExpectationElement::state_load(), and Timer::timer_state_load().
|
overridevirtual |
Reimplemented from ExpectationElement.
Definition at line 78 of file ProcedureExpectedComponentStateUnit.cpp.
References ExpectationElement::state_save(), and Timer::timer_state_save().
|
friend |
Definition at line 37 of file ProcedureExpectedComponentStateUnit.h.
|
private |
Definition at line 36 of file ProcedureExpectedComponentStateUnit.h.
Referenced by copyProcedureExpectedComponentStateUnit(), getUseNewInfo(), ProcedureExpectedComponentStateUnit(), retrieveProcedureExpectedComponentStateUnitFromFile(), saveProcedureExpectedComponentStateUnitToFile(), serialize(), and setUseNewInfo().