FlightGear next
flightgear::swift::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 43 of file dbusdispatcher.h.

Constructor & Destructor Documentation

◆ CDBusDispatcher()

flightgear::swift::CDBusDispatcher::CDBusDispatcher ( )

Constructor.

Definition at line 140 of file dbusdispatcher.cpp.

◆ ~CDBusDispatcher()

flightgear::swift::CDBusDispatcher::~CDBusDispatcher ( )
virtual

Destructor.

Definition at line 152 of file dbusdispatcher.cpp.

Member Function Documentation

◆ add()

void flightgear::swift::CDBusDispatcher::add ( IDispatchable * dispatchable)

Add dispatchable object.

Definition at line 156 of file dbusdispatcher.cpp.

◆ remove()

void flightgear::swift::CDBusDispatcher::remove ( IDispatchable * dispatchable)

Remove dispatchable object.

Definition at line 161 of file dbusdispatcher.cpp.

◆ runOnce()

void flightgear::swift::CDBusDispatcher::runOnce ( )

Dispatches ready handlers and returns without waiting.

Definition at line 173 of file dbusdispatcher.cpp.

◆ waitAndRun()

void flightgear::swift::CDBusDispatcher::waitAndRun ( )

Waits for events to be dispatched and handles them.

Definition at line 167 of file dbusdispatcher.cpp.

Friends And Related Symbol Documentation

◆ CDBusConnection

friend class CDBusConnection
friend

Definition at line 68 of file dbusdispatcher.h.

◆ CDBusServer

friend class CDBusServer
friend

Definition at line 69 of file dbusdispatcher.h.

◆ TimeoutHandler

friend class TimeoutHandler
friend

Definition at line 66 of file dbusdispatcher.h.

◆ Timer

friend class Timer
friend

Definition at line 67 of file dbusdispatcher.h.

◆ WatchHandler

friend class WatchHandler
friend

Definition at line 65 of file dbusdispatcher.h.


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