X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FScheduler.cti;h=1404615f900beb7a8bc746fe5d43d57541d6a532;hb=56cc32ae48cac37909d4a3019c2e7b1729fc3ccd;hp=be4196168cbb64208eceb587bb06c5f94c0b365b;hpb=1835b928b179302ecb716d697fbf3fa24b415ba4;p=senf.git diff --git a/Scheduler/Scheduler.cti b/Scheduler/Scheduler.cti index be41961..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 +// Copyright (C) 2006 +// 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 @@ -20,7 +20,9 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Definition of inline template functions +/** \file + \brief Scheduler inline template implementation + */ //#include "Scheduler.ih" @@ -31,16 +33,14 @@ ///////////////////////////////cti.p/////////////////////////////////////// template -prefix_ void satcom::lib::Scheduler::add(Handle const & handle, - typename GenericCallback::Callback const & cb, - EventId eventMask) +prefix_ void senf::Scheduler::add(Handle const & handle, FdCallback const & cb, int eventMask) { // retrieve_filehandle is found via ADL - do_add(retrieve_filehandle(handle),boost::bind(cb,handle,_1),eventMask); + do_add(retrieve_filehandle(handle),cb,eventMask); } template -prefix_ void satcom::lib::Scheduler::remove(Handle const & handle, EventId eventMask) +prefix_ void senf::Scheduler::remove(Handle const & handle, int eventMask) { // retrieve_filehandle is found via ADL do_remove(retrieve_filehandle(handle),eventMask); @@ -52,5 +52,10 @@ prefix_ void satcom::lib::Scheduler::remove(Handle const & handle, EventId event // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: