|
Minsky: 3.17.0
|
#include <port.h>


Public Member Functions | |
| bool | multiWireAllowed () const override |
| true if multiple wires are allowed to connect to an input port, such as an input port of an add operation. Irrelevant, otherwise More... | |
| MultiWireInputPort (Item &item) | |
Public Member Functions inherited from minsky::InputPort | |
| bool | input () const override |
| true if input port More... | |
| InputPort (Item &item) | |
Public Member Functions inherited from minsky::Port | |
| std::vector< Wire * > const & | wires () const |
| returns a vector of weak references to the wires attached to this port More... | |
| std::size_t | numWires () const |
| void | eraseWire (Wire *) |
| remove wire from wires. No ownership passed. More... | |
| void | deleteWires () |
| delete all attached wires More... | |
| virtual void | combineInput (double &x, double y) const |
| combine two input wires More... | |
| virtual double | identity () const |
| input port value if no wire attached More... | |
| float | x () const |
| float | y () const |
| void | moveTo (float x, float y) |
| Port (Item &item) | |
| ~Port () | |
| double | value () const |
| value associated with this port More... | |
| Units | units (bool) const |
| Units | checkUnits () const |
| dimensional analysis with consistency check More... | |
| Item & | item () |
| owner of this port More... | |
| const Item & | item () const |
| owner of this port More... | |
|
inline |
|
inlineoverridevirtual |
true if multiple wires are allowed to connect to an input port, such as an input port of an add operation. Irrelevant, otherwise
Reimplemented from minsky::Port.