Public Member Functions

gnash::Relay Class Reference

This is the base class for type-specific object data. More...

#include <Relay.h>

Inheritance diagram for gnash::Relay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Relay ()
virtual void setReachable ()
 A Relay itself is not a GC object, but may point to GC resources.

Detailed Description

This is the base class for type-specific object data.

A Relay is a polymorphic object that contains arbitrary native type information. Native functions may access the Relay object, determine its derived type, and change its state. The base class does nothing. It provides a virtual function to mark GC resources if necessary in subclasses. The simplest native types, such as Boolean or String, inherit from this base class directly. They have no GC resources and simply store a C++ type such as a boolean, double, or std::string, which native functions can access and manipulate. More complex types may derive from a subclass of Relay that provides specific functionality such as updates from the VM. An as_object with a non-null _relay member is a native class, as this information cannot be accessed by normal ActionScript functions.


Constructor & Destructor Documentation

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

Member Function Documentation

virtual void gnash::Relay::setReachable (  )  [inline, virtual]

A Relay itself is not a GC object, but may point to GC resources.

Reimplemented in gnash::BitmapData_as, gnash::XMLNode_as, and gnash::ActiveRelay.


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