From e1fba85c11ccce9a541f9d2f9c7db09658df8260 Mon Sep 17 00:00:00 2001 From: Comment Date: Tue, 19 Feb 2013 23:41:48 +0000 Subject: writing framework --- interfaces02.h | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'interfaces02.h') 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 -- cgit v1.2.3