maxon.Registry¶
Description¶
Registries are used to register specific implementations of a given interface.
An implementation that is registered in such a registry can then be accessed
with a specific ID from anywhere in the application.
Methods Signature¶
|
Retrieves the object stored with the given |
Retrieve a RegistryIterator that can be iterate with a for loop. |
|
|
Return the identifier of this registry. |
|
Inserts a new entry into the current registry. |
Methods Definition¶
-
classmethod
Registry.
Get
(eid)¶ Retrieves the object stored with the given
maxon.Id
within the current registry.
-
classmethod
Registry.
GetEntries
()¶ Retrieve a RegistryIterator that can be iterate with a for loop.
- Returns
an iterator.
-
classmethod
Registry.
GetId
()¶ Return the identifier of this registry.
- Returns
The identifier of this registry.
- Return type