Gnash
0.8.10
|
Event code. More...
#include <ExecutableCode.h>
Public Types | |
typedef std::vector< const action_buffer * > | BufferList |
Public Member Functions | |
EventCode (DisplayObject *nTarget) | |
EventCode (DisplayObject *nTarget, const BufferList &buffers) | |
void | addAction (const action_buffer &buffer) |
Add an action buffer to this event handler. | |
virtual void | execute () |
Event code.
typedef std::vector<const action_buffer*> gnash::EventCode::BufferList |
gnash::EventCode::EventCode | ( | DisplayObject * | nTarget | ) | [inline] |
gnash::EventCode::EventCode | ( | DisplayObject * | nTarget, |
const BufferList & | buffers | ||
) | [inline] |
void gnash::EventCode::addAction | ( | const action_buffer & | buffer | ) | [inline] |
Add an action buffer to this event handler.
buffer | An action buffer to execute. Externally owned and not copied, so make sure it's kept alive for the whole EventCode lifetime. |
References gnash::ExecutableCode::target().
virtual void gnash::EventCode::execute | ( | ) | [inline, virtual] |
Implements gnash::ExecutableCode.
References gnash::ExecutableCode::target(), gnash::DisplayObject::isDestroyed(), and gnash::getVM().