Gnash  0.8.11dev
Public Types | Public Member Functions | List of all members
gnash::EventCode Class Reference

Event code. More...

#include <ExecutableCode.h>

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

Public Types

typedef std::vector< const action_buffer * > BufferList
 

Public Member Functions

 EventCode (DisplayObject *nTarget)
 
 EventCode (DisplayObject *nTarget, BufferList buffers)
 
void addAction (const action_buffer &buffer)
 Add an action buffer to this event handler. More...
 
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) More...
 
DisplayObjecttarget () const
 

Detailed Description

Event code.

Member Typedef Documentation

§ BufferList

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

Constructor & Destructor Documentation

§ EventCode() [1/2]

gnash::EventCode::EventCode ( DisplayObject nTarget)
inline

§ EventCode() [2/2]

gnash::EventCode::EventCode ( DisplayObject nTarget,
BufferList  buffers 
)
inline

Member Function Documentation

§ addAction()

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

§ execute()

virtual void gnash::EventCode::execute ( )
inlinevirtual

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