Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

wftk::Resource< R, Destroy > Class Template Reference

Resource manager with reference counting. More...

#include <resources.h>

List of all members.

Public Member Functions

 Resource (const R &res)
 create a resource with a reference count of one
void bind ()
 increase the reference count
void free ()
 decrease the reference count
const R & res () const
 access the resource's data


Detailed Description

template<class R, class Destroy = ResDestroy<R>>
class wftk::Resource< R, Destroy >

Resource manager with reference counting.


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

Generated Tue Aug 9 18:40:27 2005.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.