[AE Engine logo] Public API Reference
Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

aeSystem Class Reference

This class is an interface to the operating system and the window manager. More...

#include <system.h>

Inheritance diagram for aeSystem:

aeBase List of all members.

Public Member Functions

 aeSystem (aeRegistry *registry)
void setWindowCaption (char *icon, char *caption,...)
 Set the window caption and icon name.


Static Public Member Functions

void report (const char *whereFrom, const char *msg,...)
 General in-engine report function with loglevel.

void aeAssert (bool expr, const char *exprstr, const char *file, int line)
 General assert function.


Private Attributes

aeRegistryaereg

Detailed Description

This class is an interface to the operating system and the window manager.

Definition at line 37 of file system.h.


Member Function Documentation

void aeSystem::aeAssert bool    expr,
const char *    exprstr,
const char *    file,
int    line
[static]
 

General assert function.

Use the ASSERT() macro instead of calling this directly. Note that this only works in classes that derive from aeBase.

Parameters:
expr Expression to test.
exprstr Description to print out if the expression fails (can include printf style formatting).
file Filename the assert was called from.
line Line number the assert was called from.

void aeSystem::report const char *    whereFrom,
const char *    msg,
...   
[static]
 

General in-engine report function with loglevel.

Parameters:
loglevel Loglevel.
msg Message (with possible format characters, think of printf).
... Possible format variables (think of printf).

void aeSystem::setWindowCaption char *    icon,
char *    caption,
...   
 

Set the window caption and icon name.

Window caption also accepts format characters (just like printf), so you can e.g. call SetWindowCaption("myapp", "FPS: f", engine->GetFPS()).

Parameters:
icon Icon name.
caption Window title bar text.
... Any printf-type format variables.


The documentation for this class was generated from the following file:
AE Engine Public API Reference
Generated on Wed Apr 9 09:43:41 2003 by Doxygen.