summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/GraphObject.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-29 21:39:53 +0000
committerDavid Robillard <d@drobilla.net>2007-09-29 21:39:53 +0000
commitc0af61632938f161dd2e15dec3c5260a3d5427ca (patch)
tree950bcfc1bc1fb232f8244c42504b8da3d5b511f5 /src/libs/engine/GraphObject.hpp
parent85923e8b4f9f1601f008a9120d376d944f2478a2 (diff)
downloadingen-c0af61632938f161dd2e15dec3c5260a3d5427ca.tar.gz
ingen-c0af61632938f161dd2e15dec3c5260a3d5427ca.tar.bz2
ingen-c0af61632938f161dd2e15dec3c5260a3d5427ca.zip
Work towards port monitoring and better (higher utilization) parallel execution.
git-svn-id: http://svn.drobilla.net/lad/ingen@784 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/GraphObject.hpp')
-rw-r--r--src/libs/engine/GraphObject.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/GraphObject.hpp b/src/libs/engine/GraphObject.hpp
index a2cfd5f0..3da9c64f 100644
--- a/src/libs/engine/GraphObject.hpp
+++ b/src/libs/engine/GraphObject.hpp
@@ -27,16 +27,16 @@
#include <raul/Atom.hpp>
#include "types.hpp"
-using std::string;
using Raul::Atom;
using Raul::Path;
-
namespace Raul { class Maid; }
namespace Ingen {
class Patch;
+class ProcessContext;
+
/** An object on the audio graph - Patch, Node, Port, etc.
*
@@ -67,7 +67,7 @@ public:
inline GraphObject* parent() const { return _parent; }
inline const string& name() const { return _name; }
- virtual void process(SampleCount nframes, FrameTime start, FrameTime end) = 0;
+ virtual void process(ProcessContext& events, SampleCount nframes, FrameTime start, FrameTime end) = 0;
/** Rename */
virtual void set_path(const Path& new_path) {
@@ -102,7 +102,7 @@ public:
protected:
GraphObject* _parent;
- string _name;
+ std::string _name;
bool _polyphonic;
private: