← Documentation
ADS-IDAC Engine 5.0.0
ControlPanelControl Class Reference

#include <ControlPanelControl.h>

Public Member Functions

 ControlPanelControl ()
 
virtual ~ControlPanelControl ()
 
int readInfoFromFile (std::ifstream &)
 
void initiateAllControls ()
 
void outputParametersLabelsToFile (std::ofstream &)
 
void outputParametersUnitsToFile (std::ofstream &)
 
void outputParametersValuesToFile (std::ofstream &)
 
SystemControl * getControlFromMap (std::string)
 
int getTotalNumberOfControls ()
 
void executeValueControl (std::string, double)
 
void executeStateControl (std::string, int)
 
void copyControlPanelControl (ControlPanelControl &)
 
void clearControlPanelControl ()
 
void saveControlPanelControlToFile (std::ofstream &)
 
void retrieveControlPanelControlFromFile (std::ifstream &)
 
template<class Archive >
void save (Archive &ar, const unsigned int) const
 
template<class Archive >
void load (Archive &ar, const unsigned int)
 

Public Attributes

std::vector< std::unique_ptr< ControlState > > control_state_array
 
std::vector< std::unique_ptr< ControlValue > > control_value_array
 
std::map< std::string, SystemControl * > control_map
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 23 of file ControlPanelControl.h.

Constructor & Destructor Documentation

◆ ControlPanelControl()

ControlPanelControl::ControlPanelControl ( )

Definition at line 18 of file ControlPanelControl.cpp.

◆ ~ControlPanelControl()

ControlPanelControl::~ControlPanelControl ( )
virtual

Definition at line 22 of file ControlPanelControl.cpp.

References clearControlPanelControl().

Here is the call graph for this function:

Member Function Documentation

◆ clearControlPanelControl()

void ControlPanelControl::clearControlPanelControl ( )

Definition at line 195 of file ControlPanelControl.cpp.

References control_map, control_state_array, and control_value_array.

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

Here is the caller graph for this function:

◆ copyControlPanelControl()

void ControlPanelControl::copyControlPanelControl ( ControlPanelControl &  _cp)

Definition at line 181 of file ControlPanelControl.cpp.

References control_map, control_state_array, and control_value_array.

Referenced by ControlPanel::copyControlPanel().

Here is the caller graph for this function:

◆ executeStateControl()

void ControlPanelControl::executeStateControl ( std::string  ,
int   
)

Definition at line 152 of file ControlPanelControl.cpp.

References AdsSimErr, SimulationContext::Branch_center, control_map, ControlState, g_sim, ControlState::performDisplayedControlState(), SimulationContext::Plant, r5pars_, BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().

Referenced by ControlPanel::executeStateControl().

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

◆ executeValueControl()

void ControlPanelControl::executeValueControl ( std::string  ,
double   
)

Definition at line 127 of file ControlPanelControl.cpp.

References AdsSimErr, SimulationContext::Branch_center, control_map, ControlValue, g_sim, ControlValue::performControl(), ControlState::performValueControl(), SimulationContext::Plant, r5pars_, BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().

Referenced by ControlPanel::executeValueControl().

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

◆ getControlFromMap()

◆ getTotalNumberOfControls()

int ControlPanelControl::getTotalNumberOfControls ( )

Definition at line 103 of file ControlPanelControl.cpp.

References control_state_array, and control_value_array.

◆ initiateAllControls()

void ControlPanelControl::initiateAllControls ( )

Definition at line 61 of file ControlPanelControl.cpp.

References control_state_array, and control_value_array.

Referenced by ControlPanel::initiationForSimulation().

Here is the caller graph for this function:

◆ load()

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

Definition at line 58 of file ControlPanelControl.h.

References control_state_array, control_value_array, and adsidac::load_array_state().

Here is the call graph for this function:

◆ outputParametersLabelsToFile()

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

Definition at line 73 of file ControlPanelControl.cpp.

References control_state_array, and control_value_array.

Referenced by KeyParameterHistoryUnit::outputLabelToFile().

Here is the caller graph for this function:

◆ outputParametersUnitsToFile()

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

Definition at line 83 of file ControlPanelControl.cpp.

References control_state_array, and control_value_array.

Referenced by KeyParameterHistoryUnit::outputUnitToFile().

Here is the caller graph for this function:

◆ outputParametersValuesToFile()

void ControlPanelControl::outputParametersValuesToFile ( std::ofstream &  )

Definition at line 93 of file ControlPanelControl.cpp.

References control_state_array, and control_value_array.

◆ readInfoFromFile()

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

Definition at line 28 of file ControlPanelControl.cpp.

References control_map, control_state_array, and control_value_array.

Referenced by ControlPanel::readInfoFromFile().

Here is the caller graph for this function:

◆ retrieveControlPanelControlFromFile()

void ControlPanelControl::retrieveControlPanelControlFromFile ( std::ifstream &  )

Definition at line 213 of file ControlPanelControl.cpp.

References control_map, control_state_array, and control_value_array.

Referenced by ControlPanel::retrieveControlPanelFromFile().

Here is the caller graph for this function:

◆ save()

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

Definition at line 49 of file ControlPanelControl.h.

References control_state_array, control_value_array, and adsidac::save_array_state().

Here is the call graph for this function:

◆ saveControlPanelControlToFile()

void ControlPanelControl::saveControlPanelControlToFile ( std::ofstream &  )

Definition at line 200 of file ControlPanelControl.cpp.

References control_state_array, and control_value_array.

Referenced by ControlPanel::saveControlPanelToFile().

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 46 of file ControlPanelControl.h.

Member Data Documentation

◆ control_map

◆ control_state_array

◆ control_value_array


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