ConApp Class Reference

#include <ConApp.h>

Inheritance diagram for ConApp:

CoreApp List of all members.

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 ConAppget_instance ()

Protected Member Functions

virtual void DeclareArgs ()

Protected Attributes

Kernelkernel

Private Attributes

bool weAreDisasming
bool weAreCompiling

Detailed Description

Definition at line 29 of file ConApp.h.


Constructor & Destructor Documentation

ConApp::ConApp ( int  argc,
const char *const *  argv 
)

Definition at line 28 of file ConApp.cpp.

References CoreApp::application.

ConApp::~ConApp (  )  [virtual]

Definition at line 83 of file ConApp.cpp.


Member Function Documentation

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]

Implements CoreApp.

Definition at line 43 of file ConApp.h.

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().


Member Data Documentation

Kernel* ConApp::kernel [protected]

Definition at line 48 of file ConApp.h.

Referenced by run(), and startup().

bool ConApp::weAreCompiling [private]

Definition at line 53 of file ConApp.h.

Referenced by DeclareArgs(), and startup().

bool ConApp::weAreDisasming [private]

Definition at line 52 of file ConApp.h.

Referenced by DeclareArgs(), and startup().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:28:49 2007 for pentagram by  doxygen 1.4.7