MultiTimer Array Size


Hi Jules,

Would it be possible to have access to the MultiTimerCallback array size?
For starting and stopping all timers at the same time

Allowing this sort of thing:

for (int i = 0; i < getNumTimers(); i++) stopTimer(i);

I realise this is a very minor feature request, but hopefully I’m not the only one who would benefit


Also thanks so much for adding in the directoryIterator wildcard stuff so quickly, it was much appreciated


Not a good idea… The whole MultiTimer class is pretty bogus anyway, and as soon as everyone has C++11 I’ll replace it with something that’s lambda-based instead.

And I think that if you’re even asking a question like this, then you probably need to think again about your design… Trying to use the MulitTimer as the container that keeps track of whatever objects you’re using sounds like a bad plan to me.