22 #ifndef __SPLITSCHEMA__
23 #define __SPLITSCHEMA__
splitSchema(schema *s1, schema *s2, double hgap)
Constructor for a split schema s1 <: s2 where the outputs of s1 are distributed to the inputs of s2...
place and connect two diagrams in split composition
virtual void collectTraits(collector &c)
Draw the two sub schema and the connections between them.
virtual void draw(device &dev)
Draw the two sub schema and the connections between them.
virtual point outputPoint(unsigned int i) const
The outputs of s1 <: s2 are the outputs of s2.
An abstract block diagram schema.
virtual void place(double ox, double oy, int orientation)
Places the two subschema horizontaly, centered, with enough gap for the connections.
virtual point inputPoint(unsigned int i) const
The inputs of s1 <: s2 are the inputs of s1.
friend schema * makeSplitSchema(schema *s1, schema *s2)
Creates a new split schema.