multi_interface_roam::weakcallback::WeakCallback Class Reference

Inheritance diagram for multi_interface_roam::weakcallback::WeakCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __call__
def __init__
def default_callback
def object_deleted

Public Attributes

 callback_attr
 token
 wref

Detailed Description

A Weak Callback object that will keep a reference to
the connecting object with weakref semantics.

This allows object A to pass a callback method to object S,
without object S keeping A alive.

Definition at line 6 of file weakcallback.py.


Member Function Documentation

def multi_interface_roam::weakcallback::WeakCallback::__call__ (   self,
  args,
  kwargs 
)

Definition at line 21 of file weakcallback.py.

def multi_interface_roam::weakcallback::WeakCallback::__init__ (   self,
  mcallback 
)
Create a new Weak Callback calling the method @mcallback

Reimplemented in multi_interface_roam::weakcallback::WeakCallbackCb.

Definition at line 13 of file weakcallback.py.

def multi_interface_roam::weakcallback::WeakCallback::default_callback (   self,
  args,
  kwargs 
)
Called instead of callback when expired

Definition at line 29 of file weakcallback.py.

def multi_interface_roam::weakcallback::WeakCallback::object_deleted (   self,
  wref 
)
Called when callback expires

Reimplemented in multi_interface_roam::weakcallback::WeakCallbackCb.

Definition at line 33 of file weakcallback.py.


Member Data Documentation

Definition at line 18 of file weakcallback.py.

Definition at line 19 of file weakcallback.py.

Definition at line 17 of file weakcallback.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Properties Friends Defines


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Fri Jan 11 09:52:37 2013