A class for loading and managing resources.
void remove(Resource *)
Removes a resource from the list of resources managed by the resource manager.
static ResourceManager * getInstance()
Returns an instance of the class, creating one if it does not already exist.
void release(Resource *)
Releases a resource, placing it in the set of orphaned resources.
std::string mIdPath
Path identifying this resource.
void decRef(OrphanPolicy orphanPolicy=DeleteLater)
Decrements the reference count.
unsigned mRefCount
Reference count.
void warn(const char *log_text,...) LOG_PRINTF_ATTR