DBus::BusDispatcher Class Reference

#include <eventloop-integration.h>

Inheritance diagram for DBus::BusDispatcher:

List of all members.

Public Member Functions

 BusDispatcher ()
 ~BusDispatcher ()
virtual void enter ()
virtual void leave ()
virtual Pipeadd_pipe (void(*handler)(const void *data, void *buffer, unsigned int nbyte), const void *data)
virtual void del_pipe (Pipe *pipe)
virtual void do_iteration ()
virtual Timeoutadd_timeout (Timeout::Internal *)
virtual void rem_timeout (Timeout *)
virtual Watchadd_watch (Watch::Internal *)
virtual void rem_watch (Watch *)
void watch_ready (DefaultWatch &)
void timeout_expired (DefaultTimeout &)

Private Attributes

bool _running
int _pipe [2]
std::list< Pipe * > pipe_list

Detailed Description

Definition at line 62 of file eventloop-integration.h.


Constructor & Destructor Documentation

BusDispatcher::BusDispatcher (  ) 
DBus::BusDispatcher::~BusDispatcher (  )  [inline]

Definition at line 67 of file eventloop-integration.h.


Member Function Documentation

Pipe * BusDispatcher::add_pipe ( void(*)(const void *data, void *buffer, unsigned int nbyte)  handler,
const void *  data 
) [virtual]

Definition at line 131 of file eventloop-integration.cpp.

References pipe_list.

Timeout * BusDispatcher::add_timeout ( Timeout::Internal *  ti  )  [virtual]
Watch * BusDispatcher::add_watch ( Watch::Internal *  wi  )  [virtual]
void BusDispatcher::del_pipe ( Pipe pipe  )  [virtual]

Definition at line 139 of file eventloop-integration.cpp.

References pipe_list.

void BusDispatcher::do_iteration (  )  [virtual]
void BusDispatcher::enter (  )  [virtual]
void BusDispatcher::leave (  )  [virtual]
void BusDispatcher::rem_timeout ( Timeout t  )  [virtual]

Implements DBus::Dispatcher.

Definition at line 167 of file eventloop-integration.cpp.

References DBus::debug_log.

void BusDispatcher::rem_watch ( Watch w  )  [virtual]

Implements DBus::Dispatcher.

Definition at line 187 of file eventloop-integration.cpp.

References DBus::debug_log.

void BusDispatcher::timeout_expired ( DefaultTimeout et  ) 
void BusDispatcher::watch_ready ( DefaultWatch ew  ) 

Definition at line 203 of file eventloop-integration.cpp.

References DBus::DefaultWatch::data(), DBus::debug_log, and DBus::Watch::handle().

Referenced by add_watch().


Member Data Documentation

int DBus::BusDispatcher::_pipe[2] [private]

Definition at line 93 of file eventloop-integration.h.

Referenced by BusDispatcher().

Definition at line 92 of file eventloop-integration.h.

Referenced by enter(), and leave().

std::list<Pipe *> DBus::BusDispatcher::pipe_list [private]

Definition at line 94 of file eventloop-integration.h.

Referenced by add_pipe(), del_pipe(), and enter().


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