class EE::UI::AccessibilityManager::ScopedDispatch

A callback may request a policy change, but cannot destroy its own native call stack. Native backends use this allocation-free scope around incoming calls. The scene applies the last request at the beginning of a later, non-reentrant update.

#include <accessibilitymanager.hpp>

class ScopedDispatch {
public:
    // construction

    ScopedDispatch(AccessibilityManager& manager);
    ScopedDispatch(const ScopedDispatch&);
    ~ScopedDispatch();

    // methods

    ScopedDispatch& operator=(const ScopedDispatch&);
};