Go to the documentation of this file.
22 #include <boost/noncopyable.hpp>
49 class Relay : boost::noncopyable
105 virtual void clean();
void removeAdvanceCallback(ActiveRelay *obj)
Definition: movie_root.cpp:1464
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object & owner() const
Return the as_object that this Relay is attached to.
Definition: Relay.h:108
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
virtual void update()=0
ActiveRelay objects must have an update() method.
This is the base class for type-specific object data.
Definition: Relay.h:50
virtual void clean()
Remove the ActiveRelay from movie_root's callback set.
Definition: Relay.cpp:30
virtual void setReachable()
A Relay itself is not a GC object, but may point to GC resources.
Definition: Relay.h:55
virtual ~ActiveRelay()
Make sure we are removed from the list of callbacks on destruction.
Definition: Relay.cpp:25
A native type that requires periodic updates from the core (movie_root).
Definition: Relay.h:80
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645
virtual ~Relay()=0
Definition: Relay.h:64
virtual void setReachable()
Mark any other reachable resources, and finally mark our owner.
Definition: Relay.cpp:36
ActiveRelay(as_object *owner)
Definition: Relay.h:83
virtual void clean()
Handle any cleanup necessary before the Relay is destroyed.
Definition: Relay.h:61
virtual void markReachableResources() const
Mark any reachable resources other than the owner.
Definition: Relay.h:118
void setReachable() const
Mark this resource as being reachable.
Definition: GC.h:92