aboutsummaryrefslogtreecommitdiff
path: root/GateNot.h
blob: b87f598c3ea22e16392391f495df47b1ce41b90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "Node.h"

class GateNot : public Node {
	using Node::Node;

public:
	// \note max_inputs is overwritten here
	GateNot();
	virtual ~GateNot() = default;
	virtual GateNot * clone() const;

public:
	SignalLevel level();

private:
	GateNot(const GateNot * prototype);
	constexpr static const char * type = "not";
	static GateNot instance;
};