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

#include "Node.h"

class GateAnd : public Node {
public:
	GateAnd() = default;
	GateAnd(const GateAnd * prototype);
	~GateAnd() = default;
	virtual GateAnd * clone() const;

private:
	SignalLevel level();

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