|
ADS-IDAC Engine 5.0.0
|
#include <InfoChunkMental.h>
Public Attributes | |
| std::list< int > | related_subsystem |
Public Attributes inherited from InfoChunk | |
| std::vector< std::shared_ptr< DecisionGoal > > | goal |
| std::vector< std::shared_ptr< DecisionStrategy > > | strategy |
| std::vector< std::shared_ptr< DecisionSubGoal > > | subgoal |
| std::vector< std::shared_ptr< DecisionDiagnosis > > | diagnosis |
| std::vector< std::shared_ptr< DecisionActionObjective > > | action_objective |
| std::vector< std::shared_ptr< DecisionActionPack > > | action_pack |
| std::vector< std::shared_ptr< DecisionAction > > | action |
| std::vector< std::shared_ptr< DecisionProcedureStep > > | procedure_step |
| std::vector< std::shared_ptr< DecisionProcedureStep > > | instinctive_response_procedure |
| std::vector< std::shared_ptr< MentalAlarm > > | perceived_alarms |
| std::vector< std::shared_ptr< MentalComponentState > > | perceived_component_state |
| std::vector< std::shared_ptr< MentalSupportSystemState > > | perceived_support_system_state |
| std::vector< std::shared_ptr< MentalParameterValue > > | perceived_parameter_value |
| std::vector< std::shared_ptr< MentalParameterTrend > > | perceived_parameter_trend |
| std::vector< std::shared_ptr< ExpectedMentalBelief > > | mental_belief |
Private Attributes | |
| double | priority |
Friends | |
| class | boost::serialization::access |
Definition at line 15 of file InfoChunkMental.h.
| InfoChunkMental::InfoChunkMental | ( | ) |
Definition at line 20 of file InfoChunkMental.cpp.
References priority.
|
virtual |
Definition at line 25 of file InfoChunkMental.cpp.
| void InfoChunkMental::calculatePriority | ( | ) |
Definition at line 28 of file InfoChunkMental.cpp.
References sim::State::Active, sim::State::Done, InfoChunk::getCurrentGoal(), StateOfActivation::getStateOfActivation(), InfoChunk::getTotalWeightOfAlarmPerceived(), InfoChunk::includeActiveDiagnosis(), sim::Goal::NormalOp, sim::State::Pause, priority, and StateOfActivation::setStateOfActivation().
Referenced by ShortTermMemory::calculatePriorityAndSetStateOfActivation().
| bool InfoChunkMental::checkWhetherSubSystemIsIncluded | ( | int | n | ) |
Definition at line 55 of file InfoChunkMental.cpp.
References related_subsystem.
| void InfoChunkMental::clearInfoChunkMental | ( | ) |
Definition at line 46 of file InfoChunkMental.cpp.
References InfoChunk::clearInfoChunk(), and related_subsystem.
| void InfoChunkMental::clearInfoChunkMentalPointers | ( | ) |
Definition at line 50 of file InfoChunkMental.cpp.
References InfoChunk::clearInfoChunkPointers(), and related_subsystem.
| void InfoChunkMental::copyInfoChunkMental | ( | InfoChunkMental & | _icm | ) |
Definition at line 78 of file InfoChunkMental.cpp.
References InfoChunk::copyInfoChunk(), StateOfActivation::copyStateOfActivation(), getPriority(), priority, and related_subsystem.
| double InfoChunkMental::getPriority | ( | ) |
Definition at line 45 of file InfoChunkMental.cpp.
References priority.
Referenced by copyInfoChunkMental(), and ShortTermMemory::getWorkingMemory().
| int InfoChunkMental::getRelatedSubSystem | ( | int | n | ) |
Definition at line 64 of file InfoChunkMental.cpp.
References related_subsystem.
| void InfoChunkMental::retrieveInfoChunkMentalFromFile | ( | std::ifstream & | ) |
Definition at line 98 of file InfoChunkMental.cpp.
References SimulationContext::Branch_center, g_sim, NoKB, priority, r5pars_, related_subsystem, InfoChunk::retrieveInfoChunkFromFile(), StateOfActivation::retrieveStateOfActivationFromFile(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
| void InfoChunkMental::saveInfoChunkMentalToFile | ( | std::ofstream & | ) |
Definition at line 87 of file InfoChunkMental.cpp.
References priority, related_subsystem, InfoChunk::saveInfoChunkToFile(), and StateOfActivation::saveStateOfActivationToFile().
|
inline |
Definition at line 35 of file InfoChunkMental.h.
References priority, and related_subsystem.
| void InfoChunkMental::setPriority | ( | double | x | ) |
Definition at line 44 of file InfoChunkMental.cpp.
References priority.
Referenced by ShortTermMemory::copyShortTermMemoryFromRestartInfo().
|
friend |
Definition at line 33 of file InfoChunkMental.h.
|
private |
Definition at line 47 of file InfoChunkMental.h.
Referenced by calculatePriority(), copyInfoChunkMental(), getPriority(), InfoChunkMental(), retrieveInfoChunkMentalFromFile(), saveInfoChunkMentalToFile(), serialize(), and setPriority().
| std::list<int> InfoChunkMental::related_subsystem |
Definition at line 31 of file InfoChunkMental.h.
Referenced by ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAction(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAlarm(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedComponentState(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterTrend(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterValue(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedSupportSystemState(), checkWhetherSubSystemIsIncluded(), clearInfoChunkMental(), clearInfoChunkMentalPointers(), copyInfoChunkMental(), ShortTermMemory::copyShortTermMemoryFromRestartInfo(), getRelatedSubSystem(), retrieveInfoChunkMentalFromFile(), saveInfoChunkMentalToFile(), and serialize().