Bitcoin Core 28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
ipc_test.capnp.proxy-client.c++
Go to the documentation of this file.
1// Generated by mpgen from test/ipc_test.capnp
2
4#include <mp/proxy-types.h>
5
6namespace mp {
7ProxyClient<gen::FooInterface>::M0::Result ProxyClient<gen::FooInterface>::add(M0::Param<0> a,M0::Param<1> b) {
8 typename M0::Result result;
9 clientInvoke(*this, &gen::FooInterface::Client::addRequest, MakeClientParam<Accessor<ipc_test_fields::A, FIELD_IN>>(a), MakeClientParam<Accessor<ipc_test_fields::B, FIELD_IN>>(b), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT>>(result));
10 return result;
11}
12ProxyClient<gen::FooInterface>::M1::Result ProxyClient<gen::FooInterface>::passOutPoint(M1::Param<0> arg) {
13 typename M1::Result result;
14 clientInvoke(*this, &gen::FooInterface::Client::passOutPointRequest, MakeClientParam<Accessor<ipc_test_fields::Arg, FIELD_IN | FIELD_BOXED>>(arg), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT | FIELD_BOXED>>(result));
15 return result;
16}
17ProxyClient<gen::FooInterface>::M2::Result ProxyClient<gen::FooInterface>::passUniValue(M2::Param<0> arg) {
18 typename M2::Result result;
19 clientInvoke(*this, &gen::FooInterface::Client::passUniValueRequest, MakeClientParam<Accessor<ipc_test_fields::Arg, FIELD_IN | FIELD_BOXED>>(arg), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT | FIELD_BOXED>>(result));
20 return result;
21}
22namespace {
23ProxyTypeRegister t11175330607535746770{TypeList<FooImplementation>{}};
24} // namespace
25} // namespace mp
::capnp::Request< ::gen::FooInterface::PassUniValueParams, ::gen::FooInterface::PassUniValueResults > passUniValueRequest(::kj::Maybe< ::capnp::MessageSize > sizeHint=nullptr)
::capnp::Request< ::gen::FooInterface::AddParams, ::gen::FooInterface::AddResults > addRequest(::kj::Maybe< ::capnp::MessageSize > sizeHint=nullptr)
::capnp::Request< ::gen::FooInterface::PassOutPointParams, ::gen::FooInterface::PassOutPointResults > passOutPointRequest(::kj::Maybe< ::capnp::MessageSize > sizeHint=nullptr)
Functions to serialize / deserialize common bitcoin types.
M0::Result add(M0::Param< 0 > a, M0::Param< 1 > b)