#include <eventloop-integration.h>

Public Member Functions | |
BusDispatcher () | |
~BusDispatcher () | |
virtual void | enter () |
virtual void | leave () |
virtual Pipe * | add_pipe (void(*handler)(const void *data, void *buffer, unsigned int nbyte), const void *data) |
virtual void | del_pipe (Pipe *pipe) |
virtual void | do_iteration () |
virtual Timeout * | add_timeout (Timeout::Internal *) |
virtual void | rem_timeout (Timeout *) |
virtual Watch * | add_watch (Watch::Internal *) |
virtual void | rem_watch (Watch *) |
void | watch_ready (DefaultWatch &) |
void | timeout_expired (DefaultTimeout &) |
![]() | |
virtual | ~Dispatcher () |
void | queue_connection (Connection::Private *) |
void | dispatch_pending () |
bool | has_something_to_dispatch () |
![]() | |
DefaultMainLoop () | |
virtual | ~DefaultMainLoop () |
virtual void | dispatch () |
Private Attributes | |
bool | _running |
int | _pipe [2] |
std::list< Pipe * > | pipe_list |
Additional Inherited Members | |
![]() | |
static dbus_bool_t | on_add_watch (DBusWatch *watch, void *data) |
static void | on_rem_watch (DBusWatch *watch, void *data) |
static void | on_toggle_watch (DBusWatch *watch, void *data) |
static dbus_bool_t | on_add_timeout (DBusTimeout *timeout, void *data) |
static void | on_rem_timeout (DBusTimeout *timeout, void *data) |
static void | on_toggle_timeout (DBusTimeout *timeout, void *data) |
![]() | |
int | _fdunlock [2] |
Detailed Description
Definition at line 62 of file eventloop-integration.h.
Constructor & Destructor Documentation
BusDispatcher::BusDispatcher | ( | ) |
Definition at line 80 of file eventloop-integration.cpp.
References DBus::DefaultMainLoop::_fdunlock, _pipe, and DBus::toString().
|
inline |
Definition at line 67 of file eventloop-integration.h.
Member Function Documentation
|
virtual |
Definition at line 132 of file eventloop-integration.cpp.
References pipe_list.
|
virtual |
Implements DBus::Dispatcher.
Definition at line 152 of file eventloop-integration.cpp.
References DBus::DefaultTimeout::data(), DBus::debug_log, DBus::DefaultTimeout::expired, and timeout_expired().
|
virtual |
Implements DBus::Dispatcher.
Definition at line 175 of file eventloop-integration.cpp.
References DBus::DefaultWatch::data(), DBus::debug_log, DBus::DefaultWatch::ready, and watch_ready().
|
virtual |
Definition at line 140 of file eventloop-integration.cpp.
References pipe_list.
|
virtual |
Definition at line 146 of file eventloop-integration.cpp.
References DBus::DefaultMainLoop::dispatch(), and DBus::Dispatcher::dispatch_pending().
Referenced by enter().
|
virtual |
Implements DBus::Dispatcher.
Definition at line 92 of file eventloop-integration.cpp.
References DBus::Pipe::_data, DBus::Pipe::_handler, _running, DBus::debug_log, do_iteration(), pipe_list, and DBus::Pipe::read().
|
virtual |
Implements DBus::Dispatcher.
Definition at line 121 of file eventloop-integration.cpp.
References DBus::DefaultMainLoop::_fdunlock, _running, and DBus::toString().
|
virtual |
Implements DBus::Dispatcher.
Definition at line 168 of file eventloop-integration.cpp.
References DBus::debug_log.
|
virtual |
Implements DBus::Dispatcher.
Definition at line 188 of file eventloop-integration.cpp.
References DBus::debug_log.
void BusDispatcher::timeout_expired | ( | DefaultTimeout & | et) |
Definition at line 195 of file eventloop-integration.cpp.
References DBus::DefaultTimeout::data(), DBus::debug_log, and DBus::Timeout::handle().
Referenced by add_timeout().
void BusDispatcher::watch_ready | ( | DefaultWatch & | ew) |
Definition at line 204 of file eventloop-integration.cpp.
References DBus::DefaultWatch::data(), DBus::debug_log, DBus::Watch::handle(), and DBus::DefaultWatch::state().
Referenced by add_watch().
Member Data Documentation
|
private |
Definition at line 93 of file eventloop-integration.h.
Referenced by BusDispatcher().
|
private |
Definition at line 92 of file eventloop-integration.h.
|
private |
Definition at line 94 of file eventloop-integration.h.
Referenced by add_pipe(), del_pipe(), and enter().
The documentation for this class was generated from the following files: