Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::GestureArbiter Class Reference

#include <gesture.hpp>

Public Member Functions

bool claimed_pointer () const
 True when a recognizer ACTIVELY claimed the last pointer event, as opposed to merely being a candidate for it.
bool handle_pointer_event (View &root, const MouseEvent &root_event, double timestamp_seconds=-1.0)
void advance_time (View &root, double timestamp_seconds=-1.0)
bool wants_time_updates () const
void reset ()
void abandon () noexcept
 Drop active recognition sessions without invoking user callbacks.

Member Function Documentation

◆ abandon()

void pulp::view::GestureArbiter::abandon ( )
noexcept

Drop active recognition sessions without invoking user callbacks.

Reserved for fail-closed realm teardown after bridge callbacks are dead.

◆ advance_time()

void pulp::view::GestureArbiter::advance_time ( View & root,
double timestamp_seconds = -1.0 )

◆ claimed_pointer()

bool pulp::view::GestureArbiter::claimed_pointer ( ) const
inline

True when a recognizer ACTIVELY claimed the last pointer event, as opposed to merely being a candidate for it.

Hosts must gate their early-return on this, never on handle_pointer_event()'s return.

◆ handle_pointer_event()

bool pulp::view::GestureArbiter::handle_pointer_event ( View & root,
const MouseEvent & root_event,
double timestamp_seconds = -1.0 )

◆ reset()

void pulp::view::GestureArbiter::reset ( )

◆ wants_time_updates()

bool pulp::view::GestureArbiter::wants_time_updates ( ) const

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/gesture.hpp