|
ADS-IDAC Engine 5.0.0
|
#include <MentalInfo.h>
Public Member Functions | |
| 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) |
Private Attributes | |
| double | time_at_which_this_info_is_perceived |
| int | type_of_mental_info |
Friends | |
| class | boost::serialization::access |
Definition at line 20 of file MentalInfo.h.
| MentalInfo::MentalInfo | ( | ) |
Definition at line 16 of file MentalInfo.cpp.
References r5pars_, time_at_which_this_info_is_perceived, and type_of_mental_info.
|
virtual |
Definition at line 22 of file MentalInfo.cpp.
| bool MentalInfo::checkIfIsIdenticalMentalInfo | ( | MentalInfo & | _mi | ) |
Definition at line 40 of file MentalInfo.cpp.
References getTimeAtWhichThisInfoIsPerceived(), getTypeOfMentalInfo(), time_at_which_this_info_is_perceived, and type_of_mental_info.
Referenced by DecisionActionObjective::checkIfIsIdenticalDecisionActionObjective(), DecisionActionPack::checkIfIsIdenticalDecisionActionPack(), DecisionDiagnosis::checkIfIsIdenticalDecisionDiagnosis(), DecisionGoal::checkIfIsIdenticalDecisionGoal(), DecisionStrategy::checkIfIsIdenticalDecisionStrategy(), DecisionSubGoal::checkIfIsIdenticalDecisionSubGoal(), MentalAlarm::checkIfIsIdenticalMentalAlarm(), MentalComponentState::checkIfIsIdenticalMentalComponentState(), MentalControl::checkIfIsIdenticalMentalControl(), MentalParameterTrend::checkIfIsIdenticalMentalParameterTrend(), MentalParameterValue::checkIfIsIdenticalMentalParameterValue(), and MentalSupportSystemState::checkIfIsIdenticalMentalSupportSystemState().
| void MentalInfo::copyMentalInfo | ( | MentalInfo & | _mi | ) |
Definition at line 30 of file MentalInfo.cpp.
References getTimeAtWhichThisInfoIsPerceived(), getTypeOfMentalInfo(), time_at_which_this_info_is_perceived, and type_of_mental_info.
Referenced by DecisionActionObjective::copyDecisionActionObjective(), DecisionActionPack::copyDecisionActionPack(), DecisionGoal::copyDecisionGoal(), DecisionScannedParameter::copyDecisionScannedParameter(), DecisionStrategy::copyDecisionStrategy(), DecisionSubGoal::copyDecisionSubGoal(), MentalAlarm::copyMentalAlarm(), MentalComponentState::copyMentalComponentState(), MentalControl::copyMentalControl(), MentalDiagnosis::copyMentalDiagnosis(), MentalParameterTrend::copyMentalParameterTrend(), MentalParameterValue::copyMentalParameterValue(), and MentalSupportSystemState::copyMentalSupportSystemState().
| double MentalInfo::getTimeAtWhichThisInfoIsPerceived | ( | ) |
Definition at line 27 of file MentalInfo.cpp.
References time_at_which_this_info_is_perceived.
Referenced by ExpectationORUnit::assessExpectation(), checkIfIsIdenticalMentalInfo(), copyMentalInfo(), and TimeConstrainedUnit::updateRawData().
| int MentalInfo::getTypeOfMentalInfo | ( | ) |
Definition at line 29 of file MentalInfo.cpp.
References type_of_mental_info.
Referenced by checkIfIsIdenticalMentalInfo(), and copyMentalInfo().
| void MentalInfo::retrieveMentalInfoFromFile | ( | std::ifstream & | ) |
Definition at line 37 of file MentalInfo.cpp.
References time_at_which_this_info_is_perceived, and type_of_mental_info.
Referenced by DecisionActionObjective::retrieveDecisionActionObjectiveFromFile(), DecisionActionPack::retrieveDecisionActionPackFromFile(), DecisionGoal::retrieveDecisionGoalFromFile(), DecisionScannedParameter::retrieveDecisionScannedParameterFromFile(), DecisionStrategy::retrieveDecisionStrategyFromFile(), DecisionSubGoal::retrieveDecisionSubGoalFromFile(), MentalAlarm::retrieveMentalAlarmFromFile(), MentalComponentState::retrieveMentalComponentStateFromFile(), MentalControl::retrieveMentalControlFromFile(), MentalDiagnosis::retrieveMentalDiagnosisFromFile(), MentalParameterState::retrieveMentalParameterStateFromFile(), MentalParameterTrend::retrieveMentalParameterTrendFromFile(), MentalParameterValue::retrieveMentalParameterValueFromFile(), and MentalSupportSystemState::retrieveMentalSupportSystemStateFromFile().
| void MentalInfo::saveMentalInfoToFile | ( | std::ofstream & | ) |
Definition at line 34 of file MentalInfo.cpp.
References time_at_which_this_info_is_perceived, and type_of_mental_info.
Referenced by DecisionActionObjective::saveDecisionActionObjectiveToFile(), DecisionActionPack::saveDecisionActionPackToFile(), DecisionGoal::saveDecisionGoalToFile(), DecisionScannedParameter::saveDecisionScannedParameterToFile(), DecisionStrategy::saveDecisionStrategyToFile(), DecisionSubGoal::saveDecisionSubGoalToFile(), MentalAlarm::saveMentalAlarmToFile(), MentalComponentState::saveMentalComponentStateToFile(), MentalControl::saveMentalControlToFile(), MentalDiagnosis::saveMentalDiagnosisToFile(), MentalParameterState::saveMentalParameterStateToFile(), MentalParameterTrend::saveMentalParameterTrendToFile(), MentalParameterValue::saveMentalParameterValueToFile(), and MentalSupportSystemState::saveMentalSupportSystemStateToFile().
|
inline |
Definition at line 35 of file MentalInfo.h.
References time_at_which_this_info_is_perceived, and type_of_mental_info.
| void MentalInfo::setTimeAtWhichThisInfoIsPerceived | ( | double | x | ) |
Definition at line 26 of file MentalInfo.cpp.
References time_at_which_this_info_is_perceived.
Referenced by OperatorAT::infoChunking(), OperatorDM::infoChunking(), MentalAlarm::MentalAlarm(), MentalControl::MentalControl(), and MentalParameterValue::MentalParameterValue().
| void MentalInfo::setTypeOfMentalInfo | ( | int | n | ) |
Definition at line 28 of file MentalInfo.cpp.
References type_of_mental_info.
Referenced by DecisionAction::DecisionAction(), DecisionActionPack::DecisionActionPack(), DecisionGoal::DecisionGoal(), DecisionStrategy::DecisionStrategy(), DecisionSubGoal::DecisionSubGoal(), MentalAlarm::MentalAlarm(), MentalComponentState::MentalComponentState(), MentalControl::MentalControl(), MentalDiagnosis::MentalDiagnosis(), MentalParameterState::MentalParameterState(), MentalParameterTrend::MentalParameterTrend(), MentalParameterValue::MentalParameterValue(), and MentalSupportSystemState::MentalSupportSystemState().
|
friend |
Definition at line 33 of file MentalInfo.h.
|
private |
Definition at line 42 of file MentalInfo.h.
Referenced by checkIfIsIdenticalMentalInfo(), copyMentalInfo(), getTimeAtWhichThisInfoIsPerceived(), MentalInfo(), retrieveMentalInfoFromFile(), saveMentalInfoToFile(), serialize(), and setTimeAtWhichThisInfoIsPerceived().
|
private |
Definition at line 43 of file MentalInfo.h.
Referenced by checkIfIsIdenticalMentalInfo(), copyMentalInfo(), getTypeOfMentalInfo(), MentalInfo(), retrieveMentalInfoFromFile(), saveMentalInfoToFile(), serialize(), and setTypeOfMentalInfo().