Home |
Windowing Interface Terminology Event Driven Programming |
Event Driven ProgrammingRTPEG-32 is message-driven, which may also be called event-driven. This means that real processing is only done in response to messages received from the outside world. No callbacks are used. One PEG object can communicate easily with another without worrying about how to physically address that object. PegPresentationManager supplies the overall control of RTPEG-32 applications. PegPresentationManager::Execute() (called by PegExecute) is the main execution loop for the GUI interface. In multithreaded programs, other threads can run in parallel to PegPresentationManager::Execute(). PegPresentationManager::Execute() blocks itself on the internal message queue when no further messages are available for processing.
|