summaryrefslogtreecommitdiff
path: root/NT/src/rendercontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'NT/src/rendercontext.h')
-rw-r--r--NT/src/rendercontext.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/NT/src/rendercontext.h b/NT/src/rendercontext.h
new file mode 100644
index 0000000..ea7a8c1
--- /dev/null
+++ b/NT/src/rendercontext.h
@@ -0,0 +1,33 @@
+#ifndef RENDERCONTEXT_H
+#define RENDERCONTEXT_H
+
+/*------------------------
+
+Render context manages a rotor graph as a web service, and renders out linear movies
+
+
+TJR Jan 2014
+
+-------------------------*/
+
+#include "Poco/Task.h"
+
+#include "rotor.h"
+#include "graph.h"
+
+
+namespace Rotor {
+ class Render_context: public Poco::Task {
+ public:
+ Render_context(const std::string& id): Task(id) {
+ graph.init(id);
+ }
+ private:
+ Graph graph;
+ };
+
+};
+
+
+
+#endif //RENDERCONTEXT_H \ No newline at end of file