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 Summary
Modifier and TypeMethodDescriptionvoid
emitInterpretationFinished
(InterpretableLocationReference interpretableLocation, InterpreterResult result, InterpreterDefaultContext context) Inform the listeners, that the interpretation of the referenced element has finished and yielded a particular result.
-
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
- anEntityReference
which represents the interpreted simulation element.result
- the result of the interpretationcontext
- the current interpretation context
-