diff options
| author | Comment <tim@gray.(none)> | 2013-02-19 23:41:48 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-02-19 23:41:48 +0000 |
| commit | e1fba85c11ccce9a541f9d2f9c7db09658df8260 (patch) | |
| tree | 258177ffc9cb03feec321a0f8960f543aa7d5463 /interfaces02.h | |
| parent | 6dc658df9d43eb66eb168a883c1cf68474015d14 (diff) | |
writing framework
Diffstat (limited to 'interfaces02.h')
| -rw-r--r-- | interfaces02.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/interfaces02.h b/interfaces02.h index 85f2543..9960828 100644 --- a/interfaces02.h +++ b/interfaces02.h @@ -53,16 +53,30 @@ maybe we should look at time in int (frames) - - what does this imply #define ROTOR_RENDERING 3 namespace Rotor { + class Render_status{ + public: + int id; + float progress; + } + class Render_requirements{ + public: + int num_performances; + int num_clips; + } class Render_context{ //Poco thread object //manages access to the 'patchbay' //high level interfaces for the wizard //and low level interface onto the graph public: - int get_status(); - float get_progress(): + Render_status get_status(); void cancel(); //interrupt locking process - int make_preview(int nodeID, float time); //starts a frame preview - how to retrieve? + int make_preview(int nodeID, float time); //starts a frame preview - returns status code - how to retrieve? int load_graph(Poco::UUID uid); + Poco::UUID save_graph(); //returns UUID of saved graph + int load_audio(string filename); + Render_requirements get_requirements(); + int load_video(int num,string filename); //can be performance or clip + private: int status; float progress; //for a locking process: audio analysis or rendering |
