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

#include "Node.h"

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

private:
	SignalLevel level();

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