TankMeshStore Class Reference

#include <TankMeshStore.h>

List of all members.

Public Member Functions

TankMeshgetMesh (ModelID modelId)

Static Public Member Functions

static TankMeshStoreinstance ()

Protected Attributes

std::map
< std::string,
TankMesh * > 
meshes_

Static Protected Attributes

static TankMeshStoreinstance_ = 0

Private Member Functions

 TankMeshStore ()
virtual ~TankMeshStore ()


Detailed Description

Definition at line 28 of file TankMeshStore.h.


Constructor & Destructor Documentation

TankMeshStore::TankMeshStore (  )  [private]

Definition at line 32 of file TankMeshStore.cpp.

Referenced by instance().

TankMeshStore::~TankMeshStore (  )  [private, virtual]

Definition at line 36 of file TankMeshStore.cpp.


Member Function Documentation

TankMeshStore * TankMeshStore::instance (  )  [static]

Definition at line 26 of file TankMeshStore.cpp.

References instance_, and TankMeshStore().

Referenced by GLWTankViewer::drawItem(), and TargetRendererImplTank::getMesh().

TankMesh * TankMeshStore::getMesh ( ModelID  modelId  ) 

Definition at line 40 of file TankMeshStore.cpp.

References ModelID::getStringHash(), ModelStore::instance(), ModelStore::loadModel(), and meshes_.

Referenced by GLWTankViewer::drawItem(), and TargetRendererImplTank::getMesh().


Member Data Documentation

TankMeshStore * TankMeshStore::instance_ = 0 [static, protected]

Definition at line 36 of file TankMeshStore.h.

Referenced by instance().

std::map<std::string, TankMesh*> TankMeshStore::meshes_ [protected]

Definition at line 37 of file TankMeshStore.h.

Referenced by getMesh().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:07 2009 for Scorched3D by  doxygen 1.5.3