|
FAUST compiler
0.9.9.6b8
|
Terminate a cable (cut box) More...
#include <cutSchema.h>


Public Member Functions | |
| virtual void | place (double x, double y, int orientation) |
| The input point is placed in the middle. More... | |
| virtual void | draw (device &dev) |
| A cut is represented by a small black dot. More... | |
| virtual point | inputPoint (unsigned int i) const |
| By definition a Cut has only one input point. More... | |
| virtual point | outputPoint (unsigned int i) const |
| By definition a Cut has no output point. More... | |
| virtual void | collectTraits (collector &c) |
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 | |
| cutSchema () | |
| A Cut is represented by a small black dot. More... | |
Private Attributes | |
| point | fPoint |
Friends | |
| schema * | makeCutSchema () |
| Creates a new Cut schema. More... | |
Terminate a cable (cut box)
Definition at line 32 of file cutSchema.h.
|
private |
A Cut is represented by a small black dot.
It has 1 input and no outputs. It has a 0 width and a 1 wire height. The constructor is private in order to enforce the usage of makeCutSchema.
Definition at line 45 of file cutSchema.cpp.
|
virtual |
|
virtual |
A cut is represented by a small black dot.
Implements schema.
Definition at line 64 of file cutSchema.cpp.
|
virtual |
By definition a Cut has only one input point.
Implements schema.
Definition at line 75 of file cutSchema.cpp.
References fPoint.
|
virtual |
By definition a Cut has no output point.
Implements schema.
Definition at line 84 of file cutSchema.cpp.
|
virtual |
The input point is placed in the middle.
Implements schema.
Definition at line 53 of file cutSchema.cpp.
References schema::beginPlace(), schema::endPlace(), fPoint, and schema::height().

|
friend |
Creates a new Cut schema.
Definition at line 33 of file cutSchema.cpp.
|
private |
Definition at line 34 of file cutSchema.h.
Referenced by inputPoint(), and place().
1.8.7