|
ADS-IDAC Engine 5.0.0
|
#include <InformationLoadModule.h>
Public Member Functions | |
| InformationLoadModule () | |
| virtual | ~InformationLoadModule () |
| void | clearInformationLoadData () |
| void | setInfoLoadPIFValue (double) |
| double | getInfoLoadPIFValue () |
| void | setMaxHistorySize (int) |
| int | getMaxHistorySize () |
| void | setLowerInfoLoadThreshold (double) |
| double | getLowerInfoLoadThreshold () |
| void | setUpperInfoLoadThreshold (double) |
| double | getUpperInfoLoadThreshold () |
| void | addInformationLoadData (double, double) |
| double | calculateAverageInformationLoadPIFValue () |
| void | copyInformationLoadModule (InformationLoadModule &) |
| void | saveInformationLoadModuleToFile (std::ofstream &) |
| void | retreiveInformationLoadModuleFromFile (std::ifstream &) |
| void | outputInformationLoadModuleLabelToFile (std::string, std::ofstream &) |
| void | outputInformationLoadModuleUnitsToFile (std::ofstream &) |
Public Attributes | |
| std::deque< double > | info_load_history |
| std::deque< double > | time_history |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| int | max_history_size |
| double | info_load_pif_value |
| double | lower_info_load_threshold |
| double | upper_info_load_threshold |
Friends | |
| class | boost::serialization::access |
Definition at line 13 of file InformationLoadModule.h.
| InformationLoadModule::InformationLoadModule | ( | ) |
Definition at line 16 of file InformationLoadModule.cpp.
References info_load_pif_value, and max_history_size.
|
virtual |
Definition at line 22 of file InformationLoadModule.cpp.
| void InformationLoadModule::addInformationLoadData | ( | double | _time, |
| double | _load | ||
| ) |
Definition at line 41 of file InformationLoadModule.cpp.
References info_load_history, and time_history.
Referenced by OperatorAT::oneThroughProcessForBlockI(), and OperatorDM::oneThroughProcessForBlockI().
| double InformationLoadModule::calculateAverageInformationLoadPIFValue | ( | ) |
Definition at line 49 of file InformationLoadModule.cpp.
References info_load_history, info_load_pif_value, lower_info_load_threshold, PG::size, time_history, and upper_info_load_threshold.
Referenced by OperatorAT::oneThroughProcessForBlockI(), and OperatorDM::oneThroughProcessForBlockI().
| void InformationLoadModule::clearInformationLoadData | ( | ) |
Definition at line 27 of file InformationLoadModule.cpp.
References info_load_history, and time_history.
Referenced by Operator::clearOperatorFinal(), Operator::clearOperatorForRestart(), Operator::clearOperatorFromRestartInfo(), and Operator::clearOperatorFromRestartNodeInfoMultiProcessors().
| void InformationLoadModule::copyInformationLoadModule | ( | InformationLoadModule & | _ilm | ) |
Definition at line 92 of file InformationLoadModule.cpp.
References getInfoLoadPIFValue(), getLowerInfoLoadThreshold(), getMaxHistorySize(), getUpperInfoLoadThreshold(), info_load_history, info_load_pif_value, lower_info_load_threshold, max_history_size, time_history, and upper_info_load_threshold.
Referenced by Operator::copyOperatorFromRestartInfo(), Operator::copyOperatorFromRestartInfoMultiProcessor(), and Operator::copyOperatorToRestartInfo().
| double InformationLoadModule::getInfoLoadPIFValue | ( | ) |
Definition at line 33 of file InformationLoadModule.cpp.
References info_load_pif_value.
Referenced by KeyParameterHistoryUnit::addDataSet(), copyInformationLoadModule(), and Operator::quantificationFilter().
| double InformationLoadModule::getLowerInfoLoadThreshold | ( | ) |
Definition at line 37 of file InformationLoadModule.cpp.
References lower_info_load_threshold.
Referenced by copyInformationLoadModule().
| int InformationLoadModule::getMaxHistorySize | ( | ) |
Definition at line 35 of file InformationLoadModule.cpp.
References max_history_size.
Referenced by copyInformationLoadModule().
| double InformationLoadModule::getUpperInfoLoadThreshold | ( | ) |
Definition at line 39 of file InformationLoadModule.cpp.
References upper_info_load_threshold.
Referenced by copyInformationLoadModule().
| void InformationLoadModule::outputInformationLoadModuleLabelToFile | ( | std::string | _str, |
| std::ofstream & | fout | ||
| ) |
Definition at line 85 of file InformationLoadModule.cpp.
Referenced by KeyParameterHistoryUnit::outputPIFLabelToFile().
| void InformationLoadModule::outputInformationLoadModuleUnitsToFile | ( | std::ofstream & | fout | ) |
Definition at line 88 of file InformationLoadModule.cpp.
Referenced by KeyParameterHistoryUnit::outputPIFUnitToFile().
| void InformationLoadModule::retreiveInformationLoadModuleFromFile | ( | std::ifstream & | fin | ) |
Definition at line 111 of file InformationLoadModule.cpp.
References info_load_history, info_load_pif_value, lower_info_load_threshold, max_history_size, time_history, and upper_info_load_threshold.
Referenced by Operator::retrieveOperatorFromFile().
| void InformationLoadModule::saveInformationLoadModuleToFile | ( | std::ofstream & | fout | ) |
Definition at line 102 of file InformationLoadModule.cpp.
References info_load_history, info_load_pif_value, lower_info_load_threshold, max_history_size, time_history, and upper_info_load_threshold.
Referenced by Operator::saveOperatorToFile().
|
inlineprivate |
Definition at line 44 of file InformationLoadModule.h.
References info_load_history, info_load_pif_value, lower_info_load_threshold, max_history_size, time_history, and upper_info_load_threshold.
| void InformationLoadModule::setInfoLoadPIFValue | ( | double | x | ) |
Definition at line 32 of file InformationLoadModule.cpp.
References info_load_pif_value.
| void InformationLoadModule::setLowerInfoLoadThreshold | ( | double | x | ) |
Definition at line 36 of file InformationLoadModule.cpp.
References lower_info_load_threshold.
Referenced by Operator::initiationForSimulation().
| void InformationLoadModule::setMaxHistorySize | ( | int | n | ) |
Definition at line 34 of file InformationLoadModule.cpp.
References max_history_size.
| void InformationLoadModule::setUpperInfoLoadThreshold | ( | double | x | ) |
Definition at line 38 of file InformationLoadModule.cpp.
References upper_info_load_threshold.
Referenced by Operator::initiationForSimulation().
|
friend |
Definition at line 42 of file InformationLoadModule.h.
| std::deque<double> InformationLoadModule::info_load_history |
Definition at line 33 of file InformationLoadModule.h.
Referenced by addInformationLoadData(), calculateAverageInformationLoadPIFValue(), clearInformationLoadData(), copyInformationLoadModule(), retreiveInformationLoadModuleFromFile(), saveInformationLoadModuleToFile(), and serialize().
|
private |
Definition at line 38 of file InformationLoadModule.h.
Referenced by calculateAverageInformationLoadPIFValue(), copyInformationLoadModule(), getInfoLoadPIFValue(), InformationLoadModule(), retreiveInformationLoadModuleFromFile(), saveInformationLoadModuleToFile(), serialize(), and setInfoLoadPIFValue().
|
private |
Definition at line 39 of file InformationLoadModule.h.
Referenced by calculateAverageInformationLoadPIFValue(), copyInformationLoadModule(), getLowerInfoLoadThreshold(), retreiveInformationLoadModuleFromFile(), saveInformationLoadModuleToFile(), serialize(), and setLowerInfoLoadThreshold().
|
private |
Definition at line 37 of file InformationLoadModule.h.
Referenced by copyInformationLoadModule(), getMaxHistorySize(), InformationLoadModule(), retreiveInformationLoadModuleFromFile(), saveInformationLoadModuleToFile(), serialize(), and setMaxHistorySize().
| std::deque<double> InformationLoadModule::time_history |
Definition at line 34 of file InformationLoadModule.h.
Referenced by addInformationLoadData(), calculateAverageInformationLoadPIFValue(), clearInformationLoadData(), copyInformationLoadModule(), retreiveInformationLoadModuleFromFile(), saveInformationLoadModuleToFile(), and serialize().
|
private |
Definition at line 40 of file InformationLoadModule.h.
Referenced by calculateAverageInformationLoadPIFValue(), copyInformationLoadModule(), getUpperInfoLoadThreshold(), retreiveInformationLoadModuleFromFile(), saveInformationLoadModuleToFile(), serialize(), and setUpperInfoLoadThreshold().