EventSink Class Referenceabstract

#include <Pt/System/EventSink.h>

Receiver for events.

Inherits NonCopyable.

Inherited by EventLoop.

Public Member Functions

 EventSink ()
 Default Constructor.
 
virtual ~EventSink ()
 Destructor.
 
void commitEvent (const Event &ev)
 Queues an event and triggers event processing.
 
void queueEvent (const Event &ev)
 Only queues an event.
 
void wake ()
 Triggers event processing.
 

Protected Member Functions

virtual void onCommitEvent (const Event &ev)=0
 Queues an event and triggers event processing.
 
virtual void onQueueEvent (const Event &ev)=0
 Only queues an event.
 
virtual void onWake ()=0
 Triggers event processing.