summaryrefslogtreecommitdiffstats
path: root/src/server/Engine.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-11 15:21:25 +0200
committerDavid Robillard <d@drobilla.net>2016-09-11 15:21:25 +0200
commitf3546d49dbd2d673138387a87bc523c26dcece68 (patch)
treeede285a773fc565205f82a2b0a62ebba6ea552e0 /src/server/Engine.hpp
parentfb2744d4265d26fb98b19689b50d127f32c66eab (diff)
downloadingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.gz
ingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.bz2
ingen-f3546d49dbd2d673138387a87bc523c26dcece68.zip
Remove last vestiges of multiple run contexts
Diffstat (limited to 'src/server/Engine.hpp')
-rw-r--r--src/server/Engine.hpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/server/Engine.hpp b/src/server/Engine.hpp
index 37c3c713..82cbcdfb 100644
--- a/src/server/Engine.hpp
+++ b/src/server/Engine.hpp
@@ -27,7 +27,7 @@
#include "ingen/types.hpp"
#include "Event.hpp"
-#include "ProcessContext.hpp"
+#include "RunContext.hpp"
namespace Raul { class Maid; }
@@ -49,7 +49,7 @@ class GraphImpl;
class LV2Options;
class PostProcessor;
class PreProcessor;
-class ProcessContext;
+class RunContext;
class SocketListener;
class UndoStack;
class Worker;
@@ -96,10 +96,6 @@ public:
/** Process events (process thread only). */
unsigned process_events();
- bool is_process_context(const Context& context) const {
- return &context == &_process_context;
- }
-
Ingen::World* world() const { return _world; }
EventWriter* interface() const { return _event_writer; }
@@ -118,7 +114,7 @@ public:
Worker* worker() const { return _worker; }
Worker* sync_worker() const { return _sync_worker; }
- ProcessContext& process_context() { return _process_context; }
+ RunContext& run_context() { return _run_context; }
SPtr<Store> store() const;
@@ -145,7 +141,7 @@ private:
Worker* _sync_worker;
SocketListener* _listener;
- ProcessContext _process_context;
+ RunContext _run_context;
std::mt19937 _rand_engine;
std::uniform_real_distribution<float> _uniform_dist;