← Documentation
ADS-IDAC Engine 5.0.0
SystemDisplay Class Reference

#include <SystemDisplay.h>

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

Public Member Functions

 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

DisplayType type_of_display
 
int corresponding_system_parameter_name_in_number
 
int functional_state
 
THElement * ptr_to_corresponding_TH_element
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 12 of file SystemDisplay.h.

Constructor & Destructor Documentation

◆ SystemDisplay()

SystemDisplay::SystemDisplay ( )

◆ ~SystemDisplay()

SystemDisplay::~SystemDisplay ( )
virtual

Definition at line 27 of file SystemDisplay.cpp.

Member Function Documentation

◆ copySystemDisplay()

void SystemDisplay::copySystemDisplay ( SystemDisplay &  _sdp)

Definition at line 423 of file SystemDisplay.cpp.

References DisplayElement::copyDisplayElement(), corresponding_system_parameter_name_in_number, functional_state, getCorrespondingSystemParameterNameInNumber(), getFunctionalState(), getTypeOfDisplay(), and type_of_display.

Referenced by DisplayComponentState::copyDisplayComponentState(), DisplayParameterValue::copyDisplayParameterValue(), and DisplaySupportSystemState::copyDisplaySupportSystemState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCorrespondingHeatStructureValue()

double SystemDisplay::getCorrespondingHeatStructureValue ( int  _sequence_of_mesh_point)

Definition at line 41 of file SystemDisplay.cpp.

References AdsSimErr, SimulationContext::Branch_center, g_sim, SystemModule::getComponentFromSystemMap(), DisplayElement::getCorrespondingSystemName(), HeatStructure::getMeshPointTemperature(), THElement::getTypeOfCard(), HeatStructure, SimulationContext::Plant, ptr_to_corresponding_TH_element, r5pars_, BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().

Referenced by DisplayHeatStructure::updateDisplayedParameterValue().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCorrespondingSystemParameterNameInNumber()

int SystemDisplay::getCorrespondingSystemParameterNameInNumber ( )

Definition at line 419 of file SystemDisplay.cpp.

References corresponding_system_parameter_name_in_number.

Referenced by copySystemDisplay().

Here is the caller graph for this function:

◆ getCorrespondingSystemParameterValue()

double SystemDisplay::getCorrespondingSystemParameterValue ( )

Definition at line 83 of file SystemDisplay.cpp.

References AdsSimErr, SimulationContext::Branch_center, ControlVariable, corresponding_system_parameter_name_in_number, g_sim, HydraulicVolume::getBoronDensity(), SystemModule::getComponentFromSystemMap(), ControlVariable::getControlValue(), DisplayElement::getCorrespondingSystemName(), DisplayElement::getCorrespondingSystemParameterName(), InteractiveVariable::getDisplayValue(), HydraulicVolume::getEquilibriumQuality(), HydraulicVolume::getFlowRegimeNumber(), HydraulicVolume::getLiquidTemperature(), HydraulicJunction::getLiquidVelocity(), HydraulicJunction::getMassFlowRate(), HydraulicVolume::getPressure(), HydraulicVolume::getSaturationTemperature(), LogicalTrip::getTripTime(), VariableTrip::getTripTime(), THElement::getTypeOfCard(), HydraulicVolume::getVaporTemperature(), HydraulicJunction::getVaporVelocity(), HydraulicJunction, HydraulicVolume, InteractiveVariable, LogicalTrip, SimulationContext::Plant, ptr_to_corresponding_TH_element, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and VariableTrip.

Referenced by DisplayParameterValueRate::addAValueIntoParHistory(), DisplayComponentState::updateDisplayedComponentOperationalState(), and DisplayParameterValue::updateDisplayedParameterValue().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFunctionalState()

int SystemDisplay::getFunctionalState ( )

◆ getPtrToCorrespondingTHElement()

THElement * SystemDisplay::getPtrToCorrespondingTHElement ( )

Definition at line 421 of file SystemDisplay.cpp.

References ptr_to_corresponding_TH_element.

◆ getTypeOfDisplay()

DisplayType SystemDisplay::getTypeOfDisplay ( )

Definition at line 32 of file SystemDisplay.cpp.

References type_of_display.

Referenced by ProcedureStepUnit::checkForTypeOfExpectation(), DiagnosisComponentActionUnit::checkForTypeOfPrerequisite(), copySystemDisplay(), ControlPanel::executeRequestToPlant(), and ReasonMachine::GetAParameterValueImediately().

Here is the caller graph for this function:

◆ readInfoFromFile()

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

Definition at line 35 of file SystemDisplay.cpp.

References DisplayElement::readInfoFromFile().

Referenced by DisplayComponentState::readInfoFromFile(), and DisplayParameterValue::readInfoFromFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readInfoFromFileWithoutDisplayName()

void SystemDisplay::readInfoFromFileWithoutDisplayName ( std::ifstream &  )

Definition at line 38 of file SystemDisplay.cpp.

References DisplayElement::readInfoFromFileWithoutDisplayName().

Referenced by DisplayParameterValue::readInfoFromFileWithoutDisplayName().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ retrieveSystemDisplayFromFile()

void SystemDisplay::retrieveSystemDisplayFromFile ( std::ifstream &  )

Definition at line 433 of file SystemDisplay.cpp.

References corresponding_system_parameter_name_in_number, functional_state, DisplayElement::retrieveDisplayElementFromFile(), and type_of_display.

Referenced by DisplayComponentState::retrieveDisplayComponentStateFromFile(), DisplayParameterValue::retrieveDisplayParameterValueFromFile(), and DisplaySupportSystemState::retrieveDisplaySupportSystemStateFromFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveSystemDisplayToFile()

void SystemDisplay::saveSystemDisplayToFile ( std::ofstream &  )

Definition at line 429 of file SystemDisplay.cpp.

References corresponding_system_parameter_name_in_number, functional_state, DisplayElement::saveDisplayElementToFile(), and type_of_display.

Referenced by DisplayComponentState::saveDisplayComponentStateToFile(), DisplayParameterValue::saveDisplayParameterValueToFile(), and DisplaySupportSystemState::saveDisplaySupportSystemStateToFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ serialize()

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

Definition at line 41 of file SystemDisplay.h.

References functional_state.

◆ setCorrespondingSystemParameterNameInNumber()

void SystemDisplay::setCorrespondingSystemParameterNameInNumber ( int  name)

Definition at line 418 of file SystemDisplay.cpp.

References corresponding_system_parameter_name_in_number.

◆ setCorrespondingSystemParameterUnit()

◆ setFunctionalState()

void SystemDisplay::setFunctionalState ( int  state)

Definition at line 33 of file SystemDisplay.cpp.

References functional_state.

◆ setPtrToCorrespondingTHElement()

void SystemDisplay::setPtrToCorrespondingTHElement ( THElement *  ptr)

Definition at line 420 of file SystemDisplay.cpp.

References ptr_to_corresponding_TH_element.

◆ setTypeOfDisplay()

void SystemDisplay::setTypeOfDisplay ( DisplayType  type)

Definition at line 31 of file SystemDisplay.cpp.

References type_of_display.

Referenced by DisplayComponentState::DisplayComponentState(), DisplayHeatStructure::DisplayHeatStructure(), DisplayParameterValue::DisplayParameterValue(), DisplayParameterValueRate::DisplayParameterValueRate(), and DisplaySupportSystemState::DisplaySupportSystemState().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 39 of file SystemDisplay.h.

Member Data Documentation

◆ corresponding_system_parameter_name_in_number

◆ functional_state

int SystemDisplay::functional_state
private

◆ ptr_to_corresponding_TH_element

◆ type_of_display


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