ivi-main-loop
ivi::EventDispatcher Class Referenceabstract

Event dispatcher interface. More...

#include <ivi-main-loop-common.h>

Inheritance diagram for ivi::EventDispatcher:
Collaboration diagram for ivi::EventDispatcher:

Public Member Functions

virtual IdleEventSourcenewIdleEventSource (const IdleEventSource::CallBackFunction &callBackFunction)=0
 Create a new idle event source. More...
 
virtual TimeOutEventSourcenewTimeOutEventSource (const TimeOutEventSource::CallBackFunction &callBackFunction, DurationInMilliseconds duration)=0
 Create a new timeout event source. More...
 
virtual ChannelWatchEventSourcenewChannelWatchEventSource (const ChannelWatchEventSource::CallBackFunction &callBackFunction, FileDescriptor fileDescriptor, ChannelWatchEventSource::Event events)=0
 Create a new channel watch event source. More...
 

Detailed Description

Event dispatcher interface.

An event dispatcher implements a main loop is able to handle various event sources.

Definition at line 190 of file ivi-main-loop-common.h.

Member Function Documentation

virtual IdleEventSource* ivi::EventSourceFactory::newIdleEventSource ( const IdleEventSource::CallBackFunction &  callBackFunction)
pure virtualinherited

Create a new idle event source.

Implemented in ivi::GLibEventDispatcher.

virtual TimeOutEventSource* ivi::EventSourceFactory::newTimeOutEventSource ( const TimeOutEventSource::CallBackFunction &  callBackFunction,
DurationInMilliseconds  duration 
)
pure virtualinherited

Create a new timeout event source.

The initial duration can be provided here, but it can also be altered using the returned object

Implemented in ivi::GLibEventDispatcher.

virtual ChannelWatchEventSource* ivi::EventSourceFactory::newChannelWatchEventSource ( const ChannelWatchEventSource::CallBackFunction &  callBackFunction,
FileDescriptor  fileDescriptor,
ChannelWatchEventSource::Event  events 
)
pure virtualinherited

Create a new channel watch event source.

Implemented in ivi::GLibEventDispatcher.


The documentation for this class was generated from the following file: