The Atm_comparator docs indicate that only by using catchUp=true in threshold() will it result in multiple callback calls. In my testing the value of catchUp doesn't matter. It always issues multiple callbacks when crossing multiple threshold values.
Then I noticed an undocumented "skip()" method in Atm_comparator.cpp. That one does the trick. It seems to do the same as what catchUp=false was intended to accomplish.
The Atm_comparator docs indicate that only by using catchUp=true in threshold() will it result in multiple callback calls. In my testing the value of catchUp doesn't matter. It always issues multiple callbacks when crossing multiple threshold values.
Then I noticed an undocumented "skip()" method in Atm_comparator.cpp. That one does the trick. It seems to do the same as what catchUp=false was intended to accomplish.