1#ifndef ULT_RESOURCE_MANAGER_H_INCLUDED
2#define ULT_RESOURCE_MANAGER_H_INCLUDED
15template<
typename A,
typename HANDLE>
38 bool Create(A* res,
const char* name, HANDLE* handle);
64 std::vector<A*> mObjects;
67 void SetRegisteredName(
const char* name,
int index);
68 void DeleteAllMemory();
Definition HashTable.h:62
A * GetResource(const HANDLE &handle)
Definition ResourceManager.inl:76
int GetSize()
Definition ResourceManager.inl:86
int GetRegisteredIndex(const char *name)
Definition ResourceManager.inl:56
std::vector< A * > * GetObjects()
Definition ResourceManager.inl:92
virtual ~ResourceManager()
Definition ResourceManager.inl:15
void Release(HANDLE &handle)
Definition ResourceManager.inl:46
bool Create(A *res, const char *name, HANDLE *handle)
Definition ResourceManager.inl:21
ResourceManager(int hashSize=0)
Definition ResourceManager.inl:5