The Controller class handles the messages between UserInterface and AnalysisController. More...
#include <controller.h>
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. | |
The Controller class handles the messages between UserInterface and AnalysisController.
It also handles application settings.
|
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.
cInterface | The interface to be added. |