summaryrefslogtreecommitdiffstats
path: root/src/server/EventQueue.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-03 00:42:34 +0000
committerDavid Robillard <d@drobilla.net>2012-05-03 00:42:34 +0000
commit93fb77a658d4d78fc64f3b8b84ed28dd94b3e6f8 (patch)
tree4e6b8e35b3922bd2786f966314b41d86d45754cc /src/server/EventQueue.hpp
parente114ea3254cea61fb97213e18be8bf266bcc1be1 (diff)
downloadingen-93fb77a658d4d78fc64f3b8b84ed28dd94b3e6f8.tar.gz
ingen-93fb77a658d4d78fc64f3b8b84ed28dd94b3e6f8.tar.bz2
ingen-93fb77a658d4d78fc64f3b8b84ed28dd94b3e6f8.zip
More work towards separating event interfaces from queueing implementation.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4318 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/EventQueue.hpp')
-rw-r--r--src/server/EventQueue.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/EventQueue.hpp b/src/server/EventQueue.hpp
index e1adbd6b..a3567574 100644
--- a/src/server/EventQueue.hpp
+++ b/src/server/EventQueue.hpp
@@ -20,6 +20,7 @@
#include "raul/AtomicPtr.hpp"
#include "raul/Slave.hpp"
+#include "EventSink.hpp"
#include "EventSource.hpp"
namespace Ingen {
@@ -32,6 +33,7 @@ class ProcessContext;
/** An EventSource which prepares events in its own thread.
*/
class EventQueue : public EventSource
+ , public EventSink
, public Raul::Slave
{
public:
@@ -44,7 +46,7 @@ public:
inline bool empty() const { return !_head.get(); }
protected:
- void push_queued(Event* const ev);
+ void event(Event* ev);
virtual void _whipped(); ///< Prepare 1 event