blob: 046cd7289ae95ae6f3da051c51cf5cbdac456f37 (
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
|
#include "NodeInput.h"
NodeInput::NodeInput(const char * type) : Node(type) { }
void NodeInput::compare() {
if (this->output == nullptr) return;
this->output->setLevel(this->level);
}
NodeInput::NodeInput(const NodeInput * prototype) : Node() { }
NodeInput * NodeInput::clone() const {
return new NodeInput(this);
}
// INPUT_LOW
NodeInputLow NodeInputLow::instance(NodeInputLow::type);
NodeInputLow::NodeInputLow(const char * type) : NodeInput() { }
// NodeInputLow::NodeInputLow(const NodeInputLow * prototype) : NodeInput() { }
// // INPUT_HIGH
// NodeInputHigh NodeInputHigh::instance(NodeInputHigh::type);
// NodeInputHigh::NodeInputHigh(const char * type) : NodeInput(type) { }
// NodeInputHigh::NodeInputHigh(const NodeInputHigh * prototype) : NodeInput() { }
|