| 110 | |
| 111 | private: |
| 112 | struct ReferenceCount { |
| 113 | STRING id; // A unique ID to identify the object (think path on disk) |
| 114 | T *object; // A copy of the object in memory. Can be delete'd. |
| 115 | int count; // A count of the number of active users of this object. |
| 116 | }; |
| 117 | |
| 118 | CCUtilMutex mu_; |
| 119 | GenericVector<ReferenceCount> cache_; |