20 #ifndef GNASH_EXECUTABLECODE_H 21 #define GNASH_EXECUTABLECODE_H 24 #include <boost/noncopyable.hpp> 73 if (!
target()->unloaded()) {
98 _buffers(
std::move(buffers))
111 if (!
target()->isDestroyed()) {
112 _buffers.push_back(&buffer);
121 if (
target()->isDestroyed())
break;
154 _name(
std::move(name)),
155 _arg1(
std::move(arg1)),
156 _arg2(
std::move(arg2))
165 _obj->setReachable();
166 _arg1.setReachable();
167 _arg2.setReachable();
180 #endif // GNASH_EXECUTABLECODE_H Event code.
Definition: ExecutableCode.h:84
ExecutableCode(DisplayObject *t)
Definition: ExecutableCode.h:38
void setReachable() const
Mark this resource as being reachable.
Definition: GC.h:92
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:168
virtual void execute()
Definition: ExecutableCode.h:159
Definition: ConstantPool.h:34
ActionScript value type.
Definition: as_value.h:94
EventCode(DisplayObject *nTarget, BufferList buffers)
Definition: ExecutableCode.h:95
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
The base class for all ActionScript objects.
Definition: as_object.h:161
virtual void execute()
Definition: ExecutableCode.h:72
Global code (out of any function)
Definition: ExecutableCode.h:62
virtual ~ExecutableCode()
Definition: ExecutableCode.h:42
A URI for describing as_objects.
Definition: ObjectURI.h:44
Any executable code.
Definition: ExecutableCode.h:34
Definition: GnashKey.h:166
DelayedFunctionCall(DisplayObject *target, as_object *obj, ObjectURI name, as_value arg1, as_value arg2)
Definition: ExecutableCode.h:148
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
virtual void setReachable() const
Mark reachable resources (for the GC)
Definition: ExecutableCode.h:164
Executor of an action_buffer.
Definition: ActionExec.h:118
void markReachableResources() const
Mark reachable resources (for the GC)
Definition: ExecutableCode.h:47
This class is used to queue a function call action.
Definition: ExecutableCode.h:144
void addAction(const action_buffer &buffer)
Add an action buffer to this event handler.
Definition: ExecutableCode.h:108
EventCode(DisplayObject *nTarget)
Definition: ExecutableCode.h:90
DisplayObject * target() const
Definition: ExecutableCode.h:52
as_value callMethod(fn_call::Args &args, as_object *obj, const ObjectURI &uri)
Call a member function of this object in an AS-compatible way.
Definition: Global_as.h:219
GlobalCode(const action_buffer &nBuffer, DisplayObject *nTarget)
Definition: ExecutableCode.h:66
virtual void setReachable() const
Definition: ExecutableCode.h:44
virtual void execute()
Definition: ExecutableCode.h:116
A code segment.
Definition: action_buffer.h:49
std::vector< const action_buffer * > BufferList
Definition: ExecutableCode.h:88
std::string name
Definition: LocalConnection_as.cpp:149