#include <cxxtools/eventloop.h>

Public Member Functions | |
| virtual | ~EventLoopBase () |
| Destructs the EventLoop. | |
| void | run () |
| Starts the event loop. | |
| void | processEvents () |
| Processes all events which are currently in the event queue. | |
| void | exit () |
| Stops the EventLoop. | |
| void | setIdleTimeout (size_t msecs) |
| Sets the idle timeout. | |
| unsigned int | idleTimeout () const |
| Returns the idle timeout. | |
Public Attributes | |
| Signal | timeout |
| Notifies about wait timeouts This signal is send when the timeout given to a wait call of the selector expires and no activity occured. | |
| Signal< const Event & > | event |
| Reports all events TODO: rename to eventReady. | |
Protected Member Functions | |
| EventLoopBase () | |
| Constructs the EventLoop. | |
| virtual void | onRun ()=0 |
| virtual void | onExit ()=0 |
| virtual void | onProcessEvents ()=0 |