Bitcoin Core  28.1.0
P2P Digital Currency
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 
6 namespace mp {
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 }
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 }
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 }
22 namespace {
23 ProxyTypeRegister t11175330607535746770{TypeList<FooImplementation>{}};
24 } // namespace
25 } // namespace mp
::capnp::Request< ::gen::FooInterface::PassUniValueParams, ::gen::FooInterface::PassUniValueResults > passUniValueRequest(::kj::Maybe< ::capnp::MessageSize > sizeHint=nullptr)
Functions to serialize / deserialize common bitcoin types.
Definition: common-types.h:50
::capnp::Request< ::gen::FooInterface::AddParams, ::gen::FooInterface::AddResults > addRequest(::kj::Maybe< ::capnp::MessageSize > sizeHint=nullptr)
M0::Result add(M0::Param< 0 > a, M0::Param< 1 > b)
::capnp::Request< ::gen::FooInterface::PassOutPointParams, ::gen::FooInterface::PassOutPointResults > passOutPointRequest(::kj::Maybe< ::capnp::MessageSize > sizeHint=nullptr)