summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/PostProcessor.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-08 03:58:00 +0000
committerDavid Robillard <d@drobilla.net>2006-09-08 03:58:00 +0000
commit48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa (patch)
tree9da4b4b075791ac1ec78b499dbcbec6101f54690 /src/libs/engine/PostProcessor.h
parentacbe9a26ec3ab689e430225d15e95e73a7378aa9 (diff)
downloadingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.tar.gz
ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.tar.bz2
ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.zip
De-singleton-ified Engine
Slight rework of Responder/ClientKey/ClientInterface for Requests git-svn-id: http://svn.drobilla.net/lad/ingen@119 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/PostProcessor.h')
-rw-r--r--src/libs/engine/PostProcessor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/engine/PostProcessor.h b/src/libs/engine/PostProcessor.h
index 2ae8f28b..e29175ee 100644
--- a/src/libs/engine/PostProcessor.h
+++ b/src/libs/engine/PostProcessor.h
@@ -20,9 +20,10 @@
#include <pthread.h>
#include "types.h"
#include "util/Queue.h"
-#include "util/Semaphore.h"
#include "Slave.h"
+class Maid;
+
namespace Ingen {
class Event;
@@ -39,7 +40,7 @@ class Event;
class PostProcessor : public Slave
{
public:
- PostProcessor(size_t queue_size);
+ PostProcessor(Maid& maid, size_t queue_size);
/** Push an event on to the process queue, realtime-safe, not thread-safe. */
inline void push(Event* const ev) { _events.push(ev); }
@@ -49,6 +50,7 @@ private:
PostProcessor(const PostProcessor&);
PostProcessor& operator=(const PostProcessor&);
+ Maid& _maid;
Queue<Event*> _events;
virtual void _whipped();
};