simulavr
1.1.0
|
Connect Pins to each other and transfers a output change from a pin to input values for all pins. More...
#include <net.h>
Public Member Functions | |
virtual | ~Net () |
Destructor, disconnects save all pins, which are connected. More... | |
void | Add (Pin *p) |
Add a pin to net, e.g. connect a pin to others. More... | |
virtual void | Delete (Pin *p) |
virtual bool | CalcNet () |
Calculate a "electrical potential" on the net and set all pin inputs with this value. More... | |
Friends | |
void | Pin::RegisterNet (Net *) |
Connect Pins to each other and transfers a output change from a pin to input values for all pins.
|
virtual |
void Net::Add | ( | Pin * | p | ) |
Add a pin to net, e.g. connect a pin to others.
Definition at line 29 of file net.cpp.
References CalcNet(), and Pin::RegisterNet().
|
virtual |
Calculate a "electrical potential" on the net and set all pin inputs with this value.
Definition at line 50 of file net.cpp.
References Pin::SetInState(), and Pin::TRISTATE.
Referenced by Add().
|
friend |