LCOV - code coverage report
Current view: top level - bld-cov/src/ipc/capnp - init.capnp.h (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 68.6 % 102 70
Test Date: 2025-08-25 05:11:47 Functions: 66.7 % 27 18
Branches: 38.5 % 52 20

             Branch data     Line data    Source code
       1                 :             : // Generated by Cap'n Proto compiler, DO NOT EDIT
       2                 :             : // source: init.capnp
       3                 :             : 
       4                 :             : #pragma once
       5                 :             : 
       6                 :             : #include <capnp/generated-header-support.h>
       7                 :             : #include <kj/windows-sanity.h>
       8                 :             : #if !CAPNP_LITE
       9                 :             : #include <capnp/capability.h>
      10                 :             : #endif  // !CAPNP_LITE
      11                 :             : 
      12                 :             : #ifndef CAPNP_VERSION
      13                 :             : #error "CAPNP_VERSION is not defined, is capnp/generated-header-support.h missing?"
      14                 :             : #elif CAPNP_VERSION != 1001000
      15                 :             : #error "Version mismatch between generated code and library headers.  You must use the same version of the Cap'n Proto compiler and library."
      16                 :             : #endif
      17                 :             : 
      18                 :             : #include <mp/proxy.capnp.h>
      19                 :             : #include "echo.capnp.h"
      20                 :             : #include "mining.capnp.h"
      21                 :             : 
      22                 :             : CAPNP_BEGIN_HEADER
      23                 :             : 
      24                 :             : namespace capnp {
      25                 :             : namespace schemas {
      26                 :             : 
      27                 :             : CAPNP_DECLARE_SCHEMA(8838c700ba5cba65);
      28                 :             : CAPNP_DECLARE_SCHEMA(d0094f43e65f70fa);
      29                 :             : CAPNP_DECLARE_SCHEMA(cff59c9cb0856a9d);
      30                 :             : CAPNP_DECLARE_SCHEMA(d1eaffd3f12b7a9a);
      31                 :             : CAPNP_DECLARE_SCHEMA(c6b83de56dc761c7);
      32                 :             : CAPNP_DECLARE_SCHEMA(ecc9a12bacbb6a49);
      33                 :             : CAPNP_DECLARE_SCHEMA(b40b3d0b48ea1c10);
      34                 :             : 
      35                 :             : }  // namespace schemas
      36                 :             : }  // namespace capnp
      37                 :             : 
      38                 :             : namespace ipc {
      39                 :             : namespace capnp {
      40                 :             : namespace messages {
      41                 :             : 
      42                 :             : struct Init {
      43                 :             :   Init() = delete;
      44                 :             : 
      45                 :             : #if !CAPNP_LITE
      46                 :             :   class Client;
      47                 :             :   class Server;
      48                 :             : #endif  // !CAPNP_LITE
      49                 :             : 
      50                 :             :   struct ConstructParams;
      51                 :             :   struct ConstructResults;
      52                 :             :   struct MakeEchoParams;
      53                 :             :   struct MakeEchoResults;
      54                 :             :   struct MakeMiningParams;
      55                 :             :   struct MakeMiningResults;
      56                 :             : 
      57                 :             :   #if !CAPNP_LITE
      58                 :             :   struct _capnpPrivate {
      59                 :             :     CAPNP_DECLARE_INTERFACE_HEADER(8838c700ba5cba65)
      60                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      61                 :             :   };
      62                 :             :   #endif  // !CAPNP_LITE
      63                 :             : };
      64                 :             : 
      65                 :             : struct Init::ConstructParams {
      66                 :             :   ConstructParams() = delete;
      67                 :             : 
      68                 :             :   class Reader;
      69                 :             :   class Builder;
      70                 :             :   class Pipeline;
      71                 :             : 
      72                 :             :   struct _capnpPrivate {
      73                 :             :     CAPNP_DECLARE_STRUCT_HEADER(d0094f43e65f70fa, 0, 1)
      74                 :             :     #if !CAPNP_LITE
      75                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      76                 :             :     #endif  // !CAPNP_LITE
      77                 :             :   };
      78                 :             : };
      79                 :             : 
      80                 :             : struct Init::ConstructResults {
      81                 :             :   ConstructResults() = delete;
      82                 :             : 
      83                 :             :   class Reader;
      84                 :             :   class Builder;
      85                 :             :   class Pipeline;
      86                 :             : 
      87                 :             :   struct _capnpPrivate {
      88                 :             :     CAPNP_DECLARE_STRUCT_HEADER(cff59c9cb0856a9d, 0, 1)
      89                 :             :     #if !CAPNP_LITE
      90                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      91                 :             :     #endif  // !CAPNP_LITE
      92                 :             :   };
      93                 :             : };
      94                 :             : 
      95                 :             : struct Init::MakeEchoParams {
      96                 :             :   MakeEchoParams() = delete;
      97                 :             : 
      98                 :             :   class Reader;
      99                 :             :   class Builder;
     100                 :             :   class Pipeline;
     101                 :             : 
     102                 :             :   struct _capnpPrivate {
     103                 :             :     CAPNP_DECLARE_STRUCT_HEADER(d1eaffd3f12b7a9a, 0, 1)
     104                 :             :     #if !CAPNP_LITE
     105                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     106                 :             :     #endif  // !CAPNP_LITE
     107                 :             :   };
     108                 :             : };
     109                 :             : 
     110                 :             : struct Init::MakeEchoResults {
     111                 :             :   MakeEchoResults() = delete;
     112                 :             : 
     113                 :             :   class Reader;
     114                 :             :   class Builder;
     115                 :             :   class Pipeline;
     116                 :             : 
     117                 :             :   struct _capnpPrivate {
     118                 :             :     CAPNP_DECLARE_STRUCT_HEADER(c6b83de56dc761c7, 0, 1)
     119                 :             :     #if !CAPNP_LITE
     120                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     121                 :             :     #endif  // !CAPNP_LITE
     122                 :             :   };
     123                 :             : };
     124                 :             : 
     125                 :             : struct Init::MakeMiningParams {
     126                 :             :   MakeMiningParams() = delete;
     127                 :             : 
     128                 :             :   class Reader;
     129                 :             :   class Builder;
     130                 :             :   class Pipeline;
     131                 :             : 
     132                 :             :   struct _capnpPrivate {
     133                 :             :     CAPNP_DECLARE_STRUCT_HEADER(ecc9a12bacbb6a49, 0, 1)
     134                 :             :     #if !CAPNP_LITE
     135                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     136                 :             :     #endif  // !CAPNP_LITE
     137                 :             :   };
     138                 :             : };
     139                 :             : 
     140                 :             : struct Init::MakeMiningResults {
     141                 :             :   MakeMiningResults() = delete;
     142                 :             : 
     143                 :             :   class Reader;
     144                 :             :   class Builder;
     145                 :             :   class Pipeline;
     146                 :             : 
     147                 :             :   struct _capnpPrivate {
     148                 :             :     CAPNP_DECLARE_STRUCT_HEADER(b40b3d0b48ea1c10, 0, 1)
     149                 :             :     #if !CAPNP_LITE
     150                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     151                 :             :     #endif  // !CAPNP_LITE
     152                 :             :   };
     153                 :             : };
     154                 :             : 
     155                 :             : // =======================================================================================
     156                 :             : 
     157                 :             : #if !CAPNP_LITE
     158   [ +  -  +  -  :          30 : class Init::Client
          +  -  +  -  +  
                      - ]
     159                 :             :     : public virtual ::capnp::Capability::Client {
     160                 :             : public:
     161                 :             :   typedef Init Calls;
     162                 :             :   typedef Init Reads;
     163                 :             : 
     164                 :             :   Client(decltype(nullptr));
     165                 :             :   explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);
     166                 :             :   template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Server*>()>>
     167                 :             :   Client(::kj::Own<_t>&& server);
     168                 :             :   template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Client*>()>>
     169                 :             :   Client(::kj::Promise<_t>&& promise);
     170                 :             :   Client(::kj::Exception&& exception);
     171                 :             :   Client(Client&) = default;
     172   [ +  -  +  - ]:          18 :   Client(Client&&) = default;
     173                 :             :   Client& operator=(Client& other);
     174                 :             :   Client& operator=(Client&& other);
     175                 :             : 
     176                 :             :   ::capnp::Request< ::ipc::capnp::messages::Init::ConstructParams,  ::ipc::capnp::messages::Init::ConstructResults> constructRequest(
     177                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     178                 :             :   ::capnp::Request< ::ipc::capnp::messages::Init::MakeEchoParams,  ::ipc::capnp::messages::Init::MakeEchoResults> makeEchoRequest(
     179                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     180                 :             :   ::capnp::Request< ::ipc::capnp::messages::Init::MakeMiningParams,  ::ipc::capnp::messages::Init::MakeMiningResults> makeMiningRequest(
     181                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     182                 :             : 
     183                 :             : protected:
     184                 :             :   Client() = default;
     185                 :             : };
     186                 :             : 
     187                 :             : class Init::Server
     188                 :             :     : public virtual ::capnp::Capability::Server {
     189                 :             : public:
     190                 :             :   typedef Init Serves;
     191                 :             : 
     192                 :             :   ::capnp::Capability::Server::DispatchCallResult dispatchCall(
     193                 :             :       uint64_t interfaceId, uint16_t methodId,
     194                 :             :       ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
     195                 :             :       override;
     196                 :             : 
     197                 :             : protected:
     198                 :             :   typedef  ::ipc::capnp::messages::Init::ConstructParams ConstructParams;
     199                 :             :   typedef  ::ipc::capnp::messages::Init::ConstructResults ConstructResults;
     200                 :             :   typedef ::capnp::CallContext<ConstructParams, ConstructResults> ConstructContext;
     201                 :             :   virtual ::kj::Promise<void> construct(ConstructContext context);
     202                 :             :   typedef  ::ipc::capnp::messages::Init::MakeEchoParams MakeEchoParams;
     203                 :             :   typedef  ::ipc::capnp::messages::Init::MakeEchoResults MakeEchoResults;
     204                 :             :   typedef ::capnp::CallContext<MakeEchoParams, MakeEchoResults> MakeEchoContext;
     205                 :             :   virtual ::kj::Promise<void> makeEcho(MakeEchoContext context);
     206                 :             :   typedef  ::ipc::capnp::messages::Init::MakeMiningParams MakeMiningParams;
     207                 :             :   typedef  ::ipc::capnp::messages::Init::MakeMiningResults MakeMiningResults;
     208                 :             :   typedef ::capnp::CallContext<MakeMiningParams, MakeMiningResults> MakeMiningContext;
     209                 :             :   virtual ::kj::Promise<void> makeMining(MakeMiningContext context);
     210                 :             : 
     211                 :             :   inline  ::ipc::capnp::messages::Init::Client thisCap() {
     212                 :             :     return ::capnp::Capability::Server::thisCap()
     213                 :             :         .template castAs< ::ipc::capnp::messages::Init>();
     214                 :             :   }
     215                 :             : 
     216                 :             :   ::capnp::Capability::Server::DispatchCallResult dispatchCallInternal(
     217                 :             :       uint16_t methodId,
     218                 :             :       ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
     219                 :             : };
     220                 :             : #endif  // !CAPNP_LITE
     221                 :             : 
     222                 :             : class Init::ConstructParams::Reader {
     223                 :             : public:
     224                 :             :   typedef ConstructParams Reads;
     225                 :             : 
     226                 :             :   Reader() = default;
     227                 :          18 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     228                 :             : 
     229                 :             :   inline ::capnp::MessageSize totalSize() const {
     230                 :             :     return _reader.totalSize().asPublic();
     231                 :             :   }
     232                 :             : 
     233                 :             : #if !CAPNP_LITE
     234                 :          12 :   inline ::kj::StringTree toString() const {
     235         [ +  - ]:          12 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     236                 :             :   }
     237                 :             : #endif  // !CAPNP_LITE
     238                 :             : 
     239                 :             :   inline bool hasThreadMap() const;
     240                 :             : #if !CAPNP_LITE
     241                 :             :   inline  ::mp::ThreadMap::Client getThreadMap() const;
     242                 :             : #endif  // !CAPNP_LITE
     243                 :             : 
     244                 :             : private:
     245                 :             :   ::capnp::_::StructReader _reader;
     246                 :             :   template <typename, ::capnp::Kind>
     247                 :             :   friend struct ::capnp::ToDynamic_;
     248                 :             :   template <typename, ::capnp::Kind>
     249                 :             :   friend struct ::capnp::_::PointerHelpers;
     250                 :             :   template <typename, ::capnp::Kind>
     251                 :             :   friend struct ::capnp::List;
     252                 :             :   friend class ::capnp::MessageBuilder;
     253                 :             :   friend class ::capnp::Orphanage;
     254                 :             : };
     255                 :             : 
     256                 :             : class Init::ConstructParams::Builder {
     257                 :             : public:
     258                 :             :   typedef ConstructParams Builds;
     259                 :             : 
     260                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     261                 :             :                        // You can explicitly initialize to nullptr instead.
     262                 :             :   inline Builder(decltype(nullptr)) {}
     263                 :           6 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     264                 :           6 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     265                 :           6 :   inline Reader asReader() const { return *this; }
     266                 :             : 
     267                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     268                 :             : #if !CAPNP_LITE
     269                 :           6 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     270                 :             : #endif  // !CAPNP_LITE
     271                 :             : 
     272                 :             :   inline bool hasThreadMap();
     273                 :             : #if !CAPNP_LITE
     274                 :             :   inline  ::mp::ThreadMap::Client getThreadMap();
     275                 :             :   inline void setThreadMap( ::mp::ThreadMap::Client&& value);
     276                 :             :   inline void setThreadMap( ::mp::ThreadMap::Client& value);
     277                 :             :   inline void adoptThreadMap(::capnp::Orphan< ::mp::ThreadMap>&& value);
     278                 :             :   inline ::capnp::Orphan< ::mp::ThreadMap> disownThreadMap();
     279                 :             : #endif  // !CAPNP_LITE
     280                 :             : 
     281                 :             : private:
     282                 :             :   ::capnp::_::StructBuilder _builder;
     283                 :             :   template <typename, ::capnp::Kind>
     284                 :             :   friend struct ::capnp::ToDynamic_;
     285                 :             :   friend class ::capnp::Orphanage;
     286                 :             :   template <typename, ::capnp::Kind>
     287                 :             :   friend struct ::capnp::_::PointerHelpers;
     288                 :             : };
     289                 :             : 
     290                 :             : #if !CAPNP_LITE
     291                 :             : class Init::ConstructParams::Pipeline {
     292                 :             : public:
     293                 :             :   typedef ConstructParams Pipelines;
     294                 :             : 
     295                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     296                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     297                 :             :       : _typeless(kj::mv(typeless)) {}
     298                 :             : 
     299                 :             :   inline  ::mp::ThreadMap::Client getThreadMap();
     300                 :             : private:
     301                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     302                 :             :   friend class ::capnp::PipelineHook;
     303                 :             :   template <typename, ::capnp::Kind>
     304                 :             :   friend struct ::capnp::ToDynamic_;
     305                 :             : };
     306                 :             : #endif  // !CAPNP_LITE
     307                 :             : 
     308                 :             : class Init::ConstructResults::Reader {
     309                 :             : public:
     310                 :             :   typedef ConstructResults Reads;
     311                 :             : 
     312                 :             :   Reader() = default;
     313                 :          12 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     314                 :             : 
     315                 :             :   inline ::capnp::MessageSize totalSize() const {
     316                 :             :     return _reader.totalSize().asPublic();
     317                 :             :   }
     318                 :             : 
     319                 :             : #if !CAPNP_LITE
     320                 :          12 :   inline ::kj::StringTree toString() const {
     321         [ +  - ]:          12 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     322                 :             :   }
     323                 :             : #endif  // !CAPNP_LITE
     324                 :             : 
     325                 :             :   inline bool hasThreadMap() const;
     326                 :             : #if !CAPNP_LITE
     327                 :             :   inline  ::mp::ThreadMap::Client getThreadMap() const;
     328                 :             : #endif  // !CAPNP_LITE
     329                 :             : 
     330                 :             : private:
     331                 :             :   ::capnp::_::StructReader _reader;
     332                 :             :   template <typename, ::capnp::Kind>
     333                 :             :   friend struct ::capnp::ToDynamic_;
     334                 :             :   template <typename, ::capnp::Kind>
     335                 :             :   friend struct ::capnp::_::PointerHelpers;
     336                 :             :   template <typename, ::capnp::Kind>
     337                 :             :   friend struct ::capnp::List;
     338                 :             :   friend class ::capnp::MessageBuilder;
     339                 :             :   friend class ::capnp::Orphanage;
     340                 :             : };
     341                 :             : 
     342                 :             : class Init::ConstructResults::Builder {
     343                 :             : public:
     344                 :             :   typedef ConstructResults Builds;
     345                 :             : 
     346                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     347                 :             :                        // You can explicitly initialize to nullptr instead.
     348                 :             :   inline Builder(decltype(nullptr)) {}
     349                 :          12 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     350                 :           6 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     351                 :           6 :   inline Reader asReader() const { return *this; }
     352                 :             : 
     353                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     354                 :             : #if !CAPNP_LITE
     355                 :           6 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     356                 :             : #endif  // !CAPNP_LITE
     357                 :             : 
     358                 :             :   inline bool hasThreadMap();
     359                 :             : #if !CAPNP_LITE
     360                 :             :   inline  ::mp::ThreadMap::Client getThreadMap();
     361                 :             :   inline void setThreadMap( ::mp::ThreadMap::Client&& value);
     362                 :             :   inline void setThreadMap( ::mp::ThreadMap::Client& value);
     363                 :             :   inline void adoptThreadMap(::capnp::Orphan< ::mp::ThreadMap>&& value);
     364                 :             :   inline ::capnp::Orphan< ::mp::ThreadMap> disownThreadMap();
     365                 :             : #endif  // !CAPNP_LITE
     366                 :             : 
     367                 :             : private:
     368                 :             :   ::capnp::_::StructBuilder _builder;
     369                 :             :   template <typename, ::capnp::Kind>
     370                 :             :   friend struct ::capnp::ToDynamic_;
     371                 :             :   friend class ::capnp::Orphanage;
     372                 :             :   template <typename, ::capnp::Kind>
     373                 :             :   friend struct ::capnp::_::PointerHelpers;
     374                 :             : };
     375                 :             : 
     376                 :             : #if !CAPNP_LITE
     377         [ -  + ]:          12 : class Init::ConstructResults::Pipeline {
     378                 :             : public:
     379                 :             :   typedef ConstructResults Pipelines;
     380                 :             : 
     381                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     382                 :           6 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     383                 :           6 :       : _typeless(kj::mv(typeless)) {}
     384                 :             : 
     385                 :             :   inline  ::mp::ThreadMap::Client getThreadMap();
     386                 :             : private:
     387                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     388                 :             :   friend class ::capnp::PipelineHook;
     389                 :             :   template <typename, ::capnp::Kind>
     390                 :             :   friend struct ::capnp::ToDynamic_;
     391                 :             : };
     392                 :             : #endif  // !CAPNP_LITE
     393                 :             : 
     394                 :             : class Init::MakeEchoParams::Reader {
     395                 :             : public:
     396                 :             :   typedef MakeEchoParams Reads;
     397                 :             : 
     398                 :             :   Reader() = default;
     399                 :          24 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     400                 :             : 
     401                 :             :   inline ::capnp::MessageSize totalSize() const {
     402                 :             :     return _reader.totalSize().asPublic();
     403                 :             :   }
     404                 :             : 
     405                 :             : #if !CAPNP_LITE
     406                 :          12 :   inline ::kj::StringTree toString() const {
     407         [ +  - ]:          12 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     408                 :             :   }
     409                 :             : #endif  // !CAPNP_LITE
     410                 :             : 
     411                 :             :   inline bool hasContext() const;
     412                 :             :   inline  ::mp::Context::Reader getContext() const;
     413                 :             : 
     414                 :             : private:
     415                 :             :   ::capnp::_::StructReader _reader;
     416                 :             :   template <typename, ::capnp::Kind>
     417                 :             :   friend struct ::capnp::ToDynamic_;
     418                 :             :   template <typename, ::capnp::Kind>
     419                 :             :   friend struct ::capnp::_::PointerHelpers;
     420                 :             :   template <typename, ::capnp::Kind>
     421                 :             :   friend struct ::capnp::List;
     422                 :             :   friend class ::capnp::MessageBuilder;
     423                 :             :   friend class ::capnp::Orphanage;
     424                 :             : };
     425                 :             : 
     426                 :             : class Init::MakeEchoParams::Builder {
     427                 :             : public:
     428                 :             :   typedef MakeEchoParams Builds;
     429                 :             : 
     430                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     431                 :             :                        // You can explicitly initialize to nullptr instead.
     432                 :             :   inline Builder(decltype(nullptr)) {}
     433                 :           6 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     434                 :           6 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     435                 :           6 :   inline Reader asReader() const { return *this; }
     436                 :             : 
     437                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     438                 :             : #if !CAPNP_LITE
     439                 :           6 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     440                 :             : #endif  // !CAPNP_LITE
     441                 :             : 
     442                 :             :   inline bool hasContext();
     443                 :             :   inline  ::mp::Context::Builder getContext();
     444                 :             :   inline void setContext( ::mp::Context::Reader value);
     445                 :             :   inline  ::mp::Context::Builder initContext();
     446                 :             :   inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
     447                 :             :   inline ::capnp::Orphan< ::mp::Context> disownContext();
     448                 :             : 
     449                 :             : private:
     450                 :             :   ::capnp::_::StructBuilder _builder;
     451                 :             :   template <typename, ::capnp::Kind>
     452                 :             :   friend struct ::capnp::ToDynamic_;
     453                 :             :   friend class ::capnp::Orphanage;
     454                 :             :   template <typename, ::capnp::Kind>
     455                 :             :   friend struct ::capnp::_::PointerHelpers;
     456                 :             : };
     457                 :             : 
     458                 :             : #if !CAPNP_LITE
     459                 :             : class Init::MakeEchoParams::Pipeline {
     460                 :             : public:
     461                 :             :   typedef MakeEchoParams Pipelines;
     462                 :             : 
     463                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     464                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     465                 :             :       : _typeless(kj::mv(typeless)) {}
     466                 :             : 
     467                 :             :   inline  ::mp::Context::Pipeline getContext();
     468                 :             : private:
     469                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     470                 :             :   friend class ::capnp::PipelineHook;
     471                 :             :   template <typename, ::capnp::Kind>
     472                 :             :   friend struct ::capnp::ToDynamic_;
     473                 :             : };
     474                 :             : #endif  // !CAPNP_LITE
     475                 :             : 
     476                 :             : class Init::MakeEchoResults::Reader {
     477                 :             : public:
     478                 :             :   typedef MakeEchoResults Reads;
     479                 :             : 
     480                 :             :   Reader() = default;
     481                 :          12 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     482                 :             : 
     483                 :             :   inline ::capnp::MessageSize totalSize() const {
     484                 :             :     return _reader.totalSize().asPublic();
     485                 :             :   }
     486                 :             : 
     487                 :             : #if !CAPNP_LITE
     488                 :          12 :   inline ::kj::StringTree toString() const {
     489         [ +  - ]:          12 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     490                 :             :   }
     491                 :             : #endif  // !CAPNP_LITE
     492                 :             : 
     493                 :             :   inline bool hasResult() const;
     494                 :             : #if !CAPNP_LITE
     495                 :             :   inline  ::ipc::capnp::messages::Echo::Client getResult() const;
     496                 :             : #endif  // !CAPNP_LITE
     497                 :             : 
     498                 :             : private:
     499                 :             :   ::capnp::_::StructReader _reader;
     500                 :             :   template <typename, ::capnp::Kind>
     501                 :             :   friend struct ::capnp::ToDynamic_;
     502                 :             :   template <typename, ::capnp::Kind>
     503                 :             :   friend struct ::capnp::_::PointerHelpers;
     504                 :             :   template <typename, ::capnp::Kind>
     505                 :             :   friend struct ::capnp::List;
     506                 :             :   friend class ::capnp::MessageBuilder;
     507                 :             :   friend class ::capnp::Orphanage;
     508                 :             : };
     509                 :             : 
     510                 :             : class Init::MakeEchoResults::Builder {
     511                 :             : public:
     512                 :             :   typedef MakeEchoResults Builds;
     513                 :             : 
     514                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     515                 :             :                        // You can explicitly initialize to nullptr instead.
     516                 :             :   inline Builder(decltype(nullptr)) {}
     517                 :          12 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     518                 :           6 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     519                 :           6 :   inline Reader asReader() const { return *this; }
     520                 :             : 
     521                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     522                 :             : #if !CAPNP_LITE
     523                 :           6 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     524                 :             : #endif  // !CAPNP_LITE
     525                 :             : 
     526                 :             :   inline bool hasResult();
     527                 :             : #if !CAPNP_LITE
     528                 :             :   inline  ::ipc::capnp::messages::Echo::Client getResult();
     529                 :             :   inline void setResult( ::ipc::capnp::messages::Echo::Client&& value);
     530                 :             :   inline void setResult( ::ipc::capnp::messages::Echo::Client& value);
     531                 :             :   inline void adoptResult(::capnp::Orphan< ::ipc::capnp::messages::Echo>&& value);
     532                 :             :   inline ::capnp::Orphan< ::ipc::capnp::messages::Echo> disownResult();
     533                 :             : #endif  // !CAPNP_LITE
     534                 :             : 
     535                 :             : private:
     536                 :             :   ::capnp::_::StructBuilder _builder;
     537                 :             :   template <typename, ::capnp::Kind>
     538                 :             :   friend struct ::capnp::ToDynamic_;
     539                 :             :   friend class ::capnp::Orphanage;
     540                 :             :   template <typename, ::capnp::Kind>
     541                 :             :   friend struct ::capnp::_::PointerHelpers;
     542                 :             : };
     543                 :             : 
     544                 :             : #if !CAPNP_LITE
     545         [ -  + ]:          12 : class Init::MakeEchoResults::Pipeline {
     546                 :             : public:
     547                 :             :   typedef MakeEchoResults Pipelines;
     548                 :             : 
     549                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     550                 :           6 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     551                 :           6 :       : _typeless(kj::mv(typeless)) {}
     552                 :             : 
     553                 :             :   inline  ::ipc::capnp::messages::Echo::Client getResult();
     554                 :             : private:
     555                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     556                 :             :   friend class ::capnp::PipelineHook;
     557                 :             :   template <typename, ::capnp::Kind>
     558                 :             :   friend struct ::capnp::ToDynamic_;
     559                 :             : };
     560                 :             : #endif  // !CAPNP_LITE
     561                 :             : 
     562                 :             : class Init::MakeMiningParams::Reader {
     563                 :             : public:
     564                 :             :   typedef MakeMiningParams Reads;
     565                 :             : 
     566                 :             :   Reader() = default;
     567                 :           0 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     568                 :             : 
     569                 :             :   inline ::capnp::MessageSize totalSize() const {
     570                 :             :     return _reader.totalSize().asPublic();
     571                 :             :   }
     572                 :             : 
     573                 :             : #if !CAPNP_LITE
     574                 :           0 :   inline ::kj::StringTree toString() const {
     575         [ #  # ]:           0 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     576                 :             :   }
     577                 :             : #endif  // !CAPNP_LITE
     578                 :             : 
     579                 :             :   inline bool hasContext() const;
     580                 :             :   inline  ::mp::Context::Reader getContext() const;
     581                 :             : 
     582                 :             : private:
     583                 :             :   ::capnp::_::StructReader _reader;
     584                 :             :   template <typename, ::capnp::Kind>
     585                 :             :   friend struct ::capnp::ToDynamic_;
     586                 :             :   template <typename, ::capnp::Kind>
     587                 :             :   friend struct ::capnp::_::PointerHelpers;
     588                 :             :   template <typename, ::capnp::Kind>
     589                 :             :   friend struct ::capnp::List;
     590                 :             :   friend class ::capnp::MessageBuilder;
     591                 :             :   friend class ::capnp::Orphanage;
     592                 :             : };
     593                 :             : 
     594                 :             : class Init::MakeMiningParams::Builder {
     595                 :             : public:
     596                 :             :   typedef MakeMiningParams Builds;
     597                 :             : 
     598                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     599                 :             :                        // You can explicitly initialize to nullptr instead.
     600                 :             :   inline Builder(decltype(nullptr)) {}
     601                 :           0 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     602                 :           0 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     603                 :           0 :   inline Reader asReader() const { return *this; }
     604                 :             : 
     605                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     606                 :             : #if !CAPNP_LITE
     607                 :           0 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     608                 :             : #endif  // !CAPNP_LITE
     609                 :             : 
     610                 :             :   inline bool hasContext();
     611                 :             :   inline  ::mp::Context::Builder getContext();
     612                 :             :   inline void setContext( ::mp::Context::Reader value);
     613                 :             :   inline  ::mp::Context::Builder initContext();
     614                 :             :   inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
     615                 :             :   inline ::capnp::Orphan< ::mp::Context> disownContext();
     616                 :             : 
     617                 :             : private:
     618                 :             :   ::capnp::_::StructBuilder _builder;
     619                 :             :   template <typename, ::capnp::Kind>
     620                 :             :   friend struct ::capnp::ToDynamic_;
     621                 :             :   friend class ::capnp::Orphanage;
     622                 :             :   template <typename, ::capnp::Kind>
     623                 :             :   friend struct ::capnp::_::PointerHelpers;
     624                 :             : };
     625                 :             : 
     626                 :             : #if !CAPNP_LITE
     627                 :             : class Init::MakeMiningParams::Pipeline {
     628                 :             : public:
     629                 :             :   typedef MakeMiningParams Pipelines;
     630                 :             : 
     631                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     632                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     633                 :             :       : _typeless(kj::mv(typeless)) {}
     634                 :             : 
     635                 :             :   inline  ::mp::Context::Pipeline getContext();
     636                 :             : private:
     637                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     638                 :             :   friend class ::capnp::PipelineHook;
     639                 :             :   template <typename, ::capnp::Kind>
     640                 :             :   friend struct ::capnp::ToDynamic_;
     641                 :             : };
     642                 :             : #endif  // !CAPNP_LITE
     643                 :             : 
     644                 :             : class Init::MakeMiningResults::Reader {
     645                 :             : public:
     646                 :             :   typedef MakeMiningResults Reads;
     647                 :             : 
     648                 :             :   Reader() = default;
     649                 :           0 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     650                 :             : 
     651                 :             :   inline ::capnp::MessageSize totalSize() const {
     652                 :             :     return _reader.totalSize().asPublic();
     653                 :             :   }
     654                 :             : 
     655                 :             : #if !CAPNP_LITE
     656                 :           0 :   inline ::kj::StringTree toString() const {
     657         [ #  # ]:           0 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     658                 :             :   }
     659                 :             : #endif  // !CAPNP_LITE
     660                 :             : 
     661                 :             :   inline bool hasResult() const;
     662                 :             : #if !CAPNP_LITE
     663                 :             :   inline  ::ipc::capnp::messages::Mining::Client getResult() const;
     664                 :             : #endif  // !CAPNP_LITE
     665                 :             : 
     666                 :             : private:
     667                 :             :   ::capnp::_::StructReader _reader;
     668                 :             :   template <typename, ::capnp::Kind>
     669                 :             :   friend struct ::capnp::ToDynamic_;
     670                 :             :   template <typename, ::capnp::Kind>
     671                 :             :   friend struct ::capnp::_::PointerHelpers;
     672                 :             :   template <typename, ::capnp::Kind>
     673                 :             :   friend struct ::capnp::List;
     674                 :             :   friend class ::capnp::MessageBuilder;
     675                 :             :   friend class ::capnp::Orphanage;
     676                 :             : };
     677                 :             : 
     678                 :             : class Init::MakeMiningResults::Builder {
     679                 :             : public:
     680                 :             :   typedef MakeMiningResults Builds;
     681                 :             : 
     682                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     683                 :             :                        // You can explicitly initialize to nullptr instead.
     684                 :             :   inline Builder(decltype(nullptr)) {}
     685                 :           0 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     686                 :           0 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     687                 :           0 :   inline Reader asReader() const { return *this; }
     688                 :             : 
     689                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     690                 :             : #if !CAPNP_LITE
     691                 :           0 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     692                 :             : #endif  // !CAPNP_LITE
     693                 :             : 
     694                 :             :   inline bool hasResult();
     695                 :             : #if !CAPNP_LITE
     696                 :             :   inline  ::ipc::capnp::messages::Mining::Client getResult();
     697                 :             :   inline void setResult( ::ipc::capnp::messages::Mining::Client&& value);
     698                 :             :   inline void setResult( ::ipc::capnp::messages::Mining::Client& value);
     699                 :             :   inline void adoptResult(::capnp::Orphan< ::ipc::capnp::messages::Mining>&& value);
     700                 :             :   inline ::capnp::Orphan< ::ipc::capnp::messages::Mining> disownResult();
     701                 :             : #endif  // !CAPNP_LITE
     702                 :             : 
     703                 :             : private:
     704                 :             :   ::capnp::_::StructBuilder _builder;
     705                 :             :   template <typename, ::capnp::Kind>
     706                 :             :   friend struct ::capnp::ToDynamic_;
     707                 :             :   friend class ::capnp::Orphanage;
     708                 :             :   template <typename, ::capnp::Kind>
     709                 :             :   friend struct ::capnp::_::PointerHelpers;
     710                 :             : };
     711                 :             : 
     712                 :             : #if !CAPNP_LITE
     713         [ #  # ]:           0 : class Init::MakeMiningResults::Pipeline {
     714                 :             : public:
     715                 :             :   typedef MakeMiningResults Pipelines;
     716                 :             : 
     717                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     718                 :           0 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     719                 :           0 :       : _typeless(kj::mv(typeless)) {}
     720                 :             : 
     721                 :             :   inline  ::ipc::capnp::messages::Mining::Client getResult();
     722                 :             : private:
     723                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     724                 :             :   friend class ::capnp::PipelineHook;
     725                 :             :   template <typename, ::capnp::Kind>
     726                 :             :   friend struct ::capnp::ToDynamic_;
     727                 :             : };
     728                 :             : #endif  // !CAPNP_LITE
     729                 :             : 
     730                 :             : // =======================================================================================
     731                 :             : 
     732                 :             : #if !CAPNP_LITE
     733                 :           6 : inline Init::Client::Client(decltype(nullptr))
     734         [ +  - ]:           6 :     : ::capnp::Capability::Client(nullptr) {}
     735                 :           6 : inline Init::Client::Client(
     736                 :             :     ::kj::Own< ::capnp::ClientHook>&& hook)
     737         [ +  - ]:           6 :     : ::capnp::Capability::Client(::kj::mv(hook)) {}
     738                 :             : template <typename _t, typename>
     739                 :             : inline Init::Client::Client(::kj::Own<_t>&& server)
     740                 :             :     : ::capnp::Capability::Client(::kj::mv(server)) {}
     741                 :             : template <typename _t, typename>
     742                 :             : inline Init::Client::Client(::kj::Promise<_t>&& promise)
     743                 :             :     : ::capnp::Capability::Client(::kj::mv(promise)) {}
     744                 :             : inline Init::Client::Client(::kj::Exception&& exception)
     745                 :             :     : ::capnp::Capability::Client(::kj::mv(exception)) {}
     746                 :             : inline  ::ipc::capnp::messages::Init::Client& Init::Client::operator=(Client& other) {
     747                 :             :   ::capnp::Capability::Client::operator=(other);
     748                 :             :   return *this;
     749                 :             : }
     750                 :           6 : inline  ::ipc::capnp::messages::Init::Client& Init::Client::operator=(Client&& other) {
     751                 :           6 :   ::capnp::Capability::Client::operator=(kj::mv(other));
     752                 :           6 :   return *this;
     753                 :             : }
     754                 :             : 
     755                 :             : #endif  // !CAPNP_LITE
     756                 :             : inline bool Init::ConstructParams::Reader::hasThreadMap() const {
     757                 :             :   return !_reader.getPointerField(
     758                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     759                 :             : }
     760                 :             : inline bool Init::ConstructParams::Builder::hasThreadMap() {
     761                 :             :   return !_builder.getPointerField(
     762                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     763                 :             : }
     764                 :             : #if !CAPNP_LITE
     765                 :           6 : inline  ::mp::ThreadMap::Client Init::ConstructParams::Reader::getThreadMap() const {
     766                 :           6 :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::get(_reader.getPointerField(
     767         [ +  - ]:          12 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     768                 :             : }
     769                 :             : inline  ::mp::ThreadMap::Client Init::ConstructParams::Builder::getThreadMap() {
     770                 :             :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::get(_builder.getPointerField(
     771                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     772                 :             : }
     773                 :             : inline  ::mp::ThreadMap::Client Init::ConstructParams::Pipeline::getThreadMap() {
     774                 :             :   return  ::mp::ThreadMap::Client(_typeless.getPointerField(0).asCap());
     775                 :             : }
     776                 :           6 : inline void Init::ConstructParams::Builder::setThreadMap( ::mp::ThreadMap::Client&& cap) {
     777                 :           6 :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::set(_builder.getPointerField(
     778                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
     779                 :           6 : }
     780                 :             : inline void Init::ConstructParams::Builder::setThreadMap( ::mp::ThreadMap::Client& cap) {
     781                 :             :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::set(_builder.getPointerField(
     782                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
     783                 :             : }
     784                 :             : inline void Init::ConstructParams::Builder::adoptThreadMap(
     785                 :             :     ::capnp::Orphan< ::mp::ThreadMap>&& value) {
     786                 :             :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::adopt(_builder.getPointerField(
     787                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
     788                 :             : }
     789                 :             : inline ::capnp::Orphan< ::mp::ThreadMap> Init::ConstructParams::Builder::disownThreadMap() {
     790                 :             :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::disown(_builder.getPointerField(
     791                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     792                 :             : }
     793                 :             : #endif  // !CAPNP_LITE
     794                 :             : 
     795                 :             : inline bool Init::ConstructResults::Reader::hasThreadMap() const {
     796                 :             :   return !_reader.getPointerField(
     797                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     798                 :             : }
     799                 :             : inline bool Init::ConstructResults::Builder::hasThreadMap() {
     800                 :             :   return !_builder.getPointerField(
     801                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     802                 :             : }
     803                 :             : #if !CAPNP_LITE
     804                 :           6 : inline  ::mp::ThreadMap::Client Init::ConstructResults::Reader::getThreadMap() const {
     805                 :           6 :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::get(_reader.getPointerField(
     806         [ +  - ]:          12 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     807                 :             : }
     808                 :             : inline  ::mp::ThreadMap::Client Init::ConstructResults::Builder::getThreadMap() {
     809                 :             :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::get(_builder.getPointerField(
     810                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     811                 :             : }
     812                 :             : inline  ::mp::ThreadMap::Client Init::ConstructResults::Pipeline::getThreadMap() {
     813                 :             :   return  ::mp::ThreadMap::Client(_typeless.getPointerField(0).asCap());
     814                 :             : }
     815                 :           6 : inline void Init::ConstructResults::Builder::setThreadMap( ::mp::ThreadMap::Client&& cap) {
     816                 :           6 :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::set(_builder.getPointerField(
     817                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
     818                 :           6 : }
     819                 :             : inline void Init::ConstructResults::Builder::setThreadMap( ::mp::ThreadMap::Client& cap) {
     820                 :             :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::set(_builder.getPointerField(
     821                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
     822                 :             : }
     823                 :             : inline void Init::ConstructResults::Builder::adoptThreadMap(
     824                 :             :     ::capnp::Orphan< ::mp::ThreadMap>&& value) {
     825                 :             :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::adopt(_builder.getPointerField(
     826                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
     827                 :             : }
     828                 :             : inline ::capnp::Orphan< ::mp::ThreadMap> Init::ConstructResults::Builder::disownThreadMap() {
     829                 :             :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::disown(_builder.getPointerField(
     830                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     831                 :             : }
     832                 :             : #endif  // !CAPNP_LITE
     833                 :             : 
     834                 :             : inline bool Init::MakeEchoParams::Reader::hasContext() const {
     835                 :             :   return !_reader.getPointerField(
     836                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     837                 :             : }
     838                 :             : inline bool Init::MakeEchoParams::Builder::hasContext() {
     839                 :             :   return !_builder.getPointerField(
     840                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     841                 :             : }
     842                 :          12 : inline  ::mp::Context::Reader Init::MakeEchoParams::Reader::getContext() const {
     843         [ +  - ]:          24 :   return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
     844                 :          12 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     845                 :             : }
     846                 :             : inline  ::mp::Context::Builder Init::MakeEchoParams::Builder::getContext() {
     847                 :             :   return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
     848                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     849                 :             : }
     850                 :             : #if !CAPNP_LITE
     851                 :             : inline  ::mp::Context::Pipeline Init::MakeEchoParams::Pipeline::getContext() {
     852                 :             :   return  ::mp::Context::Pipeline(_typeless.getPointerField(0));
     853                 :             : }
     854                 :             : #endif  // !CAPNP_LITE
     855                 :             : inline void Init::MakeEchoParams::Builder::setContext( ::mp::Context::Reader value) {
     856                 :             :   ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
     857                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
     858                 :             : }
     859                 :           6 : inline  ::mp::Context::Builder Init::MakeEchoParams::Builder::initContext() {
     860                 :           6 :   return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
     861                 :           6 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     862                 :             : }
     863                 :             : inline void Init::MakeEchoParams::Builder::adoptContext(
     864                 :             :     ::capnp::Orphan< ::mp::Context>&& value) {
     865                 :             :   ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
     866                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
     867                 :             : }
     868                 :             : inline ::capnp::Orphan< ::mp::Context> Init::MakeEchoParams::Builder::disownContext() {
     869                 :             :   return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
     870                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     871                 :             : }
     872                 :             : 
     873                 :           6 : inline bool Init::MakeEchoResults::Reader::hasResult() const {
     874         [ +  - ]:          12 :   return !_reader.getPointerField(
     875                 :           6 :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     876                 :             : }
     877                 :             : inline bool Init::MakeEchoResults::Builder::hasResult() {
     878                 :             :   return !_builder.getPointerField(
     879                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     880                 :             : }
     881                 :             : #if !CAPNP_LITE
     882                 :           6 : inline  ::ipc::capnp::messages::Echo::Client Init::MakeEchoResults::Reader::getResult() const {
     883                 :           6 :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::get(_reader.getPointerField(
     884         [ +  - ]:          12 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     885                 :             : }
     886                 :             : inline  ::ipc::capnp::messages::Echo::Client Init::MakeEchoResults::Builder::getResult() {
     887                 :             :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::get(_builder.getPointerField(
     888                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     889                 :             : }
     890                 :             : inline  ::ipc::capnp::messages::Echo::Client Init::MakeEchoResults::Pipeline::getResult() {
     891                 :             :   return  ::ipc::capnp::messages::Echo::Client(_typeless.getPointerField(0).asCap());
     892                 :             : }
     893                 :           6 : inline void Init::MakeEchoResults::Builder::setResult( ::ipc::capnp::messages::Echo::Client&& cap) {
     894                 :           6 :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::set(_builder.getPointerField(
     895                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
     896                 :           6 : }
     897                 :             : inline void Init::MakeEchoResults::Builder::setResult( ::ipc::capnp::messages::Echo::Client& cap) {
     898                 :             :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::set(_builder.getPointerField(
     899                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
     900                 :             : }
     901                 :             : inline void Init::MakeEchoResults::Builder::adoptResult(
     902                 :             :     ::capnp::Orphan< ::ipc::capnp::messages::Echo>&& value) {
     903                 :             :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::adopt(_builder.getPointerField(
     904                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
     905                 :             : }
     906                 :             : inline ::capnp::Orphan< ::ipc::capnp::messages::Echo> Init::MakeEchoResults::Builder::disownResult() {
     907                 :             :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::disown(_builder.getPointerField(
     908                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     909                 :             : }
     910                 :             : #endif  // !CAPNP_LITE
     911                 :             : 
     912                 :             : inline bool Init::MakeMiningParams::Reader::hasContext() const {
     913                 :             :   return !_reader.getPointerField(
     914                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     915                 :             : }
     916                 :             : inline bool Init::MakeMiningParams::Builder::hasContext() {
     917                 :             :   return !_builder.getPointerField(
     918                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     919                 :             : }
     920                 :           0 : inline  ::mp::Context::Reader Init::MakeMiningParams::Reader::getContext() const {
     921         [ #  # ]:           0 :   return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
     922                 :           0 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     923                 :             : }
     924                 :             : inline  ::mp::Context::Builder Init::MakeMiningParams::Builder::getContext() {
     925                 :             :   return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
     926                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     927                 :             : }
     928                 :             : #if !CAPNP_LITE
     929                 :             : inline  ::mp::Context::Pipeline Init::MakeMiningParams::Pipeline::getContext() {
     930                 :             :   return  ::mp::Context::Pipeline(_typeless.getPointerField(0));
     931                 :             : }
     932                 :             : #endif  // !CAPNP_LITE
     933                 :             : inline void Init::MakeMiningParams::Builder::setContext( ::mp::Context::Reader value) {
     934                 :             :   ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
     935                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
     936                 :             : }
     937                 :           0 : inline  ::mp::Context::Builder Init::MakeMiningParams::Builder::initContext() {
     938                 :           0 :   return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
     939                 :           0 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     940                 :             : }
     941                 :             : inline void Init::MakeMiningParams::Builder::adoptContext(
     942                 :             :     ::capnp::Orphan< ::mp::Context>&& value) {
     943                 :             :   ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
     944                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
     945                 :             : }
     946                 :             : inline ::capnp::Orphan< ::mp::Context> Init::MakeMiningParams::Builder::disownContext() {
     947                 :             :   return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
     948                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     949                 :             : }
     950                 :             : 
     951                 :           0 : inline bool Init::MakeMiningResults::Reader::hasResult() const {
     952         [ #  # ]:           0 :   return !_reader.getPointerField(
     953                 :           0 :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     954                 :             : }
     955                 :             : inline bool Init::MakeMiningResults::Builder::hasResult() {
     956                 :             :   return !_builder.getPointerField(
     957                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     958                 :             : }
     959                 :             : #if !CAPNP_LITE
     960                 :           0 : inline  ::ipc::capnp::messages::Mining::Client Init::MakeMiningResults::Reader::getResult() const {
     961                 :           0 :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::get(_reader.getPointerField(
     962         [ #  # ]:           0 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     963                 :             : }
     964                 :             : inline  ::ipc::capnp::messages::Mining::Client Init::MakeMiningResults::Builder::getResult() {
     965                 :             :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::get(_builder.getPointerField(
     966                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     967                 :             : }
     968                 :             : inline  ::ipc::capnp::messages::Mining::Client Init::MakeMiningResults::Pipeline::getResult() {
     969                 :             :   return  ::ipc::capnp::messages::Mining::Client(_typeless.getPointerField(0).asCap());
     970                 :             : }
     971                 :           0 : inline void Init::MakeMiningResults::Builder::setResult( ::ipc::capnp::messages::Mining::Client&& cap) {
     972                 :           0 :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::set(_builder.getPointerField(
     973                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
     974                 :           0 : }
     975                 :             : inline void Init::MakeMiningResults::Builder::setResult( ::ipc::capnp::messages::Mining::Client& cap) {
     976                 :             :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::set(_builder.getPointerField(
     977                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
     978                 :             : }
     979                 :             : inline void Init::MakeMiningResults::Builder::adoptResult(
     980                 :             :     ::capnp::Orphan< ::ipc::capnp::messages::Mining>&& value) {
     981                 :             :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::adopt(_builder.getPointerField(
     982                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
     983                 :             : }
     984                 :             : inline ::capnp::Orphan< ::ipc::capnp::messages::Mining> Init::MakeMiningResults::Builder::disownResult() {
     985                 :             :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::disown(_builder.getPointerField(
     986                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     987                 :             : }
     988                 :             : #endif  // !CAPNP_LITE
     989                 :             : 
     990                 :             : }  // namespace
     991                 :             : }  // namespace
     992                 :             : }  // namespace
     993                 :             : 
     994                 :             : CAPNP_END_HEADER
     995                 :             : 
        

Generated by: LCOV version 2.0-1