← Documentation
ADS-IDAC Engine 5.0.0
HWReliabilityUnit Class Reference

#include <HWReliabilityUnit.h>

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

Public Member Functions

 HWReliabilityUnit ()
 
virtual ~HWReliabilityUnit ()
 
void setInitialComponentState (int)
 
int getInitialComponentState ()
 
int checkAndActivateComponentFailure ()
 
int checkAndActivateComponentOperationFailure ()
 
void setCorrespondingComponentPt (DisplayComponentState *)
 
void copyHWReliabilityUnit (HWReliabilityUnit &)
 
void saveHWReliabilityUnitToFile (std::ofstream &)
 
void retrieveHWReliabilityUnitFromFile (std::ifstream &)
 
- Public Member Functions inherited from BranchSystemAction
 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)
 
- Public Member Functions inherited from StateOfActivation
 StateOfActivation ()
 
virtual ~StateOfActivation ()
 
int getStateOfActivation ()
 
void setStateOfActivation (int)
 
void copyStateOfActivation (StateOfActivation &)
 
void saveStateOfActivationToFile (std::ofstream &)
 
void retrieveStateOfActivationFromFile (std::ifstream &)
 
void resetStateOfActivation ()
 
bool checkIfIsIdenticalStateOfActivation (StateOfActivation &)
 
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

int initial_component_state
 
DisplayComponentState * corresponding_component_pt
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 16 of file HWReliabilityUnit.h.

Constructor & Destructor Documentation

◆ HWReliabilityUnit()

HWReliabilityUnit::HWReliabilityUnit ( )

◆ ~HWReliabilityUnit()

HWReliabilityUnit::~HWReliabilityUnit ( )
virtual

Definition at line 24 of file HWReliabilityUnit.cpp.

Member Function Documentation

◆ checkAndActivateComponentFailure()

int HWReliabilityUnit::checkAndActivateComponentFailure ( )

◆ checkAndActivateComponentOperationFailure()

int HWReliabilityUnit::checkAndActivateComponentOperationFailure ( )

Definition at line 47 of file HWReliabilityUnit.cpp.

◆ copyHWReliabilityUnit()

void HWReliabilityUnit::copyHWReliabilityUnit ( HWReliabilityUnit &  _hwu)

Definition at line 54 of file HWReliabilityUnit.cpp.

References BranchSystemAction::copyBranchSystemAction(), StateOfActivation::copyStateOfActivation(), getInitialComponentState(), and initial_component_state.

Here is the call graph for this function:

◆ getInitialComponentState()

int HWReliabilityUnit::getInitialComponentState ( )

Definition at line 28 of file HWReliabilityUnit.cpp.

References initial_component_state.

Referenced by copyHWReliabilityUnit().

Here is the caller graph for this function:

◆ retrieveHWReliabilityUnitFromFile()

void HWReliabilityUnit::retrieveHWReliabilityUnitFromFile ( std::ifstream &  )

Definition at line 64 of file HWReliabilityUnit.cpp.

References initial_component_state, BranchSystemAction::retrieveBranchSystemActionFromFile(), and StateOfActivation::retrieveStateOfActivationFromFile().

Here is the call graph for this function:

◆ saveHWReliabilityUnitToFile()

void HWReliabilityUnit::saveHWReliabilityUnitToFile ( std::ofstream &  )

Definition at line 59 of file HWReliabilityUnit.cpp.

References initial_component_state, BranchSystemAction::saveBranchSystemActionToFile(), and StateOfActivation::saveStateOfActivationToFile().

Here is the call graph for this function:

◆ serialize()

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

Definition at line 37 of file HWReliabilityUnit.h.

References corresponding_component_pt, and initial_component_state.

◆ setCorrespondingComponentPt()

void HWReliabilityUnit::setCorrespondingComponentPt ( DisplayComponentState *  _dcs)

Definition at line 51 of file HWReliabilityUnit.cpp.

References corresponding_component_pt.

◆ setInitialComponentState()

void HWReliabilityUnit::setInitialComponentState ( int  n)

Definition at line 27 of file HWReliabilityUnit.cpp.

References initial_component_state.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 35 of file HWReliabilityUnit.h.

Member Data Documentation

◆ corresponding_component_pt

DisplayComponentState* HWReliabilityUnit::corresponding_component_pt
private

◆ initial_component_state


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