Public Member Functions

gnash::VmGcRoot Class Reference

A GC root used to mark all reachable collectable pointers. More...

#include <VM.h>

Inheritance diagram for gnash::VmGcRoot:
Inheritance graph
[legend]
Collaboration diagram for gnash::VmGcRoot:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VmGcRoot (VM &vm)
virtual void markReachableResources () const
 Scan all GC resources reachable by this instance.

Detailed Description

A GC root used to mark all reachable collectable pointers.


Constructor & Destructor Documentation

gnash::VmGcRoot::VmGcRoot ( VM vm  )  [inline]

Member Function Documentation

void gnash::VmGcRoot::markReachableResources (  )  const [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.

Implements gnash::GcRoot.

References _vm, and gnash::VM::markReachableResources().


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