25#include <SimoxUtility/meta/enum/EnumNames.hpp>
const simox::meta::EnumNames< TargetStatus > TargetStatusNames
TargetStatus
The lifecycle state of a gaze target, as observed by the gaze scheduler.
@ Scheduled
submitted to the low-level controller
@ Aborted
left the queue without ever being reached, or the target is out of reach
@ Reached
the gaze residual settled below the threshold
@ Released
left the queue having been reached (duration elapsed, or superseded afterwards)
@ Preempted
lost the active slot but stays in the queue and may be scheduled again
@ Requested
admitted to the scheduler's queue, waiting for scheduling
bool isTerminal(const TargetStatus status)
Whether the status is terminal, i.e. the target has left the scheduler's queue for good.