glib-integration.cpp File Reference
#include <dbus-c++/glib-integration.h>
#include <dbus/dbus.h>
Include dependency graph for glib-integration.cpp:

Go to the source code of this file.

Classes

struct  BusSource
 
struct  DispatcherSource
 

Functions

static gboolean watch_prepare (GSource *source, gint *timeout)
 
static gboolean watch_check (GSource *source)
 
static gboolean watch_dispatch (GSource *source, GSourceFunc callback, gpointer data)
 
static gboolean dispatcher_prepare (GSource *source, gint *timeout)
 
static gboolean dispatcher_check (GSource *source)
 
static gboolean dispatcher_dispatch (GSource *source, GSourceFunc callback, gpointer user_data)
 

Variables

static GSourceFuncs watch_funcs
 
static const GSourceFuncs dispatcher_funcs
 

Function Documentation

◆ dispatcher_check()

static gboolean dispatcher_check ( GSource * source)
static

Definition at line 221 of file glib-integration.cpp.

◆ dispatcher_dispatch()

static gboolean dispatcher_dispatch ( GSource * source,
GSourceFunc callback,
gpointer user_data )
static

Definition at line 227 of file glib-integration.cpp.

References DBus::Dispatcher::dispatch_pending().

◆ dispatcher_prepare()

static gboolean dispatcher_prepare ( GSource * source,
gint * timeout )
static

◆ watch_check()

static gboolean watch_check ( GSource * source)
static

Definition at line 96 of file glib-integration.cpp.

References DBus::debug_log, and BusSource::poll.

◆ watch_dispatch()

static gboolean watch_dispatch ( GSource * source,
GSourceFunc callback,
gpointer data )
static

Definition at line 104 of file glib-integration.cpp.

References DBus::debug_log.

◆ watch_prepare()

static gboolean watch_prepare ( GSource * source,
gint * timeout )
static

Definition at line 88 of file glib-integration.cpp.

References DBus::debug_log.

Variable Documentation

◆ dispatcher_funcs

const GSourceFuncs dispatcher_funcs
static
Initial value:
=
{
NULL
}
static gboolean dispatcher_dispatch(GSource *source, GSourceFunc callback, gpointer user_data)
static gboolean dispatcher_check(GSource *source)
static gboolean dispatcher_prepare(GSource *source, gint *timeout)

Definition at line 237 of file glib-integration.cpp.

Referenced by DBus::Glib::BusDispatcher::attach().

◆ watch_funcs

GSourceFuncs watch_funcs
static
Initial value:
=
{
NULL
}
static gboolean watch_check(GSource *source)
static gboolean watch_prepare(GSource *source, gint *timeout)
static gboolean watch_dispatch(GSource *source, GSourceFunc callback, gpointer data)

Definition at line 112 of file glib-integration.cpp.

Referenced by DBus::Glib::BusWatch::_enable().