NoiseMan Class Reference

#include <noisebas.h>

List of all members.

Public Member Functions

 NoiseMan ()
 ~NoiseMan ()
BOOL Initialise ()
void Destroy ()
NoiseBaseNoiseGen ()

Private Attributes

NoiseBasepNoise


Detailed Description

Aurthor: Mike
Date:
07/07/96 Notes: The class which builds a version of noisebase.

Definition at line 159 of file noisebas.h.


Constructor & Destructor Documentation

NoiseMan::NoiseMan  ) 
 

BOOL NoiseMan::Construct()

Definition at line 118 of file noisebas.cpp.

00119 {
00120     pNoise=NULL;
00121 }

NoiseMan::~NoiseMan  ) 
 

Definition at line 123 of file noisebas.cpp.

00124 {
00125     Destroy();
00126 }


Member Function Documentation

void NoiseMan::Destroy  ) 
 

Definition at line 147 of file noisebas.cpp.

00148 {
00149     if (pNoise!=NULL)
00150     {
00151         delete pNoise;
00152         pNoise=NULL;
00153     }
00154 }

BOOL NoiseMan::Initialise  ) 
 

Definition at line 128 of file noisebas.cpp.

00129 {
00130     if (pNoise==NULL)
00131     {
00132         NoiseGen1 *pNewNoise = new NoiseGen1;
00133         if (pNewNoise!=NULL)
00134         {
00135             if (!pNewNoise->Initialise())
00136             {
00137                 delete pNewNoise;
00138                 return FALSE;
00139             }
00140         }
00141         pNoise = pNewNoise;
00142     }
00143     return TRUE;
00144 }

NoiseBase * NoiseMan::NoiseGen  ) 
 

Definition at line 156 of file noisebas.cpp.

00157 {
00158     return pNoise;
00159 }


Member Data Documentation

NoiseBase* NoiseMan::pNoise [private]
 

Definition at line 171 of file noisebas.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:57:13 2007 for Camelot by  doxygen 1.4.4