← Documentation
ADS-IDAC Engine 5.0.0
SPDSUnit Class Reference

#include <SPDSUnit.h>

Collaboration diagram for SPDSUnit:
[legend]

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
 

Detailed Description

Definition at line 17 of file SPDSUnit.h.

Constructor & Destructor Documentation

◆ SPDSUnit()

◆ ~SPDSUnit()

SPDSUnit::~SPDSUnit ( )
virtual

Definition at line 33 of file SPDSUnit.cpp.

Member Function Documentation

◆ calculateSPDSUnitValue()

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.

Here is the call graph for this function:

◆ copySPDSUnit()

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.

Here is the call graph for this function:

◆ getCorrespondingIndicatorName()

string SPDSUnit::getCorrespondingIndicatorName ( )

Definition at line 108 of file SPDSUnit.cpp.

References corresponding_indicator_name.

Referenced by calculateSPDSUnitValue(), and copySPDSUnit().

Here is the caller graph for this function:

◆ getHHThreshold()

double SPDSUnit::getHHThreshold ( )

Definition at line 39 of file SPDSUnit.cpp.

References HH_threshold.

Referenced by copySPDSUnit().

Here is the caller graph for this function:

◆ getHThreshold()

double SPDSUnit::getHThreshold ( )

Definition at line 40 of file SPDSUnit.cpp.

References H_threshold.

Referenced by copySPDSUnit().

Here is the caller graph for this function:

◆ getLLThreshold()

double SPDSUnit::getLLThreshold ( )

Definition at line 37 of file SPDSUnit.cpp.

References LL_threshold.

Referenced by copySPDSUnit().

Here is the caller graph for this function:

◆ getLThreshold()

double SPDSUnit::getLThreshold ( )

Definition at line 38 of file SPDSUnit.cpp.

References L_threshold.

Referenced by copySPDSUnit().

Here is the caller graph for this function:

◆ getPtrToCorrespondingIndicator()

SystemDisplay * SPDSUnit::getPtrToCorrespondingIndicator ( )

Definition at line 111 of file SPDSUnit.cpp.

References ptr_to_corresponding_indicator.

◆ getSPDSUnitName()

string SPDSUnit::getSPDSUnitName ( )

Definition at line 110 of file SPDSUnit.cpp.

References SPDS_unit_name.

Referenced by copySPDSUnit().

Here is the caller graph for this function:

◆ getSPDSUnitValue()

double SPDSUnit::getSPDSUnitValue ( )

Definition at line 47 of file SPDSUnit.cpp.

References SPDS_unit_value.

Referenced by copySPDSUnit().

Here is the caller graph for this function:

◆ getSPDSUnitWeight()

double SPDSUnit::getSPDSUnitWeight ( )

Definition at line 41 of file SPDSUnit.cpp.

References SPDS_unit_weight.

Referenced by copySPDSUnit().

Here is the caller graph for this function:

◆ readInfoFromFile()

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

◆ retrieveSPDSUnitFromFile()

void SPDSUnit::retrieveSPDSUnitFromFile ( std::ifstream &  )

◆ saveSPDSUnitToFile()

void SPDSUnit::saveSPDSUnitToFile ( std::ofstream &  )

◆ serialize()

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

◆ setCorrespondingIndicatorName()

void SPDSUnit::setCorrespondingIndicatorName ( std::string  )

Definition at line 107 of file SPDSUnit.cpp.

References corresponding_indicator_name.

◆ setHHThreshold()

void SPDSUnit::setHHThreshold ( double  x)

Definition at line 45 of file SPDSUnit.cpp.

References HH_threshold.

◆ setHThreshold()

void SPDSUnit::setHThreshold ( double  x)

Definition at line 44 of file SPDSUnit.cpp.

References H_threshold.

◆ setLLThreshold()

void SPDSUnit::setLLThreshold ( double  x)

Definition at line 42 of file SPDSUnit.cpp.

References LL_threshold.

◆ setLThreshold()

void SPDSUnit::setLThreshold ( double  x)

Definition at line 43 of file SPDSUnit.cpp.

References L_threshold.

◆ setPtrToCorrespondingIndicator()

void SPDSUnit::setPtrToCorrespondingIndicator ( SystemDisplay *  _display_element)

Definition at line 112 of file SPDSUnit.cpp.

References ptr_to_corresponding_indicator.

◆ setSPDSUnitName()

void SPDSUnit::setSPDSUnitName ( std::string  )

Definition at line 109 of file SPDSUnit.cpp.

References SPDS_unit_name.

◆ setSPDSUnitWeight()

void SPDSUnit::setSPDSUnitWeight ( double  x)

Definition at line 46 of file SPDSUnit.cpp.

References SPDS_unit_weight.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 45 of file SPDSUnit.h.

Member Data Documentation

◆ corresponding_indicator_name

std::string SPDSUnit::corresponding_indicator_name
private

◆ H_threshold

◆ HH_threshold

◆ L_threshold

◆ LL_threshold

◆ ptr_to_corresponding_indicator

SystemDisplay* SPDSUnit::ptr_to_corresponding_indicator
private

◆ SPDS_unit_name

std::string SPDSUnit::SPDS_unit_name
private

◆ SPDS_unit_value

double SPDSUnit::SPDS_unit_value
private

◆ SPDS_unit_weight

double SPDSUnit::SPDS_unit_weight
private

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