Globals.h File Reference

Defines the global data set maintained by the application. More...

#include <assert.h>
#include <string>
#include "Application/Console.h"
#include "Graphics/Screen.h"
#include "Graphics/Image.h"
#include "Graphics/Font.h"
#include "Sound/Sound.h"
#include "Common/BaseTypes.h"

Classes

class  IEnvironment
 Interface class to the global environment of the currently running application. More...

Functions

const char * GetVersionString ()
 Gets the version string for the active application.
const IEnvironment * GetEnv ()
 Gets the global enviroment for the active application.
SDLApplication * GetApp ()
 Gets the active application.
IScreen * GetScreen ()
 Gets the Screen for the active application.
ImageMgr * GetImageManager ()
 Gets the ImageMgr for the active application.
FontMgr * GetFontManager ()
 Gets the FontMgr for the active application.
SoundSampleMgr * GetSoundSampleManager ()
 Gets the SoundSampleMgr for the active application.
SoundStreamMgr * GetSoundStreamManager ()
 Gets the SoundStreamMgr for the active application.
Console * GetConsole ()
 Gets the Console for the active application.
Console::ConStream ConWarning ()
 Reports a warning message to the console.
Console::ConStream ConError ()
 Reports an error message to the console.
Console::ConStream ConMsg ()
 Reports a message to the console.

Detailed Description

Defines the global data set maintained by the application.

Author:
Joe Forte
Date:
5/19/2008

Function Documentation

Console::ConStream ConError (  ) 

Reports an error message to the console.

Returns:
A ConStream that can be used similiarlt to the std iostreams.
Console::ConStream ConMsg (  ) 

Reports a message to the console.

Returns:
A ConStream that can be used similiarlt to the std iostreams.
Console::ConStream ConWarning (  ) 

Reports a warning message to the console.

Returns:
A ConStream that can be used similiarlt to the std iostreams.
SDLApplication* GetApp (  )  [inline]

Gets the active application.

Returns:
A pointer to the active application.
Console* GetConsole (  )  [inline]

Gets the Console for the active application.

Returns:
A pointer to the Console for current application
const IEnvironment* GetEnv (  ) 

Gets the global enviroment for the active application.

Returns:
A pointer to an IEnviroment object describing the current application
FontMgr* GetFontManager (  )  [inline]

Gets the FontMgr for the active application.

Returns:
A pointer to the FontMgr for current application
ImageMgr* GetImageManager (  )  [inline]

Gets the ImageMgr for the active application.

Returns:
A pointer to the ImageMgr for current application
IScreen* GetScreen (  )  [inline]

Gets the Screen for the active application.

Returns:
A pointer to the active Screen for current application
SoundSampleMgr* GetSoundSampleManager (  )  [inline]

Gets the SoundSampleMgr for the active application.

Returns:
A pointer to the SoundSampleMgr for current application
SoundStreamMgr* GetSoundStreamManager (  )  [inline]

Gets the SoundStreamMgr for the active application.

Returns:
A pointer to the SoundStreamMgr for current application
const char* GetVersionString (  ) 

Gets the version string for the active application.

Returns:
the version string for the active application.
Generated on Mon Apr 5 19:08:04 2010 for BrickOut |ReDuX| by  doxygen 1.6.3