// $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 <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
//#include "Setup.ih"
// Custom includes
+#include "Jack.hh"
#define prefix_ inline
///////////////////////////////cti.p///////////////////////////////////////
prefix_ void senf::ppi::
connect(T & source, C & target,
typename boost::disable_if< boost::is_base_of<connector::Connector, T> >::type *,
- typename boost::enable_if< boost::is_base_of<connector::Connector, C> >::type *)
+ typename boost::enable_if< boost::is_base_of<connector::Connector, C> >::type *,
+ typename boost::disable_if< boost::is_base_of<connector::Jack, T> >::type *)
{
connect(source.output, target);
}
prefix_ void senf::ppi::
connect(C & source, T & target,
typename boost::enable_if< boost::is_base_of<connector::Connector, C> >::type *,
- typename boost::disable_if< boost::is_base_of<connector::Connector,T> >::type *)
+ typename boost::disable_if< boost::is_base_of<connector::Connector,T> >::type *,
+ typename boost::disable_if< boost::is_base_of<connector::Jack, T> >::type *)
{
connect(source, target.input);
}
prefix_ void senf::ppi::
connect(T1 & source, T2 & target,
typename boost::disable_if< boost::is_base_of<connector::Connector, T1> >::type *,
- typename boost::disable_if< boost::is_base_of<connector::Connector, T2> >::type *)
+ typename boost::disable_if< boost::is_base_of<connector::Connector, T2> >::type *,
+ typename boost::disable_if< boost::is_base_of<connector::Jack, T1> >::type *,
+ typename boost::disable_if< boost::is_base_of<connector::Jack, T2> >::type *)
{
connect(source.output, target.input);
}