qaf::Environment::DebugConsole Class Reference

#include <qafEnvironment.h>

List of all members.


Detailed Description

The debug console is useful for outputting data to the screen.

Its contents will be cleared every frame.

You can use it just like the standard output:

 qaf::Environment::cout << "Variable x = " << value << '\n';

The console will use a hgeFont to render the text at the screen's top-left corner.

The text is kept in a buffer, and displayed at the end of every frame. The buffer will then be cleared, preventing it from flooding the screen with text.

Note:
The DebugConsole is only available if you initialize the Environment with useDebug set to true.


Public Member Functions

DebugConsoleoperator<< (char c)
DebugConsoleoperator<< (const char *str)
DebugConsoleoperator<< (const std::string &str)
DebugConsoleoperator<< (int val)
DebugConsoleoperator<< (float val)
DebugConsoleoperator<< (bool b)
DebugConsoleoperator<< (const Vector2D &v2D)
DebugConsoleoperator<< (const Vector3D &v3D)
DebugConsoleoperator<< (const void *ptr)
const char * getData ()
void clear ()


The documentation for this class was generated from the following file:
Generated on Sun Mar 25 12:32:14 2007 for Qaf Framework by  doxygen 1.5.1-p1