Minsky
|
Public Member Functions | |
void | combineInput (double &x, double y) const override |
combine two input wires More... | |
MaxInputPort (Item &item) | |
double | identity () const override |
input port value if no wire attached More... | |
![]() | |
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) | |
![]() | |
bool | input () const override |
true if input port More... | |
InputPort (Item &item) | |
![]() | |
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... | |
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... | |
Definition at line 59 of file operation.cc.
|
inline |
Definition at line 62 of file operation.cc.
|
inlineoverridevirtual |
combine two input wires
x | input to be updated |
y | input to be combined with x |
Reimplemented from minsky::Port.
Definition at line 61 of file operation.cc.
|
inlineoverridevirtual |
input port value if no wire attached
Reimplemented from minsky::Port.
Definition at line 63 of file operation.cc.