Eidolon
Public Member Functions | Public Attributes | List of all members
ObjectSharer Class Reference

Inherits object.

Collaboration diagram for ObjectSharer:
Collaboration graph

Public Member Functions

def __init__ (self)
 
def shareObject (self, index, name, obj)
 
def getObjects (self, name, excludeIndex=-1)
 
def clear (self)
 

Public Attributes

 objmap
 

Detailed Description

This type wraps a map of (index,name) pairs to objects, where index can be used to be a process index number.
When this object is shared to multiple processes using ObjectServer, it can be used to share picklable objects
amongst the processes. A process stored an object giving its index and the object name for the (index,name) pair
and can then ask for all the object of a given name from the other processes using 'getObjects()'.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Member Function Documentation

◆ clear()

def clear (   self)
Here is the caller graph for this function:

◆ getObjects()

def getObjects (   self,
  name,
  excludeIndex = -1 
)
Here is the caller graph for this function:

◆ shareObject()

def shareObject (   self,
  index,
  name,
  obj 
)

Member Data Documentation

◆ objmap

objmap

The documentation for this class was generated from the following file: