X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FScheduler.cti;h=1404615f900beb7a8bc746fe5d43d57541d6a532;hb=56cc32ae48cac37909d4a3019c2e7b1729fc3ccd;hp=d263e4ab3e56afe1847cd516da48f8713c46d60b;hpb=31d85cd6b8e03c5ecc924ca8892906be1bab702f;p=senf.git diff --git a/Scheduler/Scheduler.cti b/Scheduler/Scheduler.cti index d263e4a..1404615 100644 --- a/Scheduler/Scheduler.cti +++ b/Scheduler/Scheduler.cti @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// 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 // it under the terms of the GNU General Public License as published by @@ -33,14 +33,10 @@ ///////////////////////////////cti.p/////////////////////////////////////// template -prefix_ void senf::Scheduler::add(Handle const & handle, - typename GenericCallback::Callback const & cb, - int eventMask) +prefix_ void senf::Scheduler::add(Handle const & handle, FdCallback const & cb, int eventMask) { // retrieve_filehandle is found via ADL - SimpleCallback scb (boost::bind(cb,handle,_1)); - int fd = retrieve_filehandle(handle); - do_add(fd,scb,eventMask); + do_add(retrieve_filehandle(handle),cb,eventMask); } template @@ -61,4 +57,5 @@ prefix_ void senf::Scheduler::remove(Handle const & handle, int eventMask) // indent-tabs-mode: nil // ispell-local-dictionary: "american" // compile-command: "scons -u test" +// comment-column: 40 // End: