From 3dd4b42f3054f819c865e9415c4b86ba78d43aec Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 May 2012 03:56:54 +0000 Subject: "Connection" => "Edge" git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4345 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/InputPort.hpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/server/InputPort.hpp') diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp index 5d7269da..ea52b15e 100644 --- a/src/server/InputPort.hpp +++ b/src/server/InputPort.hpp @@ -26,12 +26,12 @@ #include "raul/SharedPtr.hpp" #include "PortImpl.hpp" -#include "ConnectionImpl.hpp" +#include "EdgeImpl.hpp" namespace Ingen { namespace Server { -class ConnectionImpl; +class EdgeImpl; class Context; class NodeImpl; class OutputPort; @@ -40,10 +40,10 @@ class ProcessContext; /** An input port on a Node or Patch. * * All ports have a Buffer, but the actual contents (data) of that buffer may be - * set directly to the incoming connection's buffer if there's only one inbound - * connection, to eliminate the need to copy/mix. + * set directly to the incoming edge's buffer if there's only one inbound + * edge, to eliminate the need to copy/mix. * - * If a port has multiple connections, they will be mixed down into the local + * If a port has multiple edges, they will be mixed down into the local * buffer and it will be used. * * \ingroup engine @@ -63,13 +63,13 @@ public: virtual ~InputPort() {} - typedef boost::intrusive::slist - > Connections; + > Edges; - void add_connection(ConnectionImpl* c); - ConnectionImpl* remove_connection(ProcessContext& context, - const OutputPort* tail); + void add_edge(EdgeImpl* c); + EdgeImpl* remove_edge(ProcessContext& context, + const OutputPort* tail); bool apply_poly(Raul::Maid& maid, uint32_t poly); @@ -80,9 +80,9 @@ public: void pre_process(Context& context); void post_process(Context& context); - size_t num_connections() const { return _num_connections; } ///< Pre-process thread - void increment_num_connections() { ++_num_connections; } - void decrement_num_connections() { --_num_connections; } + size_t num_edges() const { return _num_edges; } ///< Pre-process thread + void increment_num_edges() { ++_num_edges; } + void decrement_num_edges() { --_num_edges; } bool is_input() const { return true; } bool is_output() const { return false; } @@ -90,8 +90,8 @@ public: bool direct_connect() const; protected: - size_t _num_connections; ///< Pre-process thread - Connections _connections; + size_t _num_edges; ///< Pre-process thread + Edges _edges; }; } // namespace Server -- cgit v1.2.1