← Documentation
ADS-IDAC Engine 5.0.0
HardWiredControlActivity Class Reference

#include <HardWiredControlActivity.h>

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

Public Member Functions

 HardWiredControlActivity ()
 
virtual ~HardWiredControlActivity ()
 
void copyHardWiredControlActivity (HardWiredControlActivity &)
 
void readInfoFromFile (std::ifstream &)
 
void setExpectedValue (double)
 
double getExpectedValue ()
 
int checkForMatch (std::string, double)
 
void saveHardWiredControlActivityToFile (std::ofstream &)
 
void retrieveHardWiredControlActivityFromFile (std::ifstream &)
 
- Public Member Functions inherited from KBElement
 KBElement ()
 
virtual ~KBElement ()
 
void setInfoName (std::string)
 
std::string getInfoName ()
 
void readInfoFromFile (std::ifstream &)
 
void copyKBElement (KBElement &)
 
void saveKBElementToFile (std::ofstream &)
 
void retrieveKBElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalKBElement (KBElement &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from ExpectationElement
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 Member Functions

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

Private Attributes

double expected_value
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Public Attributes inherited from KBElement
std::string info_name
 

Detailed Description

Definition at line 15 of file HardWiredControlActivity.h.

Constructor & Destructor Documentation

◆ HardWiredControlActivity()

HardWiredControlActivity::HardWiredControlActivity ( )

Definition at line 21 of file HardWiredControlActivity.cpp.

References ControlValue, expected_value, and ExpectationElement::setTypeOfExpectation().

Here is the call graph for this function:

◆ ~HardWiredControlActivity()

HardWiredControlActivity::~HardWiredControlActivity ( )
virtual

Definition at line 27 of file HardWiredControlActivity.cpp.

Member Function Documentation

◆ checkForMatch()

int HardWiredControlActivity::checkForMatch ( std::string  ,
double   
)

Definition at line 43 of file HardWiredControlActivity.cpp.

References expected_value, sim::State::Failed, KBElement::getInfoName(), sim::State::Succeed, and ExpectationElement::updateExpectation().

Here is the call graph for this function:

◆ copyHardWiredControlActivity()

void HardWiredControlActivity::copyHardWiredControlActivity ( HardWiredControlActivity &  _hca)

Definition at line 31 of file HardWiredControlActivity.cpp.

References ExpectationElement::copyExpectationElement(), KBElement::copyKBElement(), expected_value, and getExpectedValue().

Here is the call graph for this function:

◆ getExpectedValue()

double HardWiredControlActivity::getExpectedValue ( )

Definition at line 37 of file HardWiredControlActivity.cpp.

References expected_value.

Referenced by copyHardWiredControlActivity().

Here is the caller graph for this function:

◆ readInfoFromFile()

void HardWiredControlActivity::readInfoFromFile ( std::ifstream &  )

Definition at line 38 of file HardWiredControlActivity.cpp.

References expected_value, and KBElement::setInfoName().

Here is the call graph for this function:

◆ retrieveHardWiredControlActivityFromFile()

void HardWiredControlActivity::retrieveHardWiredControlActivityFromFile ( std::ifstream &  )

Definition at line 69 of file HardWiredControlActivity.cpp.

References SimulationContext::Branch_center, expected_value, g_sim, NoKB, r5pars_, ExpectationElement::retrieveExpectationElementFromFile(), KBElement::retrieveKBElementFromFile(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().

Here is the call graph for this function:

◆ saveHardWiredControlActivityToFile()

void HardWiredControlActivity::saveHardWiredControlActivityToFile ( std::ofstream &  )

Definition at line 64 of file HardWiredControlActivity.cpp.

References expected_value, ExpectationElement::saveExpectationElementToFile(), and KBElement::saveKBElementToFile().

Here is the call graph for this function:

◆ serialize()

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

Definition at line 35 of file HardWiredControlActivity.h.

References expected_value.

◆ setExpectedValue()

void HardWiredControlActivity::setExpectedValue ( double  x)

Definition at line 36 of file HardWiredControlActivity.cpp.

References expected_value.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 32 of file HardWiredControlActivity.h.

Member Data Documentation

◆ expected_value


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