DBus::Ecore::BusWatch Class Reference
#include <ecore-integration.h>
Private Member Functions | |
BusWatch (Watch::Internal *) | |
~BusWatch () | |
void | toggle () |
void | _enable () |
void | _disable () |
void | data (Ecore::BusDispatcher *bd) |
Static Private Member Functions | |
static Eina_Bool | watch_check (void *data, Ecore_Fd_Handler *fdh) |
static Eina_Bool | watch_prepare (void *data, Ecore_Fd_Handler *fdh) |
static Eina_Bool | watch_dispatch (void *data, Ecore_Fd_Handler *fdh) |
Private Attributes | |
Ecore_Fd_Handler * | fd_handler |
Ecore::BusDispatcher * | _bd |
Friends | |
class | BusDispatcher |
Detailed Description
Definition at line 64 of file ecore-integration.h.
Constructor & Destructor Documentation
Ecore::BusWatch::BusWatch | ( | Watch::Internal * | wi | ) | [private] |
Definition at line 89 of file ecore-integration.cpp.
References _enable(), and DBus::Watch::enabled().
Ecore::BusWatch::~BusWatch | ( | ) | [private] |
Definition at line 98 of file ecore-integration.cpp.
References _disable().
Member Function Documentation
void Ecore::BusWatch::_disable | ( | ) | [private] |
Definition at line 140 of file ecore-integration.cpp.
References fd_handler.
Referenced by toggle(), and ~BusWatch().
void Ecore::BusWatch::_enable | ( | ) | [private] |
Definition at line 130 of file ecore-integration.cpp.
References DBus::debug_log, DBus::Watch::descriptor(), fd_handler, and watch_dispatch().
Referenced by BusWatch(), and toggle().
void Ecore::BusWatch::data | ( | Ecore::BusDispatcher * | bd | ) | [private] |
Definition at line 149 of file ecore-integration.cpp.
References _bd.
Referenced by DBus::Ecore::BusDispatcher::add_watch().
void Ecore::BusWatch::toggle | ( | ) | [private, virtual] |
Implements DBus::Watch.
Definition at line 103 of file ecore-integration.cpp.
References _disable(), _enable(), DBus::debug_log, and DBus::Watch::enabled().
static Eina_Bool DBus::Ecore::BusWatch::watch_check | ( | void * | data, | |
Ecore_Fd_Handler * | fdh | |||
) | [static, private] |
Eina_Bool Ecore::BusWatch::watch_dispatch | ( | void * | data, | |
Ecore_Fd_Handler * | fdh | |||
) | [static, private] |
Definition at line 111 of file ecore-integration.cpp.
References _bd, DBus::debug_log, DBus::Dispatcher::dispatch_pending(), fd_handler, DBus::Watch::flags(), and DBus::Watch::handle().
Referenced by _enable().
static Eina_Bool DBus::Ecore::BusWatch::watch_prepare | ( | void * | data, | |
Ecore_Fd_Handler * | fdh | |||
) | [static, private] |
Friends And Related Function Documentation
friend class BusDispatcher [friend] |
Definition at line 88 of file ecore-integration.h.
Member Data Documentation
Ecore::BusDispatcher* DBus::Ecore::BusWatch::_bd [private] |
Definition at line 86 of file ecore-integration.h.
Referenced by data(), and watch_dispatch().
Ecore_Fd_Handler* DBus::Ecore::BusWatch::fd_handler [private] |
Definition at line 85 of file ecore-integration.h.
Referenced by _disable(), _enable(), and watch_dispatch().
The documentation for this class was generated from the following files: