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

public:
	SignalLevel level();

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