Lines Matching refs:Callback
7 // values from D-Bus message buffer then invoking a native C++ callback with
8 // those parameters passed in. If the callback returns a value, that value is
14 // and calls the provided native C++ callback with those arguments.
15 // However it expects the callback with a simple signature like this:
16 // void callback(Args...);
24 // To make this all work, we craft a simple callback suitable for
47 // This is an abstract base class to allow dispatching a native C++ callback
68 // The signature of the callback handler is expected to be:
77 const base::Callback<R(Args...)>& handler) : handler_(handler) {}
97 // C++ callback to be called when a DBus method is dispatched.
98 base::Callback<R(Args...)> handler_;
111 const base::Callback<void(Args...)>& handler) : handler_(handler) {}
134 // C++ callback to be called when a DBus method is dispatched.
135 base::Callback<void(Args...)> handler_;
147 // The signature of the callback handler is expected to be:
156 const base::Callback<bool(ErrorPtr*, Args...)>& handler)
184 // C++ callback to be called when a DBus method is dispatched.
185 base::Callback<bool(ErrorPtr*, Args...)> handler_;
191 // the exception that the callback takes an additional parameter - raw D-Bus
198 // The signature of the callback handler is expected to be:
207 const base::Callback<bool(ErrorPtr*, dbus::Message*, Args...)>& handler)
236 // C++ callback to be called when a DBus method is dispatched.
237 base::Callback<bool(ErrorPtr*, dbus::Message*, Args...)> handler_;
246 // The signature of the callback handler is expected to be:
254 const base::Callback<void(std::unique_ptr<Response>, Args...)>& handler)
278 // C++ callback to be called when a D-Bus method is dispatched.
279 base::Callback<void(std::unique_ptr<Response>, Args...)> handler_;
286 // callback takes an additional parameter - raw D-Bus message.
290 // The signature of the callback handler is expected to be:
300 const base::Callback<void(std::unique_ptr<Response>, dbus::Message*,
325 // C++ callback to be called when a D-Bus method is dispatched.
326 base::Callback<void(std::unique_ptr<Response>,
334 // DBusObject::AddRawMethodHandler and expects the callback to be of the
337 // It will be up to the callback to parse the input parameters from the
345 const base::Callback<void(dbus::MethodCall*, ResponseSender)>& handler)
354 // C++ callback to be called when a D-Bus method is dispatched.
355 base::Callback<void(dbus::MethodCall*, ResponseSender)> handler_;