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

What an audit examined, so a caller can tell a clean tree from a blind one. More...

#include <press_reach.hpp>

Public Member Functions

bool clean () const
 True when nothing was found unreachable.

Public Attributes

int examined = 0
 Controls that advertise a press handler AND were actually probed.
int skipped_offscreen = 0
 Advertised a handler but sits outside the root's visible area (a scrolled-away row).
int skipped_not_interactive = 0
 Advertised a handler but is hidden, disabled, or opted out of hit testing.
int skipped_indeterminate = 0
 Advertised a handler but sits under a transform whose root-space rect could not be established exactly.
std::vector< UnreachablePressTarget > unreachable

Detailed Description

What an audit examined, so a caller can tell a clean tree from a blind one.

Member Function Documentation

◆ clean()

bool pulp::view::PressReachAudit::clean ( ) const
inline

True when nothing was found unreachable.

Meaningless on its own — a caller must also require examined > 0.

Member Data Documentation

◆ examined

int pulp::view::PressReachAudit::examined = 0

Controls that advertise a press handler AND were actually probed.

◆ skipped_indeterminate

int pulp::view::PressReachAudit::skipped_indeterminate = 0

Advertised a handler but sits under a transform whose root-space rect could not be established exactly.

NOT counted as reachable: an audit must never launder "I could not measure this" into "this is fine".

◆ skipped_not_interactive

int pulp::view::PressReachAudit::skipped_not_interactive = 0

Advertised a handler but is hidden, disabled, or opted out of hit testing.

Authored state, not a defect.

◆ skipped_offscreen

int pulp::view::PressReachAudit::skipped_offscreen = 0

Advertised a handler but sits outside the root's visible area (a scrolled-away row).

Not a defect; not evidence of health either.

◆ unreachable

std::vector<UnreachablePressTarget> pulp::view::PressReachAudit::unreachable

The documentation for this struct was generated from the following file: