25 #include <sigc++/sigc++.h>
27 #include <sys/types.h>
43 Selectable (
const std::string &,
int flags,
int mode = 0);
47 sigc::signal<void,Selectable *,Select::Condition>
readable;
48 sigc::signal<void,Selectable *,Select::Condition>
writable;
49 sigc::signal<void,Selectable *,Select::Condition>
exceptioned;
51 int fd() {
return _fd; }
52 bool ok() {
return _ok; }
void selected(unsigned int condition)
sigc::signal< void, Selectable *, Select::Condition > writable
sigc::signal< void, Selectable *, Select::Condition > readable
sigc::signal< void, Selectable *, Select::Condition > exceptioned
Selectable(const std::string &, int flags, int mode=0)
int select(unsigned long usecs)
pthread_mutex_t list_lock
std::list< Selectable * > Selectables
int post_select(fd_set *, fd_set *, fd_set *)
void multithreaded(bool yn)
void add(int condition, Selectable *s)
static bool use_list_lock
void remove(Selectable *)
GTKMM_API const Gtk::BuiltinStockID FILE