c@106: // Generated by Cap'n Proto compiler, DO NOT EDIT c@106: // source: piper.capnp c@106: c@106: #ifndef CAPNP_INCLUDED_c4b1c6c44c999206_ c@106: #define CAPNP_INCLUDED_c4b1c6c44c999206_ c@106: c@106: #include c@106: c@106: #if CAPNP_VERSION != 6000 c@106: #error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library." c@106: #endif c@106: c@106: c@106: namespace capnp { c@106: namespace schemas { c@106: c@106: CAPNP_DECLARE_SCHEMA(b491ca63222c253f); c@106: CAPNP_DECLARE_SCHEMA(f8fda10bef70a97d); c@106: CAPNP_DECLARE_SCHEMA(eca23e4a04bdfeb2); c@106: enum class SampleType_eca23e4a04bdfeb2: uint16_t { c@106: ONE_SAMPLE_PER_STEP, c@106: FIXED_SAMPLE_RATE, c@106: VARIABLE_SAMPLE_RATE, c@106: }; c@106: CAPNP_DECLARE_ENUM(SampleType, eca23e4a04bdfeb2); c@106: CAPNP_DECLARE_SCHEMA(b2d0c825aac8249c); c@106: CAPNP_DECLARE_SCHEMA(902c6065e1be824a); c@106: CAPNP_DECLARE_SCHEMA(f50fb3b9c1bf75f4); c@106: enum class InputDomain_f50fb3b9c1bf75f4: uint16_t { c@106: TIME_DOMAIN, c@106: FREQUENCY_DOMAIN, c@106: }; c@106: CAPNP_DECLARE_ENUM(InputDomain, f50fb3b9c1bf75f4); c@106: CAPNP_DECLARE_SCHEMA(b83ac85463e6caa1); c@106: CAPNP_DECLARE_SCHEMA(84d515888a427d07); c@106: CAPNP_DECLARE_SCHEMA(c6f3f05f2bc614ba); c@106: CAPNP_DECLARE_SCHEMA(d6a172208c9a1760); c@106: CAPNP_DECLARE_SCHEMA(ffa3fccceb684869); c@106: CAPNP_DECLARE_SCHEMA(ab2572c346316b24); c@106: CAPNP_DECLARE_SCHEMA(db209a01f86fe045); c@106: CAPNP_DECLARE_SCHEMA(900b56fed422dd37); c@106: CAPNP_DECLARE_SCHEMA(b5edf73eb2e79c4e); c@106: enum class AdapterFlag_b5edf73eb2e79c4e: uint16_t { c@106: ADAPT_INPUT_DOMAIN, c@106: ADAPT_CHANNEL_COUNT, c@106: ADAPT_BUFFER_SIZE, c@106: }; c@106: CAPNP_DECLARE_ENUM(AdapterFlag, b5edf73eb2e79c4e); c@106: CAPNP_DECLARE_SCHEMA(9ed58097be8bc6f3); c@106: CAPNP_DECLARE_SCHEMA(eb49b9892c5b9b83); c@106: CAPNP_DECLARE_SCHEMA(b54ff18dabd0d4e1); c@106: CAPNP_DECLARE_SCHEMA(c8b36e8e9e8d6f15); c@106: CAPNP_DECLARE_SCHEMA(fca0f520555d0c94); c@106: CAPNP_DECLARE_SCHEMA(82fb08d7f06fe81d); c@106: CAPNP_DECLARE_SCHEMA(fcf72b478bbe9d02); c@106: CAPNP_DECLARE_SCHEMA(c433db5864bf6d56); c@106: CAPNP_DECLARE_SCHEMA(ea87c8bff474ddce); c@106: CAPNP_DECLARE_SCHEMA(fe801447309c2782); c@106: CAPNP_DECLARE_SCHEMA(d8c0271e01d84377); c@106: CAPNP_DECLARE_SCHEMA(ff4c6fd2917a8eb7); c@106: CAPNP_DECLARE_SCHEMA(a7e9dceb8fbd0e23); c@106: CAPNP_DECLARE_SCHEMA(df8b913d24f04413); c@106: CAPNP_DECLARE_SCHEMA(a56d2f77e663c2f9); c@106: CAPNP_DECLARE_SCHEMA(a6fbd69d9815fb3a); c@106: CAPNP_DECLARE_SCHEMA(b1fd870b8c5fe885); c@106: CAPNP_DECLARE_SCHEMA(d6d526aed45ac1db); c@106: CAPNP_DECLARE_SCHEMA(ad12bb4485b0d3ac); c@106: c@106: } // namespace schemas c@106: } // namespace capnp c@106: c@106: namespace piper { c@106: c@106: struct Basic { c@106: Basic() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(b491ca63222c253f, 0, 3) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct ParameterDescriptor { c@106: ParameterDescriptor() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(f8fda10bef70a97d, 3, 3) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: typedef ::capnp::schemas::SampleType_eca23e4a04bdfeb2 SampleType; c@106: c@106: struct ConfiguredOutputDescriptor { c@106: ConfiguredOutputDescriptor() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(b2d0c825aac8249c, 3, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct OutputDescriptor { c@106: OutputDescriptor() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(902c6065e1be824a, 0, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: typedef ::capnp::schemas::InputDomain_f50fb3b9c1bf75f4 InputDomain; c@106: c@106: struct ExtractorStaticData { c@106: ExtractorStaticData() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(b83ac85463e6caa1, 2, 8) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct RealTime { c@106: RealTime() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(84d515888a427d07, 1, 0) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct ProcessInput { c@106: ProcessInput() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(c6f3f05f2bc614ba, 0, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct Feature { c@106: Feature() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(d6a172208c9a1760, 1, 4) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct FeatureSet { c@106: FeatureSet() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: struct FSPair; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(ffa3fccceb684869, 0, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct FeatureSet::FSPair { c@106: FSPair() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(ab2572c346316b24, 0, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct Configuration { c@106: Configuration() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: struct PVPair; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(db209a01f86fe045, 2, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct Configuration::PVPair { c@106: PVPair() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(900b56fed422dd37, 1, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: typedef ::capnp::schemas::AdapterFlag_b5edf73eb2e79c4e AdapterFlag; c@106: c@106: extern const ::capnp::_::ConstList< ::piper::AdapterFlag> ADAPT_ALL_SAFE; c@106: extern const ::capnp::_::ConstList< ::piper::AdapterFlag> ADAPT_ALL; c@106: struct ListRequest { c@106: ListRequest() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(b54ff18dabd0d4e1, 0, 0) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct ListResponse { c@106: ListResponse() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(c8b36e8e9e8d6f15, 0, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct LoadRequest { c@106: LoadRequest() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(fca0f520555d0c94, 1, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct LoadResponse { c@106: LoadResponse() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(82fb08d7f06fe81d, 1, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct ConfigurationRequest { c@106: ConfigurationRequest() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(fcf72b478bbe9d02, 1, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct ConfigurationResponse { c@106: ConfigurationResponse() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(c433db5864bf6d56, 1, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct ProcessRequest { c@106: ProcessRequest() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(ea87c8bff474ddce, 1, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct ProcessResponse { c@106: ProcessResponse() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(fe801447309c2782, 1, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct FinishRequest { c@106: FinishRequest() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(d8c0271e01d84377, 1, 0) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct FinishResponse { c@106: FinishResponse() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(ff4c6fd2917a8eb7, 1, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct Error { c@106: Error() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(a7e9dceb8fbd0e23, 1, 1) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct RpcRequest { c@106: RpcRequest() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: struct Id; c@106: struct Request; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(df8b913d24f04413, 1, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct RpcRequest::Id { c@106: Id() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: enum Which: uint16_t { c@106: NUMBER, c@106: TAG, c@106: NONE, c@106: }; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(a56d2f77e663c2f9, 1, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct RpcRequest::Request { c@106: Request() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: enum Which: uint16_t { c@106: LIST, c@106: LOAD, c@106: CONFIGURE, c@106: PROCESS, c@106: FINISH, c@106: }; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(a6fbd69d9815fb3a, 1, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct RpcResponse { c@106: RpcResponse() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: struct Id; c@106: struct Response; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(b1fd870b8c5fe885, 1, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct RpcResponse::Id { c@106: Id() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: enum Which: uint16_t { c@106: NUMBER, c@106: TAG, c@106: NONE, c@106: }; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(d6d526aed45ac1db, 1, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: struct RpcResponse::Response { c@106: Response() = delete; c@106: c@106: class Reader; c@106: class Builder; c@106: class Pipeline; c@106: enum Which: uint16_t { c@106: ERROR, c@106: LIST, c@106: LOAD, c@106: CONFIGURE, c@106: PROCESS, c@106: FINISH, c@106: }; c@106: c@106: struct _capnpPrivate { c@106: CAPNP_DECLARE_STRUCT_HEADER(ad12bb4485b0d3ac, 1, 2) c@106: #if !CAPNP_LITE c@106: static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand; c@106: #endif // !CAPNP_LITE c@106: }; c@106: }; c@106: c@106: // ======================================================================================= c@106: c@106: class Basic::Reader { c@106: public: c@106: typedef Basic Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasIdentifier() const; c@106: inline ::capnp::Text::Reader getIdentifier() const; c@106: c@106: inline bool hasName() const; c@106: inline ::capnp::Text::Reader getName() const; c@106: c@106: inline bool hasDescription() const; c@106: inline ::capnp::Text::Reader getDescription() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class Basic::Builder { c@106: public: c@106: typedef Basic Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasIdentifier(); c@106: inline ::capnp::Text::Builder getIdentifier(); c@106: inline void setIdentifier( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initIdentifier(unsigned int size); c@106: inline void adoptIdentifier(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownIdentifier(); c@106: c@106: inline bool hasName(); c@106: inline ::capnp::Text::Builder getName(); c@106: inline void setName( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initName(unsigned int size); c@106: inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownName(); c@106: c@106: inline bool hasDescription(); c@106: inline ::capnp::Text::Builder getDescription(); c@106: inline void setDescription( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initDescription(unsigned int size); c@106: inline void adoptDescription(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownDescription(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class Basic::Pipeline { c@106: public: c@106: typedef Basic Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ParameterDescriptor::Reader { c@106: public: c@106: typedef ParameterDescriptor Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasBasic() const; c@106: inline ::piper::Basic::Reader getBasic() const; c@106: c@106: inline bool hasUnit() const; c@106: inline ::capnp::Text::Reader getUnit() const; c@106: c@106: inline float getMinValue() const; c@106: c@106: inline float getMaxValue() const; c@106: c@106: inline float getDefaultValue() const; c@106: c@106: inline bool getIsQuantized() const; c@106: c@106: inline float getQuantizeStep() const; c@106: c@106: inline bool hasValueNames() const; c@106: inline ::capnp::List< ::capnp::Text>::Reader getValueNames() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ParameterDescriptor::Builder { c@106: public: c@106: typedef ParameterDescriptor Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasBasic(); c@106: inline ::piper::Basic::Builder getBasic(); c@106: inline void setBasic( ::piper::Basic::Reader value); c@106: inline ::piper::Basic::Builder initBasic(); c@106: inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value); c@106: inline ::capnp::Orphan< ::piper::Basic> disownBasic(); c@106: c@106: inline bool hasUnit(); c@106: inline ::capnp::Text::Builder getUnit(); c@106: inline void setUnit( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initUnit(unsigned int size); c@106: inline void adoptUnit(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownUnit(); c@106: c@106: inline float getMinValue(); c@106: inline void setMinValue(float value); c@106: c@106: inline float getMaxValue(); c@106: inline void setMaxValue(float value); c@106: c@106: inline float getDefaultValue(); c@106: inline void setDefaultValue(float value); c@106: c@106: inline bool getIsQuantized(); c@106: inline void setIsQuantized(bool value); c@106: c@106: inline float getQuantizeStep(); c@106: inline void setQuantizeStep(float value); c@106: c@106: inline bool hasValueNames(); c@106: inline ::capnp::List< ::capnp::Text>::Builder getValueNames(); c@106: inline void setValueNames( ::capnp::List< ::capnp::Text>::Reader value); c@106: inline void setValueNames(::kj::ArrayPtr value); c@106: inline ::capnp::List< ::capnp::Text>::Builder initValueNames(unsigned int size); c@106: inline void adoptValueNames(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownValueNames(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ParameterDescriptor::Pipeline { c@106: public: c@106: typedef ParameterDescriptor Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::Basic::Pipeline getBasic(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ConfiguredOutputDescriptor::Reader { c@106: public: c@106: typedef ConfiguredOutputDescriptor Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasUnit() const; c@106: inline ::capnp::Text::Reader getUnit() const; c@106: c@106: inline bool getHasFixedBinCount() const; c@106: c@106: inline ::int32_t getBinCount() const; c@106: c@106: inline bool hasBinNames() const; c@106: inline ::capnp::List< ::capnp::Text>::Reader getBinNames() const; c@106: c@106: inline bool getHasKnownExtents() const; c@106: c@106: inline float getMinValue() const; c@106: c@106: inline float getMaxValue() const; c@106: c@106: inline bool getIsQuantized() const; c@106: c@106: inline float getQuantizeStep() const; c@106: c@106: inline ::piper::SampleType getSampleType() const; c@106: c@106: inline float getSampleRate() const; c@106: c@106: inline bool getHasDuration() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ConfiguredOutputDescriptor::Builder { c@106: public: c@106: typedef ConfiguredOutputDescriptor Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasUnit(); c@106: inline ::capnp::Text::Builder getUnit(); c@106: inline void setUnit( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initUnit(unsigned int size); c@106: inline void adoptUnit(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownUnit(); c@106: c@106: inline bool getHasFixedBinCount(); c@106: inline void setHasFixedBinCount(bool value); c@106: c@106: inline ::int32_t getBinCount(); c@106: inline void setBinCount( ::int32_t value); c@106: c@106: inline bool hasBinNames(); c@106: inline ::capnp::List< ::capnp::Text>::Builder getBinNames(); c@106: inline void setBinNames( ::capnp::List< ::capnp::Text>::Reader value); c@106: inline void setBinNames(::kj::ArrayPtr value); c@106: inline ::capnp::List< ::capnp::Text>::Builder initBinNames(unsigned int size); c@106: inline void adoptBinNames(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownBinNames(); c@106: c@106: inline bool getHasKnownExtents(); c@106: inline void setHasKnownExtents(bool value); c@106: c@106: inline float getMinValue(); c@106: inline void setMinValue(float value); c@106: c@106: inline float getMaxValue(); c@106: inline void setMaxValue(float value); c@106: c@106: inline bool getIsQuantized(); c@106: inline void setIsQuantized(bool value); c@106: c@106: inline float getQuantizeStep(); c@106: inline void setQuantizeStep(float value); c@106: c@106: inline ::piper::SampleType getSampleType(); c@106: inline void setSampleType( ::piper::SampleType value); c@106: c@106: inline float getSampleRate(); c@106: inline void setSampleRate(float value); c@106: c@106: inline bool getHasDuration(); c@106: inline void setHasDuration(bool value); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ConfiguredOutputDescriptor::Pipeline { c@106: public: c@106: typedef ConfiguredOutputDescriptor Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class OutputDescriptor::Reader { c@106: public: c@106: typedef OutputDescriptor Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasBasic() const; c@106: inline ::piper::Basic::Reader getBasic() const; c@106: c@106: inline bool hasConfigured() const; c@106: inline ::piper::ConfiguredOutputDescriptor::Reader getConfigured() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class OutputDescriptor::Builder { c@106: public: c@106: typedef OutputDescriptor Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasBasic(); c@106: inline ::piper::Basic::Builder getBasic(); c@106: inline void setBasic( ::piper::Basic::Reader value); c@106: inline ::piper::Basic::Builder initBasic(); c@106: inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value); c@106: inline ::capnp::Orphan< ::piper::Basic> disownBasic(); c@106: c@106: inline bool hasConfigured(); c@106: inline ::piper::ConfiguredOutputDescriptor::Builder getConfigured(); c@106: inline void setConfigured( ::piper::ConfiguredOutputDescriptor::Reader value); c@106: inline ::piper::ConfiguredOutputDescriptor::Builder initConfigured(); c@106: inline void adoptConfigured(::capnp::Orphan< ::piper::ConfiguredOutputDescriptor>&& value); c@106: inline ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor> disownConfigured(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class OutputDescriptor::Pipeline { c@106: public: c@106: typedef OutputDescriptor Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::Basic::Pipeline getBasic(); c@106: inline ::piper::ConfiguredOutputDescriptor::Pipeline getConfigured(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ExtractorStaticData::Reader { c@106: public: c@106: typedef ExtractorStaticData Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasKey() const; c@106: inline ::capnp::Text::Reader getKey() const; c@106: c@106: inline bool hasBasic() const; c@106: inline ::piper::Basic::Reader getBasic() const; c@106: c@106: inline bool hasMaker() const; c@106: inline ::capnp::Text::Reader getMaker() const; c@106: c@106: inline bool hasCopyright() const; c@106: inline ::capnp::Text::Reader getCopyright() const; c@106: c@106: inline ::int32_t getVersion() const; c@106: c@106: inline bool hasCategory() const; c@106: inline ::capnp::List< ::capnp::Text>::Reader getCategory() const; c@106: c@106: inline ::int32_t getMinChannelCount() const; c@106: c@106: inline ::int32_t getMaxChannelCount() const; c@106: c@106: inline bool hasParameters() const; c@106: inline ::capnp::List< ::piper::ParameterDescriptor>::Reader getParameters() const; c@106: c@106: inline bool hasPrograms() const; c@106: inline ::capnp::List< ::capnp::Text>::Reader getPrograms() const; c@106: c@106: inline ::piper::InputDomain getInputDomain() const; c@106: c@106: inline bool hasBasicOutputInfo() const; c@106: inline ::capnp::List< ::piper::Basic>::Reader getBasicOutputInfo() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ExtractorStaticData::Builder { c@106: public: c@106: typedef ExtractorStaticData Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasKey(); c@106: inline ::capnp::Text::Builder getKey(); c@106: inline void setKey( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initKey(unsigned int size); c@106: inline void adoptKey(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownKey(); c@106: c@106: inline bool hasBasic(); c@106: inline ::piper::Basic::Builder getBasic(); c@106: inline void setBasic( ::piper::Basic::Reader value); c@106: inline ::piper::Basic::Builder initBasic(); c@106: inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value); c@106: inline ::capnp::Orphan< ::piper::Basic> disownBasic(); c@106: c@106: inline bool hasMaker(); c@106: inline ::capnp::Text::Builder getMaker(); c@106: inline void setMaker( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initMaker(unsigned int size); c@106: inline void adoptMaker(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownMaker(); c@106: c@106: inline bool hasCopyright(); c@106: inline ::capnp::Text::Builder getCopyright(); c@106: inline void setCopyright( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initCopyright(unsigned int size); c@106: inline void adoptCopyright(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownCopyright(); c@106: c@106: inline ::int32_t getVersion(); c@106: inline void setVersion( ::int32_t value); c@106: c@106: inline bool hasCategory(); c@106: inline ::capnp::List< ::capnp::Text>::Builder getCategory(); c@106: inline void setCategory( ::capnp::List< ::capnp::Text>::Reader value); c@106: inline void setCategory(::kj::ArrayPtr value); c@106: inline ::capnp::List< ::capnp::Text>::Builder initCategory(unsigned int size); c@106: inline void adoptCategory(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownCategory(); c@106: c@106: inline ::int32_t getMinChannelCount(); c@106: inline void setMinChannelCount( ::int32_t value); c@106: c@106: inline ::int32_t getMaxChannelCount(); c@106: inline void setMaxChannelCount( ::int32_t value); c@106: c@106: inline bool hasParameters(); c@106: inline ::capnp::List< ::piper::ParameterDescriptor>::Builder getParameters(); c@106: inline void setParameters( ::capnp::List< ::piper::ParameterDescriptor>::Reader value); c@106: inline ::capnp::List< ::piper::ParameterDescriptor>::Builder initParameters(unsigned int size); c@106: inline void adoptParameters(::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>> disownParameters(); c@106: c@106: inline bool hasPrograms(); c@106: inline ::capnp::List< ::capnp::Text>::Builder getPrograms(); c@106: inline void setPrograms( ::capnp::List< ::capnp::Text>::Reader value); c@106: inline void setPrograms(::kj::ArrayPtr value); c@106: inline ::capnp::List< ::capnp::Text>::Builder initPrograms(unsigned int size); c@106: inline void adoptPrograms(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownPrograms(); c@106: c@106: inline ::piper::InputDomain getInputDomain(); c@106: inline void setInputDomain( ::piper::InputDomain value); c@106: c@106: inline bool hasBasicOutputInfo(); c@106: inline ::capnp::List< ::piper::Basic>::Builder getBasicOutputInfo(); c@106: inline void setBasicOutputInfo( ::capnp::List< ::piper::Basic>::Reader value); c@106: inline ::capnp::List< ::piper::Basic>::Builder initBasicOutputInfo(unsigned int size); c@106: inline void adoptBasicOutputInfo(::capnp::Orphan< ::capnp::List< ::piper::Basic>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::Basic>> disownBasicOutputInfo(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ExtractorStaticData::Pipeline { c@106: public: c@106: typedef ExtractorStaticData Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::Basic::Pipeline getBasic(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class RealTime::Reader { c@106: public: c@106: typedef RealTime Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getSec() const; c@106: c@106: inline ::int32_t getNsec() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class RealTime::Builder { c@106: public: c@106: typedef RealTime Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getSec(); c@106: inline void setSec( ::int32_t value); c@106: c@106: inline ::int32_t getNsec(); c@106: inline void setNsec( ::int32_t value); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class RealTime::Pipeline { c@106: public: c@106: typedef RealTime Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ProcessInput::Reader { c@106: public: c@106: typedef ProcessInput Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasInputBuffers() const; c@106: inline ::capnp::List< ::capnp::List>::Reader getInputBuffers() const; c@106: c@106: inline bool hasTimestamp() const; c@106: inline ::piper::RealTime::Reader getTimestamp() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ProcessInput::Builder { c@106: public: c@106: typedef ProcessInput Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasInputBuffers(); c@106: inline ::capnp::List< ::capnp::List>::Builder getInputBuffers(); c@106: inline void setInputBuffers( ::capnp::List< ::capnp::List>::Reader value); c@106: inline void setInputBuffers(::kj::ArrayPtr::Reader> value); c@106: inline ::capnp::List< ::capnp::List>::Builder initInputBuffers(unsigned int size); c@106: inline void adoptInputBuffers(::capnp::Orphan< ::capnp::List< ::capnp::List>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::List>> disownInputBuffers(); c@106: c@106: inline bool hasTimestamp(); c@106: inline ::piper::RealTime::Builder getTimestamp(); c@106: inline void setTimestamp( ::piper::RealTime::Reader value); c@106: inline ::piper::RealTime::Builder initTimestamp(); c@106: inline void adoptTimestamp(::capnp::Orphan< ::piper::RealTime>&& value); c@106: inline ::capnp::Orphan< ::piper::RealTime> disownTimestamp(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ProcessInput::Pipeline { c@106: public: c@106: typedef ProcessInput Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::RealTime::Pipeline getTimestamp(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class Feature::Reader { c@106: public: c@106: typedef Feature Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool getHasTimestamp() const; c@106: c@106: inline bool hasTimestamp() const; c@106: inline ::piper::RealTime::Reader getTimestamp() const; c@106: c@106: inline bool getHasDuration() const; c@106: c@106: inline bool hasDuration() const; c@106: inline ::piper::RealTime::Reader getDuration() const; c@106: c@106: inline bool hasLabel() const; c@106: inline ::capnp::Text::Reader getLabel() const; c@106: c@106: inline bool hasFeatureValues() const; c@106: inline ::capnp::List::Reader getFeatureValues() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class Feature::Builder { c@106: public: c@106: typedef Feature Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool getHasTimestamp(); c@106: inline void setHasTimestamp(bool value); c@106: c@106: inline bool hasTimestamp(); c@106: inline ::piper::RealTime::Builder getTimestamp(); c@106: inline void setTimestamp( ::piper::RealTime::Reader value); c@106: inline ::piper::RealTime::Builder initTimestamp(); c@106: inline void adoptTimestamp(::capnp::Orphan< ::piper::RealTime>&& value); c@106: inline ::capnp::Orphan< ::piper::RealTime> disownTimestamp(); c@106: c@106: inline bool getHasDuration(); c@106: inline void setHasDuration(bool value); c@106: c@106: inline bool hasDuration(); c@106: inline ::piper::RealTime::Builder getDuration(); c@106: inline void setDuration( ::piper::RealTime::Reader value); c@106: inline ::piper::RealTime::Builder initDuration(); c@106: inline void adoptDuration(::capnp::Orphan< ::piper::RealTime>&& value); c@106: inline ::capnp::Orphan< ::piper::RealTime> disownDuration(); c@106: c@106: inline bool hasLabel(); c@106: inline ::capnp::Text::Builder getLabel(); c@106: inline void setLabel( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initLabel(unsigned int size); c@106: inline void adoptLabel(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownLabel(); c@106: c@106: inline bool hasFeatureValues(); c@106: inline ::capnp::List::Builder getFeatureValues(); c@106: inline void setFeatureValues( ::capnp::List::Reader value); c@106: inline void setFeatureValues(::kj::ArrayPtr value); c@106: inline ::capnp::List::Builder initFeatureValues(unsigned int size); c@106: inline void adoptFeatureValues(::capnp::Orphan< ::capnp::List>&& value); c@106: inline ::capnp::Orphan< ::capnp::List> disownFeatureValues(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class Feature::Pipeline { c@106: public: c@106: typedef Feature Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::RealTime::Pipeline getTimestamp(); c@106: inline ::piper::RealTime::Pipeline getDuration(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class FeatureSet::Reader { c@106: public: c@106: typedef FeatureSet Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasFeaturePairs() const; c@106: inline ::capnp::List< ::piper::FeatureSet::FSPair>::Reader getFeaturePairs() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class FeatureSet::Builder { c@106: public: c@106: typedef FeatureSet Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasFeaturePairs(); c@106: inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder getFeaturePairs(); c@106: inline void setFeaturePairs( ::capnp::List< ::piper::FeatureSet::FSPair>::Reader value); c@106: inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder initFeaturePairs(unsigned int size); c@106: inline void adoptFeaturePairs(::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>> disownFeaturePairs(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class FeatureSet::Pipeline { c@106: public: c@106: typedef FeatureSet Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class FeatureSet::FSPair::Reader { c@106: public: c@106: typedef FSPair Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasOutput() const; c@106: inline ::capnp::Text::Reader getOutput() const; c@106: c@106: inline bool hasFeatures() const; c@106: inline ::capnp::List< ::piper::Feature>::Reader getFeatures() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class FeatureSet::FSPair::Builder { c@106: public: c@106: typedef FSPair Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasOutput(); c@106: inline ::capnp::Text::Builder getOutput(); c@106: inline void setOutput( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initOutput(unsigned int size); c@106: inline void adoptOutput(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownOutput(); c@106: c@106: inline bool hasFeatures(); c@106: inline ::capnp::List< ::piper::Feature>::Builder getFeatures(); c@106: inline void setFeatures( ::capnp::List< ::piper::Feature>::Reader value); c@106: inline ::capnp::List< ::piper::Feature>::Builder initFeatures(unsigned int size); c@106: inline void adoptFeatures(::capnp::Orphan< ::capnp::List< ::piper::Feature>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::Feature>> disownFeatures(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class FeatureSet::FSPair::Pipeline { c@106: public: c@106: typedef FSPair Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class Configuration::Reader { c@106: public: c@106: typedef Configuration Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasParameterValues() const; c@106: inline ::capnp::List< ::piper::Configuration::PVPair>::Reader getParameterValues() const; c@106: c@106: inline bool hasCurrentProgram() const; c@106: inline ::capnp::Text::Reader getCurrentProgram() const; c@106: c@106: inline ::int32_t getChannelCount() const; c@106: c@106: inline ::int32_t getStepSize() const; c@106: c@106: inline ::int32_t getBlockSize() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class Configuration::Builder { c@106: public: c@106: typedef Configuration Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasParameterValues(); c@106: inline ::capnp::List< ::piper::Configuration::PVPair>::Builder getParameterValues(); c@106: inline void setParameterValues( ::capnp::List< ::piper::Configuration::PVPair>::Reader value); c@106: inline ::capnp::List< ::piper::Configuration::PVPair>::Builder initParameterValues(unsigned int size); c@106: inline void adoptParameterValues(::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>> disownParameterValues(); c@106: c@106: inline bool hasCurrentProgram(); c@106: inline ::capnp::Text::Builder getCurrentProgram(); c@106: inline void setCurrentProgram( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initCurrentProgram(unsigned int size); c@106: inline void adoptCurrentProgram(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownCurrentProgram(); c@106: c@106: inline ::int32_t getChannelCount(); c@106: inline void setChannelCount( ::int32_t value); c@106: c@106: inline ::int32_t getStepSize(); c@106: inline void setStepSize( ::int32_t value); c@106: c@106: inline ::int32_t getBlockSize(); c@106: inline void setBlockSize( ::int32_t value); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class Configuration::Pipeline { c@106: public: c@106: typedef Configuration Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class Configuration::PVPair::Reader { c@106: public: c@106: typedef PVPair Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasParameter() const; c@106: inline ::capnp::Text::Reader getParameter() const; c@106: c@106: inline float getValue() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class Configuration::PVPair::Builder { c@106: public: c@106: typedef PVPair Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasParameter(); c@106: inline ::capnp::Text::Builder getParameter(); c@106: inline void setParameter( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initParameter(unsigned int size); c@106: inline void adoptParameter(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownParameter(); c@106: c@106: inline float getValue(); c@106: inline void setValue(float value); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class Configuration::PVPair::Pipeline { c@106: public: c@106: typedef PVPair Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ListRequest::Reader { c@106: public: c@106: typedef ListRequest Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ListRequest::Builder { c@106: public: c@106: typedef ListRequest Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ListRequest::Pipeline { c@106: public: c@106: typedef ListRequest Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ListResponse::Reader { c@106: public: c@106: typedef ListResponse Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasAvailable() const; c@106: inline ::capnp::List< ::piper::ExtractorStaticData>::Reader getAvailable() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ListResponse::Builder { c@106: public: c@106: typedef ListResponse Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasAvailable(); c@106: inline ::capnp::List< ::piper::ExtractorStaticData>::Builder getAvailable(); c@106: inline void setAvailable( ::capnp::List< ::piper::ExtractorStaticData>::Reader value); c@106: inline ::capnp::List< ::piper::ExtractorStaticData>::Builder initAvailable(unsigned int size); c@106: inline void adoptAvailable(::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>> disownAvailable(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ListResponse::Pipeline { c@106: public: c@106: typedef ListResponse Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class LoadRequest::Reader { c@106: public: c@106: typedef LoadRequest Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasKey() const; c@106: inline ::capnp::Text::Reader getKey() const; c@106: c@106: inline float getInputSampleRate() const; c@106: c@106: inline bool hasAdapterFlags() const; c@106: inline ::capnp::List< ::piper::AdapterFlag>::Reader getAdapterFlags() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class LoadRequest::Builder { c@106: public: c@106: typedef LoadRequest Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline bool hasKey(); c@106: inline ::capnp::Text::Builder getKey(); c@106: inline void setKey( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initKey(unsigned int size); c@106: inline void adoptKey(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownKey(); c@106: c@106: inline float getInputSampleRate(); c@106: inline void setInputSampleRate(float value); c@106: c@106: inline bool hasAdapterFlags(); c@106: inline ::capnp::List< ::piper::AdapterFlag>::Builder getAdapterFlags(); c@106: inline void setAdapterFlags( ::capnp::List< ::piper::AdapterFlag>::Reader value); c@106: inline void setAdapterFlags(::kj::ArrayPtr value); c@106: inline ::capnp::List< ::piper::AdapterFlag>::Builder initAdapterFlags(unsigned int size); c@106: inline void adoptAdapterFlags(::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>> disownAdapterFlags(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class LoadRequest::Pipeline { c@106: public: c@106: typedef LoadRequest Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class LoadResponse::Reader { c@106: public: c@106: typedef LoadResponse Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle() const; c@106: c@106: inline bool hasStaticData() const; c@106: inline ::piper::ExtractorStaticData::Reader getStaticData() const; c@106: c@106: inline bool hasDefaultConfiguration() const; c@106: inline ::piper::Configuration::Reader getDefaultConfiguration() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class LoadResponse::Builder { c@106: public: c@106: typedef LoadResponse Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle(); c@106: inline void setHandle( ::int32_t value); c@106: c@106: inline bool hasStaticData(); c@106: inline ::piper::ExtractorStaticData::Builder getStaticData(); c@106: inline void setStaticData( ::piper::ExtractorStaticData::Reader value); c@106: inline ::piper::ExtractorStaticData::Builder initStaticData(); c@106: inline void adoptStaticData(::capnp::Orphan< ::piper::ExtractorStaticData>&& value); c@106: inline ::capnp::Orphan< ::piper::ExtractorStaticData> disownStaticData(); c@106: c@106: inline bool hasDefaultConfiguration(); c@106: inline ::piper::Configuration::Builder getDefaultConfiguration(); c@106: inline void setDefaultConfiguration( ::piper::Configuration::Reader value); c@106: inline ::piper::Configuration::Builder initDefaultConfiguration(); c@106: inline void adoptDefaultConfiguration(::capnp::Orphan< ::piper::Configuration>&& value); c@106: inline ::capnp::Orphan< ::piper::Configuration> disownDefaultConfiguration(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class LoadResponse::Pipeline { c@106: public: c@106: typedef LoadResponse Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::ExtractorStaticData::Pipeline getStaticData(); c@106: inline ::piper::Configuration::Pipeline getDefaultConfiguration(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ConfigurationRequest::Reader { c@106: public: c@106: typedef ConfigurationRequest Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle() const; c@106: c@106: inline bool hasConfiguration() const; c@106: inline ::piper::Configuration::Reader getConfiguration() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ConfigurationRequest::Builder { c@106: public: c@106: typedef ConfigurationRequest Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle(); c@106: inline void setHandle( ::int32_t value); c@106: c@106: inline bool hasConfiguration(); c@106: inline ::piper::Configuration::Builder getConfiguration(); c@106: inline void setConfiguration( ::piper::Configuration::Reader value); c@106: inline ::piper::Configuration::Builder initConfiguration(); c@106: inline void adoptConfiguration(::capnp::Orphan< ::piper::Configuration>&& value); c@106: inline ::capnp::Orphan< ::piper::Configuration> disownConfiguration(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ConfigurationRequest::Pipeline { c@106: public: c@106: typedef ConfigurationRequest Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::Configuration::Pipeline getConfiguration(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ConfigurationResponse::Reader { c@106: public: c@106: typedef ConfigurationResponse Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle() const; c@106: c@106: inline bool hasOutputs() const; c@106: inline ::capnp::List< ::piper::OutputDescriptor>::Reader getOutputs() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ConfigurationResponse::Builder { c@106: public: c@106: typedef ConfigurationResponse Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle(); c@106: inline void setHandle( ::int32_t value); c@106: c@106: inline bool hasOutputs(); c@106: inline ::capnp::List< ::piper::OutputDescriptor>::Builder getOutputs(); c@106: inline void setOutputs( ::capnp::List< ::piper::OutputDescriptor>::Reader value); c@106: inline ::capnp::List< ::piper::OutputDescriptor>::Builder initOutputs(unsigned int size); c@106: inline void adoptOutputs(::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>>&& value); c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>> disownOutputs(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ConfigurationResponse::Pipeline { c@106: public: c@106: typedef ConfigurationResponse Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ProcessRequest::Reader { c@106: public: c@106: typedef ProcessRequest Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle() const; c@106: c@106: inline bool hasProcessInput() const; c@106: inline ::piper::ProcessInput::Reader getProcessInput() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ProcessRequest::Builder { c@106: public: c@106: typedef ProcessRequest Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle(); c@106: inline void setHandle( ::int32_t value); c@106: c@106: inline bool hasProcessInput(); c@106: inline ::piper::ProcessInput::Builder getProcessInput(); c@106: inline void setProcessInput( ::piper::ProcessInput::Reader value); c@106: inline ::piper::ProcessInput::Builder initProcessInput(); c@106: inline void adoptProcessInput(::capnp::Orphan< ::piper::ProcessInput>&& value); c@106: inline ::capnp::Orphan< ::piper::ProcessInput> disownProcessInput(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ProcessRequest::Pipeline { c@106: public: c@106: typedef ProcessRequest Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::ProcessInput::Pipeline getProcessInput(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class ProcessResponse::Reader { c@106: public: c@106: typedef ProcessResponse Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle() const; c@106: c@106: inline bool hasFeatures() const; c@106: inline ::piper::FeatureSet::Reader getFeatures() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class ProcessResponse::Builder { c@106: public: c@106: typedef ProcessResponse Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle(); c@106: inline void setHandle( ::int32_t value); c@106: c@106: inline bool hasFeatures(); c@106: inline ::piper::FeatureSet::Builder getFeatures(); c@106: inline void setFeatures( ::piper::FeatureSet::Reader value); c@106: inline ::piper::FeatureSet::Builder initFeatures(); c@106: inline void adoptFeatures(::capnp::Orphan< ::piper::FeatureSet>&& value); c@106: inline ::capnp::Orphan< ::piper::FeatureSet> disownFeatures(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class ProcessResponse::Pipeline { c@106: public: c@106: typedef ProcessResponse Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::FeatureSet::Pipeline getFeatures(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class FinishRequest::Reader { c@106: public: c@106: typedef FinishRequest Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class FinishRequest::Builder { c@106: public: c@106: typedef FinishRequest Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle(); c@106: inline void setHandle( ::int32_t value); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class FinishRequest::Pipeline { c@106: public: c@106: typedef FinishRequest Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class FinishResponse::Reader { c@106: public: c@106: typedef FinishResponse Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle() const; c@106: c@106: inline bool hasFeatures() const; c@106: inline ::piper::FeatureSet::Reader getFeatures() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class FinishResponse::Builder { c@106: public: c@106: typedef FinishResponse Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getHandle(); c@106: inline void setHandle( ::int32_t value); c@106: c@106: inline bool hasFeatures(); c@106: inline ::piper::FeatureSet::Builder getFeatures(); c@106: inline void setFeatures( ::piper::FeatureSet::Reader value); c@106: inline ::piper::FeatureSet::Builder initFeatures(); c@106: inline void adoptFeatures(::capnp::Orphan< ::piper::FeatureSet>&& value); c@106: inline ::capnp::Orphan< ::piper::FeatureSet> disownFeatures(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class FinishResponse::Pipeline { c@106: public: c@106: typedef FinishResponse Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline ::piper::FeatureSet::Pipeline getFeatures(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class Error::Reader { c@106: public: c@106: typedef Error Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getCode() const; c@106: c@106: inline bool hasMessage() const; c@106: inline ::capnp::Text::Reader getMessage() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class Error::Builder { c@106: public: c@106: typedef Error Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline ::int32_t getCode(); c@106: inline void setCode( ::int32_t value); c@106: c@106: inline bool hasMessage(); c@106: inline ::capnp::Text::Builder getMessage(); c@106: inline void setMessage( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initMessage(unsigned int size); c@106: inline void adoptMessage(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownMessage(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class Error::Pipeline { c@106: public: c@106: typedef Error Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class RpcRequest::Reader { c@106: public: c@106: typedef RpcRequest Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Id::Reader getId() const; c@106: c@106: inline Request::Reader getRequest() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class RpcRequest::Builder { c@106: public: c@106: typedef RpcRequest Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Id::Builder getId(); c@106: inline Id::Builder initId(); c@106: c@106: inline Request::Builder getRequest(); c@106: inline Request::Builder initRequest(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class RpcRequest::Pipeline { c@106: public: c@106: typedef RpcRequest Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline Id::Pipeline getId(); c@106: inline Request::Pipeline getRequest(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class RpcRequest::Id::Reader { c@106: public: c@106: typedef Id Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Which which() const; c@106: inline bool isNumber() const; c@106: inline ::int32_t getNumber() const; c@106: c@106: inline bool isTag() const; c@106: inline bool hasTag() const; c@106: inline ::capnp::Text::Reader getTag() const; c@106: c@106: inline bool isNone() const; c@106: inline ::capnp::Void getNone() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class RpcRequest::Id::Builder { c@106: public: c@106: typedef Id Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Which which(); c@106: inline bool isNumber(); c@106: inline ::int32_t getNumber(); c@106: inline void setNumber( ::int32_t value); c@106: c@106: inline bool isTag(); c@106: inline bool hasTag(); c@106: inline ::capnp::Text::Builder getTag(); c@106: inline void setTag( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initTag(unsigned int size); c@106: inline void adoptTag(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownTag(); c@106: c@106: inline bool isNone(); c@106: inline ::capnp::Void getNone(); c@106: inline void setNone( ::capnp::Void value = ::capnp::VOID); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class RpcRequest::Id::Pipeline { c@106: public: c@106: typedef Id Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class RpcRequest::Request::Reader { c@106: public: c@106: typedef Request Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Which which() const; c@106: inline bool isList() const; c@106: inline bool hasList() const; c@106: inline ::piper::ListRequest::Reader getList() const; c@106: c@106: inline bool isLoad() const; c@106: inline bool hasLoad() const; c@106: inline ::piper::LoadRequest::Reader getLoad() const; c@106: c@106: inline bool isConfigure() const; c@106: inline bool hasConfigure() const; c@106: inline ::piper::ConfigurationRequest::Reader getConfigure() const; c@106: c@106: inline bool isProcess() const; c@106: inline bool hasProcess() const; c@106: inline ::piper::ProcessRequest::Reader getProcess() const; c@106: c@106: inline bool isFinish() const; c@106: inline bool hasFinish() const; c@106: inline ::piper::FinishRequest::Reader getFinish() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class RpcRequest::Request::Builder { c@106: public: c@106: typedef Request Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Which which(); c@106: inline bool isList(); c@106: inline bool hasList(); c@106: inline ::piper::ListRequest::Builder getList(); c@106: inline void setList( ::piper::ListRequest::Reader value); c@106: inline ::piper::ListRequest::Builder initList(); c@106: inline void adoptList(::capnp::Orphan< ::piper::ListRequest>&& value); c@106: inline ::capnp::Orphan< ::piper::ListRequest> disownList(); c@106: c@106: inline bool isLoad(); c@106: inline bool hasLoad(); c@106: inline ::piper::LoadRequest::Builder getLoad(); c@106: inline void setLoad( ::piper::LoadRequest::Reader value); c@106: inline ::piper::LoadRequest::Builder initLoad(); c@106: inline void adoptLoad(::capnp::Orphan< ::piper::LoadRequest>&& value); c@106: inline ::capnp::Orphan< ::piper::LoadRequest> disownLoad(); c@106: c@106: inline bool isConfigure(); c@106: inline bool hasConfigure(); c@106: inline ::piper::ConfigurationRequest::Builder getConfigure(); c@106: inline void setConfigure( ::piper::ConfigurationRequest::Reader value); c@106: inline ::piper::ConfigurationRequest::Builder initConfigure(); c@106: inline void adoptConfigure(::capnp::Orphan< ::piper::ConfigurationRequest>&& value); c@106: inline ::capnp::Orphan< ::piper::ConfigurationRequest> disownConfigure(); c@106: c@106: inline bool isProcess(); c@106: inline bool hasProcess(); c@106: inline ::piper::ProcessRequest::Builder getProcess(); c@106: inline void setProcess( ::piper::ProcessRequest::Reader value); c@106: inline ::piper::ProcessRequest::Builder initProcess(); c@106: inline void adoptProcess(::capnp::Orphan< ::piper::ProcessRequest>&& value); c@106: inline ::capnp::Orphan< ::piper::ProcessRequest> disownProcess(); c@106: c@106: inline bool isFinish(); c@106: inline bool hasFinish(); c@106: inline ::piper::FinishRequest::Builder getFinish(); c@106: inline void setFinish( ::piper::FinishRequest::Reader value); c@106: inline ::piper::FinishRequest::Builder initFinish(); c@106: inline void adoptFinish(::capnp::Orphan< ::piper::FinishRequest>&& value); c@106: inline ::capnp::Orphan< ::piper::FinishRequest> disownFinish(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class RpcRequest::Request::Pipeline { c@106: public: c@106: typedef Request Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class RpcResponse::Reader { c@106: public: c@106: typedef RpcResponse Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Id::Reader getId() const; c@106: c@106: inline Response::Reader getResponse() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class RpcResponse::Builder { c@106: public: c@106: typedef RpcResponse Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Id::Builder getId(); c@106: inline Id::Builder initId(); c@106: c@106: inline Response::Builder getResponse(); c@106: inline Response::Builder initResponse(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class RpcResponse::Pipeline { c@106: public: c@106: typedef RpcResponse Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: inline Id::Pipeline getId(); c@106: inline Response::Pipeline getResponse(); c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class RpcResponse::Id::Reader { c@106: public: c@106: typedef Id Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Which which() const; c@106: inline bool isNumber() const; c@106: inline ::int32_t getNumber() const; c@106: c@106: inline bool isTag() const; c@106: inline bool hasTag() const; c@106: inline ::capnp::Text::Reader getTag() const; c@106: c@106: inline bool isNone() const; c@106: inline ::capnp::Void getNone() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class RpcResponse::Id::Builder { c@106: public: c@106: typedef Id Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Which which(); c@106: inline bool isNumber(); c@106: inline ::int32_t getNumber(); c@106: inline void setNumber( ::int32_t value); c@106: c@106: inline bool isTag(); c@106: inline bool hasTag(); c@106: inline ::capnp::Text::Builder getTag(); c@106: inline void setTag( ::capnp::Text::Reader value); c@106: inline ::capnp::Text::Builder initTag(unsigned int size); c@106: inline void adoptTag(::capnp::Orphan< ::capnp::Text>&& value); c@106: inline ::capnp::Orphan< ::capnp::Text> disownTag(); c@106: c@106: inline bool isNone(); c@106: inline ::capnp::Void getNone(); c@106: inline void setNone( ::capnp::Void value = ::capnp::VOID); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class RpcResponse::Id::Pipeline { c@106: public: c@106: typedef Id Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: class RpcResponse::Response::Reader { c@106: public: c@106: typedef Response Reads; c@106: c@106: Reader() = default; c@106: inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} c@106: c@106: inline ::capnp::MessageSize totalSize() const { c@106: return _reader.totalSize().asPublic(); c@106: } c@106: c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { c@106: return ::capnp::_::structString(_reader, *_capnpPrivate::brand); c@106: } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Which which() const; c@106: inline bool isError() const; c@106: inline bool hasError() const; c@106: inline ::piper::Error::Reader getError() const; c@106: c@106: inline bool isList() const; c@106: inline bool hasList() const; c@106: inline ::piper::ListResponse::Reader getList() const; c@106: c@106: inline bool isLoad() const; c@106: inline bool hasLoad() const; c@106: inline ::piper::LoadResponse::Reader getLoad() const; c@106: c@106: inline bool isConfigure() const; c@106: inline bool hasConfigure() const; c@106: inline ::piper::ConfigurationResponse::Reader getConfigure() const; c@106: c@106: inline bool isProcess() const; c@106: inline bool hasProcess() const; c@106: inline ::piper::ProcessResponse::Reader getProcess() const; c@106: c@106: inline bool isFinish() const; c@106: inline bool hasFinish() const; c@106: inline ::piper::FinishResponse::Reader getFinish() const; c@106: c@106: private: c@106: ::capnp::_::StructReader _reader; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: template c@106: friend struct ::capnp::List; c@106: friend class ::capnp::MessageBuilder; c@106: friend class ::capnp::Orphanage; c@106: }; c@106: c@106: class RpcResponse::Response::Builder { c@106: public: c@106: typedef Response Builds; c@106: c@106: Builder() = delete; // Deleted to discourage incorrect usage. c@106: // You can explicitly initialize to nullptr instead. c@106: inline Builder(decltype(nullptr)) {} c@106: inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} c@106: inline operator Reader() const { return Reader(_builder.asReader()); } c@106: inline Reader asReader() const { return *this; } c@106: c@106: inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); } c@106: #if !CAPNP_LITE c@106: inline ::kj::StringTree toString() const { return asReader().toString(); } c@106: #endif // !CAPNP_LITE c@106: c@106: inline Which which(); c@106: inline bool isError(); c@106: inline bool hasError(); c@106: inline ::piper::Error::Builder getError(); c@106: inline void setError( ::piper::Error::Reader value); c@106: inline ::piper::Error::Builder initError(); c@106: inline void adoptError(::capnp::Orphan< ::piper::Error>&& value); c@106: inline ::capnp::Orphan< ::piper::Error> disownError(); c@106: c@106: inline bool isList(); c@106: inline bool hasList(); c@106: inline ::piper::ListResponse::Builder getList(); c@106: inline void setList( ::piper::ListResponse::Reader value); c@106: inline ::piper::ListResponse::Builder initList(); c@106: inline void adoptList(::capnp::Orphan< ::piper::ListResponse>&& value); c@106: inline ::capnp::Orphan< ::piper::ListResponse> disownList(); c@106: c@106: inline bool isLoad(); c@106: inline bool hasLoad(); c@106: inline ::piper::LoadResponse::Builder getLoad(); c@106: inline void setLoad( ::piper::LoadResponse::Reader value); c@106: inline ::piper::LoadResponse::Builder initLoad(); c@106: inline void adoptLoad(::capnp::Orphan< ::piper::LoadResponse>&& value); c@106: inline ::capnp::Orphan< ::piper::LoadResponse> disownLoad(); c@106: c@106: inline bool isConfigure(); c@106: inline bool hasConfigure(); c@106: inline ::piper::ConfigurationResponse::Builder getConfigure(); c@106: inline void setConfigure( ::piper::ConfigurationResponse::Reader value); c@106: inline ::piper::ConfigurationResponse::Builder initConfigure(); c@106: inline void adoptConfigure(::capnp::Orphan< ::piper::ConfigurationResponse>&& value); c@106: inline ::capnp::Orphan< ::piper::ConfigurationResponse> disownConfigure(); c@106: c@106: inline bool isProcess(); c@106: inline bool hasProcess(); c@106: inline ::piper::ProcessResponse::Builder getProcess(); c@106: inline void setProcess( ::piper::ProcessResponse::Reader value); c@106: inline ::piper::ProcessResponse::Builder initProcess(); c@106: inline void adoptProcess(::capnp::Orphan< ::piper::ProcessResponse>&& value); c@106: inline ::capnp::Orphan< ::piper::ProcessResponse> disownProcess(); c@106: c@106: inline bool isFinish(); c@106: inline bool hasFinish(); c@106: inline ::piper::FinishResponse::Builder getFinish(); c@106: inline void setFinish( ::piper::FinishResponse::Reader value); c@106: inline ::piper::FinishResponse::Builder initFinish(); c@106: inline void adoptFinish(::capnp::Orphan< ::piper::FinishResponse>&& value); c@106: inline ::capnp::Orphan< ::piper::FinishResponse> disownFinish(); c@106: c@106: private: c@106: ::capnp::_::StructBuilder _builder; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: friend class ::capnp::Orphanage; c@106: template c@106: friend struct ::capnp::_::PointerHelpers; c@106: }; c@106: c@106: #if !CAPNP_LITE c@106: class RpcResponse::Response::Pipeline { c@106: public: c@106: typedef Response Pipelines; c@106: c@106: inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} c@106: inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless) c@106: : _typeless(kj::mv(typeless)) {} c@106: c@106: private: c@106: ::capnp::AnyPointer::Pipeline _typeless; c@106: friend class ::capnp::PipelineHook; c@106: template c@106: friend struct ::capnp::ToDynamic_; c@106: }; c@106: #endif // !CAPNP_LITE c@106: c@106: // ======================================================================================= c@106: c@106: inline bool Basic::Reader::hasIdentifier() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Basic::Builder::hasIdentifier() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader Basic::Reader::getIdentifier() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder Basic::Builder::getIdentifier() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void Basic::Builder::setIdentifier( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder Basic::Builder::initIdentifier(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void Basic::Builder::adoptIdentifier( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownIdentifier() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool Basic::Reader::hasName() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Basic::Builder::hasName() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader Basic::Reader::getName() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder Basic::Builder::getName() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void Basic::Builder::setName( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder Basic::Builder::initName(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), size); c@106: } c@106: inline void Basic::Builder::adoptName( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownName() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool Basic::Reader::hasDescription() const { c@106: return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Basic::Builder::hasDescription() { c@106: return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader Basic::Reader::getDescription() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder Basic::Builder::getDescription() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: inline void Basic::Builder::setDescription( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder Basic::Builder::initDescription(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), size); c@106: } c@106: inline void Basic::Builder::adoptDescription( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownDescription() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ParameterDescriptor::Reader::hasBasic() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ParameterDescriptor::Builder::hasBasic() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::Basic::Reader ParameterDescriptor::Reader::getBasic() const { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::Basic::Builder ParameterDescriptor::Builder::getBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::Basic::Pipeline ParameterDescriptor::Pipeline::getBasic() { c@106: return ::piper::Basic::Pipeline(_typeless.getPointerField(0)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void ParameterDescriptor::Builder::setBasic( ::piper::Basic::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::Basic>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::Basic::Builder ParameterDescriptor::Builder::initBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ParameterDescriptor::Builder::adoptBasic( c@106: ::capnp::Orphan< ::piper::Basic>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::Basic>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::Basic> ParameterDescriptor::Builder::disownBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ParameterDescriptor::Reader::hasUnit() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ParameterDescriptor::Builder::hasUnit() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader ParameterDescriptor::Reader::getUnit() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder ParameterDescriptor::Builder::getUnit() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void ParameterDescriptor::Builder::setUnit( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder ParameterDescriptor::Builder::initUnit(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), size); c@106: } c@106: inline void ParameterDescriptor::Builder::adoptUnit( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> ParameterDescriptor::Builder::disownUnit() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline float ParameterDescriptor::Reader::getMinValue() const { c@106: return _reader.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float ParameterDescriptor::Builder::getMinValue() { c@106: return _builder.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void ParameterDescriptor::Builder::setMinValue(float value) { c@106: _builder.setDataField( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline float ParameterDescriptor::Reader::getMaxValue() const { c@106: return _reader.getDataField( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float ParameterDescriptor::Builder::getMaxValue() { c@106: return _builder.getDataField( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: inline void ParameterDescriptor::Builder::setMaxValue(float value) { c@106: _builder.setDataField( c@106: 1 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline float ParameterDescriptor::Reader::getDefaultValue() const { c@106: return _reader.getDataField( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float ParameterDescriptor::Builder::getDefaultValue() { c@106: return _builder.getDataField( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: inline void ParameterDescriptor::Builder::setDefaultValue(float value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ParameterDescriptor::Reader::getIsQuantized() const { c@106: return _reader.getDataField( c@106: 96 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool ParameterDescriptor::Builder::getIsQuantized() { c@106: return _builder.getDataField( c@106: 96 * ::capnp::ELEMENTS); c@106: } c@106: inline void ParameterDescriptor::Builder::setIsQuantized(bool value) { c@106: _builder.setDataField( c@106: 96 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline float ParameterDescriptor::Reader::getQuantizeStep() const { c@106: return _reader.getDataField( c@106: 4 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float ParameterDescriptor::Builder::getQuantizeStep() { c@106: return _builder.getDataField( c@106: 4 * ::capnp::ELEMENTS); c@106: } c@106: inline void ParameterDescriptor::Builder::setQuantizeStep(float value) { c@106: _builder.setDataField( c@106: 4 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ParameterDescriptor::Reader::hasValueNames() const { c@106: return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ParameterDescriptor::Builder::hasValueNames() { c@106: return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Reader ParameterDescriptor::Reader::getValueNames() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get( c@106: _reader.getPointerField(2 * ::capnp::POINTERS), c@106: ::capnp::schemas::bp_f8fda10bef70a97d + 147); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Builder ParameterDescriptor::Builder::getValueNames() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), c@106: ::capnp::schemas::bp_f8fda10bef70a97d + 147); c@106: } c@106: inline void ParameterDescriptor::Builder::setValueNames( ::capnp::List< ::capnp::Text>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), value); c@106: } c@106: inline void ParameterDescriptor::Builder::setValueNames(::kj::ArrayPtr value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Builder ParameterDescriptor::Builder::initValueNames(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), size); c@106: } c@106: inline void ParameterDescriptor::Builder::adoptValueNames( c@106: ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ParameterDescriptor::Builder::disownValueNames() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown( c@106: _builder.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Reader::hasUnit() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ConfiguredOutputDescriptor::Builder::hasUnit() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader ConfiguredOutputDescriptor::Reader::getUnit() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder ConfiguredOutputDescriptor::Builder::getUnit() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setUnit( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder ConfiguredOutputDescriptor::Builder::initUnit(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::adoptUnit( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> ConfiguredOutputDescriptor::Builder::disownUnit() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Reader::getHasFixedBinCount() const { c@106: return _reader.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Builder::getHasFixedBinCount() { c@106: return _builder.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setHasFixedBinCount(bool value) { c@106: _builder.setDataField( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::int32_t ConfiguredOutputDescriptor::Reader::getBinCount() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t ConfiguredOutputDescriptor::Builder::getBinCount() { c@106: return _builder.getDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setBinCount( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Reader::hasBinNames() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ConfiguredOutputDescriptor::Builder::hasBinNames() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Reader ConfiguredOutputDescriptor::Reader::getBinNames() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS), c@106: ::capnp::schemas::bp_b2d0c825aac8249c + 142); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Builder ConfiguredOutputDescriptor::Builder::getBinNames() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), c@106: ::capnp::schemas::bp_b2d0c825aac8249c + 142); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setBinNames( ::capnp::List< ::capnp::Text>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setBinNames(::kj::ArrayPtr value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Builder ConfiguredOutputDescriptor::Builder::initBinNames(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), size); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::adoptBinNames( c@106: ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ConfiguredOutputDescriptor::Builder::disownBinNames() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Reader::getHasKnownExtents() const { c@106: return _reader.getDataField( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Builder::getHasKnownExtents() { c@106: return _builder.getDataField( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setHasKnownExtents(bool value) { c@106: _builder.setDataField( c@106: 1 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline float ConfiguredOutputDescriptor::Reader::getMinValue() const { c@106: return _reader.getDataField( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float ConfiguredOutputDescriptor::Builder::getMinValue() { c@106: return _builder.getDataField( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setMinValue(float value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline float ConfiguredOutputDescriptor::Reader::getMaxValue() const { c@106: return _reader.getDataField( c@106: 3 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float ConfiguredOutputDescriptor::Builder::getMaxValue() { c@106: return _builder.getDataField( c@106: 3 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setMaxValue(float value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Reader::getIsQuantized() const { c@106: return _reader.getDataField( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Builder::getIsQuantized() { c@106: return _builder.getDataField( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setIsQuantized(bool value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline float ConfiguredOutputDescriptor::Reader::getQuantizeStep() const { c@106: return _reader.getDataField( c@106: 4 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float ConfiguredOutputDescriptor::Builder::getQuantizeStep() { c@106: return _builder.getDataField( c@106: 4 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setQuantizeStep(float value) { c@106: _builder.setDataField( c@106: 4 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::piper::SampleType ConfiguredOutputDescriptor::Reader::getSampleType() const { c@106: return _reader.getDataField< ::piper::SampleType>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::piper::SampleType ConfiguredOutputDescriptor::Builder::getSampleType() { c@106: return _builder.getDataField< ::piper::SampleType>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setSampleType( ::piper::SampleType value) { c@106: _builder.setDataField< ::piper::SampleType>( c@106: 1 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline float ConfiguredOutputDescriptor::Reader::getSampleRate() const { c@106: return _reader.getDataField( c@106: 5 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float ConfiguredOutputDescriptor::Builder::getSampleRate() { c@106: return _builder.getDataField( c@106: 5 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setSampleRate(float value) { c@106: _builder.setDataField( c@106: 5 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Reader::getHasDuration() const { c@106: return _reader.getDataField( c@106: 3 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool ConfiguredOutputDescriptor::Builder::getHasDuration() { c@106: return _builder.getDataField( c@106: 3 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfiguredOutputDescriptor::Builder::setHasDuration(bool value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool OutputDescriptor::Reader::hasBasic() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool OutputDescriptor::Builder::hasBasic() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::Basic::Reader OutputDescriptor::Reader::getBasic() const { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::Basic::Builder OutputDescriptor::Builder::getBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::Basic::Pipeline OutputDescriptor::Pipeline::getBasic() { c@106: return ::piper::Basic::Pipeline(_typeless.getPointerField(0)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void OutputDescriptor::Builder::setBasic( ::piper::Basic::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::Basic>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::Basic::Builder OutputDescriptor::Builder::initBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void OutputDescriptor::Builder::adoptBasic( c@106: ::capnp::Orphan< ::piper::Basic>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::Basic>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::Basic> OutputDescriptor::Builder::disownBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool OutputDescriptor::Reader::hasConfigured() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool OutputDescriptor::Builder::hasConfigured() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ConfiguredOutputDescriptor::Reader OutputDescriptor::Reader::getConfigured() const { c@106: return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ConfiguredOutputDescriptor::Builder OutputDescriptor::Builder::getConfigured() { c@106: return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::ConfiguredOutputDescriptor::Pipeline OutputDescriptor::Pipeline::getConfigured() { c@106: return ::piper::ConfiguredOutputDescriptor::Pipeline(_typeless.getPointerField(1)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void OutputDescriptor::Builder::setConfigured( ::piper::ConfiguredOutputDescriptor::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ConfiguredOutputDescriptor::Builder OutputDescriptor::Builder::initConfigured() { c@106: return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void OutputDescriptor::Builder::adoptConfigured( c@106: ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor> OutputDescriptor::Builder::disownConfigured() { c@106: return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ExtractorStaticData::Reader::hasKey() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ExtractorStaticData::Builder::hasKey() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader ExtractorStaticData::Reader::getKey() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder ExtractorStaticData::Builder::getKey() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ExtractorStaticData::Builder::setKey( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder ExtractorStaticData::Builder::initKey(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void ExtractorStaticData::Builder::adoptKey( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownKey() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ExtractorStaticData::Reader::hasBasic() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ExtractorStaticData::Builder::hasBasic() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::Basic::Reader ExtractorStaticData::Reader::getBasic() const { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::Basic::Builder ExtractorStaticData::Builder::getBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::Basic::Pipeline ExtractorStaticData::Pipeline::getBasic() { c@106: return ::piper::Basic::Pipeline(_typeless.getPointerField(1)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void ExtractorStaticData::Builder::setBasic( ::piper::Basic::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::Basic>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::Basic::Builder ExtractorStaticData::Builder::initBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void ExtractorStaticData::Builder::adoptBasic( c@106: ::capnp::Orphan< ::piper::Basic>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::Basic>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::Basic> ExtractorStaticData::Builder::disownBasic() { c@106: return ::capnp::_::PointerHelpers< ::piper::Basic>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ExtractorStaticData::Reader::hasMaker() const { c@106: return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ExtractorStaticData::Builder::hasMaker() { c@106: return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader ExtractorStaticData::Reader::getMaker() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder ExtractorStaticData::Builder::getMaker() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: inline void ExtractorStaticData::Builder::setMaker( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder ExtractorStaticData::Builder::initMaker(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), size); c@106: } c@106: inline void ExtractorStaticData::Builder::adoptMaker( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownMaker() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ExtractorStaticData::Reader::hasCopyright() const { c@106: return !_reader.getPointerField(3 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ExtractorStaticData::Builder::hasCopyright() { c@106: return !_builder.getPointerField(3 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader ExtractorStaticData::Reader::getCopyright() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(3 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder ExtractorStaticData::Builder::getCopyright() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(3 * ::capnp::POINTERS)); c@106: } c@106: inline void ExtractorStaticData::Builder::setCopyright( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(3 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder ExtractorStaticData::Builder::initCopyright(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(3 * ::capnp::POINTERS), size); c@106: } c@106: inline void ExtractorStaticData::Builder::adoptCopyright( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(3 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownCopyright() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(3 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t ExtractorStaticData::Reader::getVersion() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t ExtractorStaticData::Builder::getVersion() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void ExtractorStaticData::Builder::setVersion( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ExtractorStaticData::Reader::hasCategory() const { c@106: return !_reader.getPointerField(4 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ExtractorStaticData::Builder::hasCategory() { c@106: return !_builder.getPointerField(4 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Reader ExtractorStaticData::Reader::getCategory() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get( c@106: _reader.getPointerField(4 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::getCategory() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get( c@106: _builder.getPointerField(4 * ::capnp::POINTERS)); c@106: } c@106: inline void ExtractorStaticData::Builder::setCategory( ::capnp::List< ::capnp::Text>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set( c@106: _builder.getPointerField(4 * ::capnp::POINTERS), value); c@106: } c@106: inline void ExtractorStaticData::Builder::setCategory(::kj::ArrayPtr value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set( c@106: _builder.getPointerField(4 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::initCategory(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init( c@106: _builder.getPointerField(4 * ::capnp::POINTERS), size); c@106: } c@106: inline void ExtractorStaticData::Builder::adoptCategory( c@106: ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt( c@106: _builder.getPointerField(4 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ExtractorStaticData::Builder::disownCategory() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown( c@106: _builder.getPointerField(4 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t ExtractorStaticData::Reader::getMinChannelCount() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t ExtractorStaticData::Builder::getMinChannelCount() { c@106: return _builder.getDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: inline void ExtractorStaticData::Builder::setMinChannelCount( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::int32_t ExtractorStaticData::Reader::getMaxChannelCount() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t ExtractorStaticData::Builder::getMaxChannelCount() { c@106: return _builder.getDataField< ::int32_t>( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: inline void ExtractorStaticData::Builder::setMaxChannelCount( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 2 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ExtractorStaticData::Reader::hasParameters() const { c@106: return !_reader.getPointerField(5 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ExtractorStaticData::Builder::hasParameters() { c@106: return !_builder.getPointerField(5 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::piper::ParameterDescriptor>::Reader ExtractorStaticData::Reader::getParameters() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::get( c@106: _reader.getPointerField(5 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::piper::ParameterDescriptor>::Builder ExtractorStaticData::Builder::getParameters() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::get( c@106: _builder.getPointerField(5 * ::capnp::POINTERS)); c@106: } c@106: inline void ExtractorStaticData::Builder::setParameters( ::capnp::List< ::piper::ParameterDescriptor>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::set( c@106: _builder.getPointerField(5 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::piper::ParameterDescriptor>::Builder ExtractorStaticData::Builder::initParameters(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::init( c@106: _builder.getPointerField(5 * ::capnp::POINTERS), size); c@106: } c@106: inline void ExtractorStaticData::Builder::adoptParameters( c@106: ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::adopt( c@106: _builder.getPointerField(5 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>> ExtractorStaticData::Builder::disownParameters() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::disown( c@106: _builder.getPointerField(5 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ExtractorStaticData::Reader::hasPrograms() const { c@106: return !_reader.getPointerField(6 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ExtractorStaticData::Builder::hasPrograms() { c@106: return !_builder.getPointerField(6 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Reader ExtractorStaticData::Reader::getPrograms() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get( c@106: _reader.getPointerField(6 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::getPrograms() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get( c@106: _builder.getPointerField(6 * ::capnp::POINTERS)); c@106: } c@106: inline void ExtractorStaticData::Builder::setPrograms( ::capnp::List< ::capnp::Text>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set( c@106: _builder.getPointerField(6 * ::capnp::POINTERS), value); c@106: } c@106: inline void ExtractorStaticData::Builder::setPrograms(::kj::ArrayPtr value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set( c@106: _builder.getPointerField(6 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::initPrograms(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init( c@106: _builder.getPointerField(6 * ::capnp::POINTERS), size); c@106: } c@106: inline void ExtractorStaticData::Builder::adoptPrograms( c@106: ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt( c@106: _builder.getPointerField(6 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ExtractorStaticData::Builder::disownPrograms() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown( c@106: _builder.getPointerField(6 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::piper::InputDomain ExtractorStaticData::Reader::getInputDomain() const { c@106: return _reader.getDataField< ::piper::InputDomain>( c@106: 6 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::piper::InputDomain ExtractorStaticData::Builder::getInputDomain() { c@106: return _builder.getDataField< ::piper::InputDomain>( c@106: 6 * ::capnp::ELEMENTS); c@106: } c@106: inline void ExtractorStaticData::Builder::setInputDomain( ::piper::InputDomain value) { c@106: _builder.setDataField< ::piper::InputDomain>( c@106: 6 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ExtractorStaticData::Reader::hasBasicOutputInfo() const { c@106: return !_reader.getPointerField(7 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ExtractorStaticData::Builder::hasBasicOutputInfo() { c@106: return !_builder.getPointerField(7 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::piper::Basic>::Reader ExtractorStaticData::Reader::getBasicOutputInfo() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::get( c@106: _reader.getPointerField(7 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::piper::Basic>::Builder ExtractorStaticData::Builder::getBasicOutputInfo() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::get( c@106: _builder.getPointerField(7 * ::capnp::POINTERS)); c@106: } c@106: inline void ExtractorStaticData::Builder::setBasicOutputInfo( ::capnp::List< ::piper::Basic>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::set( c@106: _builder.getPointerField(7 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::piper::Basic>::Builder ExtractorStaticData::Builder::initBasicOutputInfo(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::init( c@106: _builder.getPointerField(7 * ::capnp::POINTERS), size); c@106: } c@106: inline void ExtractorStaticData::Builder::adoptBasicOutputInfo( c@106: ::capnp::Orphan< ::capnp::List< ::piper::Basic>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::adopt( c@106: _builder.getPointerField(7 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::Basic>> ExtractorStaticData::Builder::disownBasicOutputInfo() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::disown( c@106: _builder.getPointerField(7 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t RealTime::Reader::getSec() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t RealTime::Builder::getSec() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void RealTime::Builder::setSec( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::int32_t RealTime::Reader::getNsec() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t RealTime::Builder::getNsec() { c@106: return _builder.getDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: inline void RealTime::Builder::setNsec( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ProcessInput::Reader::hasInputBuffers() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ProcessInput::Builder::hasInputBuffers() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::capnp::List>::Reader ProcessInput::Reader::getInputBuffers() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List>>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::capnp::List>::Builder ProcessInput::Builder::getInputBuffers() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List>>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ProcessInput::Builder::setInputBuffers( ::capnp::List< ::capnp::List>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List>>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline void ProcessInput::Builder::setInputBuffers(::kj::ArrayPtr::Reader> value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List>>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::capnp::List>::Builder ProcessInput::Builder::initInputBuffers(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List>>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void ProcessInput::Builder::adoptInputBuffers( c@106: ::capnp::Orphan< ::capnp::List< ::capnp::List>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List>>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::capnp::List>> ProcessInput::Builder::disownInputBuffers() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List>>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool ProcessInput::Reader::hasTimestamp() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ProcessInput::Builder::hasTimestamp() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::RealTime::Reader ProcessInput::Reader::getTimestamp() const { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::RealTime::Builder ProcessInput::Builder::getTimestamp() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::RealTime::Pipeline ProcessInput::Pipeline::getTimestamp() { c@106: return ::piper::RealTime::Pipeline(_typeless.getPointerField(1)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void ProcessInput::Builder::setTimestamp( ::piper::RealTime::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::RealTime>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::RealTime::Builder ProcessInput::Builder::initTimestamp() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void ProcessInput::Builder::adoptTimestamp( c@106: ::capnp::Orphan< ::piper::RealTime>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::RealTime> ProcessInput::Builder::disownTimestamp() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool Feature::Reader::getHasTimestamp() const { c@106: return _reader.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool Feature::Builder::getHasTimestamp() { c@106: return _builder.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void Feature::Builder::setHasTimestamp(bool value) { c@106: _builder.setDataField( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool Feature::Reader::hasTimestamp() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Feature::Builder::hasTimestamp() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::RealTime::Reader Feature::Reader::getTimestamp() const { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::RealTime::Builder Feature::Builder::getTimestamp() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::RealTime::Pipeline Feature::Pipeline::getTimestamp() { c@106: return ::piper::RealTime::Pipeline(_typeless.getPointerField(0)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void Feature::Builder::setTimestamp( ::piper::RealTime::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::RealTime>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::RealTime::Builder Feature::Builder::initTimestamp() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void Feature::Builder::adoptTimestamp( c@106: ::capnp::Orphan< ::piper::RealTime>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::RealTime> Feature::Builder::disownTimestamp() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool Feature::Reader::getHasDuration() const { c@106: return _reader.getDataField( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool Feature::Builder::getHasDuration() { c@106: return _builder.getDataField( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: inline void Feature::Builder::setHasDuration(bool value) { c@106: _builder.setDataField( c@106: 1 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool Feature::Reader::hasDuration() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Feature::Builder::hasDuration() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::RealTime::Reader Feature::Reader::getDuration() const { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::RealTime::Builder Feature::Builder::getDuration() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::RealTime::Pipeline Feature::Pipeline::getDuration() { c@106: return ::piper::RealTime::Pipeline(_typeless.getPointerField(1)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void Feature::Builder::setDuration( ::piper::RealTime::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::RealTime>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::RealTime::Builder Feature::Builder::initDuration() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void Feature::Builder::adoptDuration( c@106: ::capnp::Orphan< ::piper::RealTime>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::RealTime> Feature::Builder::disownDuration() { c@106: return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool Feature::Reader::hasLabel() const { c@106: return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Feature::Builder::hasLabel() { c@106: return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader Feature::Reader::getLabel() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder Feature::Builder::getLabel() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: inline void Feature::Builder::setLabel( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder Feature::Builder::initLabel(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), size); c@106: } c@106: inline void Feature::Builder::adoptLabel( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> Feature::Builder::disownLabel() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(2 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool Feature::Reader::hasFeatureValues() const { c@106: return !_reader.getPointerField(3 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Feature::Builder::hasFeatureValues() { c@106: return !_builder.getPointerField(3 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List::Reader Feature::Reader::getFeatureValues() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List>::get( c@106: _reader.getPointerField(3 * ::capnp::POINTERS), c@106: ::capnp::schemas::bp_d6a172208c9a1760 + 115); c@106: } c@106: inline ::capnp::List::Builder Feature::Builder::getFeatureValues() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List>::get( c@106: _builder.getPointerField(3 * ::capnp::POINTERS), c@106: ::capnp::schemas::bp_d6a172208c9a1760 + 115); c@106: } c@106: inline void Feature::Builder::setFeatureValues( ::capnp::List::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List>::set( c@106: _builder.getPointerField(3 * ::capnp::POINTERS), value); c@106: } c@106: inline void Feature::Builder::setFeatureValues(::kj::ArrayPtr value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List>::set( c@106: _builder.getPointerField(3 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List::Builder Feature::Builder::initFeatureValues(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List>::init( c@106: _builder.getPointerField(3 * ::capnp::POINTERS), size); c@106: } c@106: inline void Feature::Builder::adoptFeatureValues( c@106: ::capnp::Orphan< ::capnp::List>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List>::adopt( c@106: _builder.getPointerField(3 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List> Feature::Builder::disownFeatureValues() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List>::disown( c@106: _builder.getPointerField(3 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool FeatureSet::Reader::hasFeaturePairs() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool FeatureSet::Builder::hasFeaturePairs() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::piper::FeatureSet::FSPair>::Reader FeatureSet::Reader::getFeaturePairs() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder FeatureSet::Builder::getFeaturePairs() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void FeatureSet::Builder::setFeaturePairs( ::capnp::List< ::piper::FeatureSet::FSPair>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder FeatureSet::Builder::initFeaturePairs(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void FeatureSet::Builder::adoptFeaturePairs( c@106: ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>> FeatureSet::Builder::disownFeaturePairs() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool FeatureSet::FSPair::Reader::hasOutput() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool FeatureSet::FSPair::Builder::hasOutput() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader FeatureSet::FSPair::Reader::getOutput() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder FeatureSet::FSPair::Builder::getOutput() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void FeatureSet::FSPair::Builder::setOutput( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder FeatureSet::FSPair::Builder::initOutput(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void FeatureSet::FSPair::Builder::adoptOutput( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> FeatureSet::FSPair::Builder::disownOutput() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool FeatureSet::FSPair::Reader::hasFeatures() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool FeatureSet::FSPair::Builder::hasFeatures() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::piper::Feature>::Reader FeatureSet::FSPair::Reader::getFeatures() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS), c@106: ::capnp::schemas::bp_ab2572c346316b24 + 52); c@106: } c@106: inline ::capnp::List< ::piper::Feature>::Builder FeatureSet::FSPair::Builder::getFeatures() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), c@106: ::capnp::schemas::bp_ab2572c346316b24 + 52); c@106: } c@106: inline void FeatureSet::FSPair::Builder::setFeatures( ::capnp::List< ::piper::Feature>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::piper::Feature>::Builder FeatureSet::FSPair::Builder::initFeatures(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), size); c@106: } c@106: inline void FeatureSet::FSPair::Builder::adoptFeatures( c@106: ::capnp::Orphan< ::capnp::List< ::piper::Feature>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::Feature>> FeatureSet::FSPair::Builder::disownFeatures() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool Configuration::Reader::hasParameterValues() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Configuration::Builder::hasParameterValues() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::piper::Configuration::PVPair>::Reader Configuration::Reader::getParameterValues() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::piper::Configuration::PVPair>::Builder Configuration::Builder::getParameterValues() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void Configuration::Builder::setParameterValues( ::capnp::List< ::piper::Configuration::PVPair>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::piper::Configuration::PVPair>::Builder Configuration::Builder::initParameterValues(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void Configuration::Builder::adoptParameterValues( c@106: ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>> Configuration::Builder::disownParameterValues() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool Configuration::Reader::hasCurrentProgram() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Configuration::Builder::hasCurrentProgram() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader Configuration::Reader::getCurrentProgram() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder Configuration::Builder::getCurrentProgram() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void Configuration::Builder::setCurrentProgram( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder Configuration::Builder::initCurrentProgram(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), size); c@106: } c@106: inline void Configuration::Builder::adoptCurrentProgram( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> Configuration::Builder::disownCurrentProgram() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t Configuration::Reader::getChannelCount() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t Configuration::Builder::getChannelCount() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void Configuration::Builder::setChannelCount( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::int32_t Configuration::Reader::getStepSize() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t Configuration::Builder::getStepSize() { c@106: return _builder.getDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS); c@106: } c@106: inline void Configuration::Builder::setStepSize( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 1 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::int32_t Configuration::Reader::getBlockSize() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t Configuration::Builder::getBlockSize() { c@106: return _builder.getDataField< ::int32_t>( c@106: 2 * ::capnp::ELEMENTS); c@106: } c@106: inline void Configuration::Builder::setBlockSize( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 2 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool Configuration::PVPair::Reader::hasParameter() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Configuration::PVPair::Builder::hasParameter() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader Configuration::PVPair::Reader::getParameter() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder Configuration::PVPair::Builder::getParameter() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void Configuration::PVPair::Builder::setParameter( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder Configuration::PVPair::Builder::initParameter(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void Configuration::PVPair::Builder::adoptParameter( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> Configuration::PVPair::Builder::disownParameter() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline float Configuration::PVPair::Reader::getValue() const { c@106: return _reader.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float Configuration::PVPair::Builder::getValue() { c@106: return _builder.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void Configuration::PVPair::Builder::setValue(float value) { c@106: _builder.setDataField( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ListResponse::Reader::hasAvailable() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ListResponse::Builder::hasAvailable() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::piper::ExtractorStaticData>::Reader ListResponse::Reader::getAvailable() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::piper::ExtractorStaticData>::Builder ListResponse::Builder::getAvailable() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ListResponse::Builder::setAvailable( ::capnp::List< ::piper::ExtractorStaticData>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::piper::ExtractorStaticData>::Builder ListResponse::Builder::initAvailable(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void ListResponse::Builder::adoptAvailable( c@106: ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>> ListResponse::Builder::disownAvailable() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool LoadRequest::Reader::hasKey() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool LoadRequest::Builder::hasKey() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader LoadRequest::Reader::getKey() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder LoadRequest::Builder::getKey() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void LoadRequest::Builder::setKey( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder LoadRequest::Builder::initKey(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void LoadRequest::Builder::adoptKey( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> LoadRequest::Builder::disownKey() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline float LoadRequest::Reader::getInputSampleRate() const { c@106: return _reader.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline float LoadRequest::Builder::getInputSampleRate() { c@106: return _builder.getDataField( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void LoadRequest::Builder::setInputSampleRate(float value) { c@106: _builder.setDataField( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool LoadRequest::Reader::hasAdapterFlags() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool LoadRequest::Builder::hasAdapterFlags() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::piper::AdapterFlag>::Reader LoadRequest::Reader::getAdapterFlags() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::piper::AdapterFlag>::Builder LoadRequest::Builder::getAdapterFlags() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void LoadRequest::Builder::setAdapterFlags( ::capnp::List< ::piper::AdapterFlag>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline void LoadRequest::Builder::setAdapterFlags(::kj::ArrayPtr value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::piper::AdapterFlag>::Builder LoadRequest::Builder::initAdapterFlags(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), size); c@106: } c@106: inline void LoadRequest::Builder::adoptAdapterFlags( c@106: ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>> LoadRequest::Builder::disownAdapterFlags() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t LoadResponse::Reader::getHandle() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t LoadResponse::Builder::getHandle() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void LoadResponse::Builder::setHandle( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool LoadResponse::Reader::hasStaticData() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool LoadResponse::Builder::hasStaticData() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ExtractorStaticData::Reader LoadResponse::Reader::getStaticData() const { c@106: return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ExtractorStaticData::Builder LoadResponse::Builder::getStaticData() { c@106: return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::ExtractorStaticData::Pipeline LoadResponse::Pipeline::getStaticData() { c@106: return ::piper::ExtractorStaticData::Pipeline(_typeless.getPointerField(0)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void LoadResponse::Builder::setStaticData( ::piper::ExtractorStaticData::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ExtractorStaticData::Builder LoadResponse::Builder::initStaticData() { c@106: return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void LoadResponse::Builder::adoptStaticData( c@106: ::capnp::Orphan< ::piper::ExtractorStaticData>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ExtractorStaticData> LoadResponse::Builder::disownStaticData() { c@106: return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool LoadResponse::Reader::hasDefaultConfiguration() const { c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool LoadResponse::Builder::hasDefaultConfiguration() { c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::Configuration::Reader LoadResponse::Reader::getDefaultConfiguration() const { c@106: return ::capnp::_::PointerHelpers< ::piper::Configuration>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::Configuration::Builder LoadResponse::Builder::getDefaultConfiguration() { c@106: return ::capnp::_::PointerHelpers< ::piper::Configuration>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::Configuration::Pipeline LoadResponse::Pipeline::getDefaultConfiguration() { c@106: return ::piper::Configuration::Pipeline(_typeless.getPointerField(1)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void LoadResponse::Builder::setDefaultConfiguration( ::piper::Configuration::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::Configuration>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::Configuration::Builder LoadResponse::Builder::initDefaultConfiguration() { c@106: return ::capnp::_::PointerHelpers< ::piper::Configuration>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void LoadResponse::Builder::adoptDefaultConfiguration( c@106: ::capnp::Orphan< ::piper::Configuration>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::Configuration>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::Configuration> LoadResponse::Builder::disownDefaultConfiguration() { c@106: return ::capnp::_::PointerHelpers< ::piper::Configuration>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t ConfigurationRequest::Reader::getHandle() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t ConfigurationRequest::Builder::getHandle() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfigurationRequest::Builder::setHandle( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ConfigurationRequest::Reader::hasConfiguration() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ConfigurationRequest::Builder::hasConfiguration() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::Configuration::Reader ConfigurationRequest::Reader::getConfiguration() const { c@106: return ::capnp::_::PointerHelpers< ::piper::Configuration>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::Configuration::Builder ConfigurationRequest::Builder::getConfiguration() { c@106: return ::capnp::_::PointerHelpers< ::piper::Configuration>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::Configuration::Pipeline ConfigurationRequest::Pipeline::getConfiguration() { c@106: return ::piper::Configuration::Pipeline(_typeless.getPointerField(0)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void ConfigurationRequest::Builder::setConfiguration( ::piper::Configuration::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::Configuration>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::Configuration::Builder ConfigurationRequest::Builder::initConfiguration() { c@106: return ::capnp::_::PointerHelpers< ::piper::Configuration>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ConfigurationRequest::Builder::adoptConfiguration( c@106: ::capnp::Orphan< ::piper::Configuration>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::Configuration>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::Configuration> ConfigurationRequest::Builder::disownConfiguration() { c@106: return ::capnp::_::PointerHelpers< ::piper::Configuration>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t ConfigurationResponse::Reader::getHandle() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t ConfigurationResponse::Builder::getHandle() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void ConfigurationResponse::Builder::setHandle( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ConfigurationResponse::Reader::hasOutputs() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ConfigurationResponse::Builder::hasOutputs() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::List< ::piper::OutputDescriptor>::Reader ConfigurationResponse::Reader::getOutputs() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::List< ::piper::OutputDescriptor>::Builder ConfigurationResponse::Builder::getOutputs() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ConfigurationResponse::Builder::setOutputs( ::capnp::List< ::piper::OutputDescriptor>::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::List< ::piper::OutputDescriptor>::Builder ConfigurationResponse::Builder::initOutputs(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void ConfigurationResponse::Builder::adoptOutputs( c@106: ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>> ConfigurationResponse::Builder::disownOutputs() { c@106: return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t ProcessRequest::Reader::getHandle() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t ProcessRequest::Builder::getHandle() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void ProcessRequest::Builder::setHandle( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ProcessRequest::Reader::hasProcessInput() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ProcessRequest::Builder::hasProcessInput() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ProcessInput::Reader ProcessRequest::Reader::getProcessInput() const { c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ProcessInput::Builder ProcessRequest::Builder::getProcessInput() { c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::ProcessInput::Pipeline ProcessRequest::Pipeline::getProcessInput() { c@106: return ::piper::ProcessInput::Pipeline(_typeless.getPointerField(0)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void ProcessRequest::Builder::setProcessInput( ::piper::ProcessInput::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::ProcessInput>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ProcessInput::Builder ProcessRequest::Builder::initProcessInput() { c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ProcessRequest::Builder::adoptProcessInput( c@106: ::capnp::Orphan< ::piper::ProcessInput>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::ProcessInput>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ProcessInput> ProcessRequest::Builder::disownProcessInput() { c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t ProcessResponse::Reader::getHandle() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t ProcessResponse::Builder::getHandle() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void ProcessResponse::Builder::setHandle( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool ProcessResponse::Reader::hasFeatures() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool ProcessResponse::Builder::hasFeatures() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::FeatureSet::Reader ProcessResponse::Reader::getFeatures() const { c@106: return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::FeatureSet::Builder ProcessResponse::Builder::getFeatures() { c@106: return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::FeatureSet::Pipeline ProcessResponse::Pipeline::getFeatures() { c@106: return ::piper::FeatureSet::Pipeline(_typeless.getPointerField(0)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void ProcessResponse::Builder::setFeatures( ::piper::FeatureSet::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::FeatureSet>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::FeatureSet::Builder ProcessResponse::Builder::initFeatures() { c@106: return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void ProcessResponse::Builder::adoptFeatures( c@106: ::capnp::Orphan< ::piper::FeatureSet>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::FeatureSet>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::FeatureSet> ProcessResponse::Builder::disownFeatures() { c@106: return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t FinishRequest::Reader::getHandle() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t FinishRequest::Builder::getHandle() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void FinishRequest::Builder::setHandle( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::int32_t FinishResponse::Reader::getHandle() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t FinishResponse::Builder::getHandle() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void FinishResponse::Builder::setHandle( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool FinishResponse::Reader::hasFeatures() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool FinishResponse::Builder::hasFeatures() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::FeatureSet::Reader FinishResponse::Reader::getFeatures() const { c@106: return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::FeatureSet::Builder FinishResponse::Builder::getFeatures() { c@106: return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: #if !CAPNP_LITE c@106: inline ::piper::FeatureSet::Pipeline FinishResponse::Pipeline::getFeatures() { c@106: return ::piper::FeatureSet::Pipeline(_typeless.getPointerField(0)); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline void FinishResponse::Builder::setFeatures( ::piper::FeatureSet::Reader value) { c@106: ::capnp::_::PointerHelpers< ::piper::FeatureSet>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::FeatureSet::Builder FinishResponse::Builder::initFeatures() { c@106: return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void FinishResponse::Builder::adoptFeatures( c@106: ::capnp::Orphan< ::piper::FeatureSet>&& value) { c@106: ::capnp::_::PointerHelpers< ::piper::FeatureSet>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::FeatureSet> FinishResponse::Builder::disownFeatures() { c@106: return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline ::int32_t Error::Reader::getCode() const { c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t Error::Builder::getCode() { c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void Error::Builder::setCode( ::int32_t value) { c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool Error::Reader::hasMessage() const { c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool Error::Builder::hasMessage() { c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader Error::Reader::getMessage() const { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder Error::Builder::getMessage() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void Error::Builder::setMessage( ::capnp::Text::Reader value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder Error::Builder::initMessage(unsigned int size) { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void Error::Builder::adoptMessage( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> Error::Builder::disownMessage() { c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline RpcRequest::Id::Reader RpcRequest::Reader::getId() const { c@106: return RpcRequest::Id::Reader(_reader); c@106: } c@106: inline RpcRequest::Id::Builder RpcRequest::Builder::getId() { c@106: return RpcRequest::Id::Builder(_builder); c@106: } c@106: #if !CAPNP_LITE c@106: inline RpcRequest::Id::Pipeline RpcRequest::Pipeline::getId() { c@106: return RpcRequest::Id::Pipeline(_typeless.noop()); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline RpcRequest::Id::Builder RpcRequest::Builder::initId() { c@106: _builder.setDataField< ::uint32_t>(0 * ::capnp::ELEMENTS, 0); c@106: _builder.setDataField< ::uint16_t>(2 * ::capnp::ELEMENTS, 0); c@106: _builder.getPointerField(0 * ::capnp::POINTERS).clear(); c@106: return RpcRequest::Id::Builder(_builder); c@106: } c@106: inline RpcRequest::Request::Reader RpcRequest::Reader::getRequest() const { c@106: return RpcRequest::Request::Reader(_reader); c@106: } c@106: inline RpcRequest::Request::Builder RpcRequest::Builder::getRequest() { c@106: return RpcRequest::Request::Builder(_builder); c@106: } c@106: #if !CAPNP_LITE c@106: inline RpcRequest::Request::Pipeline RpcRequest::Pipeline::getRequest() { c@106: return RpcRequest::Request::Pipeline(_typeless.noop()); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline RpcRequest::Request::Builder RpcRequest::Builder::initRequest() { c@106: _builder.setDataField< ::uint16_t>(3 * ::capnp::ELEMENTS, 0); c@106: _builder.getPointerField(1 * ::capnp::POINTERS).clear(); c@106: return RpcRequest::Request::Builder(_builder); c@106: } c@106: inline ::piper::RpcRequest::Id::Which RpcRequest::Id::Reader::which() const { c@106: return _reader.getDataField(2 * ::capnp::ELEMENTS); c@106: } c@106: inline ::piper::RpcRequest::Id::Which RpcRequest::Id::Builder::which() { c@106: return _builder.getDataField(2 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool RpcRequest::Id::Reader::isNumber() const { c@106: return which() == RpcRequest::Id::NUMBER; c@106: } c@106: inline bool RpcRequest::Id::Builder::isNumber() { c@106: return which() == RpcRequest::Id::NUMBER; c@106: } c@106: inline ::int32_t RpcRequest::Id::Reader::getNumber() const { c@106: KJ_IREQUIRE((which() == RpcRequest::Id::NUMBER), c@106: "Must check which() before get()ing a union member."); c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t RpcRequest::Id::Builder::getNumber() { c@106: KJ_IREQUIRE((which() == RpcRequest::Id::NUMBER), c@106: "Must check which() before get()ing a union member."); c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void RpcRequest::Id::Builder::setNumber( ::int32_t value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcRequest::Id::NUMBER); c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool RpcRequest::Id::Reader::isTag() const { c@106: return which() == RpcRequest::Id::TAG; c@106: } c@106: inline bool RpcRequest::Id::Builder::isTag() { c@106: return which() == RpcRequest::Id::TAG; c@106: } c@106: inline bool RpcRequest::Id::Reader::hasTag() const { c@106: if (which() != RpcRequest::Id::TAG) return false; c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcRequest::Id::Builder::hasTag() { c@106: if (which() != RpcRequest::Id::TAG) return false; c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader RpcRequest::Id::Reader::getTag() const { c@106: KJ_IREQUIRE((which() == RpcRequest::Id::TAG), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder RpcRequest::Id::Builder::getTag() { c@106: KJ_IREQUIRE((which() == RpcRequest::Id::TAG), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Id::Builder::setTag( ::capnp::Text::Reader value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG); c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder RpcRequest::Id::Builder::initTag(unsigned int size) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG); c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void RpcRequest::Id::Builder::adoptTag( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG); c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> RpcRequest::Id::Builder::disownTag() { c@106: KJ_IREQUIRE((which() == RpcRequest::Id::TAG), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcRequest::Id::Reader::isNone() const { c@106: return which() == RpcRequest::Id::NONE; c@106: } c@106: inline bool RpcRequest::Id::Builder::isNone() { c@106: return which() == RpcRequest::Id::NONE; c@106: } c@106: inline ::capnp::Void RpcRequest::Id::Reader::getNone() const { c@106: KJ_IREQUIRE((which() == RpcRequest::Id::NONE), c@106: "Must check which() before get()ing a union member."); c@106: return _reader.getDataField< ::capnp::Void>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::capnp::Void RpcRequest::Id::Builder::getNone() { c@106: KJ_IREQUIRE((which() == RpcRequest::Id::NONE), c@106: "Must check which() before get()ing a union member."); c@106: return _builder.getDataField< ::capnp::Void>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void RpcRequest::Id::Builder::setNone( ::capnp::Void value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcRequest::Id::NONE); c@106: _builder.setDataField< ::capnp::Void>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::piper::RpcRequest::Request::Which RpcRequest::Request::Reader::which() const { c@106: return _reader.getDataField(3 * ::capnp::ELEMENTS); c@106: } c@106: inline ::piper::RpcRequest::Request::Which RpcRequest::Request::Builder::which() { c@106: return _builder.getDataField(3 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool RpcRequest::Request::Reader::isList() const { c@106: return which() == RpcRequest::Request::LIST; c@106: } c@106: inline bool RpcRequest::Request::Builder::isList() { c@106: return which() == RpcRequest::Request::LIST; c@106: } c@106: inline bool RpcRequest::Request::Reader::hasList() const { c@106: if (which() != RpcRequest::Request::LIST) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcRequest::Request::Builder::hasList() { c@106: if (which() != RpcRequest::Request::LIST) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ListRequest::Reader RpcRequest::Request::Reader::getList() const { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::LIST), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ListRequest>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ListRequest::Builder RpcRequest::Request::Builder::getList() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::LIST), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ListRequest>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::setList( ::piper::ListRequest::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST); c@106: ::capnp::_::PointerHelpers< ::piper::ListRequest>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ListRequest::Builder RpcRequest::Request::Builder::initList() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST); c@106: return ::capnp::_::PointerHelpers< ::piper::ListRequest>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::adoptList( c@106: ::capnp::Orphan< ::piper::ListRequest>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST); c@106: ::capnp::_::PointerHelpers< ::piper::ListRequest>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ListRequest> RpcRequest::Request::Builder::disownList() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::LIST), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ListRequest>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcRequest::Request::Reader::isLoad() const { c@106: return which() == RpcRequest::Request::LOAD; c@106: } c@106: inline bool RpcRequest::Request::Builder::isLoad() { c@106: return which() == RpcRequest::Request::LOAD; c@106: } c@106: inline bool RpcRequest::Request::Reader::hasLoad() const { c@106: if (which() != RpcRequest::Request::LOAD) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcRequest::Request::Builder::hasLoad() { c@106: if (which() != RpcRequest::Request::LOAD) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::LoadRequest::Reader RpcRequest::Request::Reader::getLoad() const { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::LOAD), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::LoadRequest::Builder RpcRequest::Request::Builder::getLoad() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::LOAD), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::setLoad( ::piper::LoadRequest::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD); c@106: ::capnp::_::PointerHelpers< ::piper::LoadRequest>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::LoadRequest::Builder RpcRequest::Request::Builder::initLoad() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD); c@106: return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::adoptLoad( c@106: ::capnp::Orphan< ::piper::LoadRequest>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD); c@106: ::capnp::_::PointerHelpers< ::piper::LoadRequest>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::LoadRequest> RpcRequest::Request::Builder::disownLoad() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::LOAD), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcRequest::Request::Reader::isConfigure() const { c@106: return which() == RpcRequest::Request::CONFIGURE; c@106: } c@106: inline bool RpcRequest::Request::Builder::isConfigure() { c@106: return which() == RpcRequest::Request::CONFIGURE; c@106: } c@106: inline bool RpcRequest::Request::Reader::hasConfigure() const { c@106: if (which() != RpcRequest::Request::CONFIGURE) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcRequest::Request::Builder::hasConfigure() { c@106: if (which() != RpcRequest::Request::CONFIGURE) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ConfigurationRequest::Reader RpcRequest::Request::Reader::getConfigure() const { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ConfigurationRequest::Builder RpcRequest::Request::Builder::getConfigure() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::setConfigure( ::piper::ConfigurationRequest::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE); c@106: ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ConfigurationRequest::Builder RpcRequest::Request::Builder::initConfigure() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE); c@106: return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::adoptConfigure( c@106: ::capnp::Orphan< ::piper::ConfigurationRequest>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE); c@106: ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ConfigurationRequest> RpcRequest::Request::Builder::disownConfigure() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcRequest::Request::Reader::isProcess() const { c@106: return which() == RpcRequest::Request::PROCESS; c@106: } c@106: inline bool RpcRequest::Request::Builder::isProcess() { c@106: return which() == RpcRequest::Request::PROCESS; c@106: } c@106: inline bool RpcRequest::Request::Reader::hasProcess() const { c@106: if (which() != RpcRequest::Request::PROCESS) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcRequest::Request::Builder::hasProcess() { c@106: if (which() != RpcRequest::Request::PROCESS) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ProcessRequest::Reader RpcRequest::Request::Reader::getProcess() const { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ProcessRequest::Builder RpcRequest::Request::Builder::getProcess() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::setProcess( ::piper::ProcessRequest::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS); c@106: ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ProcessRequest::Builder RpcRequest::Request::Builder::initProcess() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS); c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::adoptProcess( c@106: ::capnp::Orphan< ::piper::ProcessRequest>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS); c@106: ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ProcessRequest> RpcRequest::Request::Builder::disownProcess() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcRequest::Request::Reader::isFinish() const { c@106: return which() == RpcRequest::Request::FINISH; c@106: } c@106: inline bool RpcRequest::Request::Builder::isFinish() { c@106: return which() == RpcRequest::Request::FINISH; c@106: } c@106: inline bool RpcRequest::Request::Reader::hasFinish() const { c@106: if (which() != RpcRequest::Request::FINISH) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcRequest::Request::Builder::hasFinish() { c@106: if (which() != RpcRequest::Request::FINISH) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::FinishRequest::Reader RpcRequest::Request::Reader::getFinish() const { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::FINISH), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::FinishRequest::Builder RpcRequest::Request::Builder::getFinish() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::FINISH), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::setFinish( ::piper::FinishRequest::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH); c@106: ::capnp::_::PointerHelpers< ::piper::FinishRequest>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::FinishRequest::Builder RpcRequest::Request::Builder::initFinish() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH); c@106: return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcRequest::Request::Builder::adoptFinish( c@106: ::capnp::Orphan< ::piper::FinishRequest>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH); c@106: ::capnp::_::PointerHelpers< ::piper::FinishRequest>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::FinishRequest> RpcRequest::Request::Builder::disownFinish() { c@106: KJ_IREQUIRE((which() == RpcRequest::Request::FINISH), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline RpcResponse::Id::Reader RpcResponse::Reader::getId() const { c@106: return RpcResponse::Id::Reader(_reader); c@106: } c@106: inline RpcResponse::Id::Builder RpcResponse::Builder::getId() { c@106: return RpcResponse::Id::Builder(_builder); c@106: } c@106: #if !CAPNP_LITE c@106: inline RpcResponse::Id::Pipeline RpcResponse::Pipeline::getId() { c@106: return RpcResponse::Id::Pipeline(_typeless.noop()); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline RpcResponse::Id::Builder RpcResponse::Builder::initId() { c@106: _builder.setDataField< ::uint32_t>(0 * ::capnp::ELEMENTS, 0); c@106: _builder.setDataField< ::uint16_t>(2 * ::capnp::ELEMENTS, 0); c@106: _builder.getPointerField(0 * ::capnp::POINTERS).clear(); c@106: return RpcResponse::Id::Builder(_builder); c@106: } c@106: inline RpcResponse::Response::Reader RpcResponse::Reader::getResponse() const { c@106: return RpcResponse::Response::Reader(_reader); c@106: } c@106: inline RpcResponse::Response::Builder RpcResponse::Builder::getResponse() { c@106: return RpcResponse::Response::Builder(_builder); c@106: } c@106: #if !CAPNP_LITE c@106: inline RpcResponse::Response::Pipeline RpcResponse::Pipeline::getResponse() { c@106: return RpcResponse::Response::Pipeline(_typeless.noop()); c@106: } c@106: #endif // !CAPNP_LITE c@106: inline RpcResponse::Response::Builder RpcResponse::Builder::initResponse() { c@106: _builder.setDataField< ::uint16_t>(3 * ::capnp::ELEMENTS, 0); c@106: _builder.getPointerField(1 * ::capnp::POINTERS).clear(); c@106: return RpcResponse::Response::Builder(_builder); c@106: } c@106: inline ::piper::RpcResponse::Id::Which RpcResponse::Id::Reader::which() const { c@106: return _reader.getDataField(2 * ::capnp::ELEMENTS); c@106: } c@106: inline ::piper::RpcResponse::Id::Which RpcResponse::Id::Builder::which() { c@106: return _builder.getDataField(2 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool RpcResponse::Id::Reader::isNumber() const { c@106: return which() == RpcResponse::Id::NUMBER; c@106: } c@106: inline bool RpcResponse::Id::Builder::isNumber() { c@106: return which() == RpcResponse::Id::NUMBER; c@106: } c@106: inline ::int32_t RpcResponse::Id::Reader::getNumber() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Id::NUMBER), c@106: "Must check which() before get()ing a union member."); c@106: return _reader.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::int32_t RpcResponse::Id::Builder::getNumber() { c@106: KJ_IREQUIRE((which() == RpcResponse::Id::NUMBER), c@106: "Must check which() before get()ing a union member."); c@106: return _builder.getDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void RpcResponse::Id::Builder::setNumber( ::int32_t value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcResponse::Id::NUMBER); c@106: _builder.setDataField< ::int32_t>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline bool RpcResponse::Id::Reader::isTag() const { c@106: return which() == RpcResponse::Id::TAG; c@106: } c@106: inline bool RpcResponse::Id::Builder::isTag() { c@106: return which() == RpcResponse::Id::TAG; c@106: } c@106: inline bool RpcResponse::Id::Reader::hasTag() const { c@106: if (which() != RpcResponse::Id::TAG) return false; c@106: return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcResponse::Id::Builder::hasTag() { c@106: if (which() != RpcResponse::Id::TAG) return false; c@106: return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::capnp::Text::Reader RpcResponse::Id::Reader::getTag() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Id::TAG), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _reader.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline ::capnp::Text::Builder RpcResponse::Id::Builder::getTag() { c@106: KJ_IREQUIRE((which() == RpcResponse::Id::TAG), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::get( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Id::Builder::setTag( ::capnp::Text::Reader value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG); c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::set( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), value); c@106: } c@106: inline ::capnp::Text::Builder RpcResponse::Id::Builder::initTag(unsigned int size) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG); c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::init( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), size); c@106: } c@106: inline void RpcResponse::Id::Builder::adoptTag( c@106: ::capnp::Orphan< ::capnp::Text>&& value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG); c@106: ::capnp::_::PointerHelpers< ::capnp::Text>::adopt( c@106: _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::capnp::Text> RpcResponse::Id::Builder::disownTag() { c@106: KJ_IREQUIRE((which() == RpcResponse::Id::TAG), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::capnp::Text>::disown( c@106: _builder.getPointerField(0 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcResponse::Id::Reader::isNone() const { c@106: return which() == RpcResponse::Id::NONE; c@106: } c@106: inline bool RpcResponse::Id::Builder::isNone() { c@106: return which() == RpcResponse::Id::NONE; c@106: } c@106: inline ::capnp::Void RpcResponse::Id::Reader::getNone() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Id::NONE), c@106: "Must check which() before get()ing a union member."); c@106: return _reader.getDataField< ::capnp::Void>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline ::capnp::Void RpcResponse::Id::Builder::getNone() { c@106: KJ_IREQUIRE((which() == RpcResponse::Id::NONE), c@106: "Must check which() before get()ing a union member."); c@106: return _builder.getDataField< ::capnp::Void>( c@106: 0 * ::capnp::ELEMENTS); c@106: } c@106: inline void RpcResponse::Id::Builder::setNone( ::capnp::Void value) { c@106: _builder.setDataField( c@106: 2 * ::capnp::ELEMENTS, RpcResponse::Id::NONE); c@106: _builder.setDataField< ::capnp::Void>( c@106: 0 * ::capnp::ELEMENTS, value); c@106: } c@106: c@106: inline ::piper::RpcResponse::Response::Which RpcResponse::Response::Reader::which() const { c@106: return _reader.getDataField(3 * ::capnp::ELEMENTS); c@106: } c@106: inline ::piper::RpcResponse::Response::Which RpcResponse::Response::Builder::which() { c@106: return _builder.getDataField(3 * ::capnp::ELEMENTS); c@106: } c@106: c@106: inline bool RpcResponse::Response::Reader::isError() const { c@106: return which() == RpcResponse::Response::ERROR; c@106: } c@106: inline bool RpcResponse::Response::Builder::isError() { c@106: return which() == RpcResponse::Response::ERROR; c@106: } c@106: inline bool RpcResponse::Response::Reader::hasError() const { c@106: if (which() != RpcResponse::Response::ERROR) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcResponse::Response::Builder::hasError() { c@106: if (which() != RpcResponse::Response::ERROR) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::Error::Reader RpcResponse::Response::Reader::getError() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::ERROR), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::Error>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::Error::Builder RpcResponse::Response::Builder::getError() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::ERROR), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::Error>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::setError( ::piper::Error::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR); c@106: ::capnp::_::PointerHelpers< ::piper::Error>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::Error::Builder RpcResponse::Response::Builder::initError() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR); c@106: return ::capnp::_::PointerHelpers< ::piper::Error>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::adoptError( c@106: ::capnp::Orphan< ::piper::Error>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR); c@106: ::capnp::_::PointerHelpers< ::piper::Error>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::Error> RpcResponse::Response::Builder::disownError() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::ERROR), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::Error>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcResponse::Response::Reader::isList() const { c@106: return which() == RpcResponse::Response::LIST; c@106: } c@106: inline bool RpcResponse::Response::Builder::isList() { c@106: return which() == RpcResponse::Response::LIST; c@106: } c@106: inline bool RpcResponse::Response::Reader::hasList() const { c@106: if (which() != RpcResponse::Response::LIST) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcResponse::Response::Builder::hasList() { c@106: if (which() != RpcResponse::Response::LIST) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ListResponse::Reader RpcResponse::Response::Reader::getList() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::LIST), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ListResponse>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ListResponse::Builder RpcResponse::Response::Builder::getList() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::LIST), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ListResponse>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::setList( ::piper::ListResponse::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST); c@106: ::capnp::_::PointerHelpers< ::piper::ListResponse>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ListResponse::Builder RpcResponse::Response::Builder::initList() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST); c@106: return ::capnp::_::PointerHelpers< ::piper::ListResponse>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::adoptList( c@106: ::capnp::Orphan< ::piper::ListResponse>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST); c@106: ::capnp::_::PointerHelpers< ::piper::ListResponse>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ListResponse> RpcResponse::Response::Builder::disownList() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::LIST), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ListResponse>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcResponse::Response::Reader::isLoad() const { c@106: return which() == RpcResponse::Response::LOAD; c@106: } c@106: inline bool RpcResponse::Response::Builder::isLoad() { c@106: return which() == RpcResponse::Response::LOAD; c@106: } c@106: inline bool RpcResponse::Response::Reader::hasLoad() const { c@106: if (which() != RpcResponse::Response::LOAD) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcResponse::Response::Builder::hasLoad() { c@106: if (which() != RpcResponse::Response::LOAD) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::LoadResponse::Reader RpcResponse::Response::Reader::getLoad() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::LOAD), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::LoadResponse::Builder RpcResponse::Response::Builder::getLoad() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::LOAD), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::setLoad( ::piper::LoadResponse::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD); c@106: ::capnp::_::PointerHelpers< ::piper::LoadResponse>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::LoadResponse::Builder RpcResponse::Response::Builder::initLoad() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD); c@106: return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::adoptLoad( c@106: ::capnp::Orphan< ::piper::LoadResponse>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD); c@106: ::capnp::_::PointerHelpers< ::piper::LoadResponse>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::LoadResponse> RpcResponse::Response::Builder::disownLoad() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::LOAD), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcResponse::Response::Reader::isConfigure() const { c@106: return which() == RpcResponse::Response::CONFIGURE; c@106: } c@106: inline bool RpcResponse::Response::Builder::isConfigure() { c@106: return which() == RpcResponse::Response::CONFIGURE; c@106: } c@106: inline bool RpcResponse::Response::Reader::hasConfigure() const { c@106: if (which() != RpcResponse::Response::CONFIGURE) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcResponse::Response::Builder::hasConfigure() { c@106: if (which() != RpcResponse::Response::CONFIGURE) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ConfigurationResponse::Reader RpcResponse::Response::Reader::getConfigure() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ConfigurationResponse::Builder RpcResponse::Response::Builder::getConfigure() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::setConfigure( ::piper::ConfigurationResponse::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE); c@106: ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ConfigurationResponse::Builder RpcResponse::Response::Builder::initConfigure() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE); c@106: return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::adoptConfigure( c@106: ::capnp::Orphan< ::piper::ConfigurationResponse>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE); c@106: ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ConfigurationResponse> RpcResponse::Response::Builder::disownConfigure() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcResponse::Response::Reader::isProcess() const { c@106: return which() == RpcResponse::Response::PROCESS; c@106: } c@106: inline bool RpcResponse::Response::Builder::isProcess() { c@106: return which() == RpcResponse::Response::PROCESS; c@106: } c@106: inline bool RpcResponse::Response::Reader::hasProcess() const { c@106: if (which() != RpcResponse::Response::PROCESS) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcResponse::Response::Builder::hasProcess() { c@106: if (which() != RpcResponse::Response::PROCESS) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::ProcessResponse::Reader RpcResponse::Response::Reader::getProcess() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::ProcessResponse::Builder RpcResponse::Response::Builder::getProcess() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::setProcess( ::piper::ProcessResponse::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS); c@106: ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::ProcessResponse::Builder RpcResponse::Response::Builder::initProcess() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS); c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::adoptProcess( c@106: ::capnp::Orphan< ::piper::ProcessResponse>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS); c@106: ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::ProcessResponse> RpcResponse::Response::Builder::disownProcess() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: inline bool RpcResponse::Response::Reader::isFinish() const { c@106: return which() == RpcResponse::Response::FINISH; c@106: } c@106: inline bool RpcResponse::Response::Builder::isFinish() { c@106: return which() == RpcResponse::Response::FINISH; c@106: } c@106: inline bool RpcResponse::Response::Reader::hasFinish() const { c@106: if (which() != RpcResponse::Response::FINISH) return false; c@106: return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline bool RpcResponse::Response::Builder::hasFinish() { c@106: if (which() != RpcResponse::Response::FINISH) return false; c@106: return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull(); c@106: } c@106: inline ::piper::FinishResponse::Reader RpcResponse::Response::Reader::getFinish() const { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::FINISH), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::get( c@106: _reader.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline ::piper::FinishResponse::Builder RpcResponse::Response::Builder::getFinish() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::FINISH), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::get( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::setFinish( ::piper::FinishResponse::Reader value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH); c@106: ::capnp::_::PointerHelpers< ::piper::FinishResponse>::set( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), value); c@106: } c@106: inline ::piper::FinishResponse::Builder RpcResponse::Response::Builder::initFinish() { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH); c@106: return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::init( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: inline void RpcResponse::Response::Builder::adoptFinish( c@106: ::capnp::Orphan< ::piper::FinishResponse>&& value) { c@106: _builder.setDataField( c@106: 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH); c@106: ::capnp::_::PointerHelpers< ::piper::FinishResponse>::adopt( c@106: _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value)); c@106: } c@106: inline ::capnp::Orphan< ::piper::FinishResponse> RpcResponse::Response::Builder::disownFinish() { c@106: KJ_IREQUIRE((which() == RpcResponse::Response::FINISH), c@106: "Must check which() before get()ing a union member."); c@106: return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::disown( c@106: _builder.getPointerField(1 * ::capnp::POINTERS)); c@106: } c@106: c@106: } // namespace c@106: c@106: #endif // CAPNP_INCLUDED_c4b1c6c44c999206_