IEventConsumer.cs 984 B

12345678910111213141516171819202122232425262728
  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. using System;
  11. using System.Collections.Generic;
  12. using System.Text;
  13. namespace Wayne.Lib.StateEngine
  14. {
  15. /// <summary>
  16. /// Interface from the State machine to event producers that they can use to
  17. /// send events to the machine.
  18. /// </summary>
  19. public interface IEventConsumer
  20. {
  21. /// <summary>
  22. /// Inject events into the state engine.
  23. /// </summary>
  24. /// <param name="stateEngineEvent">The event object that should be sent to the state machine</param>
  25. void IncomingEvent(Wayne.Lib.StateEngine.StateEngineEvent stateEngineEvent);
  26. }
  27. }