← Documentation
ADS-IDAC Engine 5.0.0
MentalParameterValue Class Reference

#include <MentalParameterValue.h>

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

Public Member Functions

 MentalParameterValue ()
 
 MentalParameterValue (DisplayParameterValue *)
 
virtual ~MentalParameterValue ()
 
void setObservedParameterValue (double)
 
double getObservedParameterValue ()
 
void copyMentalParameterValue (MentalParameterValue &)
 
void saveMentalParameterValueToFile (std::ofstream &)
 
void retrieveMentalParameterValueFromFile (std::ifstream &)
 
bool checkIfIsIdenticalMentalParameterValue (MentalParameterValue &)
 
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

double observed_parameter_value
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 19 of file MentalParameterValue.h.

Constructor & Destructor Documentation

◆ MentalParameterValue() [1/2]

MentalParameterValue::MentalParameterValue ( )

Definition at line 18 of file MentalParameterValue.cpp.

References observed_parameter_value, sim::Comm::ParameterValue, and MentalInfo::setTypeOfMentalInfo().

Here is the call graph for this function:

◆ MentalParameterValue() [2/2]

◆ ~MentalParameterValue()

MentalParameterValue::~MentalParameterValue ( )
virtual

Definition at line 35 of file MentalParameterValue.cpp.

Member Function Documentation

◆ checkIfIsIdenticalMentalParameterValue()

bool MentalParameterValue::checkIfIsIdenticalMentalParameterValue ( MentalParameterValue &  _mpv)

Definition at line 60 of file MentalParameterValue.cpp.

References DisplayElement::checkIfIsIdenticalDisplayElement(), MentalInfo::checkIfIsIdenticalMentalInfo(), getObservedParameterValue(), and observed_parameter_value.

Here is the call graph for this function:

◆ copyMentalParameterValue()

void MentalParameterValue::copyMentalParameterValue ( MentalParameterValue &  _mpp)

Definition at line 41 of file MentalParameterValue.cpp.

References DisplayElement::copyDisplayElement(), MentalInfo::copyMentalInfo(), getObservedParameterValue(), and observed_parameter_value.

Referenced by ExpectationORUnit::assessExpectation(), DecisionExpectedParameterDifference::copyDecisionExpectedParameterDifference(), DecisionExpectedParameterValue::copyDecisionExpectedParameterValue(), and OperatorAT::infoChunking().

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

◆ getObservedParameterValue()

◆ retrieveMentalParameterValueFromFile()

void MentalParameterValue::retrieveMentalParameterValueFromFile ( std::ifstream &  )

Definition at line 55 of file MentalParameterValue.cpp.

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

Referenced by DecisionExpectedParameterDifference::retrieveDecisionExpectedParameterDifferenceFromFile(), and DecisionExpectedParameterValue::retrieveDecisionExpectedParameterValueFromFile().

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

◆ saveMentalParameterValueToFile()

void MentalParameterValue::saveMentalParameterValueToFile ( std::ofstream &  )

Definition at line 46 of file MentalParameterValue.cpp.

References e, observed_parameter_value, DisplayElement::saveDisplayElementToFile(), and MentalInfo::saveMentalInfoToFile().

Referenced by DecisionExpectedParameterDifference::saveDecisionExpectedParameterDifferenceToFile(), and DecisionExpectedParameterValue::saveDecisionExpectedParameterValueToFile().

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

◆ serialize()

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

Definition at line 35 of file MentalParameterValue.h.

References observed_parameter_value.

◆ setObservedParameterValue()

void MentalParameterValue::setObservedParameterValue ( double  x)

Definition at line 39 of file MentalParameterValue.cpp.

References observed_parameter_value.

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 33 of file MentalParameterValue.h.

Member Data Documentation

◆ observed_parameter_value


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