C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Base class for objects which require a garbage collection. More...
#include <tool_multithreading.h>
Public Member Functions | |
bool | IsSubscribed () |
Whether the object is subscribed for garbage collection. | |
virtual bool | ResetCacheData ()=0 |
Reset cached data. Return true if cached data was reset and the object was unsubscribed from garbage collection. | |
virtual void | HardReset ()=0 |
Forced deletion of all caches (used by the garbage collector). | |
void | SubcribeOnCleaning () |
Subscribe for garbage collection. | |
void | UnsubcribeOnCleaning () |
Unsubscribe from garbage collection. | |
Base class for objects which require a garbage collection.
Base class for objects which require a garbage collection. A class, inheriting from CacheCleaner, should implement the method ResetCacheData, which will be called for garbage collection.