Go to the documentation of this file.
20 #ifndef GNASH_CHARACTER_PROXY_H
21 #define GNASH_CHARACTER_PROXY_H
72 if (!_ptr) _tgt = sp._tgt;
88 if (!_ptr) _tgt = sp._tgt;
99 if (skipRebinding)
return _ptr;
103 if (_ptr)
return _ptr;
148 mutable std::string _tgt;
156 #endif // GNASH_CHARACTER_PROXY_H
A proxy for DisplayObject pointers.
Definition: CharacterProxy.h:44
const std::string & getOrigTarget() const
Definition: DisplayObject.h:829
DisplayObject * get(bool skipRebinding=false) const
Get the pointed sprite, either original or rebound.
Definition: CharacterProxy.h:97
DisplayObject * findDisplayObjectByTarget(const std::string &tgtstr, movie_root &mr)
Definition: CharacterProxy.cpp:62
DisplayObject * findCharacterByTarget(const std::string &tgtstr) const
Definition: movie_root.cpp:2142
void log_debug(StringType msg, Args... args)
Definition: log.h:301
std::string typeName(const T &inst)
Definition: utility.h:93
bool isDestroyed() const
Return true if this DisplayObject was destroyed.
Definition: DisplayObject.h:807
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
CharacterProxy & operator=(const CharacterProxy &sp)
Make this proxy a copy of the given one.
Definition: CharacterProxy.h:84
std::string DSOEXPORT getTarget() const
Return full path to this object, in dot notation.
Definition: DisplayObject.cpp:621
CharacterProxy(const CharacterProxy &sp)
Construct a copy of the given CharacterProxy.
Definition: CharacterProxy.h:66
CharacterProxy(DisplayObject *sp, movie_root &mr)
Construct a CharacterProxy pointing to the given sprite.
Definition: CharacterProxy.h:48
bool operator==(const CharacterProxy &sp) const
Two sprite_proxies are equal if they point to the same sprite.
Definition: CharacterProxy.h:128
This class represents the 'Stage' and top-level movie.
Definition: movie_root.h:151
#define DSOEXPORT
Definition: dsodefs.h:55
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:169
void setReachable() const
Set the original sprite (if any) as reachable.
Definition: CharacterProxy.cpp:55
std::string getTarget() const
bound one.
Definition: CharacterProxy.cpp:46
bool isDangling() const
Return true if this sprite is dangling.
Definition: CharacterProxy.h:118
void setReachable() const
Mark this resource as being reachable.
Definition: GC.h:92