59 template <
typename _Function>
MethodRegistrator& implementedAs(_Function&& callback);
61 template <
typename... _String>
MethodRegistrator& withInputParamNames(_String... paramNames);
63 template <
typename... _String>
MethodRegistrator& withOutputParamNames(_String... paramNames);
70 std::string methodName_;
71 std::string interfaceName_;
72 std::string inputSignature_;
73 std::vector<std::string> inputParamNames_;
74 std::string outputSignature_;
75 std::vector<std::string> outputParamNames_;
76 method_callback methodCallback_;
90 template <
typename... _Args>
SignalRegistrator& withParameters(std::vector<std::string> paramNames);
91 template <
typename... _Args,
typename... _String>
SignalRegistrator& withParameters(_String... paramNames);
96 std::string signalName_;
97 std::string interfaceName_;
98 std::string signalSignature_;
99 std::vector<std::string> paramNames_;
120 const std::string& propertyName_;
121 std::string interfaceName_;
122 std::string propertySignature_;
123 property_get_callback getter_;
124 property_set_callback setter_;
171 MethodInvoker& onInterface(
const std::string& interfaceName);
173 template <
typename _Rep,
typename _Period>
174 MethodInvoker& withTimeout(
const std::chrono::duration<_Rep, _Period>& timeout);
175 template <
typename... _Args>
MethodInvoker& withArguments(_Args&&... args);
176 template <
typename... _Args>
void storeResultsTo(_Args&... args);
178 void dontExpectReply();
182 const std::string& methodName_;
186 bool methodCalled_{};
195 template <
typename _Rep,
typename _Period>
198 template <
typename _Function>
PendingAsyncCall uponReplyInvoke(_Function&& callback);
202 template <
typename... _Args> std::future<future_return_t<_Args...>> getResultAsFuture();
206 const std::string& methodName_;