8 #ifndef DBUSCXX_STANDALONE_DISPATCHER
9 #define DBUSCXX_STANDALONE_DISPATCHER
30 static std::shared_ptr<StandaloneDispatcher>
create(
bool is_running =
true );
A Dispatcher handles all of the reading/writing that a Connection needs in order to work correctly.
Definition: dispatcher.h:24
The StandaloneDispatcher creates a new thread that handles all of the reading and writing to the bus.
Definition: standalonedispatcher.h:23
StandaloneDispatcher(bool is_running=true)
Definition: standalonedispatcher.cpp:55
DBUS_CXX_PROPAGATE_CONST(std::unique_ptr< priv_data >) m_priv
void dispatch_thread_main()
Definition: standalonedispatcher.cpp:131
void dispatch_connections()
Dispatch all of our connections.
Definition: standalonedispatcher.cpp:166
void wakeup_thread()
Definition: standalonedispatcher.cpp:192
bool stop()
Definition: standalonedispatcher.cpp:113
bool start()
Definition: standalonedispatcher.cpp:103
bool is_running()
Definition: standalonedispatcher.cpp:127
std::shared_ptr< Connection > create_connection(BusType type)
Definition: standalonedispatcher.cpp:83
~StandaloneDispatcher()
Definition: standalonedispatcher.cpp:70
bool add_connection(std::shared_ptr< Connection > connection)
Definition: standalonedispatcher.cpp:92
static std::shared_ptr< StandaloneDispatcher > create(bool is_running=true)
Definition: standalonedispatcher.cpp:66
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18
BusType
Definition: enums.h:16
DataType type(const uint8_t &)
Definition: types.h:137