dispatcher.cpp
Go to the documentation of this file.
Definition dispatcher.h:36
virtual void toggle()=0
Timeout(Internal *i)
Definition dispatcher.h:87
int flags() const
Gets flags from DBusWatchFlags indicating what conditions should be monitored on the file descriptor.
Definition dispatcher.cpp:86
Watch(Internal *i)
bool handle(int flags)
Called to notify the D-Bus library when a previously-added watch is ready for reading or writing,...
Definition dispatcher.cpp:96
virtual void toggle()=0
int descriptor() const
A main loop could poll this descriptor to integrate dbus-c++.
Definition dispatcher.cpp:70
Definition connection_p.h:42
bool(* CondVarWaitTimeoutFn)(CondVar *cv, Mutex *mx, int timeout)
Definition dispatcher.h:243
Private(DBusConnection *, Server::Private *=NULL)
Definition dispatcher_p.h:42
virtual Watch * add_watch(Watch::Internal *)=0
virtual Timeout * add_timeout(Timeout::Internal *)=0
virtual void rem_timeout(Timeout *)=0
void queue_connection(Connection::Private *)
Definition dispatcher.cpp:158
virtual void rem_watch(Watch *)=0
bool has_something_to_dispatch()
Definition dispatcher.cpp:166