August'24: Kamaelia is in maintenance mode and will recieve periodic updates, about twice a year, primarily targeted around Python 3 and ecosystem compatibility. PRs are always welcome. Latest Release: 1.14.32 (2024/3/24)

Kamaelia.Util.Graphline.Graphline

class Graphline(Axon.Component.component)

Graphline(linkages,**components) -> new Graphline component

Encapsulates the specified set of components and wires them up with the specified linkages.

Keyword arguments: - linkages -- dictionary mapping ("componentname","boxname") to ("componentname","boxname") - components -- dictionary mapping names to component instances (default is nothing)

Inboxes

Outboxes

Methods defined here

Warning!

__init__(self, linkages)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

addExternalPostboxes(self)

Adds to self.Inboxes and self.Outboxes any postboxes mentioned in self.layout that don't yet exist

childrenDone(self)

Unplugs any children that have terminated, and returns true if there are no
running child components left (ie. their microproceses have finished)

main(self)

Main loop.


Feedback

Got a problem with the documentation? Something unclear, could be clearer? Want to help with improving? Constructive criticism, preferably in the form of suggested rewording is very welcome.

Please leave the feedback here, in reply to the documentation thread in the Kamaelia blog.