XmApplication Class ReferenceInheritance diagram for XmApplication:
List of all members.
Detailed Description
Is used as application singleton, when using the exom application/document model.
The application is responsible to control and manage documents of class XmDocument. Via the application, documents can be created, closed, opened and saved. The application can be used as a single or a multiple document interface (see DOC_INTERFACE).
The application has also the possibility to load and save application settings. These settings are saved in the directory which is supplied by InitApp().
More information in section Application / Document Model.
Member Function Documentation
| void InitApp |
( |
const char * |
filename = NULL |
) |
|
|
|
|
Enable the document/application model.
- Parameters:
-
| filename | directory where to save the application settings. |
|
| XMOBJ ObjectID |
( |
|
) |
const [inline, protected, virtual] |
|
|
|
Return the ID of an object.
The ID give the exom framework the possibility to identify a class derived from XmObject. So all classes derived from XmObject should have their own ID.
Implements XmObject. |
| void manage |
( |
XmMan & |
m |
) |
[protected, virtual] |
|
|
|
Provide the possibility to connect member data and sub objects.
Member data and sub objects can be connected, by calling the corresponding manXxx functions of XmMan.
Implements XmObject. |
| void manageFcn |
( |
XmManFcn & |
m |
) |
[protected, virtual] |
|
|
|
Defines the object functions usable in user interface.
All functions included manageFcn() are visible in user interface. The availibility is controlled by MemberState().
Reimplemented from XmObject. |
|
|
Is called, when processing user action.
OnAction give the application the possibility to handle user input via the user interface. For example: range checks or additional actions like closing a dialog. This function is called recursive in the member hierarchy.
Reimplemented from XmObject. |
| void MemberState |
( |
XmMemberStateCx & |
mc |
) |
const [inline, protected, virtual] |
|
|
|
Define the presentation of member data and functions.
Via MemberState() the application has the possibility to control the appearance of member data and functions in user interface, like enabled/disabled, checked/unchecked,... This function is called recursive in the member hierarchy.
Reimplemented from XmObject. |
|