Using timer interrupts in a library

An ISR has to address static things. It can't know about instance A or instance B. So you might need a "helper" function or something that can resolve exactly which instance of the class you want to affect.