diff options
author | David Robillard <d@drobilla.net> | 2012-05-11 03:56:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-11 03:56:54 +0000 |
commit | 3dd4b42f3054f819c865e9415c4b86ba78d43aec (patch) | |
tree | 656d152cdffdd9196013fe9f35d46f4cf73c6927 /src/server/PatchImpl.hpp | |
parent | 7be6d5d05756a7dea20c494d56f364b4dc064c88 (diff) | |
download | ingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.tar.gz ingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.tar.bz2 ingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.zip |
"Connection" => "Edge"
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4345 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/PatchImpl.hpp')
-rw-r--r-- | src/server/PatchImpl.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/server/PatchImpl.hpp b/src/server/PatchImpl.hpp index 85b53351..872993ce 100644 --- a/src/server/PatchImpl.hpp +++ b/src/server/PatchImpl.hpp @@ -31,12 +31,12 @@ namespace Ingen { -class Connection; +class Edge; namespace Server { class CompiledPatch; -class ConnectionImpl; +class EdgeImpl; class Context; class Engine; class ProcessContext; @@ -99,11 +99,11 @@ public: void add_node(Nodes::Node* tn); Nodes::Node* remove_node(const Raul::Symbol& symbol); - Nodes& nodes() { return _nodes; } - Connections& connections() { return _connections; } + Nodes& nodes() { return _nodes; } + Edges& edges() { return _edges; } - const Nodes& nodes() const { return _nodes; } - const Connections& connections() const { return _connections; } + const Nodes& nodes() const { return _nodes; } + const Edges& edges() const { return _edges; } uint32_t num_ports() const; @@ -130,12 +130,12 @@ public: Ports::Node* remove_port(const std::string& name); void clear_ports(); - void add_connection(SharedPtr<ConnectionImpl> c); + void add_edge(SharedPtr<EdgeImpl> c); - SharedPtr<ConnectionImpl> remove_connection(const PortImpl* tail, - const PortImpl* head); + SharedPtr<EdgeImpl> remove_edge(const PortImpl* tail, + const PortImpl* head); - bool has_connection(const PortImpl* tail, const PortImpl* head) const; + bool has_edge(const PortImpl* tail, const PortImpl* head) const; CompiledPatch* compiled_patch() { return _compiled_patch; } void compiled_patch(CompiledPatch* cp) { _compiled_patch = cp; } @@ -161,7 +161,7 @@ private: Engine& _engine; uint32_t _internal_poly; CompiledPatch* _compiled_patch; ///< Process thread only - Connections _connections; ///< Pre-process thread only + Edges _edges; ///< Pre-process thread only Ports _inputs; ///< Pre-process thread only Ports _outputs; ///< Pre-process thread only Nodes _nodes; ///< Pre-process thread only |