X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FJoins.cti;h=1e77d161f5a00ee80a5095fe56cb1673a5beb3b9;hb=f2f5d59e83863f3b513950173baee1b6da2aee3c;hp=8bb7e0cc0359bef9108d2c49c63131850d5fc26c;hpb=416cdd1c85cdf2669785e93a71426a3206166758;p=senf.git diff --git a/PPI/Joins.cti b/PPI/Joins.cti index 8bb7e0c..1e77d16 100644 --- a/PPI/Joins.cti +++ b/PPI/Joins.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 @@ -48,9 +48,9 @@ senf::ppi::module::PassiveJoin::connect(Source & source) template prefix_ senf::ppi::connector::GenericActiveInput & -senf::ppi::module::PriorityJoin::connect(Source & source) +senf::ppi::module::PriorityJoin::connect(Source & source, int priority) { - connector::GenericActiveInput & input (newInput()); + connector::GenericActiveInput & input (newInput(priority)); ppi::connect(source,input); return input; } @@ -61,17 +61,17 @@ senf::ppi::module::PriorityJoin::connect(Source & source) #ifndef DOXYGEN template -prefix_ senf::ppi::connector::GenericPassiveInput & 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 -prefix_ senf::ppi::connector::GenericActiveInput & 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