#include <resource.h>

Definition at line 31 of file resource.h.
Public Member Functions | |
| Resource () | |
| Constructor. | |
| void | incRef () |
| Increments the internal reference count. | |
| void | decRef () |
| Decrements the reference count and deletes the object if no references are left. | |
| const std::string & | getIdPath () const |
| Return the path identifying this resource. | |
Protected Member Functions | |
| virtual | ~Resource () |
| Destructor. | |
Private Attributes | |
| std::string | mIdPath |
| Path identifying this resource. | |
| time_t | mTimeStamp |
| Time at which the resource was orphaned. | |
| unsigned | mRefCount |
| Reference count. | |
Friends | |
| class | ResourceManager |
| Resource::Resource | ( | ) | [inline] |
| Resource::~Resource | ( | ) | [protected, virtual] |
| void Resource::incRef | ( | ) |
| void Resource::decRef | ( | ) |
Decrements the reference count and deletes the object if no references are left.
true if the object was deleted false otherwise. Definition at line 37 of file resource.cpp.
| const std::string& Resource::getIdPath | ( | ) | const [inline] |
friend class ResourceManager [friend] |
Definition at line 33 of file resource.h.
std::string Resource::mIdPath [private] |
time_t Resource::mTimeStamp [private] |
unsigned Resource::mRefCount [private] |
1.5.5