CAVAPA-GUI  30.5.2014
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Slots | Signals | Public Member Functions | List of all members
cavapa_gui::Controller Class Reference

The Controller class handles the messages between UserInterface and AnalysisController. More...

#include <controller.h>

Inheritance diagram for cavapa_gui::Controller:

Public Slots

void aboutToQuitApp ()
 Warns the object for application termination. More...
 
void run ()
 Launches all the registered interfaces.
 

Signals

void finished ()
 Emitted when all the interfaces have been closed.
 

Public Member Functions

 Controller ()
 Constructs the Controller object.
 
void addInterface (UserInterface *cInterface)
 Adds a new interface to the controller. More...
 
void startInterfaces ()
 Starts all the user interfaces.
 

Detailed Description

The Controller class handles the messages between UserInterface and AnalysisController.

It also handles application settings.

Author
Mika Lehtinen

Member Function Documentation

void cavapa_gui::Controller::aboutToQuitApp ( )
slot

Warns the object for application termination.

The purpose of the method is to shut off cameras and other hooks so they have time to terminate.

void cavapa_gui::Controller::addInterface ( UserInterface cInterface)

Adds a new interface to the controller.

Parameters
cInterfaceThe interface to be added.

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