template<class T> class Util::ObjectStorer_LazyDelete |
A template for storing (owning pointers to) objects by integer ids.
A template for storing (owning pointers to) objects by integer ids. Objects may also be marked for removal: the ones marked for removal are really deleted when a new one is being allocated. This is used to ensure that java's potentially multi-threaded garbage collection does not (through calling the finalize() method which will call C++ to remove the reflected object) delete C++ objects that would touch OpenGL state at the same time. OpenGL has the global context, and that forces us to jump through some hoops. XXX Not any more: now ensurance of thread at higher level.
Alphabetic index Hierarchy of classes