← Documentation
ADS-IDAC Engine 5.0.0
BranchSystemAlarmState Class Reference

#include <BranchSystemAlarmState.h>

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

Public Member Functions

 BranchSystemAlarmState ()
 
virtual ~BranchSystemAlarmState ()
 
void copyBranchSystemAlarmState (BranchSystemAlarmState &)
 
void saveInfoToFile (std::ostream &)
 
std::string translateMessage ()
 
void saveBranchSystemAlarmStateToFile (std::ofstream &)
 
void retrieveBranchSystemAlarmStateFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from SystemAlarm
 SystemAlarm ()
 
virtual ~SystemAlarm ()
 
void setTypeOfAlarm (DisplayType type)
 
DisplayType getTypeOfAlarm ()
 
void readInfoFromFile (std::ifstream &)
 
void copySystemAlarm (SystemAlarm &)
 
void saveSystemAlarmToFile (std::ofstream &)
 
void retrieveSystemAlarmFromFile (std::ifstream &)
 
- Public Member Functions inherited from AlarmElement
 AlarmElement ()
 
virtual ~AlarmElement ()
 
void copyAlarmElement (AlarmElement &)
 
void setAlarmName (std::string)
 
std::string getAlarmName ()
 
void readInfoFromFile (std::ifstream &)
 
void setCorrespondingIndicatorName (std::string)
 
void setDisplayedAlarmState (int)
 
void setImportanceOfTheAlarm (double)
 
void setDisplayedOperatorControlState (int)
 
std::string getCorrespondingIndicatorName ()
 
std::string getDisplayedAlarmStateString ()
 
int getDisplayedAlarmState ()
 
double getImportanceOfTheAlarm ()
 
int getDisplayedOperatorControlState ()
 
void setTimeRequiredToCheckThisAlarm (double)
 
double getTimeRequiredToCheckThisAlarm ()
 
void setTimeAtWhichThisAlarmIsActivated (double)
 
double getTimeAtWhichThisAlarmIsActivated ()
 
void saveAlarmElementToFile (std::ofstream &)
 
void retrieveAlarmElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalAlarmElement (AlarmElement &)
 
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)
 

Detailed Description

Definition at line 20 of file BranchSystemAlarmState.h.

Constructor & Destructor Documentation

◆ BranchSystemAlarmState()

BranchSystemAlarmState::BranchSystemAlarmState ( )

Definition at line 19 of file BranchSystemAlarmState.cpp.

◆ ~BranchSystemAlarmState()

BranchSystemAlarmState::~BranchSystemAlarmState ( )
virtual

Definition at line 24 of file BranchSystemAlarmState.cpp.

Member Function Documentation

◆ copyBranchSystemAlarmState()

void BranchSystemAlarmState::copyBranchSystemAlarmState ( BranchSystemAlarmState &  _bsp)

Definition at line 28 of file BranchSystemAlarmState.cpp.

References Communication::copyCommunication(), SystemAlarm::copySystemAlarm(), and TimerAndProbability::copyTimerAndProbability().

Here is the call graph for this function:

◆ retrieveBranchSystemAlarmStateFromFile()

void BranchSystemAlarmState::retrieveBranchSystemAlarmStateFromFile ( std::ifstream &  )

Definition at line 55 of file BranchSystemAlarmState.cpp.

References Communication::retrieveCommunicationFromFile(), SystemAlarm::retrieveSystemAlarmFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().

Here is the call graph for this function:

◆ saveBranchSystemAlarmStateToFile()

void BranchSystemAlarmState::saveBranchSystemAlarmStateToFile ( std::ofstream &  )

Definition at line 50 of file BranchSystemAlarmState.cpp.

References Communication::saveCommunicationToFile(), SystemAlarm::saveSystemAlarmToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().

Here is the call graph for this function:

◆ saveInfoToFile()

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

Definition at line 45 of file BranchSystemAlarmState.cpp.

References g_sim, AlarmElement::getAlarmName(), Communication::getIntendedReceiver(), Timer::getRemainingTime(), Communication::getSender(), ConvertToString::getString(), Communication::getTimeOfCommunication(), sim::None, sim::Action::SendInfo, and SimulationContext::Translator.

Here is the call graph for this function:

◆ serialize()

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

Definition at line 34 of file BranchSystemAlarmState.h.

◆ translateMessage()

string BranchSystemAlarmState::translateMessage ( )

Definition at line 33 of file BranchSystemAlarmState.cpp.

References g_sim, AlarmElement::getAlarmName(), AlarmElement::getDisplayedAlarmState(), Communication::getIntendedReceiver(), Communication::getSender(), ConvertToString::getString(), and SimulationContext::Translator.

Here is the call graph for this function:

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