22 #ifndef __MERGESCHEMA__
23 #define __MERGESCHEMA__
virtual void draw(device &dev)
Draw the two sub schema and the connections between them.
mergeSchema(schema *s1, schema *s2, double hgap)
Constructor for a merge schema s1 :> s2 where the outputs of s1 are merged to the inputs of s2...
virtual point outputPoint(unsigned int i) const
The outputs of s1 :> s2 are the outputs of s2.
friend schema * makeMergeSchema(schema *s1, schema *s2)
Creates a new merge schema.
Place and connect two diagrams in merge composition.
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.
virtual void collectTraits(collector &c)
Draw the two sub schema and the connections between them.