X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSetup.cti;h=ca6e672f5b40a70afd5aa6db2159f07972f2a62e;hb=1a29b75bf774444ec182dfff8480a0c53597bf85;hp=b32b906a3abdcafe724b2ba63878b9c7e45e0861;hpb=69535909437d04c0df8f95bfb242db4f36fda12d;p=senf.git diff --git a/PPI/Setup.cti b/PPI/Setup.cti index b32b906..ca6e672 100644 --- a/PPI/Setup.cti +++ b/PPI/Setup.cti @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// 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); }