/*===============================================================================
 * CompositeState
 * 
 * Change history
 * When         Who     Comment
 * ----------   ------  ------------------------------------
 * 2006-07-17   RMa     Removed incoming event method with highpriority parameter.
 * 
---------------------------------------------------------------------------------*/

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);
    }
}