ImageStore Class Reference

#include <ImageStore.h>

List of all members.

Public Member Functions

ImageloadImage (ImageID &imageId)

Static Public Member Functions

static ImageStoreinstance ()

Protected Member Functions

ImagegetImage (ImageID &id)

Protected Attributes

std::map
< std::string, Image * > 
imageMap_

Static Protected Attributes

static ImageStoreinstance_ = 0

Private Member Functions

 ImageStore ()
virtual ~ImageStore ()


Detailed Description

Definition at line 29 of file ImageStore.h.


Constructor & Destructor Documentation

ImageStore::ImageStore (  )  [private]

Definition at line 36 of file ImageStore.cpp.

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

Definition at line 40 of file ImageStore.cpp.


Member Function Documentation

ImageStore * ImageStore::instance (  )  [static]

Definition at line 27 of file ImageStore.cpp.

References instance_.

Referenced by TankMovement::moveTank(), and PlacementShadowDefinition::updateLandscapeTexture().

Image * ImageStore::loadImage ( ImageID imageId  ) 

Definition at line 44 of file ImageStore.cpp.

References getImage(), ImageID::getStringHash(), and imageMap_.

Referenced by PlacementShadowDefinition::updateLandscapeTexture().

Image * ImageStore::getImage ( ImageID id  )  [protected]

Definition at line 57 of file ImageStore.cpp.

References S3D::getDataFile(), and ImageFactory::loadImage().

Referenced by loadImage().


Member Data Documentation

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

Definition at line 37 of file ImageStore.h.

Referenced by instance().

std::map<std::string, Image *> ImageStore::imageMap_ [protected]

Definition at line 38 of file ImageStore.h.

Referenced by loadImage().


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