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

TODO Comment class here. More...

#include <MonitoringDriver.h>

Inherits QObject.

Public Slots

void play ()
 Slot called when at each timer tick (i.e. after the same interval of time) More...
 

Signals

void doOneStep ()
 signal call when one step is to be performed More...
 

Public Member Functions

void init ()
 
bool isTimerActive ()
 is the timer currently running More...
 
 MonitoringDriver (MonitoringGuiManager *guiManager)
 Constructor. More...
 
void startTimer ()
 starts the timer that will repeatedly call play and emit doOneStep More...
 
void stopTimer ()
 stop the timer More...
 
 ~MonitoringDriver () override
 Destructor. More...
 

Private Attributes

MonitoringGuiManagerguiManager
 the monitoring manager More...
 
QTimer * timer
 the simulation timer More...
 

Detailed Description

TODO Comment class here.

Constructor & Destructor Documentation

◆ MonitoringDriver()

MonitoringDriver::MonitoringDriver ( MonitoringGuiManager guiManager)

Constructor.

References guiManager, and timer.

◆ ~MonitoringDriver()

MonitoringDriver::~MonitoringDriver ( )
override

Destructor.

References stopTimer(), and timer.

Member Function Documentation

◆ doOneStep

void MonitoringDriver::doOneStep ( )
signal

signal call when one step is to be performed

Referenced by play().

◆ init()

void MonitoringDriver::init ( )

◆ isTimerActive()

bool MonitoringDriver::isTimerActive ( )

is the timer currently running

References timer.

Referenced by MonitoringGuiManager::simulate().

◆ play

void MonitoringDriver::play ( )
slot

Slot called when at each timer tick (i.e. after the same interval of time)

References doOneStep(), startTimer(), and timer.

Referenced by init().

◆ startTimer()

void MonitoringDriver::startTimer ( )

starts the timer that will repeatedly call play and emit doOneStep

References timer.

Referenced by play(), and MonitoringGuiManager::simulate().

◆ stopTimer()

void MonitoringDriver::stopTimer ( )

Member Data Documentation

◆ guiManager

MonitoringGuiManager* MonitoringDriver::guiManager
private

the monitoring manager

Referenced by MonitoringDriver().

◆ timer

QTimer* MonitoringDriver::timer
private

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