13#include <armarx/view_selection/gaze_targets/aron/GazeTargetStatus.aron.generated.h>
23 const std::scoped_lock lock(statusHandlingMutex);
28 if (coreSegment ==
nullptr)
33 std::vector<armem::wm::EntityInstance> instances;
35 { instances.push_back(instance); });
39 std::sort(instances.begin(),
43 ARMARX_CHECK(lhs.id().hasTimestamp());
44 ARMARX_CHECK(rhs.id().hasTimestamp());
46 return lhs.id().timestamp < rhs.id().timestamp;
49 for (
const auto& instance : instances)
const DataT & data() const
Client-side working memory core segment.
Client-side working entity instance.
Client-side working memory.
void handleMemory(const armem::wm::Memory &memory)
Dispatches every GazeTargetStatus instance found, oldest first.
void handleStatus(const gaze_targets::GazeTargetStatus &status)
Logs the update and hands it to the matching callbacks.
Business Object (BO) class of GazeTargetStatus: the lifecycle of one gaze target request,...
const std::string GazeTargetStatusCoreSegmentName
Lifecycle of the requests in GazeTarget.
void fromAron(const arondto::PackagePath &dto, PackageFileLocation &bo)
bool forEachInstance(InstanceFunctionT &&func)