AmEventQueue Class Reference

Asynchronous event queue implementation. More...

#include <AmEventQueue.h>

Inheritance diagram for AmEventQueue:

AmCallWatcher AmDtmfEventQueue AmSession AmB2ABSession AmB2BSession AnnouncementDialog AnnounceTransferDialog AnnRecorderDialog ConferenceDialog DtmfTesterDialog EchoDialog PySemsDialog

Public Member Functions

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

Protected Attributes

AmEventHandlerhandler
std::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 Fri May 16 12:02:07 2008 for SEMS by  doxygen 1.5.1
Home |  Recent changes |  Search |  Glossary |  Sitemap |  Login