summaryrefslogtreecommitdiff
path: root/rotord
diff options
context:
space:
mode:
Diffstat (limited to 'rotord')
-rw-r--r--rotord/src/graph.h6
-rw-r--r--rotord/src/rendercontext.h7
-rwxr-xr-xrotord/src/rotor.h6
3 files changed, 17 insertions, 2 deletions
diff --git a/rotord/src/graph.h b/rotord/src/graph.h
index 2b2b8d0..df6564d 100644
--- a/rotord/src/graph.h
+++ b/rotord/src/graph.h
@@ -3,6 +3,12 @@
#include "rotor.h"
+/*------------------------
+
+Graph is an instance of a rotor renderer
+
+-------------------------*/
+
namespace Rotor {
class Graph{
public:
diff --git a/rotord/src/rendercontext.h b/rotord/src/rendercontext.h
index 8542bf1..d7d220e 100644
--- a/rotord/src/rendercontext.h
+++ b/rotord/src/rendercontext.h
@@ -7,6 +7,12 @@
#include "rotor.h"
#include "graph.h"
+/*------------------------
+
+Render context packages the management of a rotor graph as a web service
+
+-------------------------*/
+
namespace Rotor {
#define IDLE 0
#define ANALYSING_AUDIO 1
@@ -69,7 +75,6 @@ namespace Rotor {
void add_queue(Session_task item);
void session_command(const Session_command& command,xmlIO& XML,Poco::Net::HTTPResponse::HTTPStatus& status);
void cancel(); //interrupt locking process
- int make_preview(int nodeID, float time); //starts a frame preview - returns status code - how to retrieve?
Render_status get_render_status(const string &uid){
//cerr<<"render status requested: "<<uid<<" status: "<<renders[uid].status<<endl;
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index 3eb3fe6..b504e5f 100755
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -1,7 +1,11 @@
#ifndef ROTOR_H
#define ROTOR_H
-//definitions of base classes and types for rendering graph
+/*------------------------
+
+Definitions of base classes and types for rotor rendering graph
+
+-------------------------*/
#include <unordered_map>
#include <deque>