git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1785
270642c3-0616-0410-b53a-bc976706d245
return tmp;
}
+template<typename IdType>
+prefix_ unsigned senf::scheduler::TimerEventProxy<IdType>::numEvents()
+ const
+{
+ return entrySetByTimeout.size();
+}
+
//-/////////////////////////////////////////////////////////////////////////////////////////////////
#undef prefix_
ClockService::clock_type timeout(IdType const & id) const;
///< Returns timeout for given id
/**< if no timer for this id is registered \a 0 is returned. */
+
+ unsigned numEvents() const; ///< Returns the number of pending timer events
+
private:
#ifndef DOXYGEN
struct Entry {