|
FAUST compiler
0.9.9.6b8
|
Simple cables (identity box) in parallel. More...
#include <cableSchema.h>


Public Member Functions | |
| virtual void | place (double x, double y, int orientation) |
| Place the communication points vertically spaced by dWire. More... | |
| virtual void | draw (device &dev) |
| Nothing to draw. More... | |
| virtual point | inputPoint (unsigned int i) const |
| input and output points are the same as the width is 0 More... | |
| virtual point | outputPoint (unsigned int i) const |
| input and output points are the same as the width is 0 More... | |
| virtual void | collectTraits (collector &c) |
| Nothing to collect. More... | |
Public Member Functions inherited from schema | |
| 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 |
Private Member Functions | |
| cableSchema (unsigned int n) | |
| Build n cables in parallel. More... | |
Private Attributes | |
| vector< point > | fPoint |
Friends | |
| schema * | makeCableSchema (unsigned int n) |
| Build n cables in parallel. More... | |
Simple cables (identity box) in parallel.
The width of a cable is null. Therefore input and output connection points are the same. The constructor is private to enforce the use of makeCableSchema.
Definition at line 34 of file cableSchema.h.
|
private |
Build n cables in parallel.
Definition at line 42 of file cableSchema.cpp.
References fPoint.
|
virtual |
Nothing to collect.
Actual collect will take place when the wires are enlargered
Implements schema.
Definition at line 83 of file cableSchema.cpp.
|
virtual |
Nothing to draw.
Actual drawing will take place when the wires are enlargered
Implements schema.
Definition at line 73 of file cableSchema.cpp.
|
virtual |
input and output points are the same as the width is 0
Implements schema.
Definition at line 90 of file cableSchema.cpp.
References fPoint, and schema::inputs().

|
virtual |
input and output points are the same as the width is 0
Implements schema.
Definition at line 99 of file cableSchema.cpp.
References fPoint, and schema::outputs().

|
virtual |
Place the communication points vertically spaced by dWire.
Implements schema.
Definition at line 52 of file cableSchema.cpp.
References schema::beginPlace(), dWire, schema::endPlace(), fPoint, schema::height(), schema::inputs(), and kLeftRight.

|
friend |
Build n cables in parallel.
Definition at line 32 of file cableSchema.cpp.
|
private |
Definition at line 36 of file cableSchema.h.
Referenced by cableSchema(), inputPoint(), outputPoint(), and place().
1.8.7