aboutsummaryrefslogtreecommitdiff
path: root/GateAnd.h
blob: df456dd0a722777f25a5af74482bd8b8d52bf8af (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 {
public:
	GateAnd() = default;
	~GateAnd() = default;
	virtual GateAnd * clone() const;

protected:
	SignalLevel level();

	using Node::Node;

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