diff options
author | David Robillard <d@drobilla.net> | 2011-01-08 05:20:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-08 05:20:34 +0000 |
commit | 79fceb7b387cf45deab770a12f116493a24e5350 (patch) | |
tree | 7c12f6103b4772622cf10d18039b08655d0986b3 /src/engine/MessageContext.hpp | |
parent | e1f6dcf7dca9363f901cd96fc389e03f4cf75e12 (diff) | |
download | ingen-79fceb7b387cf45deab770a12f116493a24e5350.tar.gz ingen-79fceb7b387cf45deab770a12f116493a24e5350.tar.bz2 ingen-79fceb7b387cf45deab770a12f116493a24e5350.zip |
Support "request run" feature from contexts extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2791 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/MessageContext.hpp')
-rw-r--r-- | src/engine/MessageContext.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/MessageContext.hpp b/src/engine/MessageContext.hpp index a33f8836..1eb92ff5 100644 --- a/src/engine/MessageContext.hpp +++ b/src/engine/MessageContext.hpp @@ -31,7 +31,7 @@ namespace Ingen { -class PortImpl; +class NodeImpl; /** Context of a message_run() call. * @@ -55,16 +55,16 @@ public: Thread::set_context(THREAD_MESSAGE); } - /** Schedule a port value change at a certain time. + /** Schedule a message context run at a certain time. * Safe to call from either process thread or pre-process thread. */ - void run(PortImpl* port, FrameTime time); + void run(NodeImpl* node, FrameTime time); protected: struct Request { - Request(FrameTime t=0, PortImpl* p=0) : time(t), port(p) {} + Request(FrameTime t=0, NodeImpl* n=0) : time(t), node(n) {} FrameTime time; - PortImpl* port; + NodeImpl* node; }; public: |