← Documentation
ADS-IDAC Engine 5.0.0
ExpectationElement Class Reference

#include <ExpectationElement.h>

Inheritance diagram for ExpectationElement:
[legend]

Public Member Functions

virtual void state_save (boost::archive::binary_oarchive &ar) const
 
virtual void state_load (boost::archive::binary_iarchive &ar)
 
 ExpectationElement ()
 
virtual ~ExpectationElement ()
 
void setStateOfExpectation (int)
 
int getStateOfExpectation ()
 
int updateExpectation (int)
 
void copyExpectationElement (ExpectationElement &)
 
void setTypeOfExpectation (int)
 
int getTypeOfExpectation ()
 
void saveExpectationElementToFile (std::ofstream &)
 
void retrieveExpectationElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalExpectationElement (ExpectationElement &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

int state_of_expectation
 
int type_of_expectation
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 19 of file ExpectationElement.h.

Constructor & Destructor Documentation

◆ ExpectationElement()

ExpectationElement::ExpectationElement ( )

Definition at line 17 of file ExpectationElement.cpp.

References sim::None, state_of_expectation, and type_of_expectation.

◆ ~ExpectationElement()

ExpectationElement::~ExpectationElement ( )
virtual

Definition at line 23 of file ExpectationElement.cpp.

Member Function Documentation

◆ checkIfIsIdenticalExpectationElement()

bool ExpectationElement::checkIfIsIdenticalExpectationElement ( ExpectationElement &  _ee)

Definition at line 81 of file ExpectationElement.cpp.

References getStateOfExpectation(), getTypeOfExpectation(), state_of_expectation, and type_of_expectation.

Referenced by ExpectedMentalBelief::checkIfIsIdenticalExpectedMentalBelief().

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

◆ copyExpectationElement()

◆ getStateOfExpectation()

◆ getTypeOfExpectation()

int ExpectationElement::getTypeOfExpectation ( )

Definition at line 74 of file ExpectationElement.cpp.

References type_of_expectation.

Referenced by checkIfIsIdenticalExpectationElement(), and copyExpectationElement().

Here is the caller graph for this function:

◆ retrieveExpectationElementFromFile()

◆ saveExpectationElementToFile()

◆ serialize()

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

Definition at line 42 of file ExpectationElement.h.

References state_of_expectation, and type_of_expectation.

◆ setStateOfExpectation()

void ExpectationElement::setStateOfExpectation ( int  n)

Definition at line 27 of file ExpectationElement.cpp.

References state_of_expectation.

Referenced by ExpectationORUnit::assessExpectation(), KBExpectedComponentStateUnit::KBExpectedComponentStateUnit(), KBExpectedParameterTrendUnit::KBExpectedParameterTrendUnit(), and KBExpectedSupportSystemStateUnit::KBExpectedSupportSystemStateUnit().

Here is the caller graph for this function:

◆ setTypeOfExpectation()

◆ state_load()

◆ state_save()

◆ updateExpectation()

int ExpectationElement::updateExpectation ( int  _fulfilled_state)

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 40 of file ExpectationElement.h.

Member Data Documentation

◆ state_of_expectation

◆ type_of_expectation


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