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:
Inheritance graph
[legend]

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() method.


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::VmGcRoot.


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