libAlgAudio  v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlgAudio::SDLHandle Class Reference

#include <SDLHandle.hpp>

Public Member Functions

 SDLHandle ()
 
 ~SDLHandle ()
 

Static Public Member Functions

static int GetReferenceCount ()
 

Detailed Description

A wrapper class for RAII SDL init/cleanup. All objects that require access to SDL should aquire such handle. Most importantly, all top-level independend windows need to keep one. Also: modules which use SDL to e.g. get mouse position should also take one.

Constructor & Destructor Documentation

AlgAudio::SDLHandle::SDLHandle ( )
AlgAudio::SDLHandle::~SDLHandle ( )

Member Function Documentation

static int AlgAudio::SDLHandle::GetReferenceCount ( )
inlinestatic

The documentation for this class was generated from the following file: