NVDA Helper
In-process and lite high-speed utilities for NVDA
RateLimitedEventHandler Class Reference

#include <rateLimitedEventHandler.h>

Inheritance diagram for RateLimitedEventHandler:

Public Member Functions

 RateLimitedEventHandler (IUnknown *pExistingHandler)
 class constructor.
 
ULONG STDMETHODCALLTYPE AddRef ()
 
ULONG STDMETHODCALLTYPE Release ()
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppInterface)
 
HRESULT STDMETHODCALLTYPE HandleAutomationEvent (IUIAutomationElement *sender, EVENTID eventID)
 
HRESULT STDMETHODCALLTYPE HandleFocusChangedEvent (IUIAutomationElement *sender)
 
HRESULT STDMETHODCALLTYPE HandlePropertyChangedEvent (IUIAutomationElement *sender, PROPERTYID propertyID, VARIANT newValue)
 
HRESULT STDMETHODCALLTYPE HandleNotificationEvent (IUIAutomationElement *sender, NotificationKind notificationKind, NotificationProcessing notificationProcessing, BSTR displayString, BSTR activityID)
 
HRESULT STDMETHODCALLTYPE HandleActiveTextPositionChangedEvent (IUIAutomationElement *sender, IUIAutomationTextRange *range)
 
void terminate ()
 a function that stops the flusher thread.
 

Detailed Description

Constructor & Destructor Documentation

◆ RateLimitedEventHandler()

RateLimitedEventHandler::RateLimitedEventHandler ( IUnknown * pExistingHandler)

class constructor.

Parameters
pExistingHandlera pointer to an existing UI Automation event handler where events should be sent after they are flushed from the queue.

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE RateLimitedEventHandler::AddRef ( )

References LOG_DEBUG.

Referenced by QueryInterface().

◆ Release()

ULONG STDMETHODCALLTYPE RateLimitedEventHandler::Release ( )

References LOG_DEBUG.

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE RateLimitedEventHandler::QueryInterface ( REFIID riid,
void ** ppInterface )

References AddRef().

◆ HandleAutomationEvent()

HRESULT STDMETHODCALLTYPE RateLimitedEventHandler::HandleAutomationEvent ( IUIAutomationElement * sender,
EVENTID eventID )

References LOG_DEBUG.

◆ HandleFocusChangedEvent()

HRESULT STDMETHODCALLTYPE RateLimitedEventHandler::HandleFocusChangedEvent ( IUIAutomationElement * sender)

References LOG_DEBUG.

◆ HandlePropertyChangedEvent()

HRESULT STDMETHODCALLTYPE RateLimitedEventHandler::HandlePropertyChangedEvent ( IUIAutomationElement * sender,
PROPERTYID propertyID,
VARIANT newValue )

References LOG_DEBUG.

◆ HandleNotificationEvent()

HRESULT STDMETHODCALLTYPE RateLimitedEventHandler::HandleNotificationEvent ( IUIAutomationElement * sender,
NotificationKind notificationKind,
NotificationProcessing notificationProcessing,
BSTR displayString,
BSTR activityID )

References LOG_DEBUG.

◆ HandleActiveTextPositionChangedEvent()

HRESULT STDMETHODCALLTYPE RateLimitedEventHandler::HandleActiveTextPositionChangedEvent ( IUIAutomationElement * sender,
IUIAutomationTextRange * range )

References LOG_DEBUG.

◆ terminate()

void RateLimitedEventHandler::terminate ( )

a function that stops the flusher thread.

References LOG_DEBUG.

Referenced by rateLimitedUIAEventHandler_terminate().


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