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

#include <motion.hpp>

Public Attributes

double component_epsilon = 0.05
double timing_epsilon_seconds = 0.05
bool require_same_event_count = true
bool require_matching_policy = true
 When true (default), assert_matches_headers will flag a "policy-mismatch" diff item if the two fixtures recorded different MotionPolicy values or differ in duration_scale beyond duration_scale_epsilon.
double duration_scale_epsilon = 1e-6

Member Data Documentation

◆ component_epsilon

double pulp::view::motion::FixtureMatchOptions::component_epsilon = 0.05

◆ duration_scale_epsilon

double pulp::view::motion::FixtureMatchOptions::duration_scale_epsilon = 1e-6

◆ require_matching_policy

bool pulp::view::motion::FixtureMatchOptions::require_matching_policy = true

When true (default), assert_matches_headers will flag a "policy-mismatch" diff item if the two fixtures recorded different MotionPolicy values or differ in duration_scale beyond duration_scale_epsilon.

The event-only overload (no headers passed) skips this check.

◆ require_same_event_count

bool pulp::view::motion::FixtureMatchOptions::require_same_event_count = true

◆ timing_epsilon_seconds

double pulp::view::motion::FixtureMatchOptions::timing_epsilon_seconds = 0.05

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