// $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
// senf::ppi::module::PassiveJoin
template <class Source>
-prefix_ senf::ppi::connector::PassiveInput &
+prefix_ senf::ppi::connector::GenericPassiveInput &
senf::ppi::module::PassiveJoin::connect(Source & source)
{
- connector::PassiveInput & input (newInput());
+ connector::GenericPassiveInput & input (newInput());
ppi::connect(source,input);
return input;
}
// senf::ppi::module::PriorityJoin
template <class Source>
-prefix_ senf::ppi::connector::ActiveInput &
-senf::ppi::module::PriorityJoin::connect(Source & source)
+prefix_ senf::ppi::connector::GenericActiveInput &
+senf::ppi::module::PriorityJoin::connect(Source & source, int priority)
{
- connector::ActiveInput & input (newInput());
+ connector::GenericActiveInput & input (newInput(priority));
ppi::connect(source,input);
return input;
}
///////////////////////////////////////////////////////////////////////////
// namespace members
+#ifndef DOXYGEN
+
template <class Source>
-prefix_ senf::ppi::connector::PassiveInput & senf::ppi::connect(Source & source,
- module::PassiveJoin & target)
+prefix_ senf::ppi::connector::GenericPassiveInput &
+senf::ppi::connect(Source & source, module::PassiveJoin & target)
{
return target.connect(source);
}
template <class Source>
-prefix_ senf::ppi::connector::ActiveInput & senf::ppi::connect(Source & source,
- module::PriorityJoin & target)
+prefix_ senf::ppi::connector::GenericActiveInput &
+senf::ppi::connect(Source & source, module::PriorityJoin & target, int priority)
{
- return target.connect(source);
+ return target.connect(source, priority);
}
+#endif
+
///////////////////////////////cti.e///////////////////////////////////////
#undef prefix_