summaryrefslogtreecommitdiff
path: root/src/rendernode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rendernode.h')
-rw-r--r--src/rendernode.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/rendernode.h b/src/rendernode.h
new file mode 100644
index 0000000..c5ebdae
--- /dev/null
+++ b/src/rendernode.h
@@ -0,0 +1,20 @@
+#ifndef RENDERNODE_H_
+#define RENDERNODE_H_
+
+#include "node.h"
+#include "visitor.h"
+
+class RenderNode : public AbstractNode
+{
+public:
+ RenderNode(const ModuleInstantiation *mi) : AbstractNode(mi), convexity(1) { }
+ virtual Response accept(class State &state, Visitor &visitor) const {
+ return visitor.visit(state, *this);
+ }
+ virtual std::string toString() const;
+ virtual std::string name() const { return "render"; }
+
+ int convexity;
+};
+
+#endif
contact: Jan Huwald // Impressum