|
FAUST compiler
0.9.9.6b8
|
An abstract block diagram schema. More...
#include <schema.h>

Public Member Functions | |
| schema (unsigned int inputs, unsigned int outputs, double width, double height) | |
| virtual | ~schema () |
| double | width () const |
| double | height () const |
| unsigned int | inputs () const |
| unsigned int | outputs () const |
| void | beginPlace (double x, double y, int orientation) |
| void | endPlace () |
| bool | placed () const |
| double | x () const |
| double | y () const |
| int | orientation () const |
| virtual void | place (double x, double y, int orientation)=0 |
| virtual void | draw (device &dev)=0 |
| virtual point | inputPoint (unsigned int i) const =0 |
| virtual point | outputPoint (unsigned int i) const =0 |
| virtual void | collectTraits (collector &c)=0 |
Private Attributes | |
| const unsigned int | fInputs |
| const unsigned int | fOutputs |
| const double | fWidth |
| const double | fHeight |
| bool | fPlaced |
| false until place() is called More... | |
| double | fX |
| double | fY |
| int | fOrientation |
|
inline |
|
inline |
Definition at line 132 of file schema.h.
Referenced by cutSchema::place(), cableSchema::place(), parSchema::place(), recSchema::place(), splitSchema::place(), mergeSchema::place(), enlargedSchema::place(), decorateSchema::place(), seqSchema::place(), topSchema::place(), connectorSchema::place(), and blockSchema::place().

|
pure virtual |
Implemented in blockSchema, connectorSchema, seqSchema, topSchema, decorateSchema, enlargedSchema, mergeSchema, parSchema, recSchema, splitSchema, cableSchema, and cutSchema.
Referenced by mergeSchema::collectTraits(), parSchema::collectTraits(), splitSchema::collectTraits(), recSchema::collectTraits(), enlargedSchema::collectTraits(), decorateSchema::collectTraits(), topSchema::collectTraits(), seqSchema::collectTraits(), and writeSchemaFile().

|
pure virtual |
Implemented in blockSchema, connectorSchema, seqSchema, topSchema, decorateSchema, enlargedSchema, mergeSchema, parSchema, recSchema, splitSchema, cableSchema, cutSchema, and inverterSchema.
Referenced by mergeSchema::draw(), parSchema::draw(), splitSchema::draw(), recSchema::draw(), enlargedSchema::draw(), decorateSchema::draw(), topSchema::draw(), seqSchema::draw(), and writeSchemaFile().

|
inline |
Definition at line 134 of file schema.h.
Referenced by cutSchema::place(), cableSchema::place(), parSchema::place(), recSchema::place(), splitSchema::place(), mergeSchema::place(), enlargedSchema::place(), decorateSchema::place(), seqSchema::place(), topSchema::place(), connectorSchema::place(), and blockSchema::place().

|
inline |
Definition at line 127 of file schema.h.
Referenced by computeHorzGap(), inverterSchema::draw(), decorateSchema::draw(), topSchema::draw(), blockSchema::drawOrientationMark(), blockSchema::drawRectangle(), blockSchema::drawText(), makeMergeSchema(), makeSplitSchema(), cutSchema::place(), cableSchema::place(), splitSchema::place(), recSchema::place(), parSchema::place(), mergeSchema::place(), seqSchema::place(), connectorSchema::placeInputPoints(), blockSchema::placeInputPoints(), connectorSchema::placeOutputPoints(), blockSchema::placeOutputPoints(), and writeSchemaFile().

|
pure virtual |
Implemented in blockSchema, connectorSchema, seqSchema, topSchema, decorateSchema, enlargedSchema, mergeSchema, parSchema, recSchema, splitSchema, cableSchema, and cutSchema.
Referenced by seqSchema::collectInternalWires(), splitSchema::collectTraits(), mergeSchema::collectTraits(), recSchema::collectTraits(), enlargedSchema::collectTraits(), decorateSchema::collectTraits(), topSchema::collectTraits(), computeHorzGap(), mergeSchema::draw(), splitSchema::draw(), enlargedSchema::draw(), decorateSchema::draw(), seqSchema::drawInternalWires(), mergeSchema::inputPoint(), splitSchema::inputPoint(), parSchema::inputPoint(), seqSchema::inputPoint(), recSchema::place(), enlargedSchema::place(), and decorateSchema::place().

|
inline |
Definition at line 128 of file schema.h.
Referenced by blockSchema::blockSchema(), connectorSchema::collectInputWires(), blockSchema::collectInputWires(), seqSchema::collectInternalWires(), splitSchema::collectTraits(), mergeSchema::collectTraits(), recSchema::collectTraits(), enlargedSchema::collectTraits(), decorateSchema::collectTraits(), topSchema::collectTraits(), seqSchema::collectTraits(), computeHorzGap(), decorateSchema::decorateSchema(), splitSchema::draw(), mergeSchema::draw(), recSchema::draw(), enlargedSchema::draw(), decorateSchema::draw(), seqSchema::draw(), blockSchema::drawInputArrows(), seqSchema::drawInternalWires(), enlargedSchema::enlargedSchema(), cableSchema::inputPoint(), enlargedSchema::inputPoint(), decorateSchema::inputPoint(), topSchema::inputPoint(), connectorSchema::inputPoint(), blockSchema::inputPoint(), makeSeqSchema(), cableSchema::place(), recSchema::place(), enlargedSchema::place(), decorateSchema::place(), connectorSchema::placeInputPoints(), blockSchema::placeInputPoints(), recSchema::recSchema(), and seqSchema::seqSchema().

|
inline |
Definition at line 140 of file schema.h.
Referenced by recSchema::collectFeedback(), recSchema::collectFeedfront(), connectorSchema::collectInputWires(), blockSchema::collectInputWires(), seqSchema::collectInternalWires(), connectorSchema::collectOutputWires(), blockSchema::collectOutputWires(), inverterSchema::draw(), recSchema::draw(), topSchema::draw(), blockSchema::drawInputArrows(), seqSchema::drawInternalWires(), blockSchema::drawOrientationMark(), mergeSchema::place(), parSchema::place(), splitSchema::place(), seqSchema::place(), connectorSchema::placeInputPoints(), blockSchema::placeInputPoints(), connectorSchema::placeOutputPoints(), and blockSchema::placeOutputPoints().

|
pure virtual |
Implemented in blockSchema, connectorSchema, seqSchema, topSchema, decorateSchema, enlargedSchema, mergeSchema, parSchema, recSchema, splitSchema, cableSchema, and cutSchema.
Referenced by seqSchema::collectInternalWires(), mergeSchema::collectTraits(), splitSchema::collectTraits(), recSchema::collectTraits(), enlargedSchema::collectTraits(), decorateSchema::collectTraits(), topSchema::collectTraits(), computeHorzGap(), mergeSchema::draw(), splitSchema::draw(), recSchema::draw(), enlargedSchema::draw(), decorateSchema::draw(), topSchema::draw(), seqSchema::drawInternalWires(), mergeSchema::outputPoint(), parSchema::outputPoint(), splitSchema::outputPoint(), seqSchema::outputPoint(), recSchema::place(), enlargedSchema::place(), and decorateSchema::place().

|
inline |
Definition at line 129 of file schema.h.
Referenced by blockSchema::blockSchema(), seqSchema::collectInternalWires(), connectorSchema::collectOutputWires(), blockSchema::collectOutputWires(), splitSchema::collectTraits(), mergeSchema::collectTraits(), recSchema::collectTraits(), enlargedSchema::collectTraits(), decorateSchema::collectTraits(), topSchema::collectTraits(), seqSchema::collectTraits(), computeHorzGap(), decorateSchema::decorateSchema(), mergeSchema::draw(), splitSchema::draw(), enlargedSchema::draw(), decorateSchema::draw(), topSchema::draw(), seqSchema::draw(), seqSchema::drawInternalWires(), enlargedSchema::enlargedSchema(), makeSeqSchema(), cableSchema::outputPoint(), enlargedSchema::outputPoint(), decorateSchema::outputPoint(), topSchema::outputPoint(), connectorSchema::outputPoint(), blockSchema::outputPoint(), recSchema::place(), enlargedSchema::place(), decorateSchema::place(), connectorSchema::placeOutputPoints(), blockSchema::placeOutputPoints(), recSchema::recSchema(), and seqSchema::seqSchema().

|
pure virtual |
Implemented in blockSchema, connectorSchema, seqSchema, topSchema, decorateSchema, enlargedSchema, mergeSchema, parSchema, recSchema, splitSchema, cableSchema, and cutSchema.
Referenced by computeHorzGap(), mergeSchema::place(), parSchema::place(), splitSchema::place(), recSchema::place(), enlargedSchema::place(), decorateSchema::place(), topSchema::place(), seqSchema::place(), and writeSchemaFile().

|
inline |
Definition at line 137 of file schema.h.
Referenced by mergeSchema::collectTraits(), recSchema::collectTraits(), splitSchema::collectTraits(), enlargedSchema::collectTraits(), decorateSchema::collectTraits(), seqSchema::collectTraits(), topSchema::collectTraits(), recSchema::draw(), splitSchema::draw(), mergeSchema::draw(), enlargedSchema::draw(), decorateSchema::draw(), seqSchema::draw(), connectorSchema::draw(), topSchema::draw(), blockSchema::draw(), enlargedSchema::inputPoint(), decorateSchema::inputPoint(), connectorSchema::inputPoint(), topSchema::inputPoint(), blockSchema::inputPoint(), enlargedSchema::outputPoint(), decorateSchema::outputPoint(), topSchema::outputPoint(), connectorSchema::outputPoint(), and blockSchema::outputPoint().

|
inline |
Definition at line 126 of file schema.h.
Referenced by inverterSchema::draw(), decorateSchema::draw(), topSchema::draw(), blockSchema::drawOrientationMark(), blockSchema::drawRectangle(), blockSchema::drawText(), makeEnlargedSchema(), makeParSchema(), makeRecSchema(), parSchema::parSchema(), recSchema::place(), splitSchema::place(), mergeSchema::place(), enlargedSchema::place(), seqSchema::place(), connectorSchema::placeInputPoints(), blockSchema::placeInputPoints(), connectorSchema::placeOutputPoints(), blockSchema::placeOutputPoints(), recSchema::recSchema(), and writeSchemaFile().

|
inline |
Definition at line 138 of file schema.h.
Referenced by inverterSchema::draw(), decorateSchema::draw(), topSchema::draw(), blockSchema::drawOrientationMark(), blockSchema::drawRectangle(), blockSchema::drawText(), connectorSchema::placeInputPoints(), blockSchema::placeInputPoints(), connectorSchema::placeOutputPoints(), and blockSchema::placeOutputPoints().

|
inline |
Definition at line 139 of file schema.h.
Referenced by inverterSchema::draw(), decorateSchema::draw(), topSchema::draw(), blockSchema::drawOrientationMark(), blockSchema::drawRectangle(), blockSchema::drawText(), connectorSchema::placeInputPoints(), blockSchema::placeInputPoints(), connectorSchema::placeOutputPoints(), and blockSchema::placeOutputPoints().

1.8.7