|
| ReusableObject * | getNext (void) |
| | Get next effective reusable object when iterating.
|
| void | delist (LinkedObject **root) |
| | Locate and remove ourselves from a list of objects.
|
| void | enlist (LinkedObject **root) |
| | Add our object to an existing linked list through a pointer.
|
| LinkedObject * | getNext (void) const |
| | Get next effective object when iterating.
|
| bool | is_member (LinkedObject *list) const |
| | Search to see if we are a member of a specific list.
|
| virtual void | retain (void) |
| | Retain by marking as self referenced list.
|
|
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.
|
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.
- Author
- David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org
Definition at line 152 of file linked.h.