DBus::Glib::BusWatch Class Reference

#include <glib-integration.h>

Inheritance diagram for DBus::Glib::BusWatch:

List of all members.

Private Member Functions

 BusWatch (Watch::Internal *, GMainContext *, int)
 ~BusWatch ()
void toggle ()
void _enable ()
void _disable ()

Static Private Member Functions

static gboolean watch_handler (gpointer)

Private Attributes

GMainContext * _ctx
int _priority
GSource * _source

Friends

class BusDispatcher

Detailed Description

Definition at line 66 of file glib-integration.h.


Constructor & Destructor Documentation

Glib::BusWatch::BusWatch ( Watch::Internal *  wi,
GMainContext *  ctx,
int  priority 
) [private]

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

References _enable(), and DBus::Watch::enabled().

Glib::BusWatch::~BusWatch (  )  [private]

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

References _disable().


Member Function Documentation

void Glib::BusWatch::_disable (  )  [private]

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

References _source.

Referenced by _enable(), toggle(), and ~BusWatch().

void Glib::BusWatch::_enable (  )  [private]
void Glib::BusWatch::toggle (  )  [private, virtual]

Implements DBus::Watch.

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

References _disable(), _enable(), DBus::debug_log, and DBus::Watch::enabled().

gboolean Glib::BusWatch::watch_handler ( gpointer  data  )  [static, private]

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

References _source, DBus::Watch::flags(), DBus::Watch::handle(), and BusSource::poll.

Referenced by _enable().


Friends And Related Function Documentation

friend class BusDispatcher [friend]

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


Member Data Documentation

GMainContext* DBus::Glib::BusWatch::_ctx [private]

Definition at line 84 of file glib-integration.h.

Referenced by _enable().

Definition at line 85 of file glib-integration.h.

Referenced by _enable().

GSource* DBus::Glib::BusWatch::_source [private]

Definition at line 86 of file glib-integration.h.

Referenced by _disable(), _enable(), and watch_handler().


The documentation for this class was generated from the following files: