AmEventQueue Class Reference

Asynchronous event queue implementation. More...

#include <AmEventQueue.h>

Inheritance diagram for AmEventQueue:

AmDtmfEventQueue AmSession AmB2BSession AmB2BCalleeSession AmB2BCallerSession

Public Member Functions

 AmEventQueue (AmEventHandler *)
void postEvent (AmEvent *)
void processEvents ()
void waitForEvent ()
void processSingleEvent ()

Protected Attributes

AmEventHandlerhandler
queue< AmEvent * > ev_queue
AmMutex m_queue
AmCondition< bool > ev_pending

Detailed Description

Asynchronous event queue implementation.

This class implements an event queue; a queue into which AmEvent can safely be posted at any time from any thread, which are then processed by the registered event handler.


The documentation for this class was generated from the following files:
Generated on Thu Mar 8 00:12:46 2007 for Sems by  doxygen 1.4.7
Home |  Recent changes |  Search |  Glossary |  Sitemap |  Login