21 #ifndef GF_SOCKET_SELECTOR_H 22 #define GF_SOCKET_SELECTOR_H 34 #include "SocketGuard.h" 35 #include "SocketTypes.h" 39 #ifndef DOXYGEN_SHOULD_SKIP_THIS 60 void addSocket(
Socket& socket);
65 void removeSocket(
Socket& socket);
87 bool isReady(
Socket& socket);
90 std::vector<pollfd>::iterator find(
Socket& socket);
93 std::vector<pollfd> m_fds;
97 #ifndef DOXYGEN_SHOULD_SKIP_THIS 102 #endif // GF_SOCKET_SELECTOR_H Represents a time value.
Definition: Time.h:65
SocketSelectorStatus
The status of the selector.
Definition: SocketTypes.h:98
The namespace for gf classes.
Definition: Action.h:35
A socket selector.
Definition: SocketSelector.h:50
A guard to handle library initialization.
Definition: SocketGuard.h:42
A network socket.
Definition: Socket.h:41