Gnash
0.8.11dev
|
Abstract class to allow the GC to store "roots" into a container. More...
#include <GC.h>
Public Member Functions | |
virtual void | markReachableResources () const =0 |
Scan all GC resources reachable by this instance. More... | |
virtual | ~GcRoot () |
Abstract class to allow the GC to store "roots" into a container.
Any class expected to act as a "root" for the garbage collection should derive from this class, and implement the markReachableResources() function.
|
inlinevirtual |
|
pure virtual |
Scan all GC resources reachable by this instance.
This function is invoked on roots registered to the collector.
Use setReachable() on the resources stored in this container.
Implemented in gnash::movie_root.
Referenced by gnash::GcResource::setReachable().