![]() |
dbus-cxx
|
#include <qtthreaddispatcher.h>
Signals | |
void | notifyMainThread () |
Public Member Functions | |
~QtThreadDispatcher () | |
void | add_message (std::shared_ptr< Object > object, std::shared_ptr< const CallMessage > message) |
void | add_signal_proxy (std::shared_ptr< SignalProxyBase > handler) |
bool | remove_signal_proxy (std::shared_ptr< SignalProxyBase > handler) |
void | add_signal (std::shared_ptr< const SignalMessage > message) |
![]() | |
virtual | ~ThreadDispatcher () |
virtual void | add_message (std::shared_ptr< Object > object, std::shared_ptr< const CallMessage > message)=0 |
When a new message comes in that needs to be processed, this method is called with the object that the method needs to go to, and the message to send to this object. More... | |
virtual void | add_signal_proxy (std::shared_ptr< SignalProxyBase > handler)=0 |
Add a signal proxy that must emit its signals from the thread represented by this ThreadDispatcher. More... | |
virtual bool | remove_signal_proxy (std::shared_ptr< SignalProxyBase > handler)=0 |
Remove a signal proxy. More... | |
virtual void | add_signal (std::shared_ptr< const SignalMessage > message)=0 |
When a new signal message comes in that needs to be processed, this method is called with the SignalMessage that must be emitted from this thread. More... | |
Static Public Member Functions | |
static std::shared_ptr< QtThreadDispatcher > | create () |
Private Slots | |
void | sendMessages () |
Private Member Functions | |
QtThreadDispatcher () | |
DBUS_CXX_PROPAGATE_CONST (std::unique_ptr< priv_data >) m_priv | |
|
private |
References notifyMainThread(), and sendMessages().
Referenced by create().
QtThreadDispatcher::~QtThreadDispatcher | ( | ) |
|
virtual |
Implements DBus::ThreadDispatcher.
References notifyMainThread().
|
virtual |
Implements DBus::ThreadDispatcher.
References notifyMainThread().
|
virtual |
Implements DBus::ThreadDispatcher.
|
static |
References QtThreadDispatcher().
Referenced by main().
|
private |
|
signal |
Referenced by add_message(), add_signal(), and QtThreadDispatcher().
|
virtual |
Implements DBus::ThreadDispatcher.
|
privateslot |
Referenced by QtThreadDispatcher().