Computer Assited Medical Intervention Tool Kit  version 5.0
WizardController Class Reference

Controller class, based on MVP architecture. More...

#include <WizardController.h>

+ Collaboration diagram for WizardController:

Public Member Functions

void launch ()
 Method to start. More...
 
 WizardController ()
 Constructor: creation of all the interfaces and the connections. More...
 
 ~WizardController ()
 Destructor of the Controller. More...
 

Private Attributes

QString devDirectoryName
 
cepcoreschema::Cep * domCep
 XML DOM Element create by CodeSynthesis. More...
 
QStateMachine machine
 
WizardMainWindowmainWindow
 

Detailed Description

Controller class, based on MVP architecture.

The wizard is constructed on a state machine.
Each state is created in the constructor of this class and is connected with others trought this controller.
Moreover, this class creates the XML DOM document to generate the corresponding CEP.

Constructor & Destructor Documentation

◆ WizardController()

WizardController::WizardController ( )

Constructor: creation of all the interfaces and the connections.

References devDirectoryName, domCep, machine, and mainWindow.

◆ ~WizardController()

WizardController::~WizardController ( )

Destructor of the Controller.

References domCep, and mainWindow.

Member Function Documentation

◆ launch()

void WizardController::launch ( )

Method to start.

References machine, and mainWindow.

Member Data Documentation

◆ devDirectoryName

QString WizardController::devDirectoryName
private

Referenced by WizardController().

◆ domCep

cepcoreschema::Cep* WizardController::domCep
private

XML DOM Element create by CodeSynthesis.

This cep instance contains all of the informations of the xml file

Referenced by WizardController(), and ~WizardController().

◆ machine

QStateMachine WizardController::machine
private

Referenced by launch(), and WizardController().

◆ mainWindow

WizardMainWindow* WizardController::mainWindow
private

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