#include <omExecutor.h>
Inheritance diagram for omExecutor:
Public Member Functions | |||
omExecutor () | |||
void | Stop () | ||
void | Start () | ||
void | RenderString (wxString) | ||
void | PressKey (long) | ||
void | ReleaseKey (long) | ||
bool | MoveMouse (wxString, wxString) | ||
bool | MoveMouse (int, int) | ||
void | ClickMouse (int) | ||
void | DragOrDropMouse (int) | ||
Protected Member Functions | |||
void | OnMouseTimer (wxTimerEvent) | ||
Mouse Timer event handler. | |||
void | SDConstructor () | ||
System dependen constructor. | |||
void | SDRenderChar (char) | ||
System dependent RenderChar function. | |||
void | SDPressKey (long) | ||
System dependent (keyboard) PressKey function. | |||
void | SDReleaseKey (long) | ||
System dependent (keyboard) ReleaseKey function. | |||
void | SDMoveMouse () | ||
System dependent MoveMouse function. | |||
void | SDPressMouseButton (int but) | ||
| |||
void | SDReleaseMouseButton (int but) | ||
| |||
Protected Attributes | |||
void * | sdData | ||
System dependent data. | |||
long | maiaKeyCode [MAXMAIACODES] | ||
Array of keyCodes used for keyboard emulation. | |||
int | dxMouseMovement | ||
Mouse movement X increment. | |||
int | dyMouseMovement | ||
Mouse movement Y increment. | |||
bool | isMouseInMovement | ||
True if the mouse timer is active. | |||
wxTimer | mouseTimer | ||
Mouse move timer. | |||
bool | isMouseButtonPressed [MAXMOUSEBUTTONS] | ||
Mouse button flags. start index from 1 :). |
|
Construct the class by initializating character emulation table |
|
Emulate a click on a mouse button.
|
|
Emulate mouse drag/drop. The first time the command is lounched it emulate mouse pression and the second time emulate button release. The function handles the status of automatic scan of the associated keyboard if it isn't NULL.
|
|
Emulate the mouse movement. This function is two state function, the second time you call it with the same parameter the mouse stop its movement. You can either call the function with 0 or without step to stop the mouse movement.
|
|
Emulate the mouse movement. This functions parses the string and then call The MoveMouse(dx,dy) function
|
|
Mouse Timer event handler.
|
|
Emulate pressure of a special key. A key has a specific maia code that is translated into windows or x11 code in funcion of the system where the application is compiled
|
|
Emulate pressure of a special key. A key has a specific maia code that is translated into windows or x11 code in funcion of the system where the application is compiled
|
|
Emulate the pressure of char keys to construct the passed string using system dependent API
|
|
System dependen constructor.
|
|
System dependent MoveMouse function.
|
|
System dependent (keyboard) PressKey function.
|
|
System dependent PressMouseButton function. |
|
System dependent (keyboard) ReleaseKey function.
|
|
System dependent ReleaseMouseButton function. |
|
System dependent RenderChar function.
|
|
Start all active timers Reimplemented from omObject. |
|
Stop all timers Reimplemented from omObject. |
|
Mouse movement X increment.
|
|
Mouse movement Y increment.
|
|
Mouse button flags. start index from 1 :).
|
|
True if the mouse timer is active.
|
|
Array of keyCodes used for keyboard emulation.
|
|
Mouse move timer.
|
|
System dependent data.
|
Copyright © by Luca Clivio |