ClanSoft logo
ClanSoft logo

    CL_Resource

Interface representing a resource in the resource manager.

Description

All resources available in the resource manager is an instance of this class. The purpose of the class is to load and unload the resource, and if a datafile is being built, it is also used to save it.

The resource manager uses instances of CL_ResourceType to create CL_Resource'es.

To get more information on how to use create your own version of this class, please see the overview documentation.

Class members

virtual const std::string &get_name()
virtual void load()
virtual void unload()
virtual int get_load_count()
virtual void serialize_save(CL_OutputSource *output)

See Also

None


Back to index



This page was built using the Perceps documentation system.