restructure and add ipi texs

This commit is contained in:
2019-11-06 18:24:04 +01:00
parent e21da561fc
commit 8fd8d2a485
155 changed files with 129 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
class Fork : public Circuit {
public:
// Konstruktor
Fork ();
// default destructor ist OK
~Fork ();
// Eingang wechselt zur aktuellen Zeit den Zustand
virtual void ChangeInput (State s, int pin);
// berechne Gatter neu und benachrichtige Draht
// am Ausgang
virtual void Action ();
// verdrahte Eingang
virtual void ConnectInput (Wire& w, int pin);
// verdrahte Ausgang
virtual void ConnectOutput (Wire& w, int pin);
private:
Wire* a; // Eingang
Wire* b; // Ausgang 1
Wire* c; // Ausgang 2
} ;