Package LICOS.core.dispatch.saferef


Classes

class  BoundMethodWeakref

Functions

def safeRef

Variables

string __version__ = "$Revision: 1.2 $"


Function Documentation

def LICOS.core.dispatch.saferef.safeRef   target,
  onDelete = None
 

Return a *safe* weak reference to a callable target

target -- the object to be weakly referenced, if it's a
    bound method reference, will create a BoundMethodWeakref,
    otherwise creates a simple weakref.
onDelete -- if provided, will have a hard reference stored
    to the callable to be called after the safe reference
    goes out of scope with the reference object, (either a
    weakref or a BoundMethodWeakref) as argument.

Definition at line 6 of file saferef.py.


Variable Documentation

string __version__ = "$Revision: 1.2 $" [static]
 

Definition at line 4 of file saferef.py.


Generated on Thu Apr 27 20:53:01 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO