pymor.parallel.manager
¶
Module Contents¶
- class pymor.parallel.manager.RemoteObjectManager[source]¶
Bases:
pymor.core.base.BasicObject
A simple context manager to keep track of
RemoteObjects
.When leaving this context, all
RemoteObjects
that have beenmanaged
by this object will beremoved
.Methods
Add a
RemoteObject
to the list of managed objects.Call
remove
for all managed objects.- manage(remote_object)[source]¶
Add a
RemoteObject
to the list of managed objects.Parameters
- remote_object
The object to add to the list.
Returns
remote_object