DBus::Glib::BusDispatcher Class Reference
#include <glib-integration.h>
Public Member Functions | |
BusDispatcher () | |
~BusDispatcher () | |
void | attach (GMainContext *) |
void | enter () |
void | leave () |
Timeout * | add_timeout (Timeout::Internal *) |
void | rem_timeout (Timeout *) |
Watch * | add_watch (Watch::Internal *) |
void | rem_watch (Watch *) |
void | set_priority (int priority) |
Private Attributes | |
GMainContext * | _ctx |
int | _priority |
GSource * | _source |
Detailed Description
Definition at line 91 of file glib-integration.h.
Constructor & Destructor Documentation
Glib::BusDispatcher::BusDispatcher | ( | ) |
Definition at line 245 of file glib-integration.cpp.
Glib::BusDispatcher::~BusDispatcher | ( | ) |
Definition at line 250 of file glib-integration.cpp.
Member Function Documentation
Timeout * Glib::BusDispatcher::add_timeout | ( | Timeout::Internal * | wi | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 280 of file glib-integration.cpp.
References _ctx, _priority, DBus::debug_log, and DBus::Timeout::enabled().
Watch * Glib::BusDispatcher::add_watch | ( | Watch::Internal * | wi | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 296 of file glib-integration.cpp.
References _ctx, _priority, DBus::debug_log, DBus::Watch::descriptor(), DBus::Watch::enabled(), and DBus::Watch::flags().
void Glib::BusDispatcher::attach | ( | GMainContext * | ctx | ) |
Definition at line 265 of file glib-integration.cpp.
References _ctx, _source, and dispatcher_funcs.
void DBus::Glib::BusDispatcher::enter | ( | ) | [inline, virtual] |
Implements DBus::Dispatcher.
Definition at line 100 of file glib-integration.h.
void DBus::Glib::BusDispatcher::leave | ( | ) | [inline, virtual] |
Implements DBus::Dispatcher.
Definition at line 102 of file glib-integration.h.
void Glib::BusDispatcher::rem_timeout | ( | Timeout * | t | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 289 of file glib-integration.cpp.
References DBus::debug_log.
void Glib::BusDispatcher::rem_watch | ( | Watch * | w | ) | [virtual] |
Implements DBus::Dispatcher.
Definition at line 306 of file glib-integration.cpp.
References DBus::debug_log.
void Glib::BusDispatcher::set_priority | ( | int | priority | ) |
Definition at line 313 of file glib-integration.cpp.
References _priority.
Member Data Documentation
GMainContext* DBus::Glib::BusDispatcher::_ctx [private] |
Definition at line 116 of file glib-integration.h.
Referenced by add_timeout(), add_watch(), attach(), and ~BusDispatcher().
int DBus::Glib::BusDispatcher::_priority [private] |
Definition at line 117 of file glib-integration.h.
Referenced by add_timeout(), add_watch(), and set_priority().
GSource* DBus::Glib::BusDispatcher::_source [private] |
Definition at line 118 of file glib-integration.h.
Referenced by attach(), and ~BusDispatcher().
The documentation for this class was generated from the following files: