Computer Assited Medical Intervention Tool Kit  version 4.1
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
MonitoringGuiManager Class Reference

A GUI to manipulate mml documents. More...

#include <MonitoringGuiManager.h>

Inherits QObject.

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

MonitoringDialoggetDialog ()
 get dialog More...
 
MonitoringDrivergetDriver ()
 get driver More...
 
MonitoringManagergetMonitoringManager ()
 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...
 

Private Attributes

MonitoringDialogdialog
 the dialog box More...
 
MonitoringDriverdriver
 the simulation driver More...
 
double lastRefreshTime
 last refresh time More...
 
MonitoringManagermonitoringManager
 Monitoring manager. More...
 

Detailed Description

A GUI to manipulate mml documents.

Constructor & Destructor Documentation

◆ MonitoringGuiManager()

MonitoringGuiManager::MonitoringGuiManager ( )

◆ ~MonitoringGuiManager()

MonitoringGuiManager::~MonitoringGuiManager ( )
override

destructor

References dialog, driver, and monitoringManager.

Member Function Documentation

◆ changed

void MonitoringGuiManager::changed ( )
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().

◆ doOneStep

bool MonitoringGuiManager::doOneStep ( )
slot

◆ getDialog()

MonitoringDialog * MonitoringGuiManager::getDialog ( )

◆ getDriver()

MonitoringDriver * MonitoringGuiManager::getDriver ( )

get driver

References driver.

Referenced by MonitoringDialog::MonitoringDialog().

◆ getMonitoringManager()

MonitoringManager * MonitoringGuiManager::getMonitoringManager ( )

◆ loadMmlInFile()

bool MonitoringGuiManager::loadMmlInFile ( QString  fileName)

◆ pause()

void MonitoringGuiManager::pause ( )

pause simulation

References driver, and MonitoringDriver::stopTimer().

Referenced by MonitoringDialog::pause(), reload(), and rewind().

◆ reconnectPml

void MonitoringGuiManager::reconnectPml ( )
signal

Referenced by reload().

◆ reload

void MonitoringGuiManager::reload ( )
slot

◆ rewind()

void MonitoringGuiManager::rewind ( )

◆ saveCsvFile()

bool MonitoringGuiManager::saveCsvFile ( QString  fileName)

Save csv file.

References monitoringManager, and MonitoringManager::writeCsv().

Referenced by MonitoringDialog::saveCsv().

◆ saveMmlInFile()

bool MonitoringGuiManager::saveMmlInFile ( QString  fileName)

◆ saveMmlOutFile()

bool MonitoringGuiManager::saveMmlOutFile ( QString  fileName)

Save MMLout file.

References monitoringManager, and MonitoringManager::writeOutput().

Referenced by MonitoringDialog::saveMmlOut().

◆ simulate()

void MonitoringGuiManager::simulate ( )

◆ simulateOneStep()

void MonitoringGuiManager::simulateOneStep ( )

do one step of simulation

References MonitoringManager::checkStop(), doOneStep(), and monitoringManager.

Referenced by MonitoringDialog::simulateOneStep().

◆ updateDt()

void MonitoringGuiManager::updateDt ( double  dt)

◆ updateLml()

void MonitoringGuiManager::updateLml ( QString  fileName)

◆ updatePml()

void MonitoringGuiManager::updatePml ( QString  fileName)

◆ updateRefresh()

void MonitoringGuiManager::updateRefresh ( double  refresh)

Member Data Documentation

◆ dialog

MonitoringDialog* MonitoringGuiManager::dialog
private

◆ driver

MonitoringDriver* MonitoringGuiManager::driver
private

◆ lastRefreshTime

double MonitoringGuiManager::lastRefreshTime
private

last refresh time

Referenced by doOneStep(), MonitoringGuiManager(), reload(), and rewind().

◆ monitoringManager

MonitoringManager* MonitoringGuiManager::monitoringManager
private

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