#include <motion.hpp>
◆ Kind
| Enumerator |
|---|
| TraceStarted | Emitted once per trace registration.
Carries the trace's provenance envelope.
|
| Baseline | First sample of a metric.
|
| Sample | Value sample within a change burst.
|
| Start | Burst opened (value drifted off baseline / last stable).
|
| End | Burst closed (value stabilized). Carries deltas.
|
| Input | Recorded View::simulate_* interaction.
Carries input_kind ("click" / "drag" / "hover"), the target view's id() if any, and root-space coordinates in components. Replayed by replay_inputs against a fresh tree.
|
◆ burst_id
| int pulp::view::motion::SampleEvent::burst_id = 0 |
◆ components
| std::vector<std::pair<std::string, double> > pulp::view::motion::SampleEvent::components |
◆ deltas
| std::vector<std::pair<std::string, double> > pulp::view::motion::SampleEvent::deltas |
◆ frame
| std::uint64_t pulp::view::motion::SampleEvent::frame = 0 |
◆ input_kind
| std::string pulp::view::motion::SampleEvent::input_kind |
◆ kind
◆ metric_id
| int pulp::view::motion::SampleEvent::metric_id = 0 |
◆ metric_name
| std::string pulp::view::motion::SampleEvent::metric_name |
◆ precision
| int pulp::view::motion::SampleEvent::precision = 3 |
◆ provenance
| Provenance pulp::view::motion::SampleEvent::provenance |
Populated on TraceStarted; empty otherwise.
◆ t_seconds
| double pulp::view::motion::SampleEvent::t_seconds = 0.0 |
◆ trace_id
| int pulp::view::motion::SampleEvent::trace_id = 0 |
◆ view_id
| std::string pulp::view::motion::SampleEvent::view_id |
◆ view_name
| std::string pulp::view::motion::SampleEvent::view_name |
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/view/include/pulp/view/motion.hpp