summaryrefslogtreecommitdiff
path: root/NT/src/rendercontext.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2014-01-22 17:37:11 +0000
committerTim Redfern <tim@eclectronics.org>2014-01-22 17:37:11 +0000
commita897d2e0ba7744c818eed46441347cfb4f384613 (patch)
treeb6f0e686c190657ca878b841d150522efd1387b8 /NT/src/rendercontext.h
parenta879f37ff944cd7bf502f4e3520b7da3d8faf39b (diff)
graph connections working, beginning render context
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