diff options
Diffstat (limited to 'GateOr.h')
-rw-r--r-- | GateOr.h | 19 |
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; +}; + |