Gnash  0.8.10
Public Types | Public Member Functions
gnash::EventCode Class Reference

Event code. More...

#include <ExecutableCode.h>

Inheritance diagram for gnash::EventCode:

List of all members.

Public Types

typedef std::vector< const
action_buffer * > 

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 ()

Detailed Description

Event code.

Member Typedef Documentation

typedef std::vector<const action_buffer*> gnash::EventCode::BufferList

Constructor & Destructor Documentation

gnash::EventCode::EventCode ( DisplayObject nTarget) [inline]
gnash::EventCode::EventCode ( DisplayObject nTarget,
const BufferList buffers 
) [inline]

Member Function Documentation

void gnash::EventCode::addAction ( const action_buffer buffer) [inline]

Add an action buffer to this event handler.

bufferAn 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]

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