bool IsManaged()
IsManaged Managed class is deleted by GC and must not be deleted by hand.
virtual bool SafeDelete()
Use this if you are not sure if you can delete this object in this moment.
Base for all items that are supposed to be collected by garbage collector.
void Unlock()
Unlock this object for deletion by other threads.
static void DeleteOld()
Function that walks through the list and delete these that can be deleted.
static QMutex Lock
QMutex that is used to lock the GC::list object.
void Lock()
Lock this object so that other threads can't change consumers or modify its properties.
static QList< Collectable * > list
List of all managed queries that qgc keeps track of.