Shared Object Base Class.
More...
#include <ETL/handle>
Public Member Functions |
| virtual void | ref () const |
| virtual bool | unref () const |
| | Returns false if object needs to be deleted.
|
| virtual bool | unref_inactive () const |
| int | count () const |
Detailed Description
Shared Object Base Class.
- See Also
- handle, loose_handle
- Todo:
- This needs to be documented
Definition at line 66 of file _handle.h.
Constructor & Destructor Documentation
| shared_object::shared_object |
( |
| ) |
|
|
inlineprotected |
| virtual shared_object::~shared_object |
( |
| ) |
|
|
inlineprotectedvirtual |
Member Function Documentation
| virtual void shared_object::ref |
( |
| ) |
const |
|
inlinevirtual |
| virtual bool shared_object::unref |
( |
| ) |
const |
|
inlinevirtual |
Returns false if object needs to be deleted.
Definition at line 94 of file _handle.h.
References refcount.
| virtual bool shared_object::unref_inactive |
( |
| ) |
const |
|
inlinevirtual |
Decrease reference counter without deletion of object Returns false if references exeed and object should be deleted
Definition at line 122 of file _handle.h.
References refcount.
| int shared_object::count |
( |
| ) |
const |
|
inline |
Member Data Documentation
| int shared_object::refcount |
|
mutableprivate |
The documentation for this class was generated from the following file: