← Documentation
ADS-IDAC Engine 5.0.0
TimeConstrainedUnit Class Reference

#include <TimeConstrainedUnit.h>

Collaboration diagram for TimeConstrainedUnit:
[legend]

Public Member Functions

 TimeConstrainedUnit ()
 
virtual ~TimeConstrainedUnit ()
 
double getNormalParameterThreshold ()
 
double getAccidentParameterThreshold ()
 
double getTimeToNormalThreshold ()
 
double getTimeToAccidentThreshold ()
 
double getParameterValue ()
 
double getParameterRate ()
 
double getTimeConstrainedUnitPIFValue ()
 
double getInitialParameterValue ()
 
double getTimeThresholdExceeded ()
 
bool getThresholdExceeded ()
 
double getLowerTimeThreshold ()
 
double getUpperTimeThreshold ()
 
double getDecayTau ()
 
double getBuildupTau ()
 
void setLowerTimeThreshold (double)
 
void setUpperTimeThreshold (double)
 
void setDecayTau (double)
 
void setBuildupTau (double)
 
void setNormalParameterThreshold (double)
 
void setAccidentParameterThreshold (double)
 
void setParameterRate (double)
 
void setTimeThresholdExceeded (double)
 
void setThresholdExceeded (bool)
 
void CalculateTimeToThreshold ()
 
void CalculateTimeConstrainedUnitPIFValue (int, bool, double)
 
void readInfoFromFile (std::ifstream &)
 
void copyTimeConstrainedUnit (TimeConstrainedUnit &)
 
void setCorrespondingIndicatorName (std::string)
 
std::string getCorrespondingIndicatorName ()
 
void setTimeConstrainedUnitName (std::string)
 
std::string getTimeConstrainedUnitName ()
 
void setPtrToCorrespondingIndicator (SystemDisplay *)
 
SystemDisplay * getPtrToCorrespondingIndicator ()
 
void saveTimeConstrainedUnitToFile (std::ofstream &)
 
void retrieveTimeConstrainedUnitFromFile (std::ifstream &)
 
void clearTimeConstrainedUnit ()
 
void updateRawData (double, InfoChunk *)
 

Public Attributes

std::deque< double > time_constrained_parameter_history
 
std::deque< double > time_constrained_time_history
 

Private Member Functions

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

Private Attributes

bool threshold_exceeded
 
double Normal_Parameter_Threshold
 
double Accident_Parameter_Threshold
 
double Initial_Value
 
double Parameter_Value
 
double Parameter_Rate
 
double Time_To_Accident_Threshold
 
double Time_To_Normal_Threshold
 
double time_threshold_exceeded
 
double Time_Constrained_Unit_PIF_Value
 
double lower_time_threshold
 
double upper_time_threshold
 
double decay_tau
 
double buildup_tau
 
std::string Time_Constrained_Unit_Name
 
std::string Corresponding_Indicator_Name
 
SystemDisplay * ptr_to_corresponding_indicator
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 18 of file TimeConstrainedUnit.h.

Constructor & Destructor Documentation

◆ TimeConstrainedUnit()

◆ ~TimeConstrainedUnit()

TimeConstrainedUnit::~TimeConstrainedUnit ( )
virtual

Definition at line 44 of file TimeConstrainedUnit.cpp.

References clearTimeConstrainedUnit().

Here is the call graph for this function:

Member Function Documentation

◆ CalculateTimeConstrainedUnitPIFValue()

◆ CalculateTimeToThreshold()

◆ clearTimeConstrainedUnit()

void TimeConstrainedUnit::clearTimeConstrainedUnit ( )

Definition at line 501 of file TimeConstrainedUnit.cpp.

References Accident_Parameter_Threshold, Corresponding_Indicator_Name, Initial_Value, Normal_Parameter_Threshold, Parameter_Rate, Parameter_Value, ptr_to_corresponding_indicator, time_constrained_parameter_history, time_constrained_time_history, Time_Constrained_Unit_Name, Time_To_Accident_Threshold, and Time_To_Normal_Threshold.

Referenced by ~TimeConstrainedUnit().

Here is the caller graph for this function:

◆ copyTimeConstrainedUnit()

◆ getAccidentParameterThreshold()

double TimeConstrainedUnit::getAccidentParameterThreshold ( )

Definition at line 50 of file TimeConstrainedUnit.cpp.

References Accident_Parameter_Threshold.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getBuildupTau()

double TimeConstrainedUnit::getBuildupTau ( )

Definition at line 67 of file TimeConstrainedUnit.cpp.

References buildup_tau.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getCorrespondingIndicatorName()

string TimeConstrainedUnit::getCorrespondingIndicatorName ( )

Definition at line 403 of file TimeConstrainedUnit.cpp.

References Corresponding_Indicator_Name.

Referenced by copyTimeConstrainedUnit(), and updateRawData().

Here is the caller graph for this function:

◆ getDecayTau()

double TimeConstrainedUnit::getDecayTau ( )

Definition at line 66 of file TimeConstrainedUnit.cpp.

References decay_tau.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getInitialParameterValue()

double TimeConstrainedUnit::getInitialParameterValue ( )

Definition at line 57 of file TimeConstrainedUnit.cpp.

References Initial_Value.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getLowerTimeThreshold()

double TimeConstrainedUnit::getLowerTimeThreshold ( )

Definition at line 64 of file TimeConstrainedUnit.cpp.

References lower_time_threshold.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getNormalParameterThreshold()

double TimeConstrainedUnit::getNormalParameterThreshold ( )

Definition at line 49 of file TimeConstrainedUnit.cpp.

References Normal_Parameter_Threshold.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getParameterRate()

double TimeConstrainedUnit::getParameterRate ( )

Definition at line 56 of file TimeConstrainedUnit.cpp.

References Parameter_Rate.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getParameterValue()

double TimeConstrainedUnit::getParameterValue ( )

Definition at line 55 of file TimeConstrainedUnit.cpp.

References Parameter_Value.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getPtrToCorrespondingIndicator()

SystemDisplay * TimeConstrainedUnit::getPtrToCorrespondingIndicator ( )

Definition at line 408 of file TimeConstrainedUnit.cpp.

References ptr_to_corresponding_indicator.

Referenced by updateRawData().

Here is the caller graph for this function:

◆ getThresholdExceeded()

bool TimeConstrainedUnit::getThresholdExceeded ( )

Definition at line 54 of file TimeConstrainedUnit.cpp.

References threshold_exceeded.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getTimeConstrainedUnitName()

string TimeConstrainedUnit::getTimeConstrainedUnitName ( )

Definition at line 405 of file TimeConstrainedUnit.cpp.

References Time_Constrained_Unit_Name.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getTimeConstrainedUnitPIFValue()

double TimeConstrainedUnit::getTimeConstrainedUnitPIFValue ( )

Definition at line 58 of file TimeConstrainedUnit.cpp.

References Time_Constrained_Unit_PIF_Value.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getTimeThresholdExceeded()

double TimeConstrainedUnit::getTimeThresholdExceeded ( )

Definition at line 53 of file TimeConstrainedUnit.cpp.

References time_threshold_exceeded.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getTimeToAccidentThreshold()

double TimeConstrainedUnit::getTimeToAccidentThreshold ( )

Definition at line 52 of file TimeConstrainedUnit.cpp.

References Time_To_Accident_Threshold.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getTimeToNormalThreshold()

double TimeConstrainedUnit::getTimeToNormalThreshold ( )

Definition at line 51 of file TimeConstrainedUnit.cpp.

References Time_To_Normal_Threshold.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ getUpperTimeThreshold()

double TimeConstrainedUnit::getUpperTimeThreshold ( )

Definition at line 65 of file TimeConstrainedUnit.cpp.

References upper_time_threshold.

Referenced by copyTimeConstrainedUnit().

Here is the caller graph for this function:

◆ readInfoFromFile()

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

Definition at line 373 of file TimeConstrainedUnit.cpp.

References Accident_Parameter_Threshold, Corresponding_Indicator_Name, Initial_Value, Normal_Parameter_Threshold, and Time_Constrained_Unit_Name.

Referenced by TimeConstrainedModule::initiationForSimulation().

Here is the caller graph for this function:

◆ retrieveTimeConstrainedUnitFromFile()

◆ saveTimeConstrainedUnitToFile()

◆ serialize()

◆ setAccidentParameterThreshold()

void TimeConstrainedUnit::setAccidentParameterThreshold ( double  x)

Definition at line 60 of file TimeConstrainedUnit.cpp.

References Accident_Parameter_Threshold.

◆ setBuildupTau()

void TimeConstrainedUnit::setBuildupTau ( double  x)

Definition at line 71 of file TimeConstrainedUnit.cpp.

References buildup_tau.

Referenced by TimeConstrainedModule::initiationForSimulation().

Here is the caller graph for this function:

◆ setCorrespondingIndicatorName()

void TimeConstrainedUnit::setCorrespondingIndicatorName ( std::string  )

Definition at line 402 of file TimeConstrainedUnit.cpp.

References Corresponding_Indicator_Name.

◆ setDecayTau()

void TimeConstrainedUnit::setDecayTau ( double  x)

Definition at line 70 of file TimeConstrainedUnit.cpp.

References decay_tau.

Referenced by TimeConstrainedModule::initiationForSimulation().

Here is the caller graph for this function:

◆ setLowerTimeThreshold()

void TimeConstrainedUnit::setLowerTimeThreshold ( double  x)

Definition at line 68 of file TimeConstrainedUnit.cpp.

References lower_time_threshold.

Referenced by TimeConstrainedModule::initiationForSimulation().

Here is the caller graph for this function:

◆ setNormalParameterThreshold()

void TimeConstrainedUnit::setNormalParameterThreshold ( double  x)

Definition at line 59 of file TimeConstrainedUnit.cpp.

References Normal_Parameter_Threshold.

◆ setParameterRate()

void TimeConstrainedUnit::setParameterRate ( double  x)

Definition at line 63 of file TimeConstrainedUnit.cpp.

References Parameter_Rate.

◆ setPtrToCorrespondingIndicator()

void TimeConstrainedUnit::setPtrToCorrespondingIndicator ( SystemDisplay *  _display_element)

Definition at line 406 of file TimeConstrainedUnit.cpp.

References ptr_to_corresponding_indicator.

Referenced by updateRawData().

Here is the caller graph for this function:

◆ setThresholdExceeded()

void TimeConstrainedUnit::setThresholdExceeded ( bool  logic)

Definition at line 61 of file TimeConstrainedUnit.cpp.

References threshold_exceeded.

◆ setTimeConstrainedUnitName()

void TimeConstrainedUnit::setTimeConstrainedUnitName ( std::string  )

Definition at line 404 of file TimeConstrainedUnit.cpp.

References Time_Constrained_Unit_Name.

◆ setTimeThresholdExceeded()

void TimeConstrainedUnit::setTimeThresholdExceeded ( double  x)

Definition at line 62 of file TimeConstrainedUnit.cpp.

References time_threshold_exceeded.

◆ setUpperTimeThreshold()

void TimeConstrainedUnit::setUpperTimeThreshold ( double  x)

Definition at line 69 of file TimeConstrainedUnit.cpp.

References upper_time_threshold.

Referenced by TimeConstrainedModule::initiationForSimulation().

Here is the caller graph for this function:

◆ updateRawData()

void TimeConstrainedUnit::updateRawData ( double  _Time_Lapse,
InfoChunk *  _perceived_info 
)

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 77 of file TimeConstrainedUnit.h.

Member Data Documentation

◆ Accident_Parameter_Threshold

◆ buildup_tau

◆ Corresponding_Indicator_Name

◆ decay_tau

◆ Initial_Value

◆ lower_time_threshold

◆ Normal_Parameter_Threshold

◆ Parameter_Rate

◆ Parameter_Value

◆ ptr_to_corresponding_indicator

◆ threshold_exceeded

◆ time_constrained_parameter_history

std::deque<double> TimeConstrainedUnit::time_constrained_parameter_history

◆ time_constrained_time_history

std::deque<double> TimeConstrainedUnit::time_constrained_time_history

◆ Time_Constrained_Unit_Name

◆ Time_Constrained_Unit_PIF_Value

◆ time_threshold_exceeded

◆ Time_To_Accident_Threshold

◆ Time_To_Normal_Threshold

◆ upper_time_threshold


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