Gnash
0.8.10
|
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. | |
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.
virtual gnash::GcRoot::~GcRoot | ( | ) | [inline, virtual] |
virtual void gnash::GcRoot::markReachableResources | ( | ) | const [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.