summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OutputPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-19 00:42:15 +0000
committerDavid Robillard <d@drobilla.net>2006-06-19 00:42:15 +0000
commit4adc4f4a2b4f57f43affcd48f2c01c60f471b20a (patch)
tree48b36e2df65257905fde0141f5301347ca643f24 /src/libs/engine/OutputPort.cpp
parentb1b4335b767f34b41903a85040cd07dabe0f33ec (diff)
downloadingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.tar.gz
ingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.tar.bz2
ingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.zip
Renamed PortBase to TypedPort
git-svn-id: http://svn.drobilla.net/lad/grauph@60 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/OutputPort.cpp')
-rw-r--r--src/libs/engine/OutputPort.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/OutputPort.cpp b/src/libs/engine/OutputPort.cpp
index 6ebdf966..35cb84b4 100644
--- a/src/libs/engine/OutputPort.cpp
+++ b/src/libs/engine/OutputPort.cpp
@@ -22,7 +22,7 @@ namespace Om {
template<typename T>
OutputPort<T>::OutputPort(Node* parent, const string& name, size_t index, size_t poly, DataType type, size_t buffer_size)
-: PortBase<T>(parent, name, index, poly, type, buffer_size)
+: TypedPort<T>(parent, name, index, poly, type, buffer_size)
{
}
template OutputPort<sample>::OutputPort(Node* parent, const string& name, size_t index, size_t poly, DataType type, size_t buffer_size);
@@ -35,11 +35,11 @@ OutputPort<T>::set_tied_port(InputPort<T>* port)
{
assert(!m_is_tied);
assert(m_tied_port == NULL);
- assert(static_cast<PortBase<T>*>(port) != static_cast<PortBase<T>*>(this));
+ assert(static_cast<TypedPort<T>*>(port) != static_cast<TypedPort<T>*>(this));
assert(port != NULL);
m_is_tied = true;
- m_tied_port = (PortBase<T>*)port;
+ m_tied_port = (TypedPort<T>*)port;
}
template void OutputPort<sample>::set_tied_port(InputPort<sample>* port);
template void OutputPort<MidiMessage>::set_tied_port(InputPort<MidiMessage>* port);