DBus::Glib::BusTimeout Class Reference

#include <glib-integration.h>

Inheritance diagram for DBus::Glib::BusTimeout:

List of all members.

Private Member Functions

 BusTimeout (Timeout::Internal *, GMainContext *, int)
 ~BusTimeout ()
void toggle ()
void _enable ()
void _disable ()

Static Private Member Functions

static gboolean timeout_handler (gpointer)

Private Attributes

GMainContext * _ctx
int _priority
GSource * _source

Friends

class BusDispatcher

Detailed Description

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


Constructor & Destructor Documentation

Glib::BusTimeout::BusTimeout ( Timeout::Internal *  ti,
GMainContext *  ctx,
int  priority 
) [private]

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

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

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

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

References _disable().


Member Function Documentation

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

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

References _source.

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

void Glib::BusTimeout::_enable (  )  [private]

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

References _ctx, _disable(), _priority, _source, DBus::Timeout::interval(), and timeout_handler().

Referenced by BusTimeout(), and toggle().

gboolean Glib::BusTimeout::timeout_handler ( gpointer  data  )  [static, private]

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

References DBus::Timeout::handle().

Referenced by _enable().

void Glib::BusTimeout::toggle (  )  [private, virtual]

Implements DBus::Timeout.

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

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


Friends And Related Function Documentation

friend class BusDispatcher [friend]

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


Member Data Documentation

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

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

Referenced by _enable().

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

Referenced by _enable().

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

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

Referenced by _disable(), and _enable().


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