Class whose dynamic instances are collected. More...
#include <collect_alloc.h>
Inherited by rtl_light, rtl_material, rtl_subobject and rtl_texture.
All sub-classes of this class have automatic collection of dynamic instances
such that the user does not have to delete the objects that are
new 'ed. In this library the following objects use this class:
rtl_object rtl_material rtl_light. These objects will
automatically collect the dynamic instances of themselves created during
run-time and when the application terminates will be deleted.
In order to provide more flexibility there is a provision to create and set the collecting object. In this way it is possible to collect dynamic objects and delete them when the collect_alloc object is deleted.
[virtual]
Creates a new collectable object. It causes the object to be included in a collection of like objects.
Deletes a collected object, if the collection itself is not being destroyed nothing actually happens.
[static]Set the allocation collection object.
[static]Creates a new allocation collection object.