|
ADS-IDAC Engine 5.0.0
|
#include <SPDSUnit.h>
Public Member Functions | |
| SPDSUnit () | |
| virtual | ~SPDSUnit () |
| double | getLLThreshold () |
| double | getLThreshold () |
| double | getHHThreshold () |
| double | getHThreshold () |
| double | getSPDSUnitWeight () |
| void | setLLThreshold (double) |
| void | setLThreshold (double) |
| void | setHThreshold (double) |
| void | setHHThreshold (double) |
| void | setSPDSUnitWeight (double) |
| void | calculateSPDSUnitValue (InfoChunk *) |
| double | getSPDSUnitValue () |
| void | readInfoFromFile (std::ifstream &) |
| void | copySPDSUnit (SPDSUnit &) |
| void | setCorrespondingIndicatorName (std::string) |
| std::string | getCorrespondingIndicatorName () |
| void | setSPDSUnitName (std::string) |
| std::string | getSPDSUnitName () |
| void | setPtrToCorrespondingIndicator (SystemDisplay *) |
| void | saveSPDSUnitToFile (std::ofstream &) |
| void | retrieveSPDSUnitFromFile (std::ifstream &) |
| SystemDisplay * | getPtrToCorrespondingIndicator () |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| double | LL_threshold |
| double | L_threshold |
| double | H_threshold |
| double | HH_threshold |
| double | SPDS_unit_weight |
| double | SPDS_unit_value |
| std::string | SPDS_unit_name |
| std::string | corresponding_indicator_name |
| SystemDisplay * | ptr_to_corresponding_indicator |
Friends | |
| class | boost::serialization::access |
Definition at line 17 of file SPDSUnit.h.
| SPDSUnit::SPDSUnit | ( | ) |
Definition at line 20 of file SPDSUnit.cpp.
References corresponding_indicator_name, H_threshold, HH_threshold, L_threshold, LL_threshold, ptr_to_corresponding_indicator, SPDS_unit_name, SPDS_unit_value, and SPDS_unit_weight.
|
virtual |
Definition at line 33 of file SPDSUnit.cpp.
| void SPDSUnit::calculateSPDSUnitValue | ( | InfoChunk * | _perceived_info_ptr | ) |
Definition at line 53 of file SPDSUnit.cpp.
References getCorrespondingIndicatorName(), MentalParameterValue::getObservedParameterValue(), H_threshold, HH_threshold, L_threshold, LL_threshold, and SPDS_unit_value.
| void SPDSUnit::copySPDSUnit | ( | SPDSUnit & | _spds | ) |
Definition at line 96 of file SPDSUnit.cpp.
References corresponding_indicator_name, getCorrespondingIndicatorName(), getHHThreshold(), getHThreshold(), getLLThreshold(), getLThreshold(), getSPDSUnitName(), getSPDSUnitValue(), getSPDSUnitWeight(), H_threshold, HH_threshold, L_threshold, LL_threshold, SPDS_unit_name, SPDS_unit_value, and SPDS_unit_weight.
| string SPDSUnit::getCorrespondingIndicatorName | ( | ) |
Definition at line 108 of file SPDSUnit.cpp.
References corresponding_indicator_name.
Referenced by calculateSPDSUnitValue(), and copySPDSUnit().
| double SPDSUnit::getHHThreshold | ( | ) |
Definition at line 39 of file SPDSUnit.cpp.
References HH_threshold.
Referenced by copySPDSUnit().
| double SPDSUnit::getHThreshold | ( | ) |
Definition at line 40 of file SPDSUnit.cpp.
References H_threshold.
Referenced by copySPDSUnit().
| double SPDSUnit::getLLThreshold | ( | ) |
Definition at line 37 of file SPDSUnit.cpp.
References LL_threshold.
Referenced by copySPDSUnit().
| double SPDSUnit::getLThreshold | ( | ) |
Definition at line 38 of file SPDSUnit.cpp.
References L_threshold.
Referenced by copySPDSUnit().
| SystemDisplay * SPDSUnit::getPtrToCorrespondingIndicator | ( | ) |
Definition at line 111 of file SPDSUnit.cpp.
References ptr_to_corresponding_indicator.
| string SPDSUnit::getSPDSUnitName | ( | ) |
Definition at line 110 of file SPDSUnit.cpp.
References SPDS_unit_name.
Referenced by copySPDSUnit().
| double SPDSUnit::getSPDSUnitValue | ( | ) |
Definition at line 47 of file SPDSUnit.cpp.
References SPDS_unit_value.
Referenced by copySPDSUnit().
| double SPDSUnit::getSPDSUnitWeight | ( | ) |
Definition at line 41 of file SPDSUnit.cpp.
References SPDS_unit_weight.
Referenced by copySPDSUnit().
| void SPDSUnit::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 49 of file SPDSUnit.cpp.
References corresponding_indicator_name, H_threshold, HH_threshold, L_threshold, LL_threshold, SPDS_unit_name, and SPDS_unit_weight.
| void SPDSUnit::retrieveSPDSUnitFromFile | ( | std::ifstream & | ) |
Definition at line 126 of file SPDSUnit.cpp.
References corresponding_indicator_name, H_threshold, HH_threshold, L_threshold, LL_threshold, ptr_to_corresponding_indicator, SPDS_unit_name, SPDS_unit_value, and SPDS_unit_weight.
| void SPDSUnit::saveSPDSUnitToFile | ( | std::ofstream & | ) |
Definition at line 116 of file SPDSUnit.cpp.
References corresponding_indicator_name, H_threshold, HH_threshold, L_threshold, LL_threshold, SPDS_unit_name, SPDS_unit_value, and SPDS_unit_weight.
|
inlineprivate |
Definition at line 47 of file SPDSUnit.h.
References corresponding_indicator_name, H_threshold, HH_threshold, L_threshold, LL_threshold, SPDS_unit_name, SPDS_unit_value, and SPDS_unit_weight.
| void SPDSUnit::setCorrespondingIndicatorName | ( | std::string | ) |
Definition at line 107 of file SPDSUnit.cpp.
References corresponding_indicator_name.
| void SPDSUnit::setHHThreshold | ( | double | x | ) |
Definition at line 45 of file SPDSUnit.cpp.
References HH_threshold.
| void SPDSUnit::setHThreshold | ( | double | x | ) |
Definition at line 44 of file SPDSUnit.cpp.
References H_threshold.
| void SPDSUnit::setLLThreshold | ( | double | x | ) |
Definition at line 42 of file SPDSUnit.cpp.
References LL_threshold.
| void SPDSUnit::setLThreshold | ( | double | x | ) |
Definition at line 43 of file SPDSUnit.cpp.
References L_threshold.
| void SPDSUnit::setPtrToCorrespondingIndicator | ( | SystemDisplay * | _display_element | ) |
Definition at line 112 of file SPDSUnit.cpp.
References ptr_to_corresponding_indicator.
| void SPDSUnit::setSPDSUnitName | ( | std::string | ) |
Definition at line 109 of file SPDSUnit.cpp.
References SPDS_unit_name.
| void SPDSUnit::setSPDSUnitWeight | ( | double | x | ) |
Definition at line 46 of file SPDSUnit.cpp.
References SPDS_unit_weight.
|
friend |
Definition at line 45 of file SPDSUnit.h.
|
private |
Definition at line 61 of file SPDSUnit.h.
Referenced by copySPDSUnit(), getCorrespondingIndicatorName(), readInfoFromFile(), retrieveSPDSUnitFromFile(), saveSPDSUnitToFile(), serialize(), setCorrespondingIndicatorName(), and SPDSUnit().
|
private |
Definition at line 59 of file SPDSUnit.h.
Referenced by calculateSPDSUnitValue(), copySPDSUnit(), getHThreshold(), readInfoFromFile(), retrieveSPDSUnitFromFile(), saveSPDSUnitToFile(), serialize(), setHThreshold(), and SPDSUnit().
|
private |
Definition at line 59 of file SPDSUnit.h.
Referenced by calculateSPDSUnitValue(), copySPDSUnit(), getHHThreshold(), readInfoFromFile(), retrieveSPDSUnitFromFile(), saveSPDSUnitToFile(), serialize(), setHHThreshold(), and SPDSUnit().
|
private |
Definition at line 59 of file SPDSUnit.h.
Referenced by calculateSPDSUnitValue(), copySPDSUnit(), getLThreshold(), readInfoFromFile(), retrieveSPDSUnitFromFile(), saveSPDSUnitToFile(), serialize(), setLThreshold(), and SPDSUnit().
|
private |
Definition at line 59 of file SPDSUnit.h.
Referenced by calculateSPDSUnitValue(), copySPDSUnit(), getLLThreshold(), readInfoFromFile(), retrieveSPDSUnitFromFile(), saveSPDSUnitToFile(), serialize(), setLLThreshold(), and SPDSUnit().
|
private |
Definition at line 62 of file SPDSUnit.h.
Referenced by getPtrToCorrespondingIndicator(), retrieveSPDSUnitFromFile(), setPtrToCorrespondingIndicator(), and SPDSUnit().
|
private |
Definition at line 61 of file SPDSUnit.h.
Referenced by copySPDSUnit(), getSPDSUnitName(), readInfoFromFile(), retrieveSPDSUnitFromFile(), saveSPDSUnitToFile(), serialize(), setSPDSUnitName(), and SPDSUnit().
|
private |
Definition at line 60 of file SPDSUnit.h.
Referenced by calculateSPDSUnitValue(), copySPDSUnit(), getSPDSUnitValue(), retrieveSPDSUnitFromFile(), saveSPDSUnitToFile(), serialize(), and SPDSUnit().
|
private |
Definition at line 60 of file SPDSUnit.h.
Referenced by copySPDSUnit(), getSPDSUnitWeight(), readInfoFromFile(), retrieveSPDSUnitFromFile(), saveSPDSUnitToFile(), serialize(), setSPDSUnitWeight(), and SPDSUnit().