12345678910111213141516171819202122232425262728 |
- /*===============================================================================
- * CompositeState
- *
- * Change history
- * When Who Comment
- * ---------- ------ ------------------------------------
- * 2006-07-17 RMa Removed incoming event method with highpriority parameter.
- *
- ---------------------------------------------------------------------------------*/
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Wayne.Lib.StateEngine
- {
- /// <summary>
- /// Interface from the State machine to event producers that they can use to
- /// send events to the machine.
- /// </summary>
- public interface IEventConsumer
- {
- /// <summary>
- /// Inject events into the state engine.
- /// </summary>
- /// <param name="stateEngineEvent">The event object that should be sent to the state machine</param>
- void IncomingEvent(Wayne.Lib.StateEngine.StateEngineEvent stateEngineEvent);
- }
- }
|