(Scoped)SubscriptionHandle to unsubscribe from memory updates
Compare changes
Files
5@@ -2,36 +2,33 @@
@@ -40,7 +37,6 @@ namespace armarx::armem::client::util
@@ -76,68 +72,104 @@ namespace armarx::armem::client::util
Implements SubscriptionHandle
returned by MemoryListener::subscribe()
to unsubscribe from memory via SubscriptionHandle::release()
or MemoryListener::unsubscribe(SubscriptionHandle handle)
at a later point in time. Further implements ScopedSubscriptionHandle
which is move-assignable via a SubscriptionHandle
and automatically unsubscribes when running out of scope.
Needed for sw/armarx/skills/speech!4 (merged) (see sw/armarx/skills/speech!4 (comment 64668))