45 for (
unsigned int i=0; i<n; i++)
fPoint.push_back(
point(0,0));
56 for (
unsigned int i=0; i<
inputs(); i++) {
60 for (
unsigned int i=0; i<
inputs(); i++) {
Simple cables (identity box) in parallel.
virtual void draw(device &dev)
Nothing to draw.
unsigned int outputs() const
const double dWire
distance between two wires
virtual void collectTraits(collector &c)
Nothing to collect.
void beginPlace(double x, double y, int orientation)
virtual void place(double x, double y, int orientation)
Place the communication points vertically spaced by dWire.
unsigned int inputs() const
cableSchema(unsigned int n)
Build n cables in parallel.
An abstract block diagram schema.
schema * makeCableSchema(unsigned int n)
Build n cables in parallel.
virtual point inputPoint(unsigned int i) const
input and output points are the same as the width is 0
virtual point outputPoint(unsigned int i) const
input and output points are the same as the width is 0