Concrete Python  git-339c971
Public Member Functions
EventLoop Class Reference

#include <concrete/event.hpp>

+ Inheritance diagram for EventLoop:
+ Collaboration diagram for EventLoop:

List of all members.

Public Member Functions

virtual void wait (const EventTrigger &trigger, EventCallback *callback)=0

Detailed Description

I/O event dispatch mechanism interface.


Member Function Documentation

virtual void wait ( const EventTrigger &  trigger,
EventCallback callback 
) [pure virtual]

Subscribe to an I/O event. (EventTrigger type declaration is incomplete as it's platform-specific.)

Parameters:
triggerdefines the I/O condition
callbackwill be invoked when the event occurs