Interface InterpreterResultEventEmitter

All Known Implementing Classes:
InterpreterResultListenerDispatch

public interface InterpreterResultEventEmitter
This interface can be used to inform interpreter listeners about events which occur during simulation. If events are to be emitted, an implementation of this emitter should be provided by the DI framework as parameter to the interpreter constructor.
  • Method Details

    • emitInterpretationFinished

      void emitInterpretationFinished(InterpretableLocationReference interpretableLocation, InterpreterResult result, InterpreterDefaultContext context)
      Inform the listeners, that the interpretation of the referenced element has finished and yielded a particular result.
      Parameters:
      interpretableLocation - an EntityReference which represents the interpreted simulation element.
      result - the result of the interpretation
      context - the current interpretation context