27 #ifndef SDBUS_CXX_IPROXY_H_
28 #define SDBUS_CXX_IPROXY_H_
41 class PendingAsyncCall;
66 virtual ~
IProxy() =
default;
106 template <
typename _Rep,
typename _Period>
130 template <
typename _Rep,
typename _Period>
143 ,
const std::string& signalName
144 , signal_handler signalHandler ) = 0;
309 friend internal::Proxy;
313 std::weak_ptr<void> callData_;
318 template <
typename _Rep,
typename _Period>
321 auto microsecs = std::chrono::duration_cast<std::chrono::microseconds>(timeout);
322 return callMethod(message, microsecs.count());
325 template <
typename _Rep,
typename _Period>
328 auto microsecs = std::chrono::duration_cast<std::chrono::microseconds>(timeout);
329 return callMethod(message, std::move(asyncReplyCallback), microsecs.count());
377 , std::string destination
378 , std::string objectPath );
399 [[nodiscard]] std::unique_ptr<sdbus::IProxy>
createProxy( std::unique_ptr<sdbus::IConnection>&& connection
400 , std::string destination
401 , std::string objectPath );
420 [[nodiscard]] std::unique_ptr<sdbus::IProxy>
createProxy( std::string destination
421 , std::string objectPath );