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