src_legacy/2017/PoiActionRunner.cpp
// generic method to set current handler to passed in handler, display and start timer
generic method to set current handler to passed in handler, display and start timer
generic method to set current handler to passed in handler display and start timer
void PoiActionRunner::_currentHandlerStart(AbstractHandler* handler, 
  PoiAction action){
  _currentAction = action;  
  _currentHandler = handler;
  if (_logLevel != MUTE) {
    printf("Starting action %s:\n", _currentHandler->getActionName());
    _currentHandler->printInfo();
  }
  _ptimer.disable();
  _display(_currentHandler->getDisplayFrame());
  _ptimer.setIntervalAndEnable( _currentHandler->getDelayMs() );
}
void PoiActionRunner :: _currentHandlerStart ( AbstractHandler * handler , PoiAction action ) { _currentAction = action ; _currentHandler = handler ; if ( _logLevel != MUTE ) { printf ( " \n " , _currentHandler -> getActionName ( ) ) ; _currentHandler -> printInfo ( ) ; } _ptimer . disable ( ) ; _display ( _currentHandler -> getDisplayFrame ( ) ) ; _ptimer . setIntervalAndEnable ( _currentHandler -> getDelayMs ( ) ) ; }
generic method to set current handler to passed in handler, display and start timer
generic method to set current handler to passed in handler display and start timer
// play initial frame right away