blob: 55fd9ce6e89f0b3e1303bec1ed0f4c5d1d8f6702 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "Node.h"
class GateNot : public Node {
public:
GateNot() = default;
GateNot(const GateNot * prototype);
~GateNot() = default;
virtual GateNot * clone() const;
private:
SignalLevel level();
using Node::Node;
constexpr static const char * type = "Not";
static GateNot instance;
private:
int min_inputs = 1;
int max_inputs = 1;
};
|