#include <omUIApplication.h>
Public Member Functions | |
virtual bool | OnInit () |
This is the main of the user interface application. | |
Data Fields | |
omUIObjects | objects |
maia application objects pointers | |
Private Member Functions | |
void | SetPath (wxString) |
void | SetErrorHandlers () |
void | SDSetErrorHandlers () |
System dependent SetErrorHandlers. |
This class is used as a main class for an OpenMAIA User Interface Application. A user interface is used by the disabled user to intercat with the OpenMAIA System.
Generally a user interfac application is composed by some objects (see picture). This class contains the pointers to the super objects used in the user interface application.
All objects are instantiated in the omUIApplication::OnInit method. omUIApplication::objects attribute is used to store the pointers to the instantiated objects.
Every Class that include <libopenmaiaui.h> header can obtain the pointer to an object used in the user interface application with a command like the following one:
omConnector *connector = (omConnector) wxGetApp().objects.connector;
NOTE!! To link the correct wxApp pointer you need to implement the application using omUIApplication object.
|
This is the main of the user interface application.
|
|
System dependent SetErrorHandlers.
|
|
This funcions catch wiindow error handlers like set focus error and show error |
|
Sets the path of the application moving to the top of the installation dir
|
|
maia application objects pointers Objects container. Used to store pointers to objects used in the application |
Copyright © by Luca Clivio |