![]() |
![]() |
Compounds | |
class | IdleSource |
class | IOSource |
class | MainContext |
Main context. More... | |
class | MainLoop |
class | PollFD |
class | SignalIdle |
class | SignalIO |
class | SignalTimeout |
class | Source |
class | TimeoutSource |
Enumerations | |
enum | { PRIORITY_HIGH = -100, PRIORITY_DEFAULT = 0, PRIORITY_HIGH_IDLE = 100, PRIORITY_DEFAULT_IDLE = 200, PRIORITY_LOW = 300 } |
enum | IOCondition { IO_IN, IO_OUT, IO_PRI, IO_ERR, IO_HUP, IO_NVAL } |
A bitwise combination representing an I/O condition to watch for on an event source. More... | |
Functions | |
IOCondition | operator| (IOCondition lhs, IOCondition rhs) |
IOCondition | operator& (IOCondition lhs, IOCondition rhs) |
IOCondition | operator^ (IOCondition lhs, IOCondition rhs) |
IOCondition | operator~ (IOCondition flags) |
IOCondition& | operator|= (IOCondition& lhs, IOCondition rhs) |
IOCondition& | operator&= (IOCondition& lhs, IOCondition rhs) |
IOCondition& | operator^= (IOCondition& lhs, IOCondition rhs) |
SignalTimeout | signal_timeout () |
Convenience timeout signal. | |
SignalIdle | signal_idle () |
Convenience idle signal. | |
SignalIO | signal_io () |
Convenience I/O signal. | |
Glib::RefPtr<MainContext> | wrap (GMainContext* gobject, bool take_copy=false) |
Glib::RefPtr<MainLoop> | wrap (GMainLoop* gobject, bool take_copy=false) |
|
|
|
A bitwise combination representing an I/O condition to watch for on an event source.
The flags correspond to those used by the if((condition & Glib::IO_OUT) != 0)
do_some_output();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Convenience idle signal.
|
|
Convenience I/O signal.
|
|
Convenience timeout signal.
|
|
|
|
|