21 requestObjects(objectIDs, IceUtil::Time::milliSeconds(relativeTimeOutMS));
25 const std::vector<armarx::ObjectID>& objectIDs,
IceUtil::Time relativeTimeout)
27 if (relativeTimeout.toMilliSeconds() < 0)
29 for (
const auto&
id : objectIDs)
56 std::set<armarx::ObjectID> current;
63 for (
const auto& request : requests)
65 current.insert(request.objectIDs.begin(), request.objectIDs.end());
70 update.current = { current.begin(), current.end() };
73 std::set_difference(
update.current.begin(),
update.current.end(),
74 lastCurrent.begin(), lastCurrent.end(),
77 std::set_difference(lastCurrent.begin(), lastCurrent.end(),
81 this->lastCurrent =
update.current;