TODO Comment class here. More...
#include <MonitoringDialog.h>
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... | |
TODO Comment class here.
MonitoringDialog::MonitoringDialog | ( | MonitoringGuiManager * | guiManager, |
QWidget * | parent = nullptr |
||
) |
Default Constructor.
References browseLml(), browseMmlIn(), browsePml(), dtModified(), MonitoringGuiManager::getDriver(), pause(), refreshModified(), rewind(), saveCsv(), saveMmlIn(), saveMmlOut(), simulate(), and simulateOneStep().
|
override |
Destructor.
|
slot |
Slot called when Browse Lml file is clicked.
References MonitoringGuiManager::reload(), and MonitoringGuiManager::updateLml().
Referenced by MonitoringDialog().
|
slot |
Slot called when Browse MmlIn file is clicked.
References MonitoringGuiManager::loadMmlInFile().
Referenced by MonitoringDialog().
|
slot |
Slot called when Browse Pml file is clicked.
References MonitoringGuiManager::reload(), and MonitoringGuiManager::updatePml().
Referenced by MonitoringDialog().
|
slot |
Slot called after dt editing.
References MonitoringGuiManager::updateDt().
Referenced by MonitoringDialog().
QString MonitoringDialog::getMmlInFileName | ( | ) |
get MmlIn file name
QTableWidget * MonitoringDialog::getMonitorsTableWidget | ( | ) |
get the monitors table
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().
void MonitoringDialog::init | ( | ) |
initialize dialog
References updateAll().
Referenced by MonitoringGuiManager::MonitoringGuiManager().
|
signal |
|
slot |
do one step of simulation
References MonitoringGuiManager::pause().
Referenced by MonitoringDialog().
|
slot |
Slot called after refresh editing.
References MonitoringGuiManager::updateRefresh().
Referenced by MonitoringDialog().
|
slot |
Slot called when the button Rewind is clicked.
References MonitoringGuiManager::rewind().
Referenced by MonitoringDialog().
|
slot |
Slot called when save as csv file is clicked.
References MonitoringGuiManager::saveCsvFile().
Referenced by MonitoringDialog().
|
slot |
Slot called when save MmlIn file is clicked.
References MonitoringGuiManager::saveMmlInFile().
Referenced by MonitoringDialog().
|
slot |
Slot called when save MmlOut file is clicked.
References MonitoringGuiManager::saveMmlOutFile().
Referenced by MonitoringDialog().
|
slot |
Slot called when the button Play is clicked.
References MonitoringGuiManager::simulate().
Referenced by MonitoringDialog().
|
slot |
Slot called when the next step is clicked.
References MonitoringGuiManager::simulateOneStep().
Referenced by MonitoringDialog().
void MonitoringDialog::updateAll | ( | ) |
update all tabs
References MonitoringGuiManager::getMonitoringManager(), updateMonitors(), updateSimulation(), updateSimulatorWidget(), and updateStoppingCriteria().
Referenced by init(), MonitoringGuiManager::loadMmlInFile(), and MonitoringGuiManager::reload().
void MonitoringDialog::updateMonitors | ( | ) |
update monitors tab
References MonitoringManager::getMonitor(), MonitoringGuiManager::getMonitoringManager(), Monitor::getReferenceName(), Monitor::getStartAt(), Monitor::getStopAt(), Monitor::getTargetName(), Monitor::getTypeName(), monitorsChanged(), and MonitoringManager::numberOfMonitor().
Referenced by updateAll().
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(), and MonitoringManager::getStepComputingTime().
Referenced by MonitoringGuiManager::doOneStep(), MonitoringGuiManager::rewind(), and updateAll().
void MonitoringDialog::updateSimulatorWidget | ( | ) |
update simulator specific widget
References MonitoringGuiManager::getMonitoringManager(), and MonitoringManager::getSimulator().
Referenced by updateAll().
void MonitoringDialog::updateStoppingCriteria | ( | ) |
update stopping criteria tab
References MonitoringGuiManager::getMonitoringManager(), and InteractiveMonitoringManager::getStoppingCriterion().
Referenced by updateAll().