diff options
author | David Robillard <d@drobilla.net> | 2007-04-08 06:04:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-08 06:04:32 +0000 |
commit | e96c36c1a7abb062e36efc0ac95c35fedcef922e (patch) | |
tree | 826d5caa0392201472d12c02a1c3df4cf7b275be /src/libs/engine/OutputPort.h | |
parent | 7d69e89f22304e37fa325ce4f39a374a02072a69 (diff) | |
download | ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.gz ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.bz2 ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.zip |
De-template-ification of port types (req. for LV2 MIDI, but nice code size reduction).
LV2 MIDI patching support (LV2 style MIDI throughout, inc. internal plugins).
git-svn-id: http://svn.drobilla.net/lad/ingen@415 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/OutputPort.h')
-rw-r--r-- | src/libs/engine/OutputPort.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/libs/engine/OutputPort.h b/src/libs/engine/OutputPort.h index 6c029850..10118076 100644 --- a/src/libs/engine/OutputPort.h +++ b/src/libs/engine/OutputPort.h @@ -20,13 +20,11 @@ #include <string> #include <cstdlib> -#include "TypedPort.h" +#include "Port.h" #include "types.h" namespace Ingen { -template <typename T> class InputPort; - /** An output port. * @@ -39,14 +37,16 @@ template <typename T> class InputPort; * * \ingroup engine */ -template <typename T> -class OutputPort : virtual public TypedPort<T> +class OutputPort : virtual public Port { public: - OutputPort(Node* parent, const string& name, - size_t index, size_t poly, - DataType type, size_t buffer_size) - : TypedPort<T>(parent, name, index, poly, type, buffer_size) + OutputPort(Node* parent, + const string& name, + size_t index, + size_t poly, + DataType type, + size_t buffer_size) + : Port(parent, name, index, poly, type, buffer_size) {} virtual ~OutputPort() {} @@ -56,8 +56,6 @@ public: }; -template class OutputPort<Sample>; - } // namespace Ingen #endif // OUTPUTPORT_H |