|
SDL++
C++wrapperfortheSDLlibrary.
|
Represents a SDL subsystem. More...
#include <Subsystem.h>
Public Member Functions | |
| Subsystem & | open () |
| Subsystem & | close () |
Static Public Member Functions | |
| static Subsystem & | instance () |
| static bool | isOpen () |
Protected Member Functions | |
| Subsystem & | init () |
| Subsystem & | quit () |
| Subsystem () | |
| Subsystem (const Subsystem &rhs) | |
| ~Subsystem () | |
| Subsystem & | operator= (const Subsystem &rhs) |
Represents a SDL subsystem.
| T | The SDL subsystem type. |
| Base | The Subsystem base class. |
Definition at line 43 of file Subsystem.h.
| sdl::subsystem::Subsystem< T, Base >::Subsystem | ( | ) | [inline, protected] |
Constructs a Subsystem.
Definition at line 109 of file Subsystem.h.
| sdl::subsystem::Subsystem< T, Base >::Subsystem | ( | const Subsystem< T, Base > & | rhs | ) | [inline, protected] |
Copy constructs a Subsystem.
| rhs | The Subsystem to copy. |
Definition at line 116 of file Subsystem.h.
| sdl::subsystem::Subsystem< T, Base >::~Subsystem | ( | ) | [inline, protected] |
Destroys the Subsystem.
Definition at line 121 of file Subsystem.h.
| Subsystem& sdl::subsystem::Subsystem< T, Base >::close | ( | ) | [inline] |
Closes the Subsystem.
Definition at line 77 of file Subsystem.h.
| Subsystem& sdl::subsystem::Subsystem< T, Base >::init | ( | ) | [inline, protected] |
Initializes the Subsystem.
| runtime_error | Throws a runtime_error if unable to initialize subsystem. |
Definition at line 90 of file Subsystem.h.
| static Subsystem& sdl::subsystem::Subsystem< T, Base >::instance | ( | ) | [inline, static] |
Returns a reference to the Subsystem instance.
Definition at line 50 of file Subsystem.h.
| static bool sdl::subsystem::Subsystem< T, Base >::isOpen | ( | ) | [inline, static] |
Determines if the Subsystem is open.
Definition at line 60 of file Subsystem.h.
| Subsystem& sdl::subsystem::Subsystem< T, Base >::open | ( | ) | [inline] |
Opens the Subsystem.
Definition at line 67 of file Subsystem.h.
| Subsystem& sdl::subsystem::Subsystem< T, Base >::operator= | ( | const Subsystem< T, Base > & | rhs | ) | [inline, protected] |
The assignment operator.
| rhs | The Subsystem from which to assign. |
Definition at line 130 of file Subsystem.h.
| Subsystem& sdl::subsystem::Subsystem< T, Base >::quit | ( | ) | [inline, protected] |
Quits the Subsystem.
Definition at line 101 of file Subsystem.h.