apigear-io / objectlink-core-cpp

A object link protocol for C++ 14
MIT License
0 stars 3 forks source link

use uniqe identifiers for storing nodes in registry #32

Closed dorotaphanSiili closed 1 year ago

dorotaphanSiili commented 1 year ago

Nodes in registries are now kept with unique id. User uses this id to add, remove or get the node from registry. The id is given on node creation node adds itself to registry, and node is removed from registry, freeing the id on its destruction. However for now the registry allows other actors to use register/unregister node it shall not be used by other actors than the node.