swift
Loading...
Searching...
No Matches
XSwiftBus::CDBusDispatcher Class Reference

DBus Dispatcher. More...

#include <dbusdispatcher.h>

Public Member Functions

 CDBusDispatcher ()
 Constructor.
virtual ~CDBusDispatcher ()
 Destructor.
void add (IDispatchable *dispatchable)
 Add dispatchable object.
void remove (IDispatchable *dispatchable)
 Remove dispatchable object.
void waitAndRun ()
 Waits for events to be dispatched and handles them.
void runOnce ()
 Dispatches ready handlers and returns without waiting.

Friends

class WatchHandler
class TimeoutHandler
class Timer
class CDBusConnection
class CDBusServer

Detailed Description

DBus Dispatcher.

Definition at line 42 of file dbusdispatcher.h.

Constructor & Destructor Documentation

◆ CDBusDispatcher()

XSwiftBus::CDBusDispatcher::CDBusDispatcher ( )

Constructor.

Definition at line 140 of file dbusdispatcher.cpp.

◆ ~CDBusDispatcher()

XSwiftBus::CDBusDispatcher::~CDBusDispatcher ( )
virtual

Destructor.

Definition at line 152 of file dbusdispatcher.cpp.

Member Function Documentation

◆ add()

void XSwiftBus::CDBusDispatcher::add ( IDispatchable * dispatchable)

Add dispatchable object.

Definition at line 154 of file dbusdispatcher.cpp.

◆ remove()

void XSwiftBus::CDBusDispatcher::remove ( IDispatchable * dispatchable)

Remove dispatchable object.

Definition at line 156 of file dbusdispatcher.cpp.

◆ runOnce()

void XSwiftBus::CDBusDispatcher::runOnce ( )

Dispatches ready handlers and returns without waiting.

Definition at line 174 of file dbusdispatcher.cpp.

◆ waitAndRun()

void XSwiftBus::CDBusDispatcher::waitAndRun ( )

Waits for events to be dispatched and handles them.

Definition at line 165 of file dbusdispatcher.cpp.

◆ CDBusConnection

friend class CDBusConnection
friend

Definition at line 67 of file dbusdispatcher.h.

◆ CDBusServer

friend class CDBusServer
friend

Definition at line 68 of file dbusdispatcher.h.

◆ TimeoutHandler

friend class TimeoutHandler
friend

Definition at line 65 of file dbusdispatcher.h.

◆ Timer

friend class Timer
friend

Definition at line 66 of file dbusdispatcher.h.

◆ WatchHandler

friend class WatchHandler
friend

Definition at line 64 of file dbusdispatcher.h.


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