aboutsummaryrefslogtreecommitdiff
path: root/GateOr.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-12 17:21:46 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-12 17:21:46 +0200
commita6eb3c69badee386579fba82cae5b29cfb3e8171 (patch)
treeb394befa733f960fe85323f8a5d12b27bc2b12d3 /GateOr.h
parente689d7947050face22fa1533d9a1cba6d43ea6b8 (diff)
parentd1e381e301bb55432997ff355b5c938e76cd4f20 (diff)
change nothing
Diffstat (limited to 'GateOr.h')
-rw-r--r--GateOr.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/GateOr.h b/GateOr.h
new file mode 100644
index 0000000..de694be
--- /dev/null
+++ b/GateOr.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "Node.h"
+
+class GateOr : public Node {
+public:
+ GateOr() = default;
+ GateOr(const GateOr * prototype);
+ ~GateOr() = default;
+ virtual GateOr * clone() const;
+
+private:
+ SignalLevel level();
+
+ using Node::Node;
+ constexpr static const char * type = "or";
+ static GateOr instance;
+};
+