#include <eventloop-integration.h>
Public Member Functions | |
BusDispatcher () | |
~BusDispatcher () | |
virtual void | enter () |
virtual void | leave () |
virtual void | do_iteration () |
virtual void | run () |
bool | is_running () |
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 &) |
Definition at line 59 of file eventloop-integration.h.
DBus::BusDispatcher::BusDispatcher | ( | ) | [inline] |
Definition at line 63 of file eventloop-integration.h.
DBus::BusDispatcher::~BusDispatcher | ( | ) | [inline] |
Definition at line 66 of file eventloop-integration.h.
Timeout * BusDispatcher::add_timeout | ( | Timeout::Internal * | ti | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 106 of file eventloop-integration.cpp.
References DBus::DefaultTimeout::data(), DBus::debug_log, DBus::DefaultTimeout::expired, and timeout_expired().
Watch * BusDispatcher::add_watch | ( | Watch::Internal * | wi | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 126 of file eventloop-integration.cpp.
References DBus::DefaultWatch::data(), DBus::debug_log, DBus::DefaultWatch::ready, and watch_ready().
void BusDispatcher::do_iteration | ( | ) | [virtual] |
Definition at line 100 of file eventloop-integration.cpp.
References DBus::DefaultMainLoop::dispatch(), and DBus::Dispatcher::dispatch_pending().
Referenced by enter().
void BusDispatcher::enter | ( | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 71 of file eventloop-integration.cpp.
References DBus::debug_log, and do_iteration().
bool BusDispatcher::is_running | ( | ) |
Definition at line 95 of file eventloop-integration.cpp.
void BusDispatcher::leave | ( | ) | [virtual] |
void BusDispatcher::rem_timeout | ( | Timeout * | t | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 119 of file eventloop-integration.cpp.
References DBus::debug_log.
void BusDispatcher::rem_watch | ( | Watch * | w | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 139 of file eventloop-integration.cpp.
References DBus::debug_log.
void BusDispatcher::run | ( | ) | [virtual] |
Definition at line 90 of file eventloop-integration.cpp.
void BusDispatcher::timeout_expired | ( | DefaultTimeout & | et | ) |
Definition at line 146 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 155 of file eventloop-integration.cpp.
References DBus::DefaultWatch::data(), DBus::debug_log, and DBus::Watch::handle().
Referenced by add_watch().