diff options
author | David Robillard <d@drobilla.net> | 2010-02-03 20:39:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-03 20:39:18 +0000 |
commit | aef3c9348218029a077f40081fd078a9e2ee85ca (patch) | |
tree | b77d6ef50f66004129a03cb0751b653336c50f14 /src/engine/QueuedEngineInterface.hpp | |
parent | 3e495d47f06cca50521076e8f77a966dfec521ab (diff) | |
download | ingen-aef3c9348218029a077f40081fd078a9e2ee85ca.tar.gz ingen-aef3c9348218029a077f40081fd078a9e2ee85ca.tar.bz2 ingen-aef3c9348218029a077f40081fd078a9e2ee85ca.zip |
Responder => Request, and handle EventSource unblocking from Request (simplify Event interfaces).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2417 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/QueuedEngineInterface.hpp')
-rw-r--r-- | src/engine/QueuedEngineInterface.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/QueuedEngineInterface.hpp b/src/engine/QueuedEngineInterface.hpp index 23ab608b..463cdfc3 100644 --- a/src/engine/QueuedEngineInterface.hpp +++ b/src/engine/QueuedEngineInterface.hpp @@ -26,7 +26,7 @@ #include "interface/EngineInterface.hpp" #include "interface/Resource.hpp" #include "EventSource.hpp" -#include "Responder.hpp" +#include "Request.hpp" #include "tuning.hpp" #include "types.hpp" @@ -42,7 +42,7 @@ class Engine; * * Responses occur through the event mechanism (which notified clients in * event post_process methods) and are related to an event by an integer ID. - * If you do not register a responder, you have no way of knowing if your calls + * If you do not register a request, you have no way of knowing if your calls * are successful. */ class QueuedEngineInterface : public EventSource, public Shared::EngineInterface @@ -110,9 +110,9 @@ public: protected: virtual void disable_responses(); - SharedPtr<Responder> _responder; ///< NULL if responding disabled - Engine& _engine; - bool _in_bundle; ///< True iff a bundle is currently being received + SharedPtr<Request> _request; ///< NULL if responding disabled + Engine& _engine; + bool _in_bundle; ///< True iff a bundle is currently being received private: SampleCount now() const; |