Package timeside :: Module component
[hide private]
[frames] | no frames]

Module component

source code

Classes [hide private]
  Interface
Marker base class for interfaces.
  MetaComponent
Metaclass of the Component class, used mainly to register the interface declared to be implemented by a component.
  Component
Base class of all components
  ComponentError
Functions [hide private]
 
implements(*interfaces)
Registers the interfaces implemented by a component when placed in the class header
source code
 
abstract()
Declare a component as abstract when placed in the class header
source code
 
implementations(interface, recurse=True, abstract=False)
Returns the components implementing interface, and if recurse, any of the descendants of interface.
source code
 
interfacedoc(func) source code
 
extend_unique(list1, list2)
Extend list1 with list2 as list.extend(), but doesn't append duplicates to list1
source code
 
find_implementations(interface, recurse, abstract, result)
Find implementations of an interface or of one of its descendants and extend result with the classes found.
source code
Variables [hide private]
  __package__ = None
hash(x)
Function Details [hide private]

implementations(interface, recurse=True, abstract=False)

source code 

Returns the components implementing interface, and if recurse, any of the descendants of interface. If abstract is True, also return the abstract implementations.