These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.
optris::FlagCorrectionReport
A closure made outside the SDK, and what came of it.
Reported once, when the flag reopens -- not when it shuts. The outcome is not knowable until then, because the closure's own duration is the capture window.
Public attributes
outcome
FlagCorrectionOutcome outcome = FlagCorrectionOutcome::Applied
Whether the correction was applied, skipped, or applied below the floor because there was no reference to keep.
framesUsed
std::uint32_t framesUsed = 0
Shut-flag frames the backend actually kept, which is not the same as the frames the closure contained: the first one is discarded, because the flag was still moving when its telemetry was sampled.
framesRequired
std::uint32_t framesRequired = 0
The floor framesUsed was judged against.
Reported rather than documented because it is a change from version 11, which applied whatever it had collected whenever at least one frame was left and logged an error only at zero. A machine whose breaks are short behaves differently on v12 than on v11, and this is the field that says by how much.
closedMs
std::uint32_t closedMs = 0
How long the flag was shut, in milliseconds, host monotonic.