aboutsummaryrefslogtreecommitdiff
path: root/GateAnd.h
blob: 4c19836b3b9c4641d3437a52d386dd897dcc944d (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 GateAnd : public Node {
	using Node::Node;

public:
	GateAnd() = default;
	~GateAnd() = default;
	virtual GateAnd * clone() const;

protected:
	SignalLevel level();

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