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
 

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.

Member Data Documentation

◆ message

std::string message

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

◆ status


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