IEventConsumer.cs 917 B

12345678910111213141516171819202122232425
  1. /*===============================================================================
  2. * CompositeState
  3. *
  4. * Change history
  5. * When Who Comment
  6. * ---------- ------ ------------------------------------
  7. * 2006-07-17 RMa Removed incoming event method with highpriority parameter.
  8. *
  9. ---------------------------------------------------------------------------------*/
  10. namespace Wayne.Lib.StateEngine
  11. {
  12. /// <summary>
  13. /// Interface from the State machine to event producers that they can use to
  14. /// send events to the machine.
  15. /// </summary>
  16. public interface IEventConsumer
  17. {
  18. /// <summary>
  19. /// Inject events into the state engine.
  20. /// </summary>
  21. /// <param name="stateEngineEvent">The event object that should be sent to the state machine</param>
  22. void IncomingEvent(Wayne.Lib.StateEngine.StateEngineEvent stateEngineEvent);
  23. }
  24. }