X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSetup.cti;h=509bbb112a8ea0099932262f9426841e68bc2044;hb=fd3a0e8ac95d1158e9ea661ddf9187b67c70169f;hp=93048d293f2205e05c9526bc64628f5d78c3bd6a;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/PPI/Setup.cti b/PPI/Setup.cti index 93048d2..509bbb1 100644 --- a/PPI/Setup.cti +++ b/PPI/Setup.cti @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -26,6 +26,7 @@ //#include "Setup.ih" // Custom includes +#include "Jack.hh" #define prefix_ inline ///////////////////////////////cti.p/////////////////////////////////////// @@ -36,7 +37,8 @@ template prefix_ void senf::ppi:: connect(T & source, C & target, typename boost::disable_if< boost::is_base_of >::type *, - typename boost::enable_if< boost::is_base_of >::type *) + typename boost::enable_if< boost::is_base_of >::type *, + typename boost::disable_if< boost::is_base_of >::type *) { connect(source.output, target); } @@ -45,7 +47,8 @@ template prefix_ void senf::ppi:: connect(C & source, T & target, typename boost::enable_if< boost::is_base_of >::type *, - typename boost::disable_if< boost::is_base_of >::type *) + typename boost::disable_if< boost::is_base_of >::type *, + typename boost::disable_if< boost::is_base_of >::type *) { connect(source, target.input); } @@ -54,7 +57,9 @@ template prefix_ void senf::ppi:: connect(T1 & source, T2 & target, typename boost::disable_if< boost::is_base_of >::type *, - typename boost::disable_if< boost::is_base_of >::type *) + typename boost::disable_if< boost::is_base_of >::type *, + typename boost::disable_if< boost::is_base_of >::type *, + typename boost::disable_if< boost::is_base_of >::type *) { connect(source.output, target.input); }