27 #ifndef SDBUS_CXX_METHODRESULT_H_ 28 #define SDBUS_CXX_METHODRESULT_H_ 48 template <
typename... _Results>
61 void returnResults(
const _Results&... results)
const;
62 void returnError(
const Error& error)
const;
68 template <
typename... _Results>
70 : call_(std::move(call))
74 template <
typename... _Results>
77 assert(call_.isValid());
78 auto reply = call_.createReply();
79 (reply << ... << results);
83 template <
typename... _Results>
86 auto reply = call_.createErrorReply(error);
Definition: MethodResult.h:49
Definition: AdaptorInterfaces.h:36
Definition: Message.h:167