#include <ecore-integration.h>

Inheritance diagram for DBus::Ecore::BusWatch:
Inheritance graph

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
 

Additional Inherited Members

- Public Member Functions inherited from DBus::Watch
 Watch (Internal *i)
 
virtual ~Watch ()
 
int descriptor () const
 A main loop could poll this descriptor to integrate dbus-c++. More...
 
int flags () const
 Gets flags from DBusWatchFlags indicating what conditions should be monitored on the file descriptor. More...
 
bool enabled () const
 
bool handle (int flags)
 Called to notify the D-Bus library when a previously-added watch is ready for reading or writing, or has an exception such as a hangup. More...
 
virtual void toggle ()=0
 

Detailed Description

Definition at line 64 of file ecore-integration.h.

Constructor & Destructor Documentation

◆ BusWatch()

Ecore::BusWatch::BusWatch ( Watch::Internal *  wi)
private

Definition at line 89 of file ecore-integration.cpp.

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

◆ ~BusWatch()

Ecore::BusWatch::~BusWatch ( )
private

Definition at line 98 of file ecore-integration.cpp.

Member Function Documentation

◆ _disable()

void Ecore::BusWatch::_disable ( )
private

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

◆ _enable()

void Ecore::BusWatch::_enable ( )
private

Definition at line 130 of file ecore-integration.cpp.

References DBus::debug_log, and watch_dispatch().

Referenced by BusWatch().

◆ data()

void Ecore::BusWatch::data ( Ecore::BusDispatcher bd)
private

Definition at line 149 of file ecore-integration.cpp.

Referenced by DBus::Ecore::BusDispatcher::add_watch().

◆ toggle()

void Ecore::BusWatch::toggle ( )
privatevirtual

Implements DBus::Watch.

Definition at line 103 of file ecore-integration.cpp.

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

◆ watch_check()

static Eina_Bool DBus::Ecore::BusWatch::watch_check ( void *  data,
Ecore_Fd_Handler *  fdh 
)
staticprivate

◆ watch_dispatch()

Eina_Bool Ecore::BusWatch::watch_dispatch ( void *  data,
Ecore_Fd_Handler *  fdh 
)
staticprivate

◆ watch_prepare()

static Eina_Bool DBus::Ecore::BusWatch::watch_prepare ( void *  data,
Ecore_Fd_Handler *  fdh 
)
staticprivate

Friends And Related Function Documentation

◆ BusDispatcher

friend class BusDispatcher
friend

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

Member Data Documentation

◆ _bd

Ecore::BusDispatcher* DBus::Ecore::BusWatch::_bd
private

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

Referenced by watch_dispatch().

◆ fd_handler

Ecore_Fd_Handler* DBus::Ecore::BusWatch::fd_handler
private

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

Referenced by watch_dispatch().


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