← Documentation
ADS-IDAC Engine 5.0.0
MentalComponentState Class Reference

#include <MentalComponentState.h>

Inheritance diagram for MentalComponentState:
[legend]
Collaboration diagram for MentalComponentState:
[legend]

Public Member Functions

 MentalComponentState ()
 
virtual ~MentalComponentState ()
 
void setObservedComponentState (int)
 
int getObservedComponentState ()
 
void copyMentalComponentState (MentalComponentState &)
 
void saveMentalComponentStateToFile (std::ofstream &)
 
void retrieveMentalComponentStateFromFile (std::ifstream &)
 
bool checkIfIsIdenticalMentalComponentState (MentalComponentState &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from DisplayElement
 DisplayElement ()
 
virtual ~DisplayElement ()
 
void setDisplayName (std::string)
 
void setCorrespondingSystemName (std::string)
 
void setCorrespondingSystemParameterName (std::string)
 
void setTimeRequiredForCheckingThisDisplay (double)
 
void setCorrespondingSystemParameterUnit (std::string)
 
std::string getCorrespondingSystemName ()
 
std::string getCorrespondingSystemParameterName ()
 
double getTimeRequiredForCheckingThisDisplay ()
 
std::string getCorrespondingSystemParameterUnit ()
 
std::string getDisplayName ()
 
void readInfoFromFile (std::ifstream &)
 
void readInfoFromFileWithoutDisplayName (std::ifstream &)
 
void copyDisplayElement (DisplayElement &)
 
void saveDisplayElementToFile (std::ofstream &)
 
void retrieveDisplayElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalDisplayElement (DisplayElement &)
 
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)
 

Private Attributes

int observed_component_state
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 15 of file MentalComponentState.h.

Constructor & Destructor Documentation

◆ MentalComponentState()

MentalComponentState::MentalComponentState ( )

Definition at line 17 of file MentalComponentState.cpp.

References sim::Comm::ComponentState, sim::None, observed_component_state, and MentalInfo::setTypeOfMentalInfo().

Here is the call graph for this function:

◆ ~MentalComponentState()

MentalComponentState::~MentalComponentState ( )
virtual

Definition at line 23 of file MentalComponentState.cpp.

Member Function Documentation

◆ checkIfIsIdenticalMentalComponentState()

bool MentalComponentState::checkIfIsIdenticalMentalComponentState ( MentalComponentState &  _mcs)

Definition at line 44 of file MentalComponentState.cpp.

References DisplayElement::checkIfIsIdenticalDisplayElement(), MentalInfo::checkIfIsIdenticalMentalInfo(), getObservedComponentState(), and observed_component_state.

Here is the call graph for this function:

◆ copyMentalComponentState()

void MentalComponentState::copyMentalComponentState ( MentalComponentState &  _mcp)

Definition at line 29 of file MentalComponentState.cpp.

References DisplayElement::copyDisplayElement(), MentalInfo::copyMentalInfo(), getObservedComponentState(), and observed_component_state.

Referenced by ExpectationORUnit::assessExpectation(), DecisionExpectedComponentState::copyDecisionExpectedComponentState(), and OperatorAT::infoChunking().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getObservedComponentState()

int MentalComponentState::getObservedComponentState ( )

◆ retrieveMentalComponentStateFromFile()

void MentalComponentState::retrieveMentalComponentStateFromFile ( std::ifstream &  )

Definition at line 39 of file MentalComponentState.cpp.

References observed_component_state, DisplayElement::retrieveDisplayElementFromFile(), and MentalInfo::retrieveMentalInfoFromFile().

Referenced by DecisionExpectedComponentState::retrieveDecisionExpectedComponentStateFromFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveMentalComponentStateToFile()

void MentalComponentState::saveMentalComponentStateToFile ( std::ofstream &  )

Definition at line 34 of file MentalComponentState.cpp.

References observed_component_state, DisplayElement::saveDisplayElementToFile(), and MentalInfo::saveMentalInfoToFile().

Referenced by DecisionExpectedComponentState::saveDecisionExpectedComponentStateToFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ serialize()

template<class Archive >
void MentalComponentState::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

Definition at line 31 of file MentalComponentState.h.

References observed_component_state.

◆ setObservedComponentState()

void MentalComponentState::setObservedComponentState ( int  n)

Definition at line 27 of file MentalComponentState.cpp.

References observed_component_state.

Referenced by OperatorDM::infoChunking().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 29 of file MentalComponentState.h.

Member Data Documentation

◆ observed_component_state


The documentation for this class was generated from the following files: