aboutsummaryrefslogtreecommitdiff
path: root/NodeInput.cpp
blob: 2d1d517477c3b1c065dab16b721364519d4fc2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "NodeInput.h"
#include "prut.h"

#include <iostream>

NodeInputLow NodeInputLow::instance(NodeInputLow::type);
NodeInputHigh NodeInputHigh::instance(NodeInputHigh::type);

NodeInput::NodeInput(const NodeInput * prototype) : Node() { }

NodeInput * NodeInput::clone() const {
	return new NodeInput(this);
}

SignalLevel NodeInput::level() {
	prutprint("");
	return UNDEFINED;
}
SignalLevel NodeInputLow::level() {
	prutprint("");
	return LOW;
}
SignalLevel NodeInputHigh::level() {
	prutprint("");
	return HIGH;
}