Gnash  0.8.10
Public Member Functions
gnash::DelayedFunctionCall Class Reference

This class is used to queue a function call action. More...

#include <ExecutableCode.h>

Inheritance diagram for gnash::DelayedFunctionCall:
gnash::ExecutableCode

List of all members.

Public Member Functions

 DelayedFunctionCall (DisplayObject *target, as_object *obj, const ObjectURI &name, const as_value &arg1, const as_value &arg2)
virtual void execute ()
virtual void setReachable () const
 Mark reachable resources (for the GC)

Detailed Description

This class is used to queue a function call action.

Exact use is to queue onLoadInit, which should be invoked after actions of in first frame of a loaded movie are executed. Since those actions are queued the only way to execute something after them is to queue the function call as well.

The class might be made more general and accessible outside of the MovieClipLoader class. For now it only works for calling a function with a two argument.


Constructor & Destructor Documentation

gnash::DelayedFunctionCall::DelayedFunctionCall ( DisplayObject target,
as_object obj,
const ObjectURI name,
const as_value arg1,
const as_value arg2 
) [inline]

Member Function Documentation

virtual void gnash::DelayedFunctionCall::execute ( ) [inline, virtual]

Implements gnash::ExecutableCode.

virtual void gnash::DelayedFunctionCall::setReachable ( ) const [inline, virtual]

Mark reachable resources (for the GC)

Reimplemented from gnash::ExecutableCode.

References gnash::GcResource::setReachable(), and gnash::as_value::setReachable().


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