The shardGen class is an interface between a GUI node and the
code generation shard system. Each shardGen object wraps a given
shard class and publishes its required and default constructor
arguments. The same interface is provided for all shards so that they
can be queried consistently. Calling makeShard() will produce an object
of the enclosed shard type, initialised appropriately.
The example in this file recreates the pygame event loop from the
MagnaDoodle component (directly generated in full in MagnaGen.py).
From a GUI perspective, the shardGen object provides the default(more...)