diff options
| author | Comment <tim@gray.(none)> | 2013-02-23 17:01:45 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-02-23 17:01:45 +0000 |
| commit | 35f5f0938c82e9aa9f0c704b1d43dff3209ad567 (patch) | |
| tree | 4e402f0525ba28099e43a7aa8e8a6a8b4aa1d230 /rotord/rotor.h | |
| parent | 6fee126dc8ed8cc7c961c683f17896450dd8de03 (diff) | |
thread server architecture
Diffstat (limited to 'rotord/rotor.h')
| -rwxr-xr-x[-rw-r--r--] | rotord/rotor.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h index 32b0173..b21673b 100644..100755 --- a/rotord/rotor.h +++ b/rotord/rotor.h @@ -76,10 +76,6 @@ using Poco::UUIDGenerator; #define ROTOR_RENDERING 3 namespace Rotor { - class Command{ - //passes a command from the RESTful url to create/ alter a thread - vector<string> packets; - }; //forward declaration class Node; @@ -93,11 +89,19 @@ namespace Rotor { int num_performances; int num_clips; }; - class Render_context: public Poco::Runnable{ //Poco thread object + class Render_context: public Poco::Runnable{ //Poco thread object //manages a 'patchbay' //high level interfaces for the wizard //and low level interface onto the graph public: + void run() { + printf("Rotor: starting thread\n"); + while (1) sleep(1); + + } + ~Render_context() { + printf("Rotor: stopping thread\n"); + } Render_status get_status(); void cancel(); //interrupt locking process int make_preview(int nodeID, float time); //starts a frame preview - returns status code - how to retrieve? |
