sdbus-c++
0.8.1
High-level C++ D-Bus library based on systemd D-Bus implementation
|
Go to the documentation of this file.
27 #ifndef SDBUS_CXX_PROXYINTERFACES_H_
28 #define SDBUS_CXX_PROXYINTERFACES_H_
55 : proxy_(std::move(proxy))
57 assert(proxy_ !=
nullptr);
60 const IProxy& getProxy()
const
62 assert(proxy_ !=
nullptr);
68 assert(proxy_ !=
nullptr);
73 std::unique_ptr<IProxy> proxy_;
91 template <
typename... _Interfaces>
94 ,
public _Interfaces...
108 , _Interfaces(getProxy())...
124 , _Interfaces(getProxy())...
138 ProxyInterfaces(std::unique_ptr<sdbus::IConnection>&& connection, std::string destination, std::string objectPath)
140 , _Interfaces(getProxy())...
Definition: ProxyInterfaces.h:92
ProxyInterfaces(IConnection &connection, std::string destination, std::string objectPath)
Creates native-like proxy object instance.
Definition: ProxyInterfaces.h:122
std::unique_ptr< sdbus::IProxy > createProxy(sdbus::IConnection &connection, std::string destination, std::string objectPath)
Creates a proxy object for a specific remote D-Bus object.
Definition: ProxyInterfaces.h:51
void registerProxy()
Finishes proxy registration and makes the proxy ready for use.
Definition: ProxyInterfaces.h:151
ProxyInterfaces(std::string destination, std::string objectPath)
Creates native-like proxy object instance.
Definition: ProxyInterfaces.h:106
Definition: IConnection.h:47
void unregisterProxy()
Unregisters the proxy so it no more receives signals and async call replies.
Definition: ProxyInterfaces.h:163
virtual void finishRegistration()=0
Finishes the registration of signal handlers.
virtual void unregister()=0
Unregisters proxy's signal handlers and stops receving replies to pending async calls.
ProxyInterfaces(std::unique_ptr< sdbus::IConnection > &&connection, std::string destination, std::string objectPath)
Creates native-like proxy object instance.
Definition: ProxyInterfaces.h:138