#include <Iguana/Utilities/src/iobase/IOSelectSelect.h>
Public Member Functions | |
virtual void | andMask (IOFD fd, unsigned value) |
virtual void | attach (const IOSelectRequest &req) |
virtual void | clear (void) |
virtual void | detach (const IOSelectRequest &req) |
IOSelectSelect (void) | |
virtual IOFD | next (IOSelectEvent &event, IOSelectCB &cb) |
virtual void | orMask (IOFD fd, unsigned value) |
virtual void | setMask (IOFD fd, unsigned value) |
virtual bool | wait (long msecs) |
~IOSelectSelect (void) | |
Private Attributes | |
IOFD | m_current |
The last file descriptor inspected by next(). | |
fd_set | m_e |
File descriptors registered for urgent events. | |
fd_set | m_estatus |
File descriptors ready with urgent data at last wait(). | |
IOFD | m_maxfd |
The highest file descriptor seen so far. | |
int | m_nready |
Number of file descriptors left ready in m_rlast, m_wlast and m_elast in total. | |
fd_set | m_r |
File descriptors registered for read or accept events. | |
fd_set | m_rstatus |
File descriptors ready for read or accepted at last wait(). | |
fd_set | m_w |
File descriptors registered for write or connect events. | |
fd_set | m_wstatus |
File descriptors ready for write or connected at last wait(). |
Definition at line 36 of file IOSelectSelect.h.
lat::IOSelectSelect::IOSelectSelect | ( | void | ) |
lat::IOSelectSelect::~IOSelectSelect | ( | void | ) |
Implements lat::IOSelectMethod.
virtual void lat::IOSelectSelect::attach | ( | const IOSelectRequest & | req | ) | [virtual] |
Implements lat::IOSelectMethod.
Implements lat::IOSelectMethod.
virtual void lat::IOSelectSelect::detach | ( | const IOSelectRequest & | req | ) | [virtual] |
Implements lat::IOSelectMethod.
virtual IOFD lat::IOSelectSelect::next | ( | IOSelectEvent & | event, | |
IOSelectCB & | cb | |||
) | [virtual] |
Implements lat::IOSelectMethod.
Implements lat::IOSelectMethod.
Implements lat::IOSelectMethod.
virtual bool lat::IOSelectSelect::wait | ( | long | msecs | ) | [virtual] |
Implements lat::IOSelectMethod.
IOFD lat::IOSelectSelect::m_current [private] |
fd_set lat::IOSelectSelect::m_e [private] |
fd_set lat::IOSelectSelect::m_estatus [private] |
File descriptors ready with urgent data at last wait().
Definition at line 84 of file IOSelectSelect.h.
IOFD lat::IOSelectSelect::m_maxfd [private] |
int lat::IOSelectSelect::m_nready [private] |
Number of file descriptors left ready in m_rlast, m_wlast and m_elast in total.
Initialised by wait() and decremented in next().
Definition at line 66 of file IOSelectSelect.h.
fd_set lat::IOSelectSelect::m_r [private] |
File descriptors registered for read or accept events.
Definition at line 69 of file IOSelectSelect.h.
fd_set lat::IOSelectSelect::m_rstatus [private] |
File descriptors ready for read or accepted at last wait().
Definition at line 78 of file IOSelectSelect.h.
fd_set lat::IOSelectSelect::m_w [private] |
File descriptors registered for write or connect events.
Definition at line 72 of file IOSelectSelect.h.
fd_set lat::IOSelectSelect::m_wstatus [private] |
File descriptors ready for write or connected at last wait().
Definition at line 81 of file IOSelectSelect.h.