Nebula
|
#include <consoleapplication.h>
Base class for Nebula console applications.
Will provide a typicel execution environment for console apps.
Inherits App::Application.
Public Member Functions | |
ConsoleApplication () | |
constructor | |
virtual | ~ConsoleApplication () |
destructor | |
virtual bool | Open () |
open the application | |
virtual void | Close () |
close the application | |
Public Member Functions inherited from App::Application | |
Application () | |
constructor | |
virtual | ~Application () |
destructor | |
void | SetCompanyName (const Util::String &n) |
set company name | |
const Util::String & | GetCompanyName () const |
get company name | |
void | SetAppTitle (const Util::String &n) |
set application name | |
const Util::String & | GetAppTitle () const |
get application name | |
void | SetAppID (const Util::String &n) |
set application id | |
const Util::String & | GetAppID () const |
get application id | |
void | SetAppVersion (const Util::String &n) |
set application version | |
const Util::String & | GetAppVersion () const |
get application version | |
void | SetCmdLineArgs (const Util::CommandLineArgs &a) |
set command line args | |
const Util::CommandLineArgs & | GetCmdLineArgs () const |
get command line args | |
virtual void | Exit () |
exit the application, call right before leaving main() | |
virtual void | Run () |
run the application, return when user wants to exit | |
bool | IsOpen () const |
return true if app is open | |
int | GetReturnCode () const |
get the return code | |
Protected Attributes | |
Ptr< Core::CoreServer > | coreServer |
Ptr< IO::IoServer > | ioServer |
Protected Attributes inherited from App::Application | |
Util::String | companyName |
Util::String | appName |
Util::String | appID |
Util::String | appVersion |
Util::CommandLineArgs | args |
bool | isOpen |
int | returnCode |
Additional Inherited Members | |
Protected Member Functions inherited from App::Application | |
void | SetReturnCode (int c) |
set return code | |
App::ConsoleApplication::ConsoleApplication | ( | ) |
constructor
|
virtual |
destructor
|
virtual |
close the application
Reimplemented from App::Application.
|
virtual |
open the application
Reimplemented from App::Application.
|
protected |
|
protected |