Add mate::TrackableObject

This commit is contained in:
Cheng Zhao 2015-06-24 14:36:05 +08:00
parent 15f350edcb
commit 7f0658efa7
7 changed files with 95 additions and 2 deletions

View file

@ -34,6 +34,9 @@ class IDWeakMap {
// Remove object with |id| in the WeakMap.
void Remove(int32_t key);
// Clears the weak map.
void Clear();
private:
// Returns next available ID.
int32_t GetNextID();