blob: ea7a8c119fb90e74be105acdc6bfdbb0b1dac6eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|