|
LibreOffice Module vcl (master) 1
|
#include <debugevent.hxx>
Static Public Member Functions | |
| static DebugEventInjector * | getCreate () |
Private Member Functions | |
| DebugEventInjector (sal_uInt32 nMaxEvents) | |
| virtual void | Invoke () override |
| Calls the maInvokeHandler with the parameter this. More... | |
Private Member Functions inherited from Timer | |
| Timer (const char *pDebugName) | |
| Timer (const Timer &rTimer) | |
| virtual | ~Timer () override |
| Timer & | operator= (const Timer &rTimer) |
| virtual void | Invoke () override |
| Calls the maInvokeHandler with the parameter this. More... | |
| void | Invoke (Timer *arg) |
| Calls the maInvokeHandler with the parameter. More... | |
| void | SetInvokeHandler (const Link< Timer *, void > &rLink) |
| void | ClearInvokeHandler () |
| void | SetTimeout (sal_uInt64 nTimeoutMs) |
| sal_uInt64 | GetTimeout () const |
| virtual void | Start (bool bStartTimer=true) override |
| Schedules the task for execution. More... | |
| virtual void | SetDeletionFlags () override |
| virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const override |
| How long (in MS) until the Task is ready to be dispatched? More... | |
| Timer (bool bAuto, const char *pDebugName) | |
Private Member Functions inherited from Task | |
| Task (const char *pDebugName) | |
| Task (const Task &rTask) | |
| virtual | ~Task () COVERITY_NOEXCEPT_FALSE |
| Task & | operator= (const Task &rTask) |
| void | SetPriority (TaskPriority ePriority) |
| TaskPriority | GetPriority () const |
| const char * | GetDebugName () const |
| virtual void | Invoke ()=0 |
| virtual void | Start (bool bStartTimer=true) |
| Schedules the task for execution. More... | |
| void | Stop () |
| bool | IsActive () const |
| void | SetStatic () |
| This function must be called for static tasks, so the Task destructor ignores the scheduler mutex, as it may not be available anymore. More... | |
| bool | IsStatic () const |
| const ImplSchedulerData * | GetSchedulerData () const |
| virtual void | SetDeletionFlags () |
| virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const =0 |
| How long (in MS) until the Task is ready to be dispatched? More... | |
Static Private Member Functions | |
| static vcl::Window * | ChooseWindow () |
| static void | InjectTextEvent () |
| static void | InjectMenuEvent () |
| static void | InjectEvent () |
| static void | InjectKeyNavEdit () |
Static Private Member Functions inherited from Task | |
| static void | StartTimer (sal_uInt64 nMS) |
Private Attributes | |
| sal_uInt32 | mnEventsLeft |
Definition at line 19 of file debugevent.hxx.
|
private |
Definition at line 22 of file debugevent.cxx.
References Timer::SetTimeout(), and Timer::Start().
Referenced by getCreate().
|
staticprivate |
Definition at line 35 of file debugevent.cxx.
References vcl::Window::CollectChildren(), Application::GetActiveTopWindow(), Application::GetFocusWindow(), getRandom(), Application::GetTopWindow(), and Application::GetTopWindowCount().
Referenced by InjectKeyNavEdit(), and InjectTextEvent().
|
static |
Definition at line 258 of file debugevent.cxx.
References DebugEventInjector(), and o3tl::toUInt32().
Referenced by InitVCL().
|
staticprivate |
Definition at line 168 of file debugevent.cxx.
References getRandom(), i, InjectKeyNavEdit(), InjectMenuEvent(), and InjectTextEvent().
Referenced by Invoke().
|
staticprivate |
Definition at line 185 of file debugevent.cxx.
References ChooseWindow(), d, getRandom(), ImplWindowFrameProc(), InitKeyEvent(), KEY_BACKSPACE, KEY_DELETE, KEY_DOWN, KEY_END, KEY_HOME, KEY_INSERT, KEY_LEFT, KEY_MODIFIERS_MASK, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RETURN, KEY_RIGHT, KEY_SPACE, KEY_TAB, KEY_UP, KeyInput, KeyUp, SalKeyEvent::mnCharCode, SalKeyEvent::mnCode, and SAL_INFO.
Referenced by InjectEvent().
|
staticprivate |
Definition at line 72 of file debugevent.cxx.
References aEvent, CollectMenuItemIds(), Application::GetFocusWindow(), Menu::GetItemText(), SystemWindow::GetMenuBar(), getRandom(), vcl::Window::GetSystemWindow(), ImplWindowFrameProc(), MenuActivate, MenuButtonCommand, MenuCommand, MenuDeactivate, MenuHighlight, SAL_INFO, and SAL_N_ELEMENTS.
Referenced by InjectEvent().
|
staticprivate |
Definition at line 121 of file debugevent.cxx.
References ChooseWindow(), getRandom(), i, ImplWindowFrameProc(), InitKeyEvent(), KEY_0, KEY_9, KEY_A, KEY_CODE_MASK, KEY_MODIFIERS_MASK, KEY_Z, KeyInput, KeyUp, SalKeyEvent::mnCharCode, SalKeyEvent::mnCode, SAL_INFO, and SAL_N_ELEMENTS.
Referenced by InjectEvent().
|
overrideprivatevirtual |
Calls the maInvokeHandler with the parameter this.
Reimplemented from Timer.
Definition at line 245 of file debugevent.cxx.
References InjectEvent(), mnEventsLeft, Application::Quit(), Timer::SetTimeout(), and Timer::Start().
|
private |
Definition at line 20 of file debugevent.hxx.
Referenced by Invoke().