Public Member Functions | Protected Member Functions

Swift::DummyEventLoop Class Reference

Inheritance diagram for Swift::DummyEventLoop:
Collaboration diagram for Swift::DummyEventLoop:

List of all members.

Public Member Functions

 DummyEventLoop ()
 ~DummyEventLoop ()
void processEvents ()
bool hasEvents ()
virtual void post (const Event &event)
 Reimplement this to call handleEvent(event) from the thread in which the event loop is residing.
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 15 of file DummyEventLoop.h.


Constructor & Destructor Documentation

Swift::DummyEventLoop::DummyEventLoop (  ) 
Swift::DummyEventLoop::~DummyEventLoop (  ) 

Member Function Documentation

void Swift::EventLoop::handleEvent ( const Event event  )  [protected, inherited]
bool Swift::DummyEventLoop::hasEvents (  )  [inline]

Definition at line 27 of file DummyEventLoop.h.

virtual void Swift::DummyEventLoop::post ( const 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 31 of file DummyEventLoop.h.

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

Definition at line 20 of file DummyEventLoop.h.

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