← Documentation
ADS-IDAC Engine 5.0.0
SystemControl Class Reference

#include <SystemControl.h>

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

Public Member Functions

 SystemControl ()
 
virtual ~SystemControl ()
 
void setFunctionalState (int)
 
void setTypeOfControl (DisplayType)
 
void setPtrToCorrespondingInteractiveVariable (InteractiveVariable *)
 
int getFunctionalState ()
 
DisplayType getTypeOfControl ()
 
InteractiveVariable * getPtrToCorrespondingInteractiveVariable ()
 
void copySystemControl (SystemControl &)
 
void saveSystemControlToFile (std::ofstream &)
 
void retrieveSystemControlFromFile (std::ifstream &)
 
void initiateControlValue ()
 
- Public Member Functions inherited from ControlElement
 ControlElement ()
 
virtual ~ControlElement ()
 
void setDisplayName (std::string)
 
void setCorrespondingComponentNameOfControl (std::string)
 
void setNominalTimeRequiredToActOnThisControl (double)
 
void setValueForOnOrFullyOpen (double)
 
void setValueForOffOrFullyClose (double)
 
void setValueForNeutralState (double)
 
std::string getDisplayName ()
 
std::string getCorrespondingComponentNameOfControl ()
 
double getNominalTimeRequiredToActOnThisControl ()
 
double getValueForOnOrFullyOpen ()
 
double getValueForOffOrFullyClose ()
 
double getValueForNeutralState ()
 
void readInfoFromFile (std::ifstream &)
 
void setTimeAtWhichThisControlIsActivated (double)
 
double getTimeAtWhichThisControlIsActivated ()
 
void copyControlElement (ControlElement &)
 
void setControlValue (double)
 
double getControlValue ()
 
void saveControlElementToFile (std::ofstream &)
 
void retrieveControlElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalControlElement (ControlElement &)
 
void setTimeRatioForAction (double)
 
double getTimeRatioForAction ()
 
double getAdjustedTimeRequiredToPerformTheAction ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from Probability
double calculateProbability ()
 
double calculateSurvivalProbability (double)
 
double gamma_log (double)
 
double beta_cdf_inv (double, double, double)
 
double beta_cdf (double, double, double)
 
double beta_pdf (double, double, double)
 
double beta_inc (double, double, double)
 
double beta (double, double)
 
double r8_huge ()
 
double r8_epsilon (void)
 
 Probability ()
 
virtual ~Probability ()
 
void setProbability (double)
 
double getProbability ()
 
void setAlpha_Parameter (double)
 
double getAlpha_Parameter ()
 
void setBeta_Parameter (double)
 
double getBeta_Parameter ()
 
void copyProbability (Probability &)
 
void saveProbabilityToFile (std::ofstream &)
 
void retrieveProbabilityFromFile (std::ifstream &)
 
double getFailureRate () const
 
void setFailureRate (double failure_rate)
 
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

DisplayType type_of_control
 
int functional_state
 
InteractiveVariable * ptr_to_corresponding_interactive_variable
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 19 of file SystemControl.h.

Constructor & Destructor Documentation

◆ SystemControl()

SystemControl::SystemControl ( )

◆ ~SystemControl()

SystemControl::~SystemControl ( )
virtual

Definition at line 29 of file SystemControl.cpp.

Member Function Documentation

◆ copySystemControl()

void SystemControl::copySystemControl ( SystemControl &  _sc)

Definition at line 41 of file SystemControl.cpp.

References ControlElement::copyControlElement(), Probability::copyProbability(), functional_state, getFunctionalState(), getTypeOfControl(), and type_of_control.

Referenced by ControlState::copyControlState(), and ControlValue::copyControlValue().

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

◆ getFunctionalState()

int SystemControl::getFunctionalState ( )

◆ getPtrToCorrespondingInteractiveVariable()

InteractiveVariable * SystemControl::getPtrToCorrespondingInteractiveVariable ( )

Definition at line 39 of file SystemControl.cpp.

References ptr_to_corresponding_interactive_variable.

Referenced by initiateControlValue(), ControlState::initiateDisplayedControlState(), ControlValue::performControl(), ControlState::performDisplayedControlState(), ControlState::performValueControl(), ControlState::updateDisplayedControlState(), and ControlValue::updateDisplayedControlValue().

Here is the caller graph for this function:

◆ getTypeOfControl()

DisplayType SystemControl::getTypeOfControl ( )

Definition at line 38 of file SystemControl.cpp.

References type_of_control.

Referenced by copySystemControl(), ProcedureStepUnit::executeAction(), ProcedureStepUnit::executeNonResponseAction(), ControlPanel::executeRequestToPlant(), and DiagnosisActionModule::onceThroughProcessForReasoningStrategy().

Here is the caller graph for this function:

◆ initiateControlValue()

void SystemControl::initiateControlValue ( )

◆ retrieveSystemControlFromFile()

void SystemControl::retrieveSystemControlFromFile ( std::ifstream &  fin)

Definition at line 55 of file SystemControl.cpp.

References functional_state, ControlElement::retrieveControlElementFromFile(), Probability::retrieveProbabilityFromFile(), and type_of_control.

Referenced by ControlState::retrieveControlStateFromFile(), and ControlValue::retrieveControlValueFromFile().

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

◆ saveSystemControlToFile()

void SystemControl::saveSystemControlToFile ( std::ofstream &  fout)

Definition at line 48 of file SystemControl.cpp.

References functional_state, ControlElement::saveControlElementToFile(), Probability::saveProbabilityToFile(), and type_of_control.

Referenced by ControlState::saveControlStateToFile(), and ControlValue::saveControlValueToFile().

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

◆ serialize()

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

Definition at line 43 of file SystemControl.h.

References functional_state.

◆ setFunctionalState()

void SystemControl::setFunctionalState ( int  n)

Definition at line 34 of file SystemControl.cpp.

References functional_state.

Referenced by ControlPanel::executeRequestToPlant().

Here is the caller graph for this function:

◆ setPtrToCorrespondingInteractiveVariable()

void SystemControl::setPtrToCorrespondingInteractiveVariable ( InteractiveVariable *  iv)

Definition at line 36 of file SystemControl.cpp.

References ptr_to_corresponding_interactive_variable.

Referenced by initiateControlValue(), ControlState::initiateDisplayedControlState(), ControlValue::performControl(), ControlState::performDisplayedControlState(), ControlState::performValueControl(), ControlState::updateDisplayedControlState(), and ControlValue::updateDisplayedControlValue().

Here is the caller graph for this function:

◆ setTypeOfControl()

void SystemControl::setTypeOfControl ( DisplayType  n)

Definition at line 35 of file SystemControl.cpp.

References type_of_control.

Referenced by ControlState::ControlState(), and ControlValue::ControlValue().

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 40 of file SystemControl.h.

Member Data Documentation

◆ functional_state

int SystemControl::functional_state
private

◆ ptr_to_corresponding_interactive_variable

InteractiveVariable* SystemControl::ptr_to_corresponding_interactive_variable
private

◆ type_of_control


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