#include <poll.h>
Inheritance diagram for wftk::Poll:
Public Attributes | |
BaseEvent * | currentEvent_ |
Protected Member Functions | |
virtual void | setup (PollData &data) |
add your sockets to PollData in this callback using addPoll() | |
virtual void | pushEvent (PollData &) |
In this callback, use checkPoll() to see if your sockets are ready, and push an event onto the application event queue if they are. |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.