|
| void | addMouseEvent (MouseEvent &mouse_event) |
| | Adds a pre-constructed MouseEvent directly to the queue.
|
| bool | addMouseEvent (QEvent *event, Vector< 2, uint04 > size, WindowInstance *instance=nullptr) |
| | Converts a QEvent into a MouseEvent and adds it to the queue.
|
| void | addTouchEvent (Buffer< Vector< 2, fltp04 > > location, Vector< 2, uint04 > size, bool touch_pressed, WindowInstance *instance=nullptr) |
| | Adds a touch event to the queue from raw touch data.
|
| void | clearEvents (const WindowInstance *instance) |
| | Clears all queued events associated with the given window instance.
|
| void | clearTouchEvent (WindowInstance *instance) |
| | Clears the active touch event state for the given window instance.
|
|
void | eraseOldestEvent () |
| | Removes the oldest event from the queue.
|
| const Buffer< MouseEvent > & | mouseEvents () const |
| | Gets the current buffer of queued mouse events.
|
| MouseEvent | oldestEvent () const |
| | Gets the oldest queued mouse event without removing it.
|
|
void | processMouseEvent () |
| | Processes the next queued mouse event and dispatches it to the appropriate window.
|
| void | setUseMouseClicks (bool use_mouse_clicks) |
| | Sets whether mouse click events should be processed.
|
|
| Thread () |
| | Constructs a Thread with a default name.
|
| | Thread (const StringView &name) |
| | Constructs a Thread with the specified name.
|
|
virtual | ~Thread () |
| | Destroys the Thread and cleans up resources.
|
|
void | detach () |
| | Detaches the thread, allowing it to run independently.
|
|
void | forceStop () |
| | Forces the running flag to false without waiting for the thread to finish.
|
| bool | isPrimaryThread () const |
| | Checks whether this thread is the primary thread.
|
| bool | isRunning () const |
| | Checks whether the thread is currently running.
|
|
void | join () |
| | Blocks the calling thread until this thread finishes execution.
|
|
virtual void | requestStopThread () |
| | Requests the thread to stop without blocking.
|
| void | setIsPrimaryThread (bool is_primary_thread) |
| | Sets whether this thread should be treated as the primary thread.
|
| void | setThreadName (const StringView &name) |
| | Sets the name of this thread.
|
| virtual bool | shouldExitThread () const |
| | Checks whether the thread has been requested to exit.
|
|
void | start () |
| | Starts the thread execution.
|
|
virtual void | stopThread () |
| | Stops the thread and waits for it to finish.
|
| const String & | threadName () const |
| | Gets the name assigned to this thread.
|
|
|
bool | m_is_init |
| | Whether the mouse manager has been initialized.
|
|
Buffer< MouseEvent > | m_last_mouse_events |
| | The queue of pending mouse events.
|
|
Vector< 2, fltp04 > | m_last_mouse_press_point |
| | The screen location of the last mouse press.
|
|
uint08 | m_last_mouse_press_time |
| | The timestamp of the last mouse press event.
|
|
Buffer< Vector< 2, fltp04 > > | m_last_touch_press_points |
| | The screen locations of active touch points.
|
|
fltp08 | m_last_touch_scale_factor = Constant<fltp08>::Invalid |
| | The last computed pinch-zoom scale factor.
|
|
bool | m_use_mouse_clicks |
| | Whether mouse click events are being processed.
|
|
volatile bool | m_is_running = false |
| | Whether the thread is currently running.
|
|
volatile bool | m_is_single_run = true |
| | Whether the thread should execute only once before stopping.
|
Handles converting QEvents into NDEVR MouseEvents and queuing them up appropriately.
Definition at line 54 of file NDEVRMouseManager.h.