Lines Matching refs:Args
70 template<typename R, typename... Args>
77 const base::Callback<R(Args...)>& handler) : handler_(handler) {} in SimpleDBusInterfaceMethodHandler()
82 auto invoke_callback = [this, &method_response](const Args&... args) { in HandleMethod()
89 if (!DBusParamReader<false, Args...>::Invoke( in HandleMethod()
98 base::Callback<R(Args...)> handler_;
104 template<typename... Args>
105 class SimpleDBusInterfaceMethodHandler<void, Args...>
111 const base::Callback<void(Args...)>& handler) : handler_(handler) {} in SimpleDBusInterfaceMethodHandler()
116 auto invoke_callback = [this, &method_response](const Args&... args) { in HandleMethod()
126 if (!DBusParamReader<true, Args...>::Invoke( in HandleMethod()
135 base::Callback<void(Args...)> handler_;
149 template<typename... Args>
156 const base::Callback<bool(ErrorPtr*, Args...)>& handler) in SimpleDBusInterfaceMethodHandlerWithError()
162 auto invoke_callback = [this, &method_response](const Args&... args) { in HandleMethod()
176 if (!DBusParamReader<true, Args...>::Invoke( in HandleMethod()
185 base::Callback<bool(ErrorPtr*, Args...)> handler_;
200 template<typename... Args>
207 const base::Callback<bool(ErrorPtr*, dbus::Message*, Args...)>& handler) in SimpleDBusInterfaceMethodHandlerWithErrorAndMessage()
214 [this, method_call, &method_response](const Args&... args) { in HandleMethod()
228 if (!DBusParamReader<true, Args...>::Invoke( in HandleMethod()
237 base::Callback<bool(ErrorPtr*, dbus::Message*, Args...)> handler_;
248 template<typename Response, typename... Args>
254 const base::Callback<void(std::unique_ptr<Response>, Args...)>& handler) in DBusInterfaceMethodHandler()
262 auto invoke_callback = [this, method_call, &sender](const Args&... args) { in HandleMethod()
269 if (!DBusParamReader<false, Args...>::Invoke( in HandleMethod()
279 base::Callback<void(std::unique_ptr<Response>, Args...)> handler_;
293 template<typename Response, typename... Args>
301 Args...)>& handler) in DBusInterfaceMethodHandlerWithMessage()
309 auto invoke_callback = [this, method_call, &sender](const Args&... args) { in HandleMethod()
316 if (!DBusParamReader<false, Args...>::Invoke( in HandleMethod()
327 dbus::Message*, Args...)> handler_;