Represents a point in time.
Publishes the lifecycle of gaze targets.
virtual void aborted(const armem::MemoryID &gazeTargetID, const std::string &reason)=0
Left the queue without ever being reached. Terminal, and a failure.
virtual void reached(const armem::MemoryID &gazeTargetID, const gaze_controller::GazeResidual &residual)=0
The gaze settled on the target.
virtual void released(const armem::MemoryID &gazeTargetID, const std::string &reason)=0
Left the queue having been reached. Terminal, and a success for whoever asked.
virtual void requested(const armem::MemoryID &gazeTargetID, const armarx::DateTime &creationTimestamp)=0
Admitted to the scheduler's queue.
virtual bool wasReached(const armem::MemoryID &gazeTargetID) const =0
Whether this target was reached at any point.
virtual void scheduled(const armem::MemoryID &gazeTargetID)=0
Submitted to the low-level controller.
virtual ~StatusPublisherInterface()=default
virtual void preempted(const armem::MemoryID &gazeTargetID, const std::string &reason)=0
Lost the active slot but stays in the queue. Not terminal.
How far the gaze currently is from a target.