aboutsummaryrefslogtreecommitdiff
path: root/GateAnd.h
blob: f3ba3a7bb953cbd9bcf643b0a51ba3d69b5ef227 (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();

	using Node::Node;
	constexpr static const char * type = "and";
	static GateAnd instance;
};