← Documentation
ADS-IDAC Engine 5.0.0
DisplayComponentState Class Reference

#include <DisplayComponentState.h>

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

Public Member Functions

 DisplayComponentState ()
 
virtual ~DisplayComponentState ()
 
void readInfoFromFile (std::ifstream &)
 
void setDisplayedComponentOperationalState (int)
 
void setDisplayedComponentOperationalStateWhenFail (int)
 
void setThresholdValueToChangeTheComponentState (double)
 
void setRelationOperatorToChangeTheComponentState (int)
 
int getDisplayedComponentOperationalState ()
 
int getDisplayedComponentOperationalStateWhenFail ()
 
void updateDisplayedComponentOperationalState ()
 
double getThresholdValueToChangeTheComponentState ()
 
int getRelationOperatorToChangeTheComponentState ()
 
void copyDisplayComponentState (DisplayComponentState &)
 
void saveDisplayComponentStateToFile (std::ofstream &)
 
void retrieveDisplayComponentStateFromFile (std::ifstream &)
 
- Public Member Functions inherited from SystemDisplay
 SystemDisplay ()
 
virtual ~SystemDisplay ()
 
void setTypeOfDisplay (DisplayType type)
 
void setFunctionalState (int state)
 
void readInfoFromFile (std::ifstream &)
 
void readInfoFromFileWithoutDisplayName (std::ifstream &)
 
DisplayType getTypeOfDisplay ()
 
int getFunctionalState ()
 
double getCorrespondingSystemParameterValue ()
 
double getCorrespondingHeatStructureValue (int)
 
void setPtrToCorrespondingTHElement (THElement *ptr)
 
THElement * getPtrToCorrespondingTHElement ()
 
void setCorrespondingSystemParameterUnit ()
 
void copySystemDisplay (SystemDisplay &)
 
void setCorrespondingSystemParameterNameInNumber (int name)
 
int getCorrespondingSystemParameterNameInNumber ()
 
void saveSystemDisplayToFile (std::ofstream &)
 
void retrieveSystemDisplayFromFile (std::ifstream &)
 
- Public Member Functions inherited from DisplayElement
 DisplayElement ()
 
virtual ~DisplayElement ()
 
void setDisplayName (std::string)
 
void setCorrespondingSystemName (std::string)
 
void setCorrespondingSystemParameterName (std::string)
 
void setTimeRequiredForCheckingThisDisplay (double)
 
void setCorrespondingSystemParameterUnit (std::string)
 
std::string getCorrespondingSystemName ()
 
std::string getCorrespondingSystemParameterName ()
 
double getTimeRequiredForCheckingThisDisplay ()
 
std::string getCorrespondingSystemParameterUnit ()
 
std::string getDisplayName ()
 
void readInfoFromFile (std::ifstream &)
 
void readInfoFromFileWithoutDisplayName (std::ifstream &)
 
void copyDisplayElement (DisplayElement &)
 
void saveDisplayElementToFile (std::ofstream &)
 
void retrieveDisplayElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalDisplayElement (DisplayElement &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Member Functions

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

Private Attributes

int displayed_component_operational_state
 
int displayed_component_operational_state_when_fail
 
double threshold_value_to_change_the_component_state
 
int relational_operator_to_change_the_component_state
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 12 of file DisplayComponentState.h.

Constructor & Destructor Documentation

◆ DisplayComponentState()

DisplayComponentState::DisplayComponentState ( )

◆ ~DisplayComponentState()

DisplayComponentState::~DisplayComponentState ( )
virtual

Definition at line 28 of file DisplayComponentState.cpp.

Member Function Documentation

◆ copyDisplayComponentState()

◆ getDisplayedComponentOperationalState()

◆ getDisplayedComponentOperationalStateWhenFail()

int DisplayComponentState::getDisplayedComponentOperationalStateWhenFail ( )

Definition at line 88 of file DisplayComponentState.cpp.

References displayed_component_operational_state_when_fail.

Referenced by copyDisplayComponentState().

Here is the caller graph for this function:

◆ getRelationOperatorToChangeTheComponentState()

int DisplayComponentState::getRelationOperatorToChangeTheComponentState ( )

Definition at line 186 of file DisplayComponentState.cpp.

References relational_operator_to_change_the_component_state.

Referenced by copyDisplayComponentState().

Here is the caller graph for this function:

◆ getThresholdValueToChangeTheComponentState()

double DisplayComponentState::getThresholdValueToChangeTheComponentState ( )

Definition at line 185 of file DisplayComponentState.cpp.

References threshold_value_to_change_the_component_state.

Referenced by copyDisplayComponentState().

Here is the caller graph for this function:

◆ readInfoFromFile()

◆ retrieveDisplayComponentStateFromFile()

void DisplayComponentState::retrieveDisplayComponentStateFromFile ( std::ifstream &  )

Definition at line 200 of file DisplayComponentState.cpp.

References displayed_component_operational_state, displayed_component_operational_state_when_fail, relational_operator_to_change_the_component_state, SystemDisplay::retrieveSystemDisplayFromFile(), and threshold_value_to_change_the_component_state.

Here is the call graph for this function:

◆ saveDisplayComponentStateToFile()

void DisplayComponentState::saveDisplayComponentStateToFile ( std::ofstream &  )

Definition at line 194 of file DisplayComponentState.cpp.

References displayed_component_operational_state, displayed_component_operational_state_when_fail, relational_operator_to_change_the_component_state, SystemDisplay::saveSystemDisplayToFile(), and threshold_value_to_change_the_component_state.

Here is the call graph for this function:

◆ serialize()

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

Definition at line 37 of file DisplayComponentState.h.

References displayed_component_operational_state.

◆ setDisplayedComponentOperationalState()

void DisplayComponentState::setDisplayedComponentOperationalState ( int  n)

Definition at line 83 of file DisplayComponentState.cpp.

References displayed_component_operational_state.

Referenced by DisplayComponentState().

Here is the caller graph for this function:

◆ setDisplayedComponentOperationalStateWhenFail()

void DisplayComponentState::setDisplayedComponentOperationalStateWhenFail ( int  n)

Definition at line 84 of file DisplayComponentState.cpp.

References displayed_component_operational_state_when_fail.

Referenced by DisplayComponentState().

Here is the caller graph for this function:

◆ setRelationOperatorToChangeTheComponentState()

void DisplayComponentState::setRelationOperatorToChangeTheComponentState ( int  n)

Definition at line 182 of file DisplayComponentState.cpp.

References relational_operator_to_change_the_component_state.

Referenced by DisplayComponentState().

Here is the caller graph for this function:

◆ setThresholdValueToChangeTheComponentState()

void DisplayComponentState::setThresholdValueToChangeTheComponentState ( double  x)

Definition at line 179 of file DisplayComponentState.cpp.

References threshold_value_to_change_the_component_state.

Referenced by DisplayComponentState().

Here is the caller graph for this function:

◆ updateDisplayedComponentOperationalState()

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 35 of file DisplayComponentState.h.

Member Data Documentation

◆ displayed_component_operational_state

◆ displayed_component_operational_state_when_fail

◆ relational_operator_to_change_the_component_state

◆ threshold_value_to_change_the_component_state


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