#include <ConApp.h>
Inheritance diagram for ConApp:
Public Member Functions | |
ConApp (int argc, const char *const *argv) | |
virtual | ~ConApp () |
void | startup () |
virtual void | helpMe () |
virtual void | run () |
virtual void | paint () |
Static Public Member Functions | |
static ConApp * | get_instance () |
Protected Member Functions | |
virtual void | DeclareArgs () |
Protected Attributes | |
Kernel * | kernel |
Private Attributes | |
bool | weAreDisasming |
bool | weAreCompiling |
Definition at line 29 of file ConApp.h.
ConApp::ConApp | ( | int | argc, | |
const char *const * | argv | |||
) |
ConApp::~ConApp | ( | ) | [virtual] |
Definition at line 83 of file ConApp.cpp.
void ConApp::DeclareArgs | ( | ) | [protected, virtual] |
Declare commandline arguments. Should call parent class' DeclareArgs().
Reimplemented from CoreApp.
Definition at line 63 of file ConApp.cpp.
References Args::declare(), CoreApp::DeclareArgs(), CoreApp::parameters, weAreCompiling, and weAreDisasming.
static ConApp* ConApp::get_instance | ( | ) | [inline, static] |
Reimplemented from CoreApp.
Definition at line 35 of file ConApp.h.
References CoreApp::application.
void ConApp::helpMe | ( | ) | [virtual] |
Reimplemented from CoreApp.
Definition at line 71 of file ConApp.cpp.
References con, CoreApp::helpMe(), and Console::Print().
virtual void ConApp::paint | ( | ) | [inline, virtual] |
void ConApp::run | ( | ) | [virtual] |
Implements CoreApp.
Definition at line 88 of file ConApp.cpp.
References Kernel::getNumProcesses(), CoreApp::isRunning, kernel, and Kernel::runProcesses().
Referenced by main().
void ConApp::startup | ( | ) |
Startup the application. This will prepare the application for run(). Should call parent class' startup().
Reimplemented from CoreApp.
Definition at line 36 of file ConApp.cpp.
References Kernel::addProcess(), con, CoreApp::filesystem, kernel, MM_INFO, Console::Print(), CoreApp::startup(), weAreCompiling, and weAreDisasming.
Referenced by main().
Kernel* ConApp::kernel [protected] |
bool ConApp::weAreCompiling [private] |
bool ConApp::weAreDisasming [private] |