DBus::DefaultMainLoop Class Reference
#include <eventloop.h>
Public Member Functions | |
DefaultMainLoop () | |
virtual | ~DefaultMainLoop () |
virtual void | dispatch () |
Public Attributes | |
int | _fdunlock [2] |
Private Attributes | |
DefaultMutex | _mutex_t |
DefaultTimeouts | _timeouts |
DefaultMutex | _mutex_w |
DefaultWatches | _watches |
Friends | |
class | DefaultTimeout |
class | DefaultWatch |
Detailed Description
Definition at line 200 of file eventloop.h.
Constructor & Destructor Documentation
DefaultMainLoop::DefaultMainLoop | ( | ) |
Definition at line 112 of file eventloop.cpp.
DefaultMainLoop::~DefaultMainLoop | ( | ) | [virtual] |
Definition at line 117 of file eventloop.cpp.
References _mutex_t, _mutex_w, _timeouts, _watches, DBus::DefaultMutex::lock(), and DBus::DefaultMutex::unlock().
Member Function Documentation
void DefaultMainLoop::dispatch | ( | ) | [virtual] |
Definition at line 148 of file eventloop.cpp.
References _fdunlock, _mutex_t, _mutex_w, _timeouts, _watches, DBus::DefaultMutex::lock(), millis(), and DBus::DefaultMutex::unlock().
Referenced by DBus::BusDispatcher::do_iteration().
Friends And Related Function Documentation
friend class DefaultTimeout [friend] |
Definition at line 219 of file eventloop.h.
friend class DefaultWatch [friend] |
Definition at line 220 of file eventloop.h.
Member Data Documentation
Definition at line 210 of file eventloop.h.
Referenced by DBus::BusDispatcher::BusDispatcher(), dispatch(), and DBus::BusDispatcher::leave().
DefaultMutex DBus::DefaultMainLoop::_mutex_t [private] |
Definition at line 213 of file eventloop.h.
Referenced by DBus::DefaultTimeout::DefaultTimeout(), dispatch(), ~DefaultMainLoop(), and DBus::DefaultTimeout::~DefaultTimeout().
DefaultMutex DBus::DefaultMainLoop::_mutex_w [private] |
Definition at line 216 of file eventloop.h.
Referenced by DBus::DefaultWatch::DefaultWatch(), dispatch(), ~DefaultMainLoop(), and DBus::DefaultWatch::~DefaultWatch().
Definition at line 214 of file eventloop.h.
Referenced by DBus::DefaultTimeout::DefaultTimeout(), dispatch(), ~DefaultMainLoop(), and DBus::DefaultTimeout::~DefaultTimeout().
Definition at line 217 of file eventloop.h.
Referenced by DBus::DefaultWatch::DefaultWatch(), dispatch(), ~DefaultMainLoop(), and DBus::DefaultWatch::~DefaultWatch().
The documentation for this class was generated from the following files: