40 #ifndef _graphicscameramanager_cpp
41 #define _graphicscameramanager_cpp
43 #include "Graphics/cameramanager.h"
44 #include "Graphics/scenemanager.h"
45 #include "Graphics/graphicsmanager.h"
48 #include "cameracontroller.h"
88 CamName <<
"Camera" << this->
Cameras.size() + 1;
98 this->
Cameras.push_back(NewCam);
106 if( Name == (*CamIt)->GetName() )
146 return (*CamIt).second;
156 if(ToBeDestroyed == (*CamIt).second)
158 delete (*CamIt).second;
172 delete (*CamIt).second;
184 delete (*CamIt).second;
209 MEZZ_EXCEPTION(
Exception::INVALID_STATE_EXCEPTION,
"Attempting to initiailze CameraManager when SceneManager has not yet been constructed. The SceneManager is a dependancy of the CameraManager.");
238 {
return ManagerBase::MT_CameraManager; }
241 {
return "DefaultCameraManager"; }
256 return "DefaultCameraManager";
271 delete ToBeDestroyed;