GazeTargetWaiter::Result Struct Reference

#include <armarx/view_selection/client/GazeTargetWaiter.h>

Public Member Functions

 operator bool () const
 Whether the gaze was fixed on the target at some point.
 

Public Attributes

std::string message
 Why the wait ended, if it did not end on a status update.
 
gaze_targets::GazeTargetStatus status
 

Detailed Description

Definition at line 38 of file GazeTargetWaiter.h.

Member Function Documentation

◆ operator bool()

operator bool ( ) const
explicit

Whether the gaze was fixed on the target at some point.

Not status == Reached: a target that was reached and then superseded reports Released, and a client that only observes that last snapshot must still count its request as fulfilled. The scheduler accumulates the timestamps precisely so this single test is sufficient.

Definition at line 24 of file GazeTargetWaiter.cpp.

Member Data Documentation

◆ message

std::string message

Why the wait ended, if it did not end on a status update.

Definition at line 43 of file GazeTargetWaiter.h.

◆ status


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