DBus::BusWatch Class Reference
#include <eventloop-integration.h>
Inheritance diagram for DBus::BusWatch:
![Inheritance graph](classDBus_1_1BusWatch__inherit__graph.png)
Private Member Functions | |
BusWatch (Watch::Internal *, BusDispatcher *) | |
void | toggle () |
Friends | |
class | BusDispatcher |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
DefaultWatch (int fd, int flags, DefaultMainLoop *) | |
virtual | ~DefaultWatch () |
bool | enabled () |
void | enabled (bool e) |
int | descriptor () |
int | flags () |
void | flags (int f) |
int | state () |
void * | data () |
void | data (void *d) |
![]() | |
Slot< void, DefaultWatch & > | ready |
Detailed Description
Definition at line 53 of file eventloop-integration.h.
Constructor & Destructor Documentation
◆ BusWatch()
|
private |
Definition at line 59 of file eventloop-integration.cpp.
References DBus::DefaultWatch::enabled(), DBus::Watch::enabled(), DBus::DefaultWatch::flags(), and DBus::Watch::flags().
Member Function Documentation
◆ toggle()
|
privatevirtual |
Implements DBus::Watch.
Definition at line 73 of file eventloop-integration.cpp.
References DBus::debug_log, DBus::DefaultWatch::enabled(), and DBus::Watch::enabled().
Friends And Related Function Documentation
◆ BusDispatcher
|
friend |
Definition at line 59 of file eventloop-integration.h.
The documentation for this class was generated from the following files: