aboutsummaryrefslogtreecommitdiff
path: root/NodeOutputVisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'NodeOutputVisitor.h')
-rw-r--r--NodeOutputVisitor.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/NodeOutputVisitor.h b/NodeOutputVisitor.h
new file mode 100644
index 0000000..710711c
--- /dev/null
+++ b/NodeOutputVisitor.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "NodeVisitor.h"
+#include "NodeOutput.h"
+
+class NodeOutputVisitor : public NodeVisitor {
+public:
+ NodeOutputVisitor() = default;
+ virtual ~NodeOutputVisitor() = default;
+
+ virtual void visit(Node & node);
+ virtual void visit(NodeOutput & node);
+
+ bool output_node = false;
+ SignalLevel level = UNDEFINED;
+};
+