My Project
Public Types | Public Member Functions | Static Public Member Functions | List of all members
ParaEngine::CBlockWorldManager Class Reference

factory class for multiple instances of CBlockWorld More...

#include <BlockWorldManager.h>

Inheritance diagram for ParaEngine::CBlockWorldManager:
ParaEngine::CRefCounted

Public Types

typedef std::map< std::string, CBlockWorld * > BlockWorldMap_t
 

Public Member Functions

CBlockWorldGetBlockWorld (const std::string &sInstanceName)
 get block world by name. More...
 
void RemoveBlockWorld (const std::string &sInstanceName)
 
CBlockWorldCreateBlockWorld (const std::string &sInstanceName)
 create a new block world by name. More...
 
CBlockWorldCreateGetBlockWorld (const std::string &sInstanceName)
 create get a block world
 
void Cleanup ()
 called once when application exits
 
- Public Member Functions inherited from ParaEngine::CRefCounted
void addref () const
 add reference count of the object. More...
 
bool delref () const
 decrease reference count of the object. More...
 
int GetRefCount () const
 get the reference count
 
virtual int Release ()
 
CRefCountedAddToAutoReleasePool ()
 addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More...
 

Static Public Member Functions

static CBlockWorldManagerGetSingleton ()
 

Additional Inherited Members

- Protected Attributes inherited from ParaEngine::CRefCounted
int m_refcount
 

Detailed Description

factory class for multiple instances of CBlockWorld

Member Function Documentation

§ CreateBlockWorld()

CBlockWorld * ParaEngine::CBlockWorldManager::CreateBlockWorld ( const std::string &  sInstanceName)

create a new block world by name.

§ GetBlockWorld()

CBlockWorld * ParaEngine::CBlockWorldManager::GetBlockWorld ( const std::string &  sInstanceName)

get block world by name.


The documentation for this class was generated from the following files: