Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

recycleReleasedIds Class Reference

recyclingPolicy: released ids are stored in a cache and reused More...

#include <id.h>

Inheritance diagram for recycleReleasedIds:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void releaseId (uInt id)
 adds the id to the cache of reusable ids


Protected Member Functions

uInt getRecycledId ()

Detailed Description

recyclingPolicy: released ids are stored in a cache and reused

Definition at line 189 of file id.h.


Member Function Documentation

uInt recycleReleasedIds::getRecycledId  )  [inline, protected]
 

returns the first id in the cache of reusable ids or null if there are none

Definition at line 201 of file id.h.

References uInt.

void recycleReleasedIds::releaseId uInt  id  )  [inline]
 

adds the id to the cache of reusable ids

Definition at line 193 of file id.h.

References releaseId().

Referenced by virtualMachine::kill(), and releaseId().


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 22:12:36 2005 for virtualMachine03 by doxygen 1.3.7