Application :: context - Application context property
The application context allows setting any kind of context in order to control system output and progress indication. Usually, both are shown via console output. GUI applications allow redirecting output to application's output area (and status bar).
Implementation overview
- Get application context
Application :: context (  ) - Set application's system context
Application :: context ( rBaseContext )
Implementation details
-
Get application context
odaba::BaseContext & Application  :: context (  )
The function returns the base context currently set as application context. When no application context has been set, the function throws an exception. In order to avoid exceptions, one may call hasContext() , before.
to list
-
Set application's system context
odaba::BaseContext & Application  :: context ( odaba::BaseContext &rBaseContext )
The function sets the context passed in rBaseContext as current system context. When another context has been set as system context before, it will be removed.
In order to reset the application context set, one may call resetContext() .
- rBaseContext - Base context handle
to list