Gnash  0.8.11dev
Public Types | Public Member Functions
gnash::EventCode Class Reference

Event code. More...

#include <ExecutableCode.h>

Inheritance diagram for gnash::EventCode:
gnash::ExecutableCode

List of all members.

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 ()
- Public Member Functions inherited from gnash::ExecutableCode
 ExecutableCode (DisplayObject *t)
virtual ~ExecutableCode ()
virtual void setReachable () const
void markReachableResources () const
 Mark reachable resources (for the GC)
DisplayObjecttarget () const

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.

Parameters:
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 ( )
inlinevirtual

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