blob: a106319c03c2617ce1242a7fc23253d321f43951 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "NodeInput.h"
#include "prut.h"
NodeInputLow NodeInputLow::instance(NodeInputLow::type);
NodeInputHigh NodeInputHigh::instance(NodeInputHigh::type);
NodeInput::NodeInput() {
this->min_inputs = -1;
this->max_inputs = 0;
}
NodeInputLow * NodeInputLow::clone() const {
return new NodeInputLow(this);
}
SignalLevel NodeInputLow::level() { return LOW; }
NodeInputHigh * NodeInputHigh::clone() const {
return new NodeInputHigh(this);
}
SignalLevel NodeInputHigh::level() { return HIGH; }
|