#include <base/zz_application.h>
Inheritance diagram for CzzApplication:

Public Member Functions | |
| CzzApplication (const CzzString &name) | |
| Creates a application object with a logger logging with given application name. | |
| virtual | ~CzzApplication () |
| void | Run (CzzArguments &args) |
| Called by the main() function if you link main.obj to your application. | |
| virtual void | OnStart (void) |
| Called by Run() when the application starts. | |
| virtual void | OnEnd (void) |
| Called by main when the before the application terminates. | |
| virtual void | OnException (CzzException &e) |
| Called when an CzzException is caught in main. | |
| virtual void | OnUnhandledException (void) |
| Called when a undefined exception is caught in main. | |
Static Public Member Functions | |
| static CzzApplication * | getInstance (void) |
| Returns the singleton object. | |
Protected Attributes | |
| CzzLog * | m_Log |
| CzzArguments | m_Arguments |
| CzzString | m_Name |
Static Protected Attributes | |
| static CzzApplication * | m_pThis = NULL |
|
|
Creates a application object with a logger logging with given application name.
|
|
|
|
|
|
Returns the singleton object.
Reimplemented in CzzConsoleApplication. |
|
|
Called by main when the before the application terminates. Default implementation releases the logger. |
|
|
Called when an CzzException is caught in main. Default implementation doesn't do anything.
|
|
|
Called by Run() when the application starts. Default implementation just creates a logger (CzzLog).
|
|
|
Called when a undefined exception is caught in main. Default implementation doesn't do anything. |
|
|
Called by the main() function if you link main.obj to your application.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6-NO