GpuThesis::EventHandler Class Reference

#include <EventHandler.h>

Inheritance diagram for GpuThesis::EventHandler:

Console::Action List of all members.

Public Member Functions

 EventHandler (Console::Console &console)
bool done () const
bool consoleActive () const

Private Member Functions

std::string run (const std::vector< std::string > &parameters)

Detailed Description

Handles events for Engine.


Constructor & Destructor Documentation

GpuThesis::EventHandler::EventHandler Console::Console console  ) 
 

Initialize the Engine with the given Console instance.


Member Function Documentation

bool GpuThesis::EventHandler::consoleActive  )  const
 

Check if the console is active or not.

Returns:
if the console is active.

bool GpuThesis::EventHandler::done  )  const
 

Check if the quit event has been sent.

Returns:
if the quit event has been sent.

std::string GpuThesis::EventHandler::run const std::vector< std::string > &  parameters  )  [private, virtual]
 

Implementation of handle, must be supplied by concrete subclasses.

Parameters:
parameters the action's parameters.
Returns:
the result of the action.

Implements Console::Action.


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 08:42:50 2006 for GPU Thesis by  doxygen 1.4.6-NO