← Documentation
ADS-IDAC Engine 5.0.0
MentalSupportSystemState.cpp
Go to the documentation of this file.
2#include <boost/serialization/export.hpp>
3#include <boost/archive/binary_oarchive.hpp>
4#include <boost/archive/binary_iarchive.hpp>
5BOOST_CLASS_EXPORT_IMPLEMENT(MentalSupportSystemState)
6using namespace std;
7
9{
12}
13
15{
16
17}
24}
26 fout << observed_support_system_state << '\n';
27 this->saveMentalInfoToFile(fout);
28 this->saveDisplayElementToFile(fout);
29}
34}
36 bool matched = true;
37 if(!this->checkIfIsIdenticalDisplayElement(_msss) || !this->checkIfIsIdenticalMentalInfo(_msss) ||
39 matched = false;
40 }
41 return matched;
42}
void saveDisplayElementToFile(std::ofstream &)
bool checkIfIsIdenticalDisplayElement(DisplayElement &)
void retrieveDisplayElementFromFile(std::ifstream &)
void copyDisplayElement(DisplayElement &)
void retrieveMentalInfoFromFile(std::ifstream &)
Definition: MentalInfo.cpp:37
bool checkIfIsIdenticalMentalInfo(MentalInfo &)
Definition: MentalInfo.cpp:40
void copyMentalInfo(MentalInfo &)
Definition: MentalInfo.cpp:30
void saveMentalInfoToFile(std::ofstream &)
Definition: MentalInfo.cpp:34
void setTypeOfMentalInfo(int)
Definition: MentalInfo.cpp:28
void copyMentalSupportSystemState(MentalSupportSystemState &)
void saveMentalSupportSystemStateToFile(std::ofstream &)
void retrieveMentalSupportSystemStateFromFile(std::ifstream &)
bool checkIfIsIdenticalMentalSupportSystemState(MentalSupportSystemState &)
constexpr int SupportSystemState
Definition: SimConstants.h:292
constexpr int None
Definition: SimConstants.h:75