← Documentation
ADS-IDAC Engine 5.0.0
ControlElement Class Reference

#include <ControlElement.h>

Inheritance diagram for ControlElement:
[legend]

Public Member Functions

 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)
 

Private Attributes

std::string display_name
 
std::string corresponding_component_name_of_control
 
double nominal_time_required_to_act_on_this_control
 
double time_ratio_for_action
 
double value_for_on_or_fully_open
 
double value_for_off_or_fully_close
 
double value_for_neutral_state
 
double time_at_which_this_control_is_activated
 
double control_value
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 19 of file ControlElement.h.

Constructor & Destructor Documentation

◆ ControlElement()

◆ ~ControlElement()

ControlElement::~ControlElement ( )
virtual

Definition at line 30 of file ControlElement.cpp.

Member Function Documentation

◆ checkIfIsIdenticalControlElement()

bool ControlElement::checkIfIsIdenticalControlElement ( ControlElement &  _ce)

Definition at line 76 of file ControlElement.cpp.

References control_value, display_name, getControlValue(), getDisplayName(), getTimeAtWhichThisControlIsActivated(), and time_at_which_this_control_is_activated.

Referenced by MentalControl::checkIfIsIdenticalMentalControl().

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

◆ copyControlElement()

◆ getAdjustedTimeRequiredToPerformTheAction()

double ControlElement::getAdjustedTimeRequiredToPerformTheAction ( )

Definition at line 86 of file ControlElement.cpp.

References nominal_time_required_to_act_on_this_control, and time_ratio_for_action.

Referenced by BranchSupportSystemAction::saveInfoToFile(), and BranchSystemAction::saveInfoToFile().

Here is the caller graph for this function:

◆ getControlValue()

◆ getCorrespondingComponentNameOfControl()

string ControlElement::getCorrespondingComponentNameOfControl ( )

◆ getDisplayName()

◆ getNominalTimeRequiredToActOnThisControl()

double ControlElement::getNominalTimeRequiredToActOnThisControl ( )

Definition at line 42 of file ControlElement.cpp.

References nominal_time_required_to_act_on_this_control.

Referenced by copyControlElement().

Here is the caller graph for this function:

◆ getTimeAtWhichThisControlIsActivated()

double ControlElement::getTimeAtWhichThisControlIsActivated ( )

Definition at line 51 of file ControlElement.cpp.

References time_at_which_this_control_is_activated.

Referenced by checkIfIsIdenticalControlElement(), and copyControlElement().

Here is the caller graph for this function:

◆ getTimeRatioForAction()

double ControlElement::getTimeRatioForAction ( )

Definition at line 85 of file ControlElement.cpp.

References time_ratio_for_action.

Referenced by copyControlElement().

Here is the caller graph for this function:

◆ getValueForNeutralState()

double ControlElement::getValueForNeutralState ( )

Definition at line 45 of file ControlElement.cpp.

References value_for_neutral_state.

Referenced by copyControlElement(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), and HWReliabilityModule::readSystemReliabilityInfoFromFile().

Here is the caller graph for this function:

◆ getValueForOffOrFullyClose()

◆ getValueForOnOrFullyOpen()

◆ readInfoFromFile()

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

Definition at line 46 of file ControlElement.cpp.

References corresponding_component_name_of_control, display_name, nominal_time_required_to_act_on_this_control, value_for_neutral_state, value_for_off_or_fully_close, and value_for_on_or_fully_open.

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

Here is the caller graph for this function:

◆ retrieveControlElementFromFile()

◆ saveControlElementToFile()

◆ serialize()

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

◆ setControlValue()

void ControlElement::setControlValue ( double  x)

◆ setCorrespondingComponentNameOfControl()

void ControlElement::setCorrespondingComponentNameOfControl ( std::string  )

Definition at line 35 of file ControlElement.cpp.

References corresponding_component_name_of_control.

Referenced by InitiatingEventController::checkAndExecuteInitiatingEvent().

Here is the caller graph for this function:

◆ setDisplayName()

void ControlElement::setDisplayName ( std::string  )

Definition at line 34 of file ControlElement.cpp.

References display_name.

Referenced by InitiatingEventController::checkAndExecuteInitiatingEvent(), ManeuverActionUnit::executeManeuverControl(), and ControlPanel::executeRequestToPlant().

Here is the caller graph for this function:

◆ setNominalTimeRequiredToActOnThisControl()

void ControlElement::setNominalTimeRequiredToActOnThisControl ( double  x)

Definition at line 36 of file ControlElement.cpp.

References nominal_time_required_to_act_on_this_control.

◆ setTimeAtWhichThisControlIsActivated()

void ControlElement::setTimeAtWhichThisControlIsActivated ( double  x)

Definition at line 50 of file ControlElement.cpp.

References time_at_which_this_control_is_activated.

◆ setTimeRatioForAction()

void ControlElement::setTimeRatioForAction ( double  x)

Definition at line 84 of file ControlElement.cpp.

References time_ratio_for_action.

◆ setValueForNeutralState()

void ControlElement::setValueForNeutralState ( double  x)

Definition at line 39 of file ControlElement.cpp.

References value_for_neutral_state.

◆ setValueForOffOrFullyClose()

void ControlElement::setValueForOffOrFullyClose ( double  x)

Definition at line 38 of file ControlElement.cpp.

References value_for_off_or_fully_close.

◆ setValueForOnOrFullyOpen()

void ControlElement::setValueForOnOrFullyOpen ( double  x)

Definition at line 37 of file ControlElement.cpp.

References value_for_on_or_fully_open.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 48 of file ControlElement.h.

Member Data Documentation

◆ control_value

◆ corresponding_component_name_of_control

◆ display_name

◆ nominal_time_required_to_act_on_this_control

◆ time_at_which_this_control_is_activated

◆ time_ratio_for_action

◆ value_for_neutral_state

◆ value_for_off_or_fully_close

◆ value_for_on_or_fully_open


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