![]() |
• Resource Manager | ||||||||||||||||||||||||||
|
API Links
Developer Links
|
class ResourceDefined in:
The C4Resources.hResource class encapsulates an individual data resource.
Definition
Member Functions
Template Parameters
Constructor
Parameters
Description
The Resource class template encapsulates an individual data resource of the type specified by the type template parameter. Each type of resource is represented by an object of a class type derived from the Resource class template, where the type template parameter is the same as the type of the subclass.A new resource is created by calling the Resource::Get function. A resource is released by calling the Resource::Release function. Resources are reference counted, so it is possible to acquire a pointer to the same resource object multiple times through calls to the Get function. Each such call must be balanced by a matching call to the Release function.
Base Classes
See Also
ResourceCatalog
| ||||||||||||||||||||||||||