← Documentation
ADS-IDAC Engine 5.0.0
ControlPanelDisplay Class Reference

#include <ControlPanelDisplay.h>

Public Member Functions

 ControlPanelDisplay ()
 
virtual ~ControlPanelDisplay ()
 
int readInfoFromFile (std::ifstream &)
 
void initiateAllParametersValues ()
 
void outputParametersLabelsToFile (std::ofstream &)
 
void outputParametersUnitsToFile (std::ofstream &)
 
void outputParametersValuesToFile (double, std::ofstream &)
 
SystemDisplay * getDisplayFromMap (std::string)
 
void updateAllDisplayValueAndState ()
 
int getTotalNumberOfDisplays ()
 
void copyControlPanelDisplay (ControlPanelDisplay &)
 
void clearControlPanelDisplay ()
 
void saveControlPanelDisplayToFile (std::ofstream &)
 
void retrieveControlPanelDisplayFromFile (std::ifstream &)
 
const std::vector< std::unique_ptr< DisplaySupportSystemState > > & getSupport_systems_state_array () const
 

Public Attributes

std::vector< std::unique_ptr< DisplayComponentState > > component_state_array
 
std::vector< std::unique_ptr< DisplaySupportSystemState > > support_systems_state_array
 
std::vector< std::unique_ptr< DisplayParameterValue > > parameter_value_array
 
std::vector< std::unique_ptr< DisplayHeatStructure > > heat_structure_array
 
std::vector< std::unique_ptr< DisplayParameterValueRate > > parameter_trend_array
 
std::map< std::string, SystemDisplay * > display_map
 

Private Member Functions

template<class Archive >
void save (Archive &ar, const unsigned int) const
 
template<class Archive >
void load (Archive &ar, const unsigned int)
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 26 of file ControlPanelDisplay.h.

Constructor & Destructor Documentation

◆ ControlPanelDisplay()

ControlPanelDisplay::ControlPanelDisplay ( )

Definition at line 17 of file ControlPanelDisplay.cpp.

◆ ~ControlPanelDisplay()

ControlPanelDisplay::~ControlPanelDisplay ( )
virtual

Definition at line 20 of file ControlPanelDisplay.cpp.

References clearControlPanelDisplay().

Here is the call graph for this function:

Member Function Documentation

◆ clearControlPanelDisplay()

void ControlPanelDisplay::clearControlPanelDisplay ( )

Definition at line 335 of file ControlPanelDisplay.cpp.

References component_state_array, display_map, heat_structure_array, parameter_trend_array, parameter_value_array, and support_systems_state_array.

Referenced by ControlPanel::clearControlPanel(), and ~ControlPanelDisplay().

Here is the caller graph for this function:

◆ copyControlPanelDisplay()

void ControlPanelDisplay::copyControlPanelDisplay ( ControlPanelDisplay &  _cpd)

Definition at line 303 of file ControlPanelDisplay.cpp.

References component_state_array, display_map, heat_structure_array, parameter_trend_array, parameter_value_array, and support_systems_state_array.

Referenced by ControlPanel::copyControlPanel().

Here is the caller graph for this function:

◆ getDisplayFromMap()

◆ getSupport_systems_state_array()

const vector< unique_ptr< DisplaySupportSystemState > > & ControlPanelDisplay::getSupport_systems_state_array ( ) const

Definition at line 503 of file ControlPanelDisplay.cpp.

References support_systems_state_array.

Referenced by SupportSystemReliabilityModule::readInfoFromFile().

Here is the caller graph for this function:

◆ getTotalNumberOfDisplays()

int ControlPanelDisplay::getTotalNumberOfDisplays ( )

◆ initiateAllParametersValues()

void ControlPanelDisplay::initiateAllParametersValues ( )

Definition at line 166 of file ControlPanelDisplay.cpp.

References component_state_array, heat_structure_array, parameter_trend_array, and parameter_value_array.

Referenced by ControlPanel::initiationForSimulation().

Here is the caller graph for this function:

◆ load()

template<class Archive >
void ControlPanelDisplay::load ( Archive &  ar,
const unsigned int   
)
inlineprivate

Definition at line 66 of file ControlPanelDisplay.h.

References component_state_array, heat_structure_array, adsidac::load_array_state(), parameter_trend_array, parameter_value_array, and support_systems_state_array.

Here is the call graph for this function:

◆ outputParametersLabelsToFile()

void ControlPanelDisplay::outputParametersLabelsToFile ( std::ofstream &  )

Definition at line 213 of file ControlPanelDisplay.cpp.

References component_state_array, heat_structure_array, parameter_trend_array, parameter_value_array, and support_systems_state_array.

Referenced by KeyParameterHistoryUnit::outputLabelToFile().

Here is the caller graph for this function:

◆ outputParametersUnitsToFile()

void ControlPanelDisplay::outputParametersUnitsToFile ( std::ofstream &  )

Definition at line 237 of file ControlPanelDisplay.cpp.

References component_state_array, heat_structure_array, parameter_trend_array, and parameter_value_array.

Referenced by KeyParameterHistoryUnit::outputUnitToFile().

Here is the caller graph for this function:

◆ outputParametersValuesToFile()

void ControlPanelDisplay::outputParametersValuesToFile ( double  ,
std::ofstream &   
)

◆ readInfoFromFile()

int ControlPanelDisplay::readInfoFromFile ( std::ifstream &  )

Definition at line 25 of file ControlPanelDisplay.cpp.

References SimulationContext::Branch_center, component_state_array, display_map, g_sim, DisplayElement::getDisplayName(), heat_structure_array, NoKB, parameter_trend_array, parameter_value_array, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and support_systems_state_array.

Referenced by ControlPanel::readInfoFromFile().

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

◆ retrieveControlPanelDisplayFromFile()

void ControlPanelDisplay::retrieveControlPanelDisplayFromFile ( std::ifstream &  )

Definition at line 370 of file ControlPanelDisplay.cpp.

References AdsSimErr, SimulationContext::Branch_center, component_state_array, display_map, g_sim, DisplayElement::getDisplayName(), heat_structure_array, parameter_trend_array, parameter_value_array, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and support_systems_state_array.

Referenced by ControlPanel::retrieveControlPanelFromFile().

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

◆ save()

template<class Archive >
void ControlPanelDisplay::save ( Archive &  ar,
const unsigned int   
) const
inlineprivate

Definition at line 55 of file ControlPanelDisplay.h.

References component_state_array, heat_structure_array, parameter_trend_array, parameter_value_array, adsidac::save_array_state(), and support_systems_state_array.

Here is the call graph for this function:

◆ saveControlPanelDisplayToFile()

void ControlPanelDisplay::saveControlPanelDisplayToFile ( std::ofstream &  )

Definition at line 343 of file ControlPanelDisplay.cpp.

References component_state_array, heat_structure_array, parameter_trend_array, parameter_value_array, and support_systems_state_array.

Referenced by ControlPanel::saveControlPanelToFile().

Here is the caller graph for this function:

◆ updateAllDisplayValueAndState()

void ControlPanelDisplay::updateAllDisplayValueAndState ( )

Definition at line 277 of file ControlPanelDisplay.cpp.

References component_state_array, heat_structure_array, parameter_trend_array, and parameter_value_array.

Referenced by ControlPanel::updateDisplay(), and ControlPanel::updateDisplayAndAlarm().

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 52 of file ControlPanelDisplay.h.

Member Data Documentation

◆ component_state_array

◆ display_map

◆ heat_structure_array

◆ parameter_trend_array

◆ parameter_value_array

◆ support_systems_state_array


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