35 #ifndef ASYNC_FD_WATCH_INCLUDED
36 #define ASYNC_FD_WATCH_INCLUDED
45 #include <sigc++/sigc++.h>
151 int fd(
void)
const {
return m_fd; }
FdWatch(int fd, FdWatchType type)
Constructor.
sigc::signal< void, FdWatch * > activity
Signal to indicate that the descriptor is active.
bool isEnabled(void) const
Check if the watch is enabled or not.
A class for watching file descriptors.
FdWatchType type(void) const
Return the type of this watch.
int fd(void) const
Return the file descriptor being watched.
File descriptor watch for outgoing data.
Namespace for the asynchronous programming classes.
FdWatchType
The type of the file descriptor watch.
~FdWatch(void)
Destructor.
File descriptor watch for incoming data.
void setEnabled(bool enabled)
Enable or disable the watch.