From 98ba22e7064db57316dfff1ae127feb3dceeb73e Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Thu, 31 Jul 2014 13:58:22 +0200 Subject: Initial commit --- docs/html/class_allegro_init.html | 225 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 docs/html/class_allegro_init.html (limited to 'docs/html/class_allegro_init.html') diff --git a/docs/html/class_allegro_init.html b/docs/html/class_allegro_init.html new file mode 100644 index 0000000..bd7e6a7 --- /dev/null +++ b/docs/html/class_allegro_init.html @@ -0,0 +1,225 @@ + + + + +Rally X: AllegroInit Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + +
+
Rally X + +
+
ELEN3009 Project by Justin Wernick and David Schneider
+
+
+ + + + + +
+
+ +
+
AllegroInit Class Reference
+
+
+ +

Class ensures that Allegro is initialized and uninstalled when appropriate. + More...

+ +

#include <AllegroWrappers.h>

+ +

List of all members.

+ + + + + + + + + + + +

+Public Member Functions

 AllegroInit ()
 Constructor calls al_init() if it is the first instance.
 AllegroInit (const AllegroInit &ref)
 Copy constructor, implemented to be included in instance count.
 ~AllegroInit ()
 Destructor calls al_uninstall_system() if it is the last instant.

+Static Private Attributes

static int _initCount = 0
 Count of the current number of initialised AllegroInit objects.
+

Detailed Description

+

Class ensures that Allegro is initialized and uninstalled when appropriate.

+

Any classes that use Allegro should include this class as a data member.

+
Author:
Justin Wernick
+
+David Schneider
+ +

Definition at line 25 of file AllegroWrappers.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
AllegroInit::AllegroInit ()
+
+
+ +

Constructor calls al_init() if it is the first instance.

+ +

Definition at line 5 of file AllegroWrappers.cpp.

+ +
+
+ +
+
+ + + + + + + + +
AllegroInit::AllegroInit (const AllegroInitref)
+
+
+ +

Copy constructor, implemented to be included in instance count.

+ +

Definition at line 17 of file AllegroWrappers.cpp.

+ +
+
+ +
+
+ + + + + + + +
AllegroInit::~AllegroInit ()
+
+
+ +

Destructor calls al_uninstall_system() if it is the last instant.

+ +

Definition at line 29 of file AllegroWrappers.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
int AllegroInit::_initCount = 0 [static, private]
+
+
+ +

Count of the current number of initialised AllegroInit objects.

+ +

Definition at line 45 of file AllegroWrappers.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator
+ + +
+ +
+ + + + + + + -- cgit v1.2.3