#include <__dd_misc_value.h>
Public Member Functions | |
void | initialize (int initialState=-1, long stateChangeInMillis=0) |
void | checkStatChange (DDChangeStateInfo(*stageChangedCallback)(int currentState)) |
helper class for timing for changing stage; call initialize() to set the initial state and next "stage change" delay (in millis); call checkStateChange() to check if the new state became effective (changed), if so, stageChangedCallback is called to get back next "stage change" info