Gnash  0.8.10
Public Member Functions
gnash::GcRoot Class Reference

Abstract class to allow the GC to store "roots" into a container. More...

#include <GC.h>

Inheritance diagram for gnash::GcRoot:
gnash::movie_root

List of all members.

Public Member Functions

virtual void markReachableResources () const =0
 Scan all GC resources reachable by this instance.
virtual ~GcRoot ()

Detailed Description

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.


Constructor & Destructor Documentation

virtual gnash::GcRoot::~GcRoot ( ) [inline, virtual]

Member Function Documentation

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.


The documentation for this class was generated from the following file: