TODO Comment class here. More...
#include <MonitoringDialog.h>
Inheritance diagram for MonitoringDialog:
Collaboration diagram for MonitoringDialog:Public Slots | |
| void | browseLml () |
| Slot called when Browse Lml file is clicked. More... | |
| void | browseMmlIn () |
| Slot called when Browse MmlIn file is clicked. More... | |
| void | browsePml () |
| Slot called when Browse Pml file is clicked. More... | |
| void | dtModified () |
| Slot called after dt editing. More... | |
| void | pause () |
| do one step of simulation More... | |
| void | refreshModified () |
| Slot called after refresh editing. More... | |
| void | rewind () |
| Slot called when the button Rewind is clicked. More... | |
| void | saveCsv () |
| Slot called when save as csv file is clicked. More... | |
| void | saveMmlIn () |
| Slot called when save MmlIn file is clicked. More... | |
| void | saveMmlOut () |
| Slot called when save MmlOut file is clicked. More... | |
| void | simulate () |
| Slot called when the button Play is clicked. More... | |
| void | simulateOneStep () |
| Slot called when the next step is clicked. More... | |
Signals | |
| void | monitorsChanged () |
| emitted More... | |
Public Member Functions | |
| QString | getMmlInFileName () |
| get MmlIn file name More... | |
| QTableWidget * | getMonitorsTableWidget () |
| get the monitors table More... | |
| void | init () |
| initialize dialog More... | |
| MonitoringDialog (MonitoringGuiManager *guiManager, QWidget *parent=nullptr) | |
| Default Constructor. More... | |
| void | updateAll () |
| update all tabs More... | |
| void | updateMonitors () |
| update monitors tab More... | |
| void | updateSimulation () |
| update simulation tab More... | |
| void | updateSimulatorWidget () |
| update simulator specific widget More... | |
| void | updateStoppingCriteria () |
| update stopping criteria tab More... | |
| ~MonitoringDialog () override | |
| Destructor. More... | |
Private Member Functions | |
| QTreeWidgetItem * | createItem (StoppingCriterion *sc, QTreeWidgetItem *parent) |
| void | enableButtons (bool enable) |
| set the rew,play,pause,step buttons enable or not More... | |
Private Attributes | |
| QColor | bgColor |
| the initial bg color More... | |
| MonitoringGuiManager * | guiManager |
| the monitoring manager More... | |
| Ui::MonitoringDialog * | ui |
| the ui dialog designed in qtdesigner More... | |
TODO Comment class here.
| MonitoringDialog::MonitoringDialog | ( | MonitoringGuiManager * | guiManager, |
| QWidget * | parent = nullptr |
||
| ) |
Default Constructor.
References browseLml(), browseMmlIn(), browsePml(), dtModified(), MonitoringGuiManager::getDriver(), guiManager, pause(), refreshModified(), rewind(), saveCsv(), saveMmlIn(), saveMmlOut(), simulate(), simulateOneStep(), and ui.
Here is the call graph for this function:
|
override |
Destructor.
References ui.
|
slot |
Slot called when Browse Lml file is clicked.
References guiManager, MonitoringGuiManager::reload(), ui, and MonitoringGuiManager::updateLml().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called when Browse MmlIn file is clicked.
References guiManager, MonitoringGuiManager::loadMmlInFile(), and ui.
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called when Browse Pml file is clicked.
References guiManager, MonitoringGuiManager::reload(), ui, and MonitoringGuiManager::updatePml().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References StoppingCriterion::getChild(), StoppingCriterion::getName(), and StoppingCriterion::getNumberOfChildren().
Referenced by updateStoppingCriteria().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called after dt editing.
References guiManager, ui, and MonitoringGuiManager::updateDt().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
set the rew,play,pause,step buttons enable or not
References MonitoringGuiManager::getMonitoringManager(), guiManager, MonitoringManager::isLmlPresent(), MonitoringManager::isPmlPresent(), and ui.
Referenced by updateAll().
Here is the call graph for this function:
Here is the caller graph for this function:| QString MonitoringDialog::getMmlInFileName | ( | ) |
get MmlIn file name
References ui.
| QTableWidget * MonitoringDialog::getMonitorsTableWidget | ( | ) |
get the monitors table
References ui.
Referenced by MMLDisplay::connectMonitor(), MMLDisplay::getDisplayedMonitor(), MMLDisplay::getDisplayedMonitorLine(), Statistics::hide(), Tabular::hide(), MMLDisplay::MMLDisplay(), Statistics::Statistics(), Tabular::Tabular(), Statistics::update(), Tabular::update(), and MMLDisplay::updateMonitorsTable().
Here is the caller graph for this function:| void MonitoringDialog::init | ( | ) |
initialize dialog
References updateAll().
Referenced by MonitoringGuiManager::MonitoringGuiManager().
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
|
slot |
do one step of simulation
References guiManager, and MonitoringGuiManager::pause().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called after refresh editing.
References guiManager, ui, and MonitoringGuiManager::updateRefresh().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called when the button Rewind is clicked.
References guiManager, and MonitoringGuiManager::rewind().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called when save as csv file is clicked.
References guiManager, and MonitoringGuiManager::saveCsvFile().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called when save MmlIn file is clicked.
References guiManager, and MonitoringGuiManager::saveMmlInFile().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called when save MmlOut file is clicked.
References guiManager, and MonitoringGuiManager::saveMmlOutFile().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called when the button Play is clicked.
References guiManager, and MonitoringGuiManager::simulate().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Slot called when the next step is clicked.
References guiManager, and MonitoringGuiManager::simulateOneStep().
Referenced by MonitoringDialog().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringDialog::updateAll | ( | ) |
update all tabs
References enableButtons(), MonitoringGuiManager::getMonitoringManager(), guiManager, ui, updateMonitors(), updateSimulation(), updateSimulatorWidget(), and updateStoppingCriteria().
Referenced by init(), MonitoringGuiManager::loadMmlInFile(), and MonitoringGuiManager::reload().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringDialog::updateMonitors | ( | ) |
update monitors tab
References MonitoringManager::getMonitor(), MonitoringGuiManager::getMonitoringManager(), Monitor::getReferenceName(), Monitor::getStartAt(), Monitor::getStopAt(), Monitor::getTargetName(), Monitor::getTypeName(), guiManager, monitorsChanged(), MonitoringManager::numberOfMonitor(), and ui.
Referenced by updateAll().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringDialog::updateSimulation | ( | ) |
update simulation tab
References MonitoringManager::getComputingTime(), MonitoringManager::getCurrentStep(), MonitoringManager::getCurrentTime(), MonitoringManager::getDt(), MonitoringManager::getLmlFileName(), MonitoringManager::getMmlFileName(), MonitoringGuiManager::getMonitoringManager(), MonitoringManager::getPmlFileName(), MonitoringManager::getRefresh(), MonitoringManager::getStepComputingTime(), guiManager, and ui.
Referenced by MonitoringGuiManager::doOneStep(), MonitoringGuiManager::rewind(), and updateAll().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringDialog::updateSimulatorWidget | ( | ) |
update simulator specific widget
References MonitoringGuiManager::getMonitoringManager(), MonitoringManager::getSimulator(), guiManager, and ui.
Referenced by updateAll().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringDialog::updateStoppingCriteria | ( | ) |
update stopping criteria tab
References createItem(), MonitoringGuiManager::getMonitoringManager(), InteractiveMonitoringManager::getStoppingCriterion(), guiManager, and ui.
Referenced by updateAll().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
the initial bg color
|
private |
the monitoring manager
Referenced by browseLml(), browseMmlIn(), browsePml(), dtModified(), enableButtons(), MonitoringDialog(), pause(), refreshModified(), rewind(), saveCsv(), saveMmlIn(), saveMmlOut(), simulate(), simulateOneStep(), updateAll(), updateMonitors(), updateSimulation(), updateSimulatorWidget(), and updateStoppingCriteria().
|
private |
the ui dialog designed in qtdesigner
Referenced by browseLml(), browseMmlIn(), browsePml(), dtModified(), enableButtons(), getMmlInFileName(), getMonitorsTableWidget(), MonitoringDialog(), refreshModified(), updateAll(), updateMonitors(), updateSimulation(), updateSimulatorWidget(), updateStoppingCriteria(), and ~MonitoringDialog().