IEventQueue::ClearAllEvents

voidIEventQueue::ClearAllEvents(void)

Remove all events from the queue without dispatching them

Defined in: EventQueue.h

Return Value

void

Comments

This function clears out the queue without dispatching any of the events.

Class Members

virtual bool QueueEvent(IEvent* pIEvent, const UINT nPriority)

Place an event in the queue and assign it a priority.

virtual bool DispatchEvent(IEventRouter* pIEventRouter)

Remove next event from the queue and send it to an event router.

virtual void ClearAllEvents()

Remove all events from the queue without dispatching them.