diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-01-22 17:37:11 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-01-22 17:37:11 +0000 |
| commit | a897d2e0ba7744c818eed46441347cfb4f384613 (patch) | |
| tree | b6f0e686c190657ca878b841d150522efd1387b8 /NT/src/rendercontext.h | |
| parent | a879f37ff944cd7bf502f4e3520b7da3d8faf39b (diff) | |
graph connections working, beginning render context
Diffstat (limited to 'NT/src/rendercontext.h')
| -rw-r--r-- | NT/src/rendercontext.h | 33 |
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 |
