Esempio n. 1
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="eventListener">The EventListener to receive events</param>
		/// <param name="events">The event queue to pull events from</param>
		/// <param name="autostop">Set to true to stop pump after RunFinished</param>
		public EventPump( EventListener eventListener, EventQueue events, bool autostop)
		{
			this.eventListener = eventListener;
			this.events = events;
            this.events.SetWaitHandleForSynchronizedEvents(this.synchronousEventSent);
            this.autostop = autostop;
		}
Esempio n. 2
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="eventListener">The EventListener to receive events</param>
		/// <param name="events">The event queue to pull events from</param>
		/// <param name="autostop">Set to true to stop pump after RunFinished</param>
		public EventPump( EventListener eventListener, EventQueue events, bool autostop)
		{
			this.eventListener = eventListener;
			this.events = events;
			this.autostop = autostop;
		}
Esempio n. 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="eventListener">The EventListener to receive events</param>
 /// <param name="events">The event queue to pull events from</param>
 /// <param name="autostop">Set to true to stop pump after RunFinished</param>
 public EventPump(EventListener eventListener, EventQueue events, bool autostop)
 {
     this.eventListener = eventListener;
     this.events        = events;
     this.autostop      = autostop;
 }