← Documentation
ADS-IDAC Engine 5.0.0
BranchSystemAction Class Reference

#include <BranchSystemAction.h>

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

Public Member Functions

 BranchSystemAction ()
 
virtual ~BranchSystemAction ()
 
void copyBranchSystemAction (BranchSystemAction &)
 
void saveInfoToFile (std::ostream &)
 
std::string translateMessage ()
 
void setFunctionalState (int)
 
int getFunctionalState ()
 
void saveBranchSystemActionToFile (std::ofstream &)
 
void retrieveBranchSystemActionFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- 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 Communication
 Communication ()
 
 Communication (int, int)
 
virtual ~Communication ()
 
void setSender (int)
 
void setTypeOfCommunication (int)
 
void setTypeOfPauseActivity (int)
 
void setIntendedReceiver (int)
 
void setTimeOfCommunication (double)
 
void setSenderAndReceiver (int, int)
 
void setCommunicationPriority (int)
 
int getSender ()
 
int getIntendedReceiver ()
 
int getTypeOfCommunication ()
 
int getTypeOfPauseActivity ()
 
double getTimeOfCommunication ()
 
int getCommunicationPriority ()
 
void copyCommunication (Communication &)
 
void saveCommunicationToFile (std::ofstream &)
 
void retrieveCommunicationFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from TimerAndProbability
 TimerAndProbability ()
 
virtual ~TimerAndProbability ()
 
void setTimerAndProbability (double, double)
 
void copyTimerAndProbability (TimerAndProbability &)
 
void saveTimerAndProbabilityToFile (std::ofstream &)
 
void retrieveTimerAndProbabilityFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from Timer
template<class Archive >
void timer_state_save (Archive &ar) const
 
template<class Archive >
void timer_state_load (Archive &ar)
 
double calculateRequiredTime ()
 
double calculateRequiredTime (double)
 
double calculateMeanRequiredTime ()
 
double calculateMeanRequiredTime (double, double)
 
double calculateWeibull_pdf (double)
 
 Timer ()
 
virtual ~Timer ()
 
void setRemainingTime (double)
 
void setTotalTimeRequired (double)
 
void setAlpha_Weibull (double)
 
void setBeta_Weibull (double)
 
void setT_Minimum (double)
 
double getTotalTimeRequired ()
 
double getRemainingTime ()
 
double reduceRemainingTime (double)
 
double getAlpha_Weibull ()
 
double getBeta_Weibull ()
 
double getT_Minimum ()
 
void copyTimer (Timer &)
 
int getNumberOfIntervals () const
 
void setNumberOfIntervals (int)
 
int getNumberOfIntervalsPassed () const
 
void setNumberOfIntervalsPassed (int)
 
double getTimeAtDemand () const
 
void setTimeAtDemand (double)
 
void saveTimerToFile (std::ofstream &)
 
void retrieveTimerFromFile (std::ifstream &)
 
bool checkIfIsIdenticalTimer (Timer &)
 
void setBothTotalTimeRequiredAndRemainingTime (double)
 
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 Attributes

int functional_state
 

Detailed Description

Definition at line 18 of file BranchSystemAction.h.

Constructor & Destructor Documentation

◆ BranchSystemAction()

BranchSystemAction::BranchSystemAction ( )

Definition at line 20 of file BranchSystemAction.cpp.

References functional_state, and sim::State::Unknown.

◆ ~BranchSystemAction()

BranchSystemAction::~BranchSystemAction ( )
virtual

Definition at line 24 of file BranchSystemAction.cpp.

Member Function Documentation

◆ copyBranchSystemAction()

void BranchSystemAction::copyBranchSystemAction ( BranchSystemAction &  _bsp)

Definition at line 27 of file BranchSystemAction.cpp.

References Communication::copyCommunication(), ControlElement::copyControlElement(), TimerAndProbability::copyTimerAndProbability(), functional_state, and getFunctionalState().

Referenced by HWReliabilityModule::checkAndActiveComponentFailure(), BranchRecord::checkAndAddBranchCluster(), HWReliabilityFTUnit::copyHWReliabilityFTUnit(), HWReliabilityUnit::copyHWReliabilityUnit(), and ControlPanel::executeRequestToPlant().

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

◆ getFunctionalState()

int BranchSystemAction::getFunctionalState ( )

Definition at line 69 of file BranchSystemAction.cpp.

References functional_state.

Referenced by copyBranchSystemAction(), and saveInfoToFile().

Here is the caller graph for this function:

◆ retrieveBranchSystemActionFromFile()

void BranchSystemAction::retrieveBranchSystemActionFromFile ( std::ifstream &  )

Definition at line 76 of file BranchSystemAction.cpp.

References functional_state, Communication::retrieveCommunicationFromFile(), ControlElement::retrieveControlElementFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().

Referenced by HWReliabilityFTUnit::retrieveHWReliabilityFTUnitFromFile(), and HWReliabilityUnit::retrieveHWReliabilityUnitFromFile().

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

◆ saveBranchSystemActionToFile()

void BranchSystemAction::saveBranchSystemActionToFile ( std::ofstream &  )

Definition at line 70 of file BranchSystemAction.cpp.

References functional_state, Communication::saveCommunicationToFile(), ControlElement::saveControlElementToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().

Referenced by HWReliabilityFTUnit::saveHWReliabilityFTUnitToFile(), and HWReliabilityUnit::saveHWReliabilityUnitToFile().

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

◆ saveInfoToFile()

void BranchSystemAction::saveInfoToFile ( std::ostream &  )

◆ serialize()

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

Definition at line 34 of file BranchSystemAction.h.

References functional_state.

◆ setFunctionalState()

void BranchSystemAction::setFunctionalState ( int  n)

Definition at line 68 of file BranchSystemAction.cpp.

References functional_state.

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

Here is the caller graph for this function:

◆ translateMessage()

string BranchSystemAction::translateMessage ( )

Member Data Documentation

◆ functional_state


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