Go to the documentation of this file.
20 #ifndef GNASH_EXECUTABLECODE_H
21 #define GNASH_EXECUTABLECODE_H
24 #include <boost/noncopyable.hpp>
73 if (!
target()->unloaded()) {
98 _buffers(std::move(buffers))
111 if (!
target()->isDestroyed()) {
112 _buffers.push_back(&buffer);
121 if (
target()->isDestroyed())
break;
154 _name(std::move(
name)),
155 _arg1(std::move(arg1)),
156 _arg2(std::move(arg2))
180 #endif // GNASH_EXECUTABLECODE_H
@ G
Definition: GnashKey.h:119
static LogFile & getDefaultInstance()
Definition: log.cpp:77
@ GNASH_MOD_CONTROL
Definition: GnashKey.h:37
@ R
Definition: GnashKey.h:130
@ L
Definition: GnashKey.h:124
char * relatives[REL_MAX+1]
Definition: evtest.c:286
@ DOWN
Definition: GnashKey.h:207
@ l
Definition: GnashKey.h:158
@ KP_ADD
Definition: GnashKey.h:216
EventCode(DisplayObject *nTarget)
Definition: ExecutableCode.h:90
ExecutableCode(DisplayObject *t)
Definition: ExecutableCode.h:38
@ BACKSPACE
Definition: GnashKey.h:53
This class is used to queue a function call action.
Definition: ExecutableCode.h:145
std::string name
Definition: LocalConnection_as.cpp:149
char * keys[KEY_MAX+1]
Definition: evtest.c:55
@ d
Definition: GnashKey.h:150
char * events[EV_MAX+1]
Definition: evtest.c:45
@ F2
Definition: GnashKey.h:191
@ KP_DECIMAL
Definition: GnashKey.h:220
The base class for all ActionScript objects.
Definition: as_object.h:162
@ F9
Definition: GnashKey.h:198
Any executable code.
Definition: ExecutableCode.h:35
@ U
Definition: GnashKey.h:133
@ KP_1
Definition: GnashKey.h:180
@ KP_MULTIPLY
Definition: GnashKey.h:218
@ T
Definition: GnashKey.h:132
void log_debug(StringType msg, Args... args)
Definition: log.h:301
@ i
Definition: GnashKey.h:155
virtual bool init()
Definition: EventDevice.cpp:53
@ KP_SUBTRACT
Definition: GnashKey.h:217
@ PAREN_RIGHT
Definition: GnashKey.h:86
#define _(String)
Definition: log.h:44
@ AMPERSAND
Definition: GnashKey.h:83
@ J
Definition: GnashKey.h:122
@ SINGLE_QUOTE
Definition: GnashKey.h:84
@ x
Definition: GnashKey.h:170
Event code.
Definition: ExecutableCode.h:85
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
@ DELETEKEY
Definition: GnashKey.h:177
@ CONTROL
Definition: GnashKey.h:62
@ CAPSLOCK
Definition: GnashKey.h:65
@ g
Definition: GnashKey.h:153
@ LEFT_BRACE
Definition: GnashKey.h:173
@ F1
Definition: GnashKey.h:190
@ F4
Definition: GnashKey.h:193
virtual ~ExecutableCode()
Definition: ExecutableCode.h:42
@ Z
Definition: GnashKey.h:138
@ Q
Definition: GnashKey.h:129
@ m
Definition: GnashKey.h:159
@ s
Definition: GnashKey.h:165
@ GNASH_MOD_NONE
Definition: GnashKey.h:35
@ n
Definition: GnashKey.h:160
@ KP_8
Definition: GnashKey.h:187
Executor of an action_buffer.
Definition: ActionExec.h:119
@ KP_7
Definition: GnashKey.h:186
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
@ KP_0
Definition: GnashKey.h:179
@ _7
Definition: GnashKey.h:101
void log_error(StringType msg, Args... args)
Definition: log.h:283
@ _5
Definition: GnashKey.h:99
@ PGUP
Definition: GnashKey.h:213
@ LEFT
Definition: GnashKey.h:209
@ k
Definition: GnashKey.h:157
@ RIGHT
Definition: GnashKey.h:208
EventCode(DisplayObject *nTarget, BufferList buffers)
Definition: ExecutableCode.h:95
@ H
Definition: GnashKey.h:120
@ KP_5
Definition: GnashKey.h:184
@ PAREN_LEFT
Definition: GnashKey.h:85
@ t
Definition: GnashKey.h:166
@ O
Definition: GnashKey.h:127
as_value callMethod(fn_call::Args &args, as_object *obj, const ObjectURI &uri)
Call a member function of this object in an AS-compatible way.
Definition: Global_as.h:219
char * misc[MSC_MAX+1]
Definition: evtest.c:330
@ r
Definition: GnashKey.h:164
@ K
Definition: GnashKey.h:123
@ a
Definition: GnashKey.h:147
#define test_bit(bit, array)
Definition: evtest.c:370
char * absval[6]
Definition: evtest.c:284
@ GNASH_MOD_SHIFT
Definition: GnashKey.h:36
#define NBITS(x)
Definition: evtest.c:366
@ KP_6
Definition: GnashKey.h:185
@ INSERT
Definition: GnashKey.h:210
@ F
Definition: GnashKey.h:118
@ ALT
Definition: GnashKey.h:63
@ COMMA
Definition: GnashKey.h:89
@ PGDN
Definition: GnashKey.h:214
@ END
Definition: GnashKey.h:212
type
Definition: GnashKey.h:330
code
Definition: GnashKey.h:44
@ B
Definition: GnashKey.h:114
@ _0
Definition: GnashKey.h:94
@ X
Definition: GnashKey.h:136
@ ENTER
Definition: GnashKey.h:58
@ h
Definition: GnashKey.h:154
@ EXCLAM
Definition: GnashKey.h:78
@ TAB
Definition: GnashKey.h:54
@ y
Definition: GnashKey.h:171
#define EV_SYN
Definition: evtest.c:42
@ z
Definition: GnashKey.h:172
@ INVALID
Definition: GnashKey.h:45
@ DOUBLE_QUOTE
Definition: GnashKey.h:79
@ _3
Definition: GnashKey.h:97
EventDevice()
Definition: EventDevice.cpp:40
@ p
Definition: GnashKey.h:162
@ F3
Definition: GnashKey.h:192
@ SHIFT
Definition: GnashKey.h:61
@ KP_2
Definition: GnashKey.h:181
@ C
Definition: GnashKey.h:115
@ q
Definition: GnashKey.h:163
@ UP
Definition: GnashKey.h:206
@ F7
Definition: GnashKey.h:196
@ HOME
Definition: GnashKey.h:211
@ _1
Definition: GnashKey.h:95
@ w
Definition: GnashKey.h:169
@ KP_4
Definition: GnashKey.h:183
virtual bool check()
Definition: EventDevice.cpp:253
@ KP_3
Definition: GnashKey.h:182
@ F5
Definition: GnashKey.h:194
char ** names[EV_MAX+1]
Definition: evtest.c:357
@ F8
Definition: GnashKey.h:197
static std::vector< std::shared_ptr< InputDevice > > scanForDevices()
Definition: EventDevice.cpp:679
ActionScript value type.
Definition: as_value.h:95
virtual void execute()
Definition: ExecutableCode.h:159
char * leds[LED_MAX+1]
Definition: evtest.c:337
gnash::key::code scancode_to_gnash_key(int code, bool shift)
Definition: EventDevice.cpp:559
@ KP_9
Definition: GnashKey.h:188
@ j
Definition: GnashKey.h:156
@ RIGHT_BRACE
Definition: GnashKey.h:175
@ S
Definition: GnashKey.h:131
Global code (out of any function)
Definition: ExecutableCode.h:63
@ D
Definition: GnashKey.h:116
void setReachable() const
Set any object value as reachable (for the GC)
Definition: as_value.cpp:691
char * absolutes[ABS_MAX+1]
Definition: evtest.c:294
@ F6
Definition: GnashKey.h:195
GlobalCode(const action_buffer &nBuffer, DisplayObject *nTarget)
Definition: ExecutableCode.h:66
virtual void execute()
Definition: ExecutableCode.h:72
@ V
Definition: GnashKey.h:134
char * sounds[SND_MAX+1]
Definition: evtest.c:351
@ _6
Definition: GnashKey.h:100
@ ESCAPE
Definition: GnashKey.h:72
@ F10
Definition: GnashKey.h:199
LogFile & dbglogfile
Definition: fileio.cpp:76
DelayedFunctionCall(DisplayObject *target, as_object *obj, ObjectURI name, as_value arg1, as_value arg2)
Definition: ExecutableCode.h:148
@ f
Definition: GnashKey.h:152
@ F11
Definition: GnashKey.h:200
void markReachableResources() const
Mark reachable resources (for the GC)
Definition: ExecutableCode.h:47
@ MINUS
Definition: GnashKey.h:90
@ c
Definition: GnashKey.h:149
@ EQUALS
Definition: GnashKey.h:108
@ HASH
Definition: GnashKey.h:80
@ KP_ENTER
Definition: GnashKey.h:221
@ F12
Definition: GnashKey.h:201
@ BACKSLASH
Definition: GnashKey.h:141
@ _9
Definition: GnashKey.h:103
DisplayObject * target() const
Definition: ExecutableCode.h:52
virtual void setReachable() const
Definition: ExecutableCode.h:44
Definition: ConstantPool.h:35
char * repeats[REP_MAX+1]
Definition: evtest.c:346
int main(int argc, char **argv)
Definition: evtest.c:372
std::vector< const action_buffer * > BufferList
Definition: ExecutableCode.h:88
@ v
Definition: GnashKey.h:168
virtual void setReachable() const
Mark reachable resources (for the GC)
Definition: ExecutableCode.h:164
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:169
A code segment.
Definition: action_buffer.h:50
@ GNASH_MOD_ALT
Definition: GnashKey.h:38
@ _4
Definition: GnashKey.h:98
@ PERCENT
Definition: GnashKey.h:82
@ DOLLAR
Definition: GnashKey.h:81
@ SLASH
Definition: GnashKey.h:92
@ SPACE
Definition: GnashKey.h:77
@ E
Definition: GnashKey.h:117
@ o
Definition: GnashKey.h:161
@ P
Definition: GnashKey.h:128
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
virtual void execute()
Definition: ExecutableCode.h:116
@ N
Definition: GnashKey.h:126
@ u
Definition: GnashKey.h:167
A URI for describing as_objects.
Definition: ObjectURI.h:45
@ SEMICOLON
Definition: GnashKey.h:106
@ _8
Definition: GnashKey.h:102
void addAction(const action_buffer &buffer)
Add an action buffer to this event handler.
Definition: ExecutableCode.h:108
void setVerbosity()
Definition: log.h:123
@ b
Definition: GnashKey.h:148
@ W
Definition: GnashKey.h:135
@ e
Definition: GnashKey.h:151
@ I
Definition: GnashKey.h:121
@ M
Definition: GnashKey.h:125
@ ASTERISK
Definition: GnashKey.h:87
@ _2
Definition: GnashKey.h:96
void setReachable() const
Mark this resource as being reachable.
Definition: GC.h:92
@ A
Definition: GnashKey.h:113
@ NUM_LOCK
Definition: GnashKey.h:223
@ Y
Definition: GnashKey.h:137