11 const MemoryID& memoryID,
23 memoryListener{other.memoryListener},
24 memoryID(
std::move(other.memoryID)),
41 memoryListener->unsubscribe(*
this);
49 handle(
std::move(handle))
56 std::swap(this->handle, handle);
73 std::swap(first.valid, second.valid);
74 std::swap(first.memoryListener, second.memoryListener);
75 std::swap(first.memoryID, second.memoryID);
76 std::swap(first.id, second.id);
Handles update signals from the memory system and distributes it to its subsribers.
ScopedSubscriptionHandle & operator=(SubscriptionHandle handle)
Assignment operator.
ScopedSubscriptionHandle()
~ScopedSubscriptionHandle()
friend void swap(SubscriptionHandle &first, SubscriptionHandle &second)
SubscriptionHandle & operator=(SubscriptionHandle other)
Assignment operator.
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
#define ARMARX_INFO
The normal logging level.
void swap(SubscriptionHandle &first, SubscriptionHandle &second)
This file is part of ArmarX.