|
UCommon
|
Reusable objects for forming private heaps. More...
#include <linked.h>


Public Member Functions | |
| ReusableObject * | getNext (void) |
| Get next effective reusable object when iterating. More... | |
Public Member Functions inherited from ucommon::LinkedObject | |
| void | delist (LinkedObject **root) |
| Locate and remove ourselves from a list of objects. More... | |
| void | enlist (LinkedObject **root) |
| Add our object to an existing linked list through a pointer. More... | |
| LinkedObject * | getNext (void) const |
| Get next effective object when iterating. More... | |
| bool | is_member (LinkedObject *list) const |
| Search to see if we are a member of a specific list. More... | |
| virtual void | retain (void) |
| Retain by marking as self referenced list. More... | |
Public Member Functions inherited from ucommon::ObjectProtocol | |
| ObjectProtocol * | copy (void) |
| Retain (increase retention of) object when copying. | |
| void | operator++ (void) |
| Increase retention operator. | |
| void | operator-- (void) |
| Decrease retention operator. | |
| virtual | ~ObjectProtocol () |
| Required virtual destructor. | |
Protected Member Functions | |
| virtual void | release (void) |
| Release list, mark as no longer linked. More... | |
Protected Member Functions inherited from ucommon::LinkedObject | |
| LinkedObject (LinkedObject **root) | |
| Construct base class attached to a chain of objects. More... | |
| LinkedObject () | |
| Construct base class unattached to anyone. More... | |
| LinkedObject (const LinkedObject &from) | |
Friends | |
| class | ReusableAllocator |
Additional Inherited Members | |
Static Public Member Functions inherited from ucommon::LinkedObject | |
| static unsigned | count (const LinkedObject *root) |
| Count the number of linked objects in a list. More... | |
| static LinkedObject * | getIndexed (LinkedObject *root, unsigned index) |
| Get member by index. More... | |
| static void | purge (LinkedObject *root) |
| Release all objects from a list. More... | |
Protected Attributes inherited from ucommon::LinkedObject | |
| LinkedObject * | Next |
Reusable objects for forming private heaps.
Reusable objects are linked objects that may be allocated in a private heap, and are returned to a free list when they are no longer needed so they can be reused without having to be re-allocated. The free list is the root of a linked object chain. This is used as a base class for those objects that will be managed through reusable heaps.
|
inline |
|
protectedvirtual |
Release list, mark as no longer linked.
Inherited from base Object.
Reimplemented from ucommon::LinkedObject.
1.8.14