A GUI to manipulate mml documents. More...
#include <MonitoringGuiManager.h>
Inheritance diagram for MonitoringGuiManager:
Collaboration diagram for MonitoringGuiManager:Public Slots | |
| bool | doOneStep () |
| do one step of simulation More... | |
| void | reload () |
| reload simulation with current parameters More... | |
Signals | |
| void | changed () |
| emitted when one step of simulation is done, there was changes, so maybe there are some display to update More... | |
| void | reconnectPml () |
Public Member Functions | |
| MonitoringDialog * | getDialog () |
| get dialog More... | |
| MonitoringDriver * | getDriver () |
| get driver More... | |
| MonitoringManager * | getMonitoringManager () |
| get Monitoring Manager More... | |
| bool | loadMmlInFile (QString fileName) |
| Load a MMLIn file. More... | |
| MonitoringGuiManager () | |
| constructor More... | |
| void | pause () |
| pause simulation More... | |
| void | rewind () |
| rewind simulation More... | |
| bool | saveCsvFile (QString fileName) |
| Save csv file. More... | |
| bool | saveMmlInFile (QString fileName) |
| Save MMLIn file. More... | |
| bool | saveMmlOutFile (QString fileName) |
| Save MMLout file. More... | |
| void | simulate () |
| do simulation lopp More... | |
| void | simulateOneStep () |
| do one step of simulation More... | |
| void | updateDt (double dt) |
| update dt More... | |
| void | updateLml (QString fileName) |
| update lml More... | |
| void | updatePml (QString fileName) |
| update pml More... | |
| void | updateRefresh (double refresh) |
| update refresh More... | |
| ~MonitoringGuiManager () override | |
| destructor More... | |
A GUI to manipulate mml documents.
| MonitoringGuiManager::MonitoringGuiManager | ( | ) |
constructor
References MonitoringDialog::init(), and MonitoringDriver::init().
Here is the call graph for this function:
|
override |
destructor
|
signal |
emitted when one step of simulation is done, there was changes, so maybe there are some display to update
Referenced by doOneStep(), and rewind().
Here is the caller graph for this function:
|
slot |
do one step of simulation
References changed(), MonitoringManager::checkStop(), MonitoringManager::doMove(), MonitoringManager::getCurrentTime(), MonitoringManager::getRefresh(), MonitoringDriver::stopTimer(), and MonitoringDialog::updateSimulation().
Referenced by simulate(), and simulateOneStep().
Here is the call graph for this function:
Here is the caller graph for this function:| MonitoringDialog * MonitoringGuiManager::getDialog | ( | ) |
get dialog
Referenced by MMLDisplay::connectMonitor(), MMLDisplay::getDisplayedMonitor(), MMLDisplay::getDisplayedMonitorLine(), SimulationDialog::getWidget(), Statistics::hide(), Tabular::hide(), MMLComponent::MMLComponent(), MMLDisplay::MMLDisplay(), Statistics::Statistics(), Tabular::Tabular(), Statistics::update(), Tabular::update(), and MMLDisplay::updateMonitorsTable().
Here is the caller graph for this function:| MonitoringDriver * MonitoringGuiManager::getDriver | ( | ) |
get driver
Referenced by MonitoringDialog::MonitoringDialog().
Here is the caller graph for this function:| MonitoringManager * MonitoringGuiManager::getMonitoringManager | ( | ) |
get Monitoring Manager
Referenced by MMLDisplay::connectMonitor(), MMLComponent::connectPml(), MMLDisplay::getDisplayedMonitor(), MMLComponent::MMLComponent(), MonitoringDialog::updateAll(), MonitoringDialog::updateMonitors(), MMLDisplay::updateMonitorsTable(), MonitoringDialog::updateSimulation(), MonitoringDialog::updateSimulatorWidget(), and MonitoringDialog::updateStoppingCriteria().
Here is the caller graph for this function:| bool MonitoringGuiManager::loadMmlInFile | ( | QString | fileName | ) |
Load a MMLIn file.
References MonitoringManagerFactory::createManager(), MonitoringManager::init(), and MonitoringDialog::updateAll().
Referenced by MonitoringDialog::browseMmlIn(), and MMLComponent::MMLComponent().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringGuiManager::pause | ( | ) |
pause simulation
References MonitoringDriver::stopTimer().
Referenced by MonitoringDialog::pause(), reload(), and rewind().
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
|
slot |
reload simulation with current parameters
References pause(), reconnectPml(), MonitoringManager::reload(), and MonitoringDialog::updateAll().
Referenced by MonitoringDialog::browseLml(), and MonitoringDialog::browsePml().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringGuiManager::rewind | ( | ) |
rewind simulation
References changed(), pause(), MonitoringManager::rewind(), and MonitoringDialog::updateSimulation().
Referenced by MonitoringDialog::rewind().
Here is the call graph for this function:
Here is the caller graph for this function:| bool MonitoringGuiManager::saveCsvFile | ( | QString | fileName | ) |
Save csv file.
References MonitoringManager::writeCsv().
Referenced by MonitoringDialog::saveCsv().
Here is the call graph for this function:
Here is the caller graph for this function:| bool MonitoringGuiManager::saveMmlInFile | ( | QString | fileName | ) |
Save MMLIn file.
References MonitoringManager::saveMmlIn().
Referenced by MMLComponent::saveMML(), and MonitoringDialog::saveMmlIn().
Here is the call graph for this function:
Here is the caller graph for this function:| bool MonitoringGuiManager::saveMmlOutFile | ( | QString | fileName | ) |
Save MMLout file.
References MonitoringManager::writeOutput().
Referenced by MonitoringDialog::saveMmlOut().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringGuiManager::simulate | ( | ) |
do simulation lopp
References doOneStep(), MonitoringDriver::isTimerActive(), and MonitoringDriver::startTimer().
Referenced by MonitoringDialog::simulate().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringGuiManager::simulateOneStep | ( | ) |
do one step of simulation
References MonitoringManager::checkStop(), and doOneStep().
Referenced by MonitoringDialog::simulateOneStep().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringGuiManager::updateDt | ( | double | dt | ) |
update dt
References MonitoringManager::setDt().
Referenced by MonitoringDialog::dtModified().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringGuiManager::updateLml | ( | QString | fileName | ) |
update lml
References MonitoringManager::setLmlFileName().
Referenced by MonitoringDialog::browseLml().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringGuiManager::updatePml | ( | QString | fileName | ) |
update pml
References MonitoringManager::setPmlFileName().
Referenced by MonitoringDialog::browsePml().
Here is the call graph for this function:
Here is the caller graph for this function:| void MonitoringGuiManager::updateRefresh | ( | double | refresh | ) |
update refresh
References camitk::refresh(), and MonitoringManager::setRefresh().
Referenced by MonitoringDialog::refreshModified().
Here is the call graph for this function:
Here is the caller graph for this function: