21 #ifndef GF_SOCKET_SELECTOR_H 22 #define GF_SOCKET_SELECTOR_H 32 #include "Portability.h" 34 #include "SocketGuard.h" 38 #ifndef DOXYGEN_SHOULD_SKIP_THIS 69 void addSocket(
Socket& socket);
74 void removeSocket(
Socket& socket);
96 bool isReady(
Socket& socket);
99 std::vector<pollfd>::iterator find(
Socket& socket);
103 std::vector<pollfd> m_fds;
107 #ifndef DOXYGEN_SHOULD_SKIP_THIS 112 #endif // GF_SOCKET_SELECTOR_H An error occurred.
Definition: SocketSelector.h:49
The call timed out.
Definition: SocketSelector.h:48
Represents a time value.
Definition: Time.h:65
SocketSelectorStatus
The status of the selector.
Definition: SocketSelector.h:46
The namespace for gf classes.
Definition: Action.h:35
A socket selector.
Definition: SocketSelector.h:59
A guard to handle library initialization.
Definition: SocketGuard.h:42
A network socket.
Definition: Socket.h:109
An event is pending on the sockets.
Definition: SocketSelector.h:47