diff options
Diffstat (limited to 'src/rendernode.h')
-rw-r--r-- | src/rendernode.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/rendernode.h b/src/rendernode.h new file mode 100644 index 0000000..9138c29 --- /dev/null +++ b/src/rendernode.h @@ -0,0 +1,21 @@ +#ifndef RENDERNODE_H_ +#define RENDERNODE_H_ + +#include "node.h" +#include "visitor.h" +#include <string> + +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 |