Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Classes | Typedefs | Functions | Variables
LxS::System Namespace Reference

Low level OS-interaction, encapsulation for OS-specifics (FS-access, threading, user input). Contains Root of class LxS::Windowing::Root. More...

Classes

class  AndroidLxS
 Android OS-interface class. More...
 
class  iOSLxS
 implement iOS class for interfacing between iPhone and LxS codebase More...
 
class  LinuxLxS
 general class for Unix/X11 interfacing. More...
 
class  LinuxLxSGL2
 Class implementing OpenGL 2.0 interfacing, used in both Linux and OSX ports. More...
 
class  LinuxLxSGLES
 OpenGL|ES port for Linux, used mainly for development. More...
 
class  AssetLoader
 class grouping methods for accessing textures and application assets. This is very much OS-specific More...
 
class  Configuration
 Name-Type-Value database of configuration settings. More...
 
class  DotDir
 Class representing directory for configuration files, user settings, saved games etc. More...
 
class  Log
 logging messages either to main console or to log buffer More...
 
class  LxS
 basic class for what implements core of OS-game interaction. (platform-specialized versions. Is guaranteed singleton. More...
 
class  LxSGL2
 class defines variables (data members) critical to implementation of OpenGL ports for Linux and MacOS X (and possibly Windows NT) More...
 
class  LxSGLES
 Used as parent for all OpenGL|ES implementations except iOS one. More...
 
class  MyMutex
 mutex class encapsulates pthread_mutex_t for increased portaility and for purpose of making stuff object oriented More...
 
class  ServiceThread
 class representing background thread More...
 

Typedefs

typedef
LxS::System::ServiceFunction 
GLFunction
 smart pointer to a function destinied to be executed in OpenGL context
 
typedef std::tr1::function< void()> ServiceFunction
 Generalized function pointer to be used in service threads (look at LxS::System::ServiceThread)
 

Functions

int32_t engine_handle_input (struct android_app *app, AInputEvent *event)
 
void engine_handle_cmd (struct android_app *app, int32_t cmd)
 

Variables

ServiceThread LoaderThread
 commonly used thread for loading stuff - only one as these tasks are IO intensive
 
ServiceThread AudioLoaderThread
 

Detailed Description

Low level OS-interaction, encapsulation for OS-specifics (FS-access, threading, user input). Contains Root of class LxS::Windowing::Root.

Function Documentation

void LxS::System::engine_handle_cmd ( struct android_app *  app,
int32_t  cmd 
)

! Process the next main command.

int32_t LxS::System::engine_handle_input ( struct android_app *  app,
AInputEvent *  event 
)

! Process the next input event.

Variable Documentation

ServiceThread LxS::System::AudioLoaderThread

thread for loading and processing audio data - can't be interrupted by other preloading