43 std::string providerSegmentName);
48 std::optional<gaze_targets::GazeTarget>
readGazeTarget(
const std::string& name);
51 std::optional<gaze_targets::GazeTargetStatus>
70 const std::function<
bool()>& shouldAbort = {});
78 std::string providerSegmentName;
84 std::unique_ptr<MemoryStatusHandlerBase> statusHandler;
85 std::optional<GazeTargetWaiter> waiter;
The memory name system (MNS) client.
Reads data from a memory server.
Helps a memory client sending data to a memory.
Turns a queried piece of the GazeTargetStatus core segment into dispatched updates.
armarx::armem::MemoryID commitGazeTarget(const gaze_targets::GazeTarget &target)
std::optional< gaze_targets::GazeTargetStatus > readGazeTargetStatus(const std::string &name)
The lifecycle of the named target, as far as the scheduler has published it.
void commitGazeTargets(const std::vector< gaze_targets::GazeTarget > &targets)
void releaseGazeTarget(const gaze_targets::GazeTarget &target)
Give up a target: lowest priority, no duration, not kept in the queue.
std::optional< gaze_targets::GazeTarget > readGazeTarget(const std::string &name)
ViewSelection(armarx::armem::client::MemoryNameSystem &mns, std::string providerSegmentName)
void connect(StatusDelivery statusDelivery=StatusDelivery::Subscription)
GazeTargetWaiter::Result commitGazeTargetAndWait(const gaze_targets::GazeTarget &target, const armarx::Duration &timeout, const std::function< bool()> &shouldAbort={})
Commit a gaze target and block until the robot's gaze is fixed on it.
Business Object (BO) class of GazeTarget.
StatusDelivery
How gaze target status updates reach this client.
@ Subscription
Pushed by the memory.
@ Polling
Queried every 100 ms. Works anywhere, at the cost of up to one poll period of latency.
This file is part of ArmarX.