Classes | Public Member Functions | Protected Member Functions

Swift::QtEventLoop Class Reference

Inheritance diagram for Swift::QtEventLoop:
Collaboration diagram for Swift::QtEventLoop:

List of all members.

Classes

struct  Event

Public Member Functions

 QtEventLoop ()
 ~QtEventLoop ()
virtual void post (const Swift::Event &event)
 Reimplement this to call handleEvent(event) from the thread in which the event loop is residing.
virtual bool event (QEvent *qevent)
void postEvent (boost::function< void()> event, boost::shared_ptr< EventOwner > owner=boost::shared_ptr< EventOwner >())
void removeEventsFromOwner (boost::shared_ptr< EventOwner > owner)

Protected Member Functions

void handleEvent (const Event &event)

Detailed Description

Definition at line 16 of file QtEventLoop.h.


Constructor & Destructor Documentation

Swift::QtEventLoop::QtEventLoop (  )  [inline]

Definition at line 18 of file QtEventLoop.h.

Swift::QtEventLoop::~QtEventLoop (  )  [inline]

Definition at line 19 of file QtEventLoop.h.


Member Function Documentation

virtual bool Swift::QtEventLoop::event ( QEvent *  qevent  )  [inline, virtual]

Definition at line 27 of file QtEventLoop.h.

References Swift::EventLoop::handleEvent().

void Swift::EventLoop::handleEvent ( const Event event  )  [protected, inherited]

Referenced by event().

virtual void Swift::QtEventLoop::post ( const Swift::Event event  )  [inline, virtual]

Reimplement this to call handleEvent(event) from the thread in which the event loop is residing.

Implements Swift::EventLoop.

Definition at line 23 of file QtEventLoop.h.

References Swift::EventLoop::postEvent().

void Swift::EventLoop::postEvent ( boost::function< void()>  event,
boost::shared_ptr< EventOwner owner = boost::shared_ptr< EventOwner >() 
) [inherited]

Referenced by post().

void Swift::EventLoop::removeEventsFromOwner ( boost::shared_ptr< EventOwner owner  )  [inherited]