#include <TankMeshStore.h>
Public Member Functions | |
| TankMesh * | getMesh (ModelID modelId) |
Static Public Member Functions | |
| static TankMeshStore * | instance () |
Protected Attributes | |
| std::map < std::string, TankMesh * > | meshes_ |
Static Protected Attributes | |
| static TankMeshStore * | instance_ = 0 |
Private Member Functions | |
| TankMeshStore () | |
| virtual | ~TankMeshStore () |
Definition at line 28 of file TankMeshStore.h.
| TankMeshStore::TankMeshStore | ( | ) | [private] |
| TankMeshStore::~TankMeshStore | ( | ) | [private, virtual] |
Definition at line 36 of file TankMeshStore.cpp.
| TankMeshStore * TankMeshStore::instance | ( | ) | [static] |
Definition at line 26 of file TankMeshStore.cpp.
References instance_, and TankMeshStore().
Referenced by GLWTankViewer::drawItem(), and TargetRendererImplTank::getMesh().
Definition at line 40 of file TankMeshStore.cpp.
References ModelID::getStringHash(), ModelStore::instance(), ModelStore::loadModel(), and meshes_.
Referenced by GLWTankViewer::drawItem(), and TargetRendererImplTank::getMesh().
TankMeshStore * TankMeshStore::instance_ = 0 [static, protected] |
std::map<std::string, TankMesh*> TankMeshStore::meshes_ [protected] |
1.5.3