annotate vamp-capnp/piper.capnp.h @ 216:328ffacfc70e

Copyright -> rights
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 10 Feb 2017 17:22:09 +0000
parents 3eb00e5c76c4
children ea8994465322
rev   line source
c@106 1 // Generated by Cap'n Proto compiler, DO NOT EDIT
c@106 2 // source: piper.capnp
c@106 3
c@106 4 #ifndef CAPNP_INCLUDED_c4b1c6c44c999206_
c@106 5 #define CAPNP_INCLUDED_c4b1c6c44c999206_
c@106 6
c@106 7 #include <capnp/generated-header-support.h>
c@106 8
c@106 9 #if CAPNP_VERSION != 6000
c@106 10 #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 11 #endif
c@106 12
c@106 13
c@106 14 namespace capnp {
c@106 15 namespace schemas {
c@106 16
c@106 17 CAPNP_DECLARE_SCHEMA(b491ca63222c253f);
c@106 18 CAPNP_DECLARE_SCHEMA(f8fda10bef70a97d);
c@106 19 CAPNP_DECLARE_SCHEMA(eca23e4a04bdfeb2);
c@106 20 enum class SampleType_eca23e4a04bdfeb2: uint16_t {
c@106 21 ONE_SAMPLE_PER_STEP,
c@106 22 FIXED_SAMPLE_RATE,
c@106 23 VARIABLE_SAMPLE_RATE,
c@106 24 };
c@106 25 CAPNP_DECLARE_ENUM(SampleType, eca23e4a04bdfeb2);
c@106 26 CAPNP_DECLARE_SCHEMA(b2d0c825aac8249c);
c@106 27 CAPNP_DECLARE_SCHEMA(902c6065e1be824a);
c@106 28 CAPNP_DECLARE_SCHEMA(f50fb3b9c1bf75f4);
c@106 29 enum class InputDomain_f50fb3b9c1bf75f4: uint16_t {
c@106 30 TIME_DOMAIN,
c@106 31 FREQUENCY_DOMAIN,
c@106 32 };
c@106 33 CAPNP_DECLARE_ENUM(InputDomain, f50fb3b9c1bf75f4);
c@106 34 CAPNP_DECLARE_SCHEMA(b83ac85463e6caa1);
c@106 35 CAPNP_DECLARE_SCHEMA(84d515888a427d07);
c@106 36 CAPNP_DECLARE_SCHEMA(c6f3f05f2bc614ba);
c@106 37 CAPNP_DECLARE_SCHEMA(d6a172208c9a1760);
c@106 38 CAPNP_DECLARE_SCHEMA(ffa3fccceb684869);
c@106 39 CAPNP_DECLARE_SCHEMA(ab2572c346316b24);
cannam@185 40 CAPNP_DECLARE_SCHEMA(fe907ebf410a65a4);
c@106 41 CAPNP_DECLARE_SCHEMA(db209a01f86fe045);
c@106 42 CAPNP_DECLARE_SCHEMA(900b56fed422dd37);
c@106 43 CAPNP_DECLARE_SCHEMA(b5edf73eb2e79c4e);
c@106 44 enum class AdapterFlag_b5edf73eb2e79c4e: uint16_t {
c@106 45 ADAPT_INPUT_DOMAIN,
c@106 46 ADAPT_CHANNEL_COUNT,
c@106 47 ADAPT_BUFFER_SIZE,
c@106 48 };
c@106 49 CAPNP_DECLARE_ENUM(AdapterFlag, b5edf73eb2e79c4e);
c@106 50 CAPNP_DECLARE_SCHEMA(9ed58097be8bc6f3);
c@106 51 CAPNP_DECLARE_SCHEMA(eb49b9892c5b9b83);
c@106 52 CAPNP_DECLARE_SCHEMA(b54ff18dabd0d4e1);
c@106 53 CAPNP_DECLARE_SCHEMA(c8b36e8e9e8d6f15);
c@106 54 CAPNP_DECLARE_SCHEMA(fca0f520555d0c94);
c@106 55 CAPNP_DECLARE_SCHEMA(82fb08d7f06fe81d);
c@106 56 CAPNP_DECLARE_SCHEMA(fcf72b478bbe9d02);
c@106 57 CAPNP_DECLARE_SCHEMA(c433db5864bf6d56);
c@106 58 CAPNP_DECLARE_SCHEMA(ea87c8bff474ddce);
c@106 59 CAPNP_DECLARE_SCHEMA(fe801447309c2782);
c@106 60 CAPNP_DECLARE_SCHEMA(d8c0271e01d84377);
c@106 61 CAPNP_DECLARE_SCHEMA(ff4c6fd2917a8eb7);
c@106 62 CAPNP_DECLARE_SCHEMA(a7e9dceb8fbd0e23);
c@106 63 CAPNP_DECLARE_SCHEMA(df8b913d24f04413);
c@106 64 CAPNP_DECLARE_SCHEMA(a56d2f77e663c2f9);
c@106 65 CAPNP_DECLARE_SCHEMA(a6fbd69d9815fb3a);
c@106 66 CAPNP_DECLARE_SCHEMA(b1fd870b8c5fe885);
c@106 67 CAPNP_DECLARE_SCHEMA(d6d526aed45ac1db);
c@106 68 CAPNP_DECLARE_SCHEMA(ad12bb4485b0d3ac);
c@106 69
c@106 70 } // namespace schemas
c@106 71 } // namespace capnp
c@106 72
c@106 73 namespace piper {
c@106 74
c@106 75 struct Basic {
c@106 76 Basic() = delete;
c@106 77
c@106 78 class Reader;
c@106 79 class Builder;
c@106 80 class Pipeline;
c@106 81
c@106 82 struct _capnpPrivate {
c@106 83 CAPNP_DECLARE_STRUCT_HEADER(b491ca63222c253f, 0, 3)
c@106 84 #if !CAPNP_LITE
c@106 85 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 86 #endif // !CAPNP_LITE
c@106 87 };
c@106 88 };
c@106 89
c@106 90 struct ParameterDescriptor {
c@106 91 ParameterDescriptor() = delete;
c@106 92
c@106 93 class Reader;
c@106 94 class Builder;
c@106 95 class Pipeline;
c@106 96
c@106 97 struct _capnpPrivate {
c@106 98 CAPNP_DECLARE_STRUCT_HEADER(f8fda10bef70a97d, 3, 3)
c@106 99 #if !CAPNP_LITE
c@106 100 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 101 #endif // !CAPNP_LITE
c@106 102 };
c@106 103 };
c@106 104
c@106 105 typedef ::capnp::schemas::SampleType_eca23e4a04bdfeb2 SampleType;
c@106 106
c@106 107 struct ConfiguredOutputDescriptor {
c@106 108 ConfiguredOutputDescriptor() = delete;
c@106 109
c@106 110 class Reader;
c@106 111 class Builder;
c@106 112 class Pipeline;
c@106 113
c@106 114 struct _capnpPrivate {
c@106 115 CAPNP_DECLARE_STRUCT_HEADER(b2d0c825aac8249c, 3, 2)
c@106 116 #if !CAPNP_LITE
c@106 117 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 118 #endif // !CAPNP_LITE
c@106 119 };
c@106 120 };
c@106 121
c@106 122 struct OutputDescriptor {
c@106 123 OutputDescriptor() = delete;
c@106 124
c@106 125 class Reader;
c@106 126 class Builder;
c@106 127 class Pipeline;
c@106 128
c@106 129 struct _capnpPrivate {
c@106 130 CAPNP_DECLARE_STRUCT_HEADER(902c6065e1be824a, 0, 2)
c@106 131 #if !CAPNP_LITE
c@106 132 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 133 #endif // !CAPNP_LITE
c@106 134 };
c@106 135 };
c@106 136
c@106 137 typedef ::capnp::schemas::InputDomain_f50fb3b9c1bf75f4 InputDomain;
c@106 138
c@106 139 struct ExtractorStaticData {
c@106 140 ExtractorStaticData() = delete;
c@106 141
c@106 142 class Reader;
c@106 143 class Builder;
c@106 144 class Pipeline;
c@106 145
c@106 146 struct _capnpPrivate {
c@106 147 CAPNP_DECLARE_STRUCT_HEADER(b83ac85463e6caa1, 2, 8)
c@106 148 #if !CAPNP_LITE
c@106 149 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 150 #endif // !CAPNP_LITE
c@106 151 };
c@106 152 };
c@106 153
c@106 154 struct RealTime {
c@106 155 RealTime() = delete;
c@106 156
c@106 157 class Reader;
c@106 158 class Builder;
c@106 159 class Pipeline;
c@106 160
c@106 161 struct _capnpPrivate {
c@106 162 CAPNP_DECLARE_STRUCT_HEADER(84d515888a427d07, 1, 0)
c@106 163 #if !CAPNP_LITE
c@106 164 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 165 #endif // !CAPNP_LITE
c@106 166 };
c@106 167 };
c@106 168
c@106 169 struct ProcessInput {
c@106 170 ProcessInput() = delete;
c@106 171
c@106 172 class Reader;
c@106 173 class Builder;
c@106 174 class Pipeline;
c@106 175
c@106 176 struct _capnpPrivate {
c@106 177 CAPNP_DECLARE_STRUCT_HEADER(c6f3f05f2bc614ba, 0, 2)
c@106 178 #if !CAPNP_LITE
c@106 179 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 180 #endif // !CAPNP_LITE
c@106 181 };
c@106 182 };
c@106 183
c@106 184 struct Feature {
c@106 185 Feature() = delete;
c@106 186
c@106 187 class Reader;
c@106 188 class Builder;
c@106 189 class Pipeline;
c@106 190
c@106 191 struct _capnpPrivate {
c@106 192 CAPNP_DECLARE_STRUCT_HEADER(d6a172208c9a1760, 1, 4)
c@106 193 #if !CAPNP_LITE
c@106 194 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 195 #endif // !CAPNP_LITE
c@106 196 };
c@106 197 };
c@106 198
c@106 199 struct FeatureSet {
c@106 200 FeatureSet() = delete;
c@106 201
c@106 202 class Reader;
c@106 203 class Builder;
c@106 204 class Pipeline;
c@106 205 struct FSPair;
c@106 206
c@106 207 struct _capnpPrivate {
c@106 208 CAPNP_DECLARE_STRUCT_HEADER(ffa3fccceb684869, 0, 1)
c@106 209 #if !CAPNP_LITE
c@106 210 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 211 #endif // !CAPNP_LITE
c@106 212 };
c@106 213 };
c@106 214
c@106 215 struct FeatureSet::FSPair {
c@106 216 FSPair() = delete;
c@106 217
c@106 218 class Reader;
c@106 219 class Builder;
c@106 220 class Pipeline;
c@106 221
c@106 222 struct _capnpPrivate {
c@106 223 CAPNP_DECLARE_STRUCT_HEADER(ab2572c346316b24, 0, 2)
c@106 224 #if !CAPNP_LITE
c@106 225 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 226 #endif // !CAPNP_LITE
c@106 227 };
c@106 228 };
c@106 229
cannam@185 230 struct Framing {
cannam@185 231 Framing() = delete;
cannam@185 232
cannam@185 233 class Reader;
cannam@185 234 class Builder;
cannam@185 235 class Pipeline;
cannam@185 236
cannam@185 237 struct _capnpPrivate {
cannam@185 238 CAPNP_DECLARE_STRUCT_HEADER(fe907ebf410a65a4, 1, 0)
cannam@185 239 #if !CAPNP_LITE
cannam@185 240 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
cannam@185 241 #endif // !CAPNP_LITE
cannam@185 242 };
cannam@185 243 };
cannam@185 244
c@106 245 struct Configuration {
c@106 246 Configuration() = delete;
c@106 247
c@106 248 class Reader;
c@106 249 class Builder;
c@106 250 class Pipeline;
c@106 251 struct PVPair;
c@106 252
c@106 253 struct _capnpPrivate {
cannam@185 254 CAPNP_DECLARE_STRUCT_HEADER(db209a01f86fe045, 1, 3)
c@106 255 #if !CAPNP_LITE
c@106 256 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 257 #endif // !CAPNP_LITE
c@106 258 };
c@106 259 };
c@106 260
c@106 261 struct Configuration::PVPair {
c@106 262 PVPair() = delete;
c@106 263
c@106 264 class Reader;
c@106 265 class Builder;
c@106 266 class Pipeline;
c@106 267
c@106 268 struct _capnpPrivate {
c@106 269 CAPNP_DECLARE_STRUCT_HEADER(900b56fed422dd37, 1, 1)
c@106 270 #if !CAPNP_LITE
c@106 271 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 272 #endif // !CAPNP_LITE
c@106 273 };
c@106 274 };
c@106 275
c@106 276 typedef ::capnp::schemas::AdapterFlag_b5edf73eb2e79c4e AdapterFlag;
c@106 277
c@106 278 extern const ::capnp::_::ConstList< ::piper::AdapterFlag> ADAPT_ALL_SAFE;
c@106 279 extern const ::capnp::_::ConstList< ::piper::AdapterFlag> ADAPT_ALL;
c@106 280 struct ListRequest {
c@106 281 ListRequest() = delete;
c@106 282
c@106 283 class Reader;
c@106 284 class Builder;
c@106 285 class Pipeline;
c@106 286
c@106 287 struct _capnpPrivate {
c@127 288 CAPNP_DECLARE_STRUCT_HEADER(b54ff18dabd0d4e1, 0, 1)
c@106 289 #if !CAPNP_LITE
c@106 290 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 291 #endif // !CAPNP_LITE
c@106 292 };
c@106 293 };
c@106 294
c@106 295 struct ListResponse {
c@106 296 ListResponse() = delete;
c@106 297
c@106 298 class Reader;
c@106 299 class Builder;
c@106 300 class Pipeline;
c@106 301
c@106 302 struct _capnpPrivate {
c@106 303 CAPNP_DECLARE_STRUCT_HEADER(c8b36e8e9e8d6f15, 0, 1)
c@106 304 #if !CAPNP_LITE
c@106 305 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 306 #endif // !CAPNP_LITE
c@106 307 };
c@106 308 };
c@106 309
c@106 310 struct LoadRequest {
c@106 311 LoadRequest() = delete;
c@106 312
c@106 313 class Reader;
c@106 314 class Builder;
c@106 315 class Pipeline;
c@106 316
c@106 317 struct _capnpPrivate {
c@106 318 CAPNP_DECLARE_STRUCT_HEADER(fca0f520555d0c94, 1, 2)
c@106 319 #if !CAPNP_LITE
c@106 320 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 321 #endif // !CAPNP_LITE
c@106 322 };
c@106 323 };
c@106 324
c@106 325 struct LoadResponse {
c@106 326 LoadResponse() = delete;
c@106 327
c@106 328 class Reader;
c@106 329 class Builder;
c@106 330 class Pipeline;
c@106 331
c@106 332 struct _capnpPrivate {
c@106 333 CAPNP_DECLARE_STRUCT_HEADER(82fb08d7f06fe81d, 1, 2)
c@106 334 #if !CAPNP_LITE
c@106 335 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 336 #endif // !CAPNP_LITE
c@106 337 };
c@106 338 };
c@106 339
c@106 340 struct ConfigurationRequest {
c@106 341 ConfigurationRequest() = delete;
c@106 342
c@106 343 class Reader;
c@106 344 class Builder;
c@106 345 class Pipeline;
c@106 346
c@106 347 struct _capnpPrivate {
c@106 348 CAPNP_DECLARE_STRUCT_HEADER(fcf72b478bbe9d02, 1, 1)
c@106 349 #if !CAPNP_LITE
c@106 350 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 351 #endif // !CAPNP_LITE
c@106 352 };
c@106 353 };
c@106 354
c@106 355 struct ConfigurationResponse {
c@106 356 ConfigurationResponse() = delete;
c@106 357
c@106 358 class Reader;
c@106 359 class Builder;
c@106 360 class Pipeline;
c@106 361
c@106 362 struct _capnpPrivate {
cannam@185 363 CAPNP_DECLARE_STRUCT_HEADER(c433db5864bf6d56, 1, 2)
c@106 364 #if !CAPNP_LITE
c@106 365 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 366 #endif // !CAPNP_LITE
c@106 367 };
c@106 368 };
c@106 369
c@106 370 struct ProcessRequest {
c@106 371 ProcessRequest() = delete;
c@106 372
c@106 373 class Reader;
c@106 374 class Builder;
c@106 375 class Pipeline;
c@106 376
c@106 377 struct _capnpPrivate {
c@106 378 CAPNP_DECLARE_STRUCT_HEADER(ea87c8bff474ddce, 1, 1)
c@106 379 #if !CAPNP_LITE
c@106 380 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 381 #endif // !CAPNP_LITE
c@106 382 };
c@106 383 };
c@106 384
c@106 385 struct ProcessResponse {
c@106 386 ProcessResponse() = delete;
c@106 387
c@106 388 class Reader;
c@106 389 class Builder;
c@106 390 class Pipeline;
c@106 391
c@106 392 struct _capnpPrivate {
c@106 393 CAPNP_DECLARE_STRUCT_HEADER(fe801447309c2782, 1, 1)
c@106 394 #if !CAPNP_LITE
c@106 395 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 396 #endif // !CAPNP_LITE
c@106 397 };
c@106 398 };
c@106 399
c@106 400 struct FinishRequest {
c@106 401 FinishRequest() = delete;
c@106 402
c@106 403 class Reader;
c@106 404 class Builder;
c@106 405 class Pipeline;
c@106 406
c@106 407 struct _capnpPrivate {
c@106 408 CAPNP_DECLARE_STRUCT_HEADER(d8c0271e01d84377, 1, 0)
c@106 409 #if !CAPNP_LITE
c@106 410 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 411 #endif // !CAPNP_LITE
c@106 412 };
c@106 413 };
c@106 414
c@106 415 struct FinishResponse {
c@106 416 FinishResponse() = delete;
c@106 417
c@106 418 class Reader;
c@106 419 class Builder;
c@106 420 class Pipeline;
c@106 421
c@106 422 struct _capnpPrivate {
c@106 423 CAPNP_DECLARE_STRUCT_HEADER(ff4c6fd2917a8eb7, 1, 1)
c@106 424 #if !CAPNP_LITE
c@106 425 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 426 #endif // !CAPNP_LITE
c@106 427 };
c@106 428 };
c@106 429
c@106 430 struct Error {
c@106 431 Error() = delete;
c@106 432
c@106 433 class Reader;
c@106 434 class Builder;
c@106 435 class Pipeline;
c@106 436
c@106 437 struct _capnpPrivate {
c@106 438 CAPNP_DECLARE_STRUCT_HEADER(a7e9dceb8fbd0e23, 1, 1)
c@106 439 #if !CAPNP_LITE
c@106 440 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 441 #endif // !CAPNP_LITE
c@106 442 };
c@106 443 };
c@106 444
c@106 445 struct RpcRequest {
c@106 446 RpcRequest() = delete;
c@106 447
c@106 448 class Reader;
c@106 449 class Builder;
c@106 450 class Pipeline;
c@106 451 struct Id;
c@106 452 struct Request;
c@106 453
c@106 454 struct _capnpPrivate {
c@106 455 CAPNP_DECLARE_STRUCT_HEADER(df8b913d24f04413, 1, 2)
c@106 456 #if !CAPNP_LITE
c@106 457 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 458 #endif // !CAPNP_LITE
c@106 459 };
c@106 460 };
c@106 461
c@106 462 struct RpcRequest::Id {
c@106 463 Id() = delete;
c@106 464
c@106 465 class Reader;
c@106 466 class Builder;
c@106 467 class Pipeline;
c@106 468 enum Which: uint16_t {
c@106 469 NUMBER,
c@106 470 TAG,
c@106 471 NONE,
c@106 472 };
c@106 473
c@106 474 struct _capnpPrivate {
c@106 475 CAPNP_DECLARE_STRUCT_HEADER(a56d2f77e663c2f9, 1, 2)
c@106 476 #if !CAPNP_LITE
c@106 477 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 478 #endif // !CAPNP_LITE
c@106 479 };
c@106 480 };
c@106 481
c@106 482 struct RpcRequest::Request {
c@106 483 Request() = delete;
c@106 484
c@106 485 class Reader;
c@106 486 class Builder;
c@106 487 class Pipeline;
c@106 488 enum Which: uint16_t {
c@106 489 LIST,
c@106 490 LOAD,
c@106 491 CONFIGURE,
c@106 492 PROCESS,
c@106 493 FINISH,
c@106 494 };
c@106 495
c@106 496 struct _capnpPrivate {
c@106 497 CAPNP_DECLARE_STRUCT_HEADER(a6fbd69d9815fb3a, 1, 2)
c@106 498 #if !CAPNP_LITE
c@106 499 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 500 #endif // !CAPNP_LITE
c@106 501 };
c@106 502 };
c@106 503
c@106 504 struct RpcResponse {
c@106 505 RpcResponse() = delete;
c@106 506
c@106 507 class Reader;
c@106 508 class Builder;
c@106 509 class Pipeline;
c@106 510 struct Id;
c@106 511 struct Response;
c@106 512
c@106 513 struct _capnpPrivate {
c@106 514 CAPNP_DECLARE_STRUCT_HEADER(b1fd870b8c5fe885, 1, 2)
c@106 515 #if !CAPNP_LITE
c@106 516 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 517 #endif // !CAPNP_LITE
c@106 518 };
c@106 519 };
c@106 520
c@106 521 struct RpcResponse::Id {
c@106 522 Id() = delete;
c@106 523
c@106 524 class Reader;
c@106 525 class Builder;
c@106 526 class Pipeline;
c@106 527 enum Which: uint16_t {
c@106 528 NUMBER,
c@106 529 TAG,
c@106 530 NONE,
c@106 531 };
c@106 532
c@106 533 struct _capnpPrivate {
c@106 534 CAPNP_DECLARE_STRUCT_HEADER(d6d526aed45ac1db, 1, 2)
c@106 535 #if !CAPNP_LITE
c@106 536 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 537 #endif // !CAPNP_LITE
c@106 538 };
c@106 539 };
c@106 540
c@106 541 struct RpcResponse::Response {
c@106 542 Response() = delete;
c@106 543
c@106 544 class Reader;
c@106 545 class Builder;
c@106 546 class Pipeline;
c@106 547 enum Which: uint16_t {
c@106 548 ERROR,
c@106 549 LIST,
c@106 550 LOAD,
c@106 551 CONFIGURE,
c@106 552 PROCESS,
c@106 553 FINISH,
c@106 554 };
c@106 555
c@106 556 struct _capnpPrivate {
c@106 557 CAPNP_DECLARE_STRUCT_HEADER(ad12bb4485b0d3ac, 1, 2)
c@106 558 #if !CAPNP_LITE
c@106 559 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
c@106 560 #endif // !CAPNP_LITE
c@106 561 };
c@106 562 };
c@106 563
c@106 564 // =======================================================================================
c@106 565
c@106 566 class Basic::Reader {
c@106 567 public:
c@106 568 typedef Basic Reads;
c@106 569
c@106 570 Reader() = default;
c@106 571 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 572
c@106 573 inline ::capnp::MessageSize totalSize() const {
c@106 574 return _reader.totalSize().asPublic();
c@106 575 }
c@106 576
c@106 577 #if !CAPNP_LITE
c@106 578 inline ::kj::StringTree toString() const {
c@106 579 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 580 }
c@106 581 #endif // !CAPNP_LITE
c@106 582
c@106 583 inline bool hasIdentifier() const;
c@106 584 inline ::capnp::Text::Reader getIdentifier() const;
c@106 585
c@106 586 inline bool hasName() const;
c@106 587 inline ::capnp::Text::Reader getName() const;
c@106 588
c@106 589 inline bool hasDescription() const;
c@106 590 inline ::capnp::Text::Reader getDescription() const;
c@106 591
c@106 592 private:
c@106 593 ::capnp::_::StructReader _reader;
c@106 594 template <typename, ::capnp::Kind>
c@106 595 friend struct ::capnp::ToDynamic_;
c@106 596 template <typename, ::capnp::Kind>
c@106 597 friend struct ::capnp::_::PointerHelpers;
c@106 598 template <typename, ::capnp::Kind>
c@106 599 friend struct ::capnp::List;
c@106 600 friend class ::capnp::MessageBuilder;
c@106 601 friend class ::capnp::Orphanage;
c@106 602 };
c@106 603
c@106 604 class Basic::Builder {
c@106 605 public:
c@106 606 typedef Basic Builds;
c@106 607
c@106 608 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 609 // You can explicitly initialize to nullptr instead.
c@106 610 inline Builder(decltype(nullptr)) {}
c@106 611 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 612 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 613 inline Reader asReader() const { return *this; }
c@106 614
c@106 615 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 616 #if !CAPNP_LITE
c@106 617 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 618 #endif // !CAPNP_LITE
c@106 619
c@106 620 inline bool hasIdentifier();
c@106 621 inline ::capnp::Text::Builder getIdentifier();
c@106 622 inline void setIdentifier( ::capnp::Text::Reader value);
c@106 623 inline ::capnp::Text::Builder initIdentifier(unsigned int size);
c@106 624 inline void adoptIdentifier(::capnp::Orphan< ::capnp::Text>&& value);
c@106 625 inline ::capnp::Orphan< ::capnp::Text> disownIdentifier();
c@106 626
c@106 627 inline bool hasName();
c@106 628 inline ::capnp::Text::Builder getName();
c@106 629 inline void setName( ::capnp::Text::Reader value);
c@106 630 inline ::capnp::Text::Builder initName(unsigned int size);
c@106 631 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
c@106 632 inline ::capnp::Orphan< ::capnp::Text> disownName();
c@106 633
c@106 634 inline bool hasDescription();
c@106 635 inline ::capnp::Text::Builder getDescription();
c@106 636 inline void setDescription( ::capnp::Text::Reader value);
c@106 637 inline ::capnp::Text::Builder initDescription(unsigned int size);
c@106 638 inline void adoptDescription(::capnp::Orphan< ::capnp::Text>&& value);
c@106 639 inline ::capnp::Orphan< ::capnp::Text> disownDescription();
c@106 640
c@106 641 private:
c@106 642 ::capnp::_::StructBuilder _builder;
c@106 643 template <typename, ::capnp::Kind>
c@106 644 friend struct ::capnp::ToDynamic_;
c@106 645 friend class ::capnp::Orphanage;
c@106 646 template <typename, ::capnp::Kind>
c@106 647 friend struct ::capnp::_::PointerHelpers;
c@106 648 };
c@106 649
c@106 650 #if !CAPNP_LITE
c@106 651 class Basic::Pipeline {
c@106 652 public:
c@106 653 typedef Basic Pipelines;
c@106 654
c@106 655 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 656 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 657 : _typeless(kj::mv(typeless)) {}
c@106 658
c@106 659 private:
c@106 660 ::capnp::AnyPointer::Pipeline _typeless;
c@106 661 friend class ::capnp::PipelineHook;
c@106 662 template <typename, ::capnp::Kind>
c@106 663 friend struct ::capnp::ToDynamic_;
c@106 664 };
c@106 665 #endif // !CAPNP_LITE
c@106 666
c@106 667 class ParameterDescriptor::Reader {
c@106 668 public:
c@106 669 typedef ParameterDescriptor Reads;
c@106 670
c@106 671 Reader() = default;
c@106 672 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 673
c@106 674 inline ::capnp::MessageSize totalSize() const {
c@106 675 return _reader.totalSize().asPublic();
c@106 676 }
c@106 677
c@106 678 #if !CAPNP_LITE
c@106 679 inline ::kj::StringTree toString() const {
c@106 680 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 681 }
c@106 682 #endif // !CAPNP_LITE
c@106 683
c@106 684 inline bool hasBasic() const;
c@106 685 inline ::piper::Basic::Reader getBasic() const;
c@106 686
c@106 687 inline bool hasUnit() const;
c@106 688 inline ::capnp::Text::Reader getUnit() const;
c@106 689
c@106 690 inline float getMinValue() const;
c@106 691
c@106 692 inline float getMaxValue() const;
c@106 693
c@106 694 inline float getDefaultValue() const;
c@106 695
c@106 696 inline bool getIsQuantized() const;
c@106 697
c@106 698 inline float getQuantizeStep() const;
c@106 699
c@106 700 inline bool hasValueNames() const;
c@106 701 inline ::capnp::List< ::capnp::Text>::Reader getValueNames() const;
c@106 702
c@106 703 private:
c@106 704 ::capnp::_::StructReader _reader;
c@106 705 template <typename, ::capnp::Kind>
c@106 706 friend struct ::capnp::ToDynamic_;
c@106 707 template <typename, ::capnp::Kind>
c@106 708 friend struct ::capnp::_::PointerHelpers;
c@106 709 template <typename, ::capnp::Kind>
c@106 710 friend struct ::capnp::List;
c@106 711 friend class ::capnp::MessageBuilder;
c@106 712 friend class ::capnp::Orphanage;
c@106 713 };
c@106 714
c@106 715 class ParameterDescriptor::Builder {
c@106 716 public:
c@106 717 typedef ParameterDescriptor Builds;
c@106 718
c@106 719 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 720 // You can explicitly initialize to nullptr instead.
c@106 721 inline Builder(decltype(nullptr)) {}
c@106 722 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 723 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 724 inline Reader asReader() const { return *this; }
c@106 725
c@106 726 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 727 #if !CAPNP_LITE
c@106 728 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 729 #endif // !CAPNP_LITE
c@106 730
c@106 731 inline bool hasBasic();
c@106 732 inline ::piper::Basic::Builder getBasic();
c@106 733 inline void setBasic( ::piper::Basic::Reader value);
c@106 734 inline ::piper::Basic::Builder initBasic();
c@106 735 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
c@106 736 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
c@106 737
c@106 738 inline bool hasUnit();
c@106 739 inline ::capnp::Text::Builder getUnit();
c@106 740 inline void setUnit( ::capnp::Text::Reader value);
c@106 741 inline ::capnp::Text::Builder initUnit(unsigned int size);
c@106 742 inline void adoptUnit(::capnp::Orphan< ::capnp::Text>&& value);
c@106 743 inline ::capnp::Orphan< ::capnp::Text> disownUnit();
c@106 744
c@106 745 inline float getMinValue();
c@106 746 inline void setMinValue(float value);
c@106 747
c@106 748 inline float getMaxValue();
c@106 749 inline void setMaxValue(float value);
c@106 750
c@106 751 inline float getDefaultValue();
c@106 752 inline void setDefaultValue(float value);
c@106 753
c@106 754 inline bool getIsQuantized();
c@106 755 inline void setIsQuantized(bool value);
c@106 756
c@106 757 inline float getQuantizeStep();
c@106 758 inline void setQuantizeStep(float value);
c@106 759
c@106 760 inline bool hasValueNames();
c@106 761 inline ::capnp::List< ::capnp::Text>::Builder getValueNames();
c@106 762 inline void setValueNames( ::capnp::List< ::capnp::Text>::Reader value);
c@106 763 inline void setValueNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@106 764 inline ::capnp::List< ::capnp::Text>::Builder initValueNames(unsigned int size);
c@106 765 inline void adoptValueNames(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@106 766 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownValueNames();
c@106 767
c@106 768 private:
c@106 769 ::capnp::_::StructBuilder _builder;
c@106 770 template <typename, ::capnp::Kind>
c@106 771 friend struct ::capnp::ToDynamic_;
c@106 772 friend class ::capnp::Orphanage;
c@106 773 template <typename, ::capnp::Kind>
c@106 774 friend struct ::capnp::_::PointerHelpers;
c@106 775 };
c@106 776
c@106 777 #if !CAPNP_LITE
c@106 778 class ParameterDescriptor::Pipeline {
c@106 779 public:
c@106 780 typedef ParameterDescriptor Pipelines;
c@106 781
c@106 782 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 783 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 784 : _typeless(kj::mv(typeless)) {}
c@106 785
c@106 786 inline ::piper::Basic::Pipeline getBasic();
c@106 787 private:
c@106 788 ::capnp::AnyPointer::Pipeline _typeless;
c@106 789 friend class ::capnp::PipelineHook;
c@106 790 template <typename, ::capnp::Kind>
c@106 791 friend struct ::capnp::ToDynamic_;
c@106 792 };
c@106 793 #endif // !CAPNP_LITE
c@106 794
c@106 795 class ConfiguredOutputDescriptor::Reader {
c@106 796 public:
c@106 797 typedef ConfiguredOutputDescriptor Reads;
c@106 798
c@106 799 Reader() = default;
c@106 800 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 801
c@106 802 inline ::capnp::MessageSize totalSize() const {
c@106 803 return _reader.totalSize().asPublic();
c@106 804 }
c@106 805
c@106 806 #if !CAPNP_LITE
c@106 807 inline ::kj::StringTree toString() const {
c@106 808 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 809 }
c@106 810 #endif // !CAPNP_LITE
c@106 811
c@106 812 inline bool hasUnit() const;
c@106 813 inline ::capnp::Text::Reader getUnit() const;
c@106 814
c@106 815 inline bool getHasFixedBinCount() const;
c@106 816
c@106 817 inline ::int32_t getBinCount() const;
c@106 818
c@106 819 inline bool hasBinNames() const;
c@106 820 inline ::capnp::List< ::capnp::Text>::Reader getBinNames() const;
c@106 821
c@106 822 inline bool getHasKnownExtents() const;
c@106 823
c@106 824 inline float getMinValue() const;
c@106 825
c@106 826 inline float getMaxValue() const;
c@106 827
c@106 828 inline bool getIsQuantized() const;
c@106 829
c@106 830 inline float getQuantizeStep() const;
c@106 831
c@106 832 inline ::piper::SampleType getSampleType() const;
c@106 833
c@106 834 inline float getSampleRate() const;
c@106 835
c@106 836 inline bool getHasDuration() const;
c@106 837
c@106 838 private:
c@106 839 ::capnp::_::StructReader _reader;
c@106 840 template <typename, ::capnp::Kind>
c@106 841 friend struct ::capnp::ToDynamic_;
c@106 842 template <typename, ::capnp::Kind>
c@106 843 friend struct ::capnp::_::PointerHelpers;
c@106 844 template <typename, ::capnp::Kind>
c@106 845 friend struct ::capnp::List;
c@106 846 friend class ::capnp::MessageBuilder;
c@106 847 friend class ::capnp::Orphanage;
c@106 848 };
c@106 849
c@106 850 class ConfiguredOutputDescriptor::Builder {
c@106 851 public:
c@106 852 typedef ConfiguredOutputDescriptor Builds;
c@106 853
c@106 854 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 855 // You can explicitly initialize to nullptr instead.
c@106 856 inline Builder(decltype(nullptr)) {}
c@106 857 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 858 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 859 inline Reader asReader() const { return *this; }
c@106 860
c@106 861 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 862 #if !CAPNP_LITE
c@106 863 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 864 #endif // !CAPNP_LITE
c@106 865
c@106 866 inline bool hasUnit();
c@106 867 inline ::capnp::Text::Builder getUnit();
c@106 868 inline void setUnit( ::capnp::Text::Reader value);
c@106 869 inline ::capnp::Text::Builder initUnit(unsigned int size);
c@106 870 inline void adoptUnit(::capnp::Orphan< ::capnp::Text>&& value);
c@106 871 inline ::capnp::Orphan< ::capnp::Text> disownUnit();
c@106 872
c@106 873 inline bool getHasFixedBinCount();
c@106 874 inline void setHasFixedBinCount(bool value);
c@106 875
c@106 876 inline ::int32_t getBinCount();
c@106 877 inline void setBinCount( ::int32_t value);
c@106 878
c@106 879 inline bool hasBinNames();
c@106 880 inline ::capnp::List< ::capnp::Text>::Builder getBinNames();
c@106 881 inline void setBinNames( ::capnp::List< ::capnp::Text>::Reader value);
c@106 882 inline void setBinNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@106 883 inline ::capnp::List< ::capnp::Text>::Builder initBinNames(unsigned int size);
c@106 884 inline void adoptBinNames(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@106 885 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownBinNames();
c@106 886
c@106 887 inline bool getHasKnownExtents();
c@106 888 inline void setHasKnownExtents(bool value);
c@106 889
c@106 890 inline float getMinValue();
c@106 891 inline void setMinValue(float value);
c@106 892
c@106 893 inline float getMaxValue();
c@106 894 inline void setMaxValue(float value);
c@106 895
c@106 896 inline bool getIsQuantized();
c@106 897 inline void setIsQuantized(bool value);
c@106 898
c@106 899 inline float getQuantizeStep();
c@106 900 inline void setQuantizeStep(float value);
c@106 901
c@106 902 inline ::piper::SampleType getSampleType();
c@106 903 inline void setSampleType( ::piper::SampleType value);
c@106 904
c@106 905 inline float getSampleRate();
c@106 906 inline void setSampleRate(float value);
c@106 907
c@106 908 inline bool getHasDuration();
c@106 909 inline void setHasDuration(bool value);
c@106 910
c@106 911 private:
c@106 912 ::capnp::_::StructBuilder _builder;
c@106 913 template <typename, ::capnp::Kind>
c@106 914 friend struct ::capnp::ToDynamic_;
c@106 915 friend class ::capnp::Orphanage;
c@106 916 template <typename, ::capnp::Kind>
c@106 917 friend struct ::capnp::_::PointerHelpers;
c@106 918 };
c@106 919
c@106 920 #if !CAPNP_LITE
c@106 921 class ConfiguredOutputDescriptor::Pipeline {
c@106 922 public:
c@106 923 typedef ConfiguredOutputDescriptor Pipelines;
c@106 924
c@106 925 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 926 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 927 : _typeless(kj::mv(typeless)) {}
c@106 928
c@106 929 private:
c@106 930 ::capnp::AnyPointer::Pipeline _typeless;
c@106 931 friend class ::capnp::PipelineHook;
c@106 932 template <typename, ::capnp::Kind>
c@106 933 friend struct ::capnp::ToDynamic_;
c@106 934 };
c@106 935 #endif // !CAPNP_LITE
c@106 936
c@106 937 class OutputDescriptor::Reader {
c@106 938 public:
c@106 939 typedef OutputDescriptor Reads;
c@106 940
c@106 941 Reader() = default;
c@106 942 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 943
c@106 944 inline ::capnp::MessageSize totalSize() const {
c@106 945 return _reader.totalSize().asPublic();
c@106 946 }
c@106 947
c@106 948 #if !CAPNP_LITE
c@106 949 inline ::kj::StringTree toString() const {
c@106 950 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 951 }
c@106 952 #endif // !CAPNP_LITE
c@106 953
c@106 954 inline bool hasBasic() const;
c@106 955 inline ::piper::Basic::Reader getBasic() const;
c@106 956
c@106 957 inline bool hasConfigured() const;
c@106 958 inline ::piper::ConfiguredOutputDescriptor::Reader getConfigured() const;
c@106 959
c@106 960 private:
c@106 961 ::capnp::_::StructReader _reader;
c@106 962 template <typename, ::capnp::Kind>
c@106 963 friend struct ::capnp::ToDynamic_;
c@106 964 template <typename, ::capnp::Kind>
c@106 965 friend struct ::capnp::_::PointerHelpers;
c@106 966 template <typename, ::capnp::Kind>
c@106 967 friend struct ::capnp::List;
c@106 968 friend class ::capnp::MessageBuilder;
c@106 969 friend class ::capnp::Orphanage;
c@106 970 };
c@106 971
c@106 972 class OutputDescriptor::Builder {
c@106 973 public:
c@106 974 typedef OutputDescriptor Builds;
c@106 975
c@106 976 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 977 // You can explicitly initialize to nullptr instead.
c@106 978 inline Builder(decltype(nullptr)) {}
c@106 979 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 980 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 981 inline Reader asReader() const { return *this; }
c@106 982
c@106 983 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 984 #if !CAPNP_LITE
c@106 985 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 986 #endif // !CAPNP_LITE
c@106 987
c@106 988 inline bool hasBasic();
c@106 989 inline ::piper::Basic::Builder getBasic();
c@106 990 inline void setBasic( ::piper::Basic::Reader value);
c@106 991 inline ::piper::Basic::Builder initBasic();
c@106 992 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
c@106 993 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
c@106 994
c@106 995 inline bool hasConfigured();
c@106 996 inline ::piper::ConfiguredOutputDescriptor::Builder getConfigured();
c@106 997 inline void setConfigured( ::piper::ConfiguredOutputDescriptor::Reader value);
c@106 998 inline ::piper::ConfiguredOutputDescriptor::Builder initConfigured();
c@106 999 inline void adoptConfigured(::capnp::Orphan< ::piper::ConfiguredOutputDescriptor>&& value);
c@106 1000 inline ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor> disownConfigured();
c@106 1001
c@106 1002 private:
c@106 1003 ::capnp::_::StructBuilder _builder;
c@106 1004 template <typename, ::capnp::Kind>
c@106 1005 friend struct ::capnp::ToDynamic_;
c@106 1006 friend class ::capnp::Orphanage;
c@106 1007 template <typename, ::capnp::Kind>
c@106 1008 friend struct ::capnp::_::PointerHelpers;
c@106 1009 };
c@106 1010
c@106 1011 #if !CAPNP_LITE
c@106 1012 class OutputDescriptor::Pipeline {
c@106 1013 public:
c@106 1014 typedef OutputDescriptor Pipelines;
c@106 1015
c@106 1016 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1017 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1018 : _typeless(kj::mv(typeless)) {}
c@106 1019
c@106 1020 inline ::piper::Basic::Pipeline getBasic();
c@106 1021 inline ::piper::ConfiguredOutputDescriptor::Pipeline getConfigured();
c@106 1022 private:
c@106 1023 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1024 friend class ::capnp::PipelineHook;
c@106 1025 template <typename, ::capnp::Kind>
c@106 1026 friend struct ::capnp::ToDynamic_;
c@106 1027 };
c@106 1028 #endif // !CAPNP_LITE
c@106 1029
c@106 1030 class ExtractorStaticData::Reader {
c@106 1031 public:
c@106 1032 typedef ExtractorStaticData Reads;
c@106 1033
c@106 1034 Reader() = default;
c@106 1035 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1036
c@106 1037 inline ::capnp::MessageSize totalSize() const {
c@106 1038 return _reader.totalSize().asPublic();
c@106 1039 }
c@106 1040
c@106 1041 #if !CAPNP_LITE
c@106 1042 inline ::kj::StringTree toString() const {
c@106 1043 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1044 }
c@106 1045 #endif // !CAPNP_LITE
c@106 1046
c@106 1047 inline bool hasKey() const;
c@106 1048 inline ::capnp::Text::Reader getKey() const;
c@106 1049
c@106 1050 inline bool hasBasic() const;
c@106 1051 inline ::piper::Basic::Reader getBasic() const;
c@106 1052
c@106 1053 inline bool hasMaker() const;
c@106 1054 inline ::capnp::Text::Reader getMaker() const;
c@106 1055
cannam@216 1056 inline bool hasRights() const;
cannam@216 1057 inline ::capnp::Text::Reader getRights() const;
c@106 1058
c@106 1059 inline ::int32_t getVersion() const;
c@106 1060
c@106 1061 inline bool hasCategory() const;
c@106 1062 inline ::capnp::List< ::capnp::Text>::Reader getCategory() const;
c@106 1063
c@106 1064 inline ::int32_t getMinChannelCount() const;
c@106 1065
c@106 1066 inline ::int32_t getMaxChannelCount() const;
c@106 1067
c@106 1068 inline bool hasParameters() const;
c@106 1069 inline ::capnp::List< ::piper::ParameterDescriptor>::Reader getParameters() const;
c@106 1070
c@106 1071 inline bool hasPrograms() const;
c@106 1072 inline ::capnp::List< ::capnp::Text>::Reader getPrograms() const;
c@106 1073
c@106 1074 inline ::piper::InputDomain getInputDomain() const;
c@106 1075
c@106 1076 inline bool hasBasicOutputInfo() const;
c@106 1077 inline ::capnp::List< ::piper::Basic>::Reader getBasicOutputInfo() const;
c@106 1078
c@106 1079 private:
c@106 1080 ::capnp::_::StructReader _reader;
c@106 1081 template <typename, ::capnp::Kind>
c@106 1082 friend struct ::capnp::ToDynamic_;
c@106 1083 template <typename, ::capnp::Kind>
c@106 1084 friend struct ::capnp::_::PointerHelpers;
c@106 1085 template <typename, ::capnp::Kind>
c@106 1086 friend struct ::capnp::List;
c@106 1087 friend class ::capnp::MessageBuilder;
c@106 1088 friend class ::capnp::Orphanage;
c@106 1089 };
c@106 1090
c@106 1091 class ExtractorStaticData::Builder {
c@106 1092 public:
c@106 1093 typedef ExtractorStaticData Builds;
c@106 1094
c@106 1095 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1096 // You can explicitly initialize to nullptr instead.
c@106 1097 inline Builder(decltype(nullptr)) {}
c@106 1098 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1099 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1100 inline Reader asReader() const { return *this; }
c@106 1101
c@106 1102 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1103 #if !CAPNP_LITE
c@106 1104 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1105 #endif // !CAPNP_LITE
c@106 1106
c@106 1107 inline bool hasKey();
c@106 1108 inline ::capnp::Text::Builder getKey();
c@106 1109 inline void setKey( ::capnp::Text::Reader value);
c@106 1110 inline ::capnp::Text::Builder initKey(unsigned int size);
c@106 1111 inline void adoptKey(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1112 inline ::capnp::Orphan< ::capnp::Text> disownKey();
c@106 1113
c@106 1114 inline bool hasBasic();
c@106 1115 inline ::piper::Basic::Builder getBasic();
c@106 1116 inline void setBasic( ::piper::Basic::Reader value);
c@106 1117 inline ::piper::Basic::Builder initBasic();
c@106 1118 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
c@106 1119 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
c@106 1120
c@106 1121 inline bool hasMaker();
c@106 1122 inline ::capnp::Text::Builder getMaker();
c@106 1123 inline void setMaker( ::capnp::Text::Reader value);
c@106 1124 inline ::capnp::Text::Builder initMaker(unsigned int size);
c@106 1125 inline void adoptMaker(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1126 inline ::capnp::Orphan< ::capnp::Text> disownMaker();
c@106 1127
cannam@216 1128 inline bool hasRights();
cannam@216 1129 inline ::capnp::Text::Builder getRights();
cannam@216 1130 inline void setRights( ::capnp::Text::Reader value);
cannam@216 1131 inline ::capnp::Text::Builder initRights(unsigned int size);
cannam@216 1132 inline void adoptRights(::capnp::Orphan< ::capnp::Text>&& value);
cannam@216 1133 inline ::capnp::Orphan< ::capnp::Text> disownRights();
c@106 1134
c@106 1135 inline ::int32_t getVersion();
c@106 1136 inline void setVersion( ::int32_t value);
c@106 1137
c@106 1138 inline bool hasCategory();
c@106 1139 inline ::capnp::List< ::capnp::Text>::Builder getCategory();
c@106 1140 inline void setCategory( ::capnp::List< ::capnp::Text>::Reader value);
c@106 1141 inline void setCategory(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@106 1142 inline ::capnp::List< ::capnp::Text>::Builder initCategory(unsigned int size);
c@106 1143 inline void adoptCategory(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@106 1144 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownCategory();
c@106 1145
c@106 1146 inline ::int32_t getMinChannelCount();
c@106 1147 inline void setMinChannelCount( ::int32_t value);
c@106 1148
c@106 1149 inline ::int32_t getMaxChannelCount();
c@106 1150 inline void setMaxChannelCount( ::int32_t value);
c@106 1151
c@106 1152 inline bool hasParameters();
c@106 1153 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder getParameters();
c@106 1154 inline void setParameters( ::capnp::List< ::piper::ParameterDescriptor>::Reader value);
c@106 1155 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder initParameters(unsigned int size);
c@106 1156 inline void adoptParameters(::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>>&& value);
c@106 1157 inline ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>> disownParameters();
c@106 1158
c@106 1159 inline bool hasPrograms();
c@106 1160 inline ::capnp::List< ::capnp::Text>::Builder getPrograms();
c@106 1161 inline void setPrograms( ::capnp::List< ::capnp::Text>::Reader value);
c@106 1162 inline void setPrograms(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@106 1163 inline ::capnp::List< ::capnp::Text>::Builder initPrograms(unsigned int size);
c@106 1164 inline void adoptPrograms(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@106 1165 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownPrograms();
c@106 1166
c@106 1167 inline ::piper::InputDomain getInputDomain();
c@106 1168 inline void setInputDomain( ::piper::InputDomain value);
c@106 1169
c@106 1170 inline bool hasBasicOutputInfo();
c@106 1171 inline ::capnp::List< ::piper::Basic>::Builder getBasicOutputInfo();
c@106 1172 inline void setBasicOutputInfo( ::capnp::List< ::piper::Basic>::Reader value);
c@106 1173 inline ::capnp::List< ::piper::Basic>::Builder initBasicOutputInfo(unsigned int size);
c@106 1174 inline void adoptBasicOutputInfo(::capnp::Orphan< ::capnp::List< ::piper::Basic>>&& value);
c@106 1175 inline ::capnp::Orphan< ::capnp::List< ::piper::Basic>> disownBasicOutputInfo();
c@106 1176
c@106 1177 private:
c@106 1178 ::capnp::_::StructBuilder _builder;
c@106 1179 template <typename, ::capnp::Kind>
c@106 1180 friend struct ::capnp::ToDynamic_;
c@106 1181 friend class ::capnp::Orphanage;
c@106 1182 template <typename, ::capnp::Kind>
c@106 1183 friend struct ::capnp::_::PointerHelpers;
c@106 1184 };
c@106 1185
c@106 1186 #if !CAPNP_LITE
c@106 1187 class ExtractorStaticData::Pipeline {
c@106 1188 public:
c@106 1189 typedef ExtractorStaticData Pipelines;
c@106 1190
c@106 1191 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1192 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1193 : _typeless(kj::mv(typeless)) {}
c@106 1194
c@106 1195 inline ::piper::Basic::Pipeline getBasic();
c@106 1196 private:
c@106 1197 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1198 friend class ::capnp::PipelineHook;
c@106 1199 template <typename, ::capnp::Kind>
c@106 1200 friend struct ::capnp::ToDynamic_;
c@106 1201 };
c@106 1202 #endif // !CAPNP_LITE
c@106 1203
c@106 1204 class RealTime::Reader {
c@106 1205 public:
c@106 1206 typedef RealTime Reads;
c@106 1207
c@106 1208 Reader() = default;
c@106 1209 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1210
c@106 1211 inline ::capnp::MessageSize totalSize() const {
c@106 1212 return _reader.totalSize().asPublic();
c@106 1213 }
c@106 1214
c@106 1215 #if !CAPNP_LITE
c@106 1216 inline ::kj::StringTree toString() const {
c@106 1217 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1218 }
c@106 1219 #endif // !CAPNP_LITE
c@106 1220
c@106 1221 inline ::int32_t getSec() const;
c@106 1222
c@106 1223 inline ::int32_t getNsec() const;
c@106 1224
c@106 1225 private:
c@106 1226 ::capnp::_::StructReader _reader;
c@106 1227 template <typename, ::capnp::Kind>
c@106 1228 friend struct ::capnp::ToDynamic_;
c@106 1229 template <typename, ::capnp::Kind>
c@106 1230 friend struct ::capnp::_::PointerHelpers;
c@106 1231 template <typename, ::capnp::Kind>
c@106 1232 friend struct ::capnp::List;
c@106 1233 friend class ::capnp::MessageBuilder;
c@106 1234 friend class ::capnp::Orphanage;
c@106 1235 };
c@106 1236
c@106 1237 class RealTime::Builder {
c@106 1238 public:
c@106 1239 typedef RealTime Builds;
c@106 1240
c@106 1241 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1242 // You can explicitly initialize to nullptr instead.
c@106 1243 inline Builder(decltype(nullptr)) {}
c@106 1244 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1245 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1246 inline Reader asReader() const { return *this; }
c@106 1247
c@106 1248 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1249 #if !CAPNP_LITE
c@106 1250 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1251 #endif // !CAPNP_LITE
c@106 1252
c@106 1253 inline ::int32_t getSec();
c@106 1254 inline void setSec( ::int32_t value);
c@106 1255
c@106 1256 inline ::int32_t getNsec();
c@106 1257 inline void setNsec( ::int32_t value);
c@106 1258
c@106 1259 private:
c@106 1260 ::capnp::_::StructBuilder _builder;
c@106 1261 template <typename, ::capnp::Kind>
c@106 1262 friend struct ::capnp::ToDynamic_;
c@106 1263 friend class ::capnp::Orphanage;
c@106 1264 template <typename, ::capnp::Kind>
c@106 1265 friend struct ::capnp::_::PointerHelpers;
c@106 1266 };
c@106 1267
c@106 1268 #if !CAPNP_LITE
c@106 1269 class RealTime::Pipeline {
c@106 1270 public:
c@106 1271 typedef RealTime Pipelines;
c@106 1272
c@106 1273 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1274 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1275 : _typeless(kj::mv(typeless)) {}
c@106 1276
c@106 1277 private:
c@106 1278 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1279 friend class ::capnp::PipelineHook;
c@106 1280 template <typename, ::capnp::Kind>
c@106 1281 friend struct ::capnp::ToDynamic_;
c@106 1282 };
c@106 1283 #endif // !CAPNP_LITE
c@106 1284
c@106 1285 class ProcessInput::Reader {
c@106 1286 public:
c@106 1287 typedef ProcessInput Reads;
c@106 1288
c@106 1289 Reader() = default;
c@106 1290 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1291
c@106 1292 inline ::capnp::MessageSize totalSize() const {
c@106 1293 return _reader.totalSize().asPublic();
c@106 1294 }
c@106 1295
c@106 1296 #if !CAPNP_LITE
c@106 1297 inline ::kj::StringTree toString() const {
c@106 1298 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1299 }
c@106 1300 #endif // !CAPNP_LITE
c@106 1301
c@106 1302 inline bool hasInputBuffers() const;
c@106 1303 inline ::capnp::List< ::capnp::List<float>>::Reader getInputBuffers() const;
c@106 1304
c@106 1305 inline bool hasTimestamp() const;
c@106 1306 inline ::piper::RealTime::Reader getTimestamp() const;
c@106 1307
c@106 1308 private:
c@106 1309 ::capnp::_::StructReader _reader;
c@106 1310 template <typename, ::capnp::Kind>
c@106 1311 friend struct ::capnp::ToDynamic_;
c@106 1312 template <typename, ::capnp::Kind>
c@106 1313 friend struct ::capnp::_::PointerHelpers;
c@106 1314 template <typename, ::capnp::Kind>
c@106 1315 friend struct ::capnp::List;
c@106 1316 friend class ::capnp::MessageBuilder;
c@106 1317 friend class ::capnp::Orphanage;
c@106 1318 };
c@106 1319
c@106 1320 class ProcessInput::Builder {
c@106 1321 public:
c@106 1322 typedef ProcessInput Builds;
c@106 1323
c@106 1324 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1325 // You can explicitly initialize to nullptr instead.
c@106 1326 inline Builder(decltype(nullptr)) {}
c@106 1327 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1328 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1329 inline Reader asReader() const { return *this; }
c@106 1330
c@106 1331 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1332 #if !CAPNP_LITE
c@106 1333 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1334 #endif // !CAPNP_LITE
c@106 1335
c@106 1336 inline bool hasInputBuffers();
c@106 1337 inline ::capnp::List< ::capnp::List<float>>::Builder getInputBuffers();
c@106 1338 inline void setInputBuffers( ::capnp::List< ::capnp::List<float>>::Reader value);
c@106 1339 inline void setInputBuffers(::kj::ArrayPtr<const ::capnp::List<float>::Reader> value);
c@106 1340 inline ::capnp::List< ::capnp::List<float>>::Builder initInputBuffers(unsigned int size);
c@106 1341 inline void adoptInputBuffers(::capnp::Orphan< ::capnp::List< ::capnp::List<float>>>&& value);
c@106 1342 inline ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>> disownInputBuffers();
c@106 1343
c@106 1344 inline bool hasTimestamp();
c@106 1345 inline ::piper::RealTime::Builder getTimestamp();
c@106 1346 inline void setTimestamp( ::piper::RealTime::Reader value);
c@106 1347 inline ::piper::RealTime::Builder initTimestamp();
c@106 1348 inline void adoptTimestamp(::capnp::Orphan< ::piper::RealTime>&& value);
c@106 1349 inline ::capnp::Orphan< ::piper::RealTime> disownTimestamp();
c@106 1350
c@106 1351 private:
c@106 1352 ::capnp::_::StructBuilder _builder;
c@106 1353 template <typename, ::capnp::Kind>
c@106 1354 friend struct ::capnp::ToDynamic_;
c@106 1355 friend class ::capnp::Orphanage;
c@106 1356 template <typename, ::capnp::Kind>
c@106 1357 friend struct ::capnp::_::PointerHelpers;
c@106 1358 };
c@106 1359
c@106 1360 #if !CAPNP_LITE
c@106 1361 class ProcessInput::Pipeline {
c@106 1362 public:
c@106 1363 typedef ProcessInput Pipelines;
c@106 1364
c@106 1365 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1366 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1367 : _typeless(kj::mv(typeless)) {}
c@106 1368
c@106 1369 inline ::piper::RealTime::Pipeline getTimestamp();
c@106 1370 private:
c@106 1371 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1372 friend class ::capnp::PipelineHook;
c@106 1373 template <typename, ::capnp::Kind>
c@106 1374 friend struct ::capnp::ToDynamic_;
c@106 1375 };
c@106 1376 #endif // !CAPNP_LITE
c@106 1377
c@106 1378 class Feature::Reader {
c@106 1379 public:
c@106 1380 typedef Feature Reads;
c@106 1381
c@106 1382 Reader() = default;
c@106 1383 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1384
c@106 1385 inline ::capnp::MessageSize totalSize() const {
c@106 1386 return _reader.totalSize().asPublic();
c@106 1387 }
c@106 1388
c@106 1389 #if !CAPNP_LITE
c@106 1390 inline ::kj::StringTree toString() const {
c@106 1391 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1392 }
c@106 1393 #endif // !CAPNP_LITE
c@106 1394
c@106 1395 inline bool getHasTimestamp() const;
c@106 1396
c@106 1397 inline bool hasTimestamp() const;
c@106 1398 inline ::piper::RealTime::Reader getTimestamp() const;
c@106 1399
c@106 1400 inline bool getHasDuration() const;
c@106 1401
c@106 1402 inline bool hasDuration() const;
c@106 1403 inline ::piper::RealTime::Reader getDuration() const;
c@106 1404
c@106 1405 inline bool hasLabel() const;
c@106 1406 inline ::capnp::Text::Reader getLabel() const;
c@106 1407
c@106 1408 inline bool hasFeatureValues() const;
c@106 1409 inline ::capnp::List<float>::Reader getFeatureValues() const;
c@106 1410
c@106 1411 private:
c@106 1412 ::capnp::_::StructReader _reader;
c@106 1413 template <typename, ::capnp::Kind>
c@106 1414 friend struct ::capnp::ToDynamic_;
c@106 1415 template <typename, ::capnp::Kind>
c@106 1416 friend struct ::capnp::_::PointerHelpers;
c@106 1417 template <typename, ::capnp::Kind>
c@106 1418 friend struct ::capnp::List;
c@106 1419 friend class ::capnp::MessageBuilder;
c@106 1420 friend class ::capnp::Orphanage;
c@106 1421 };
c@106 1422
c@106 1423 class Feature::Builder {
c@106 1424 public:
c@106 1425 typedef Feature Builds;
c@106 1426
c@106 1427 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1428 // You can explicitly initialize to nullptr instead.
c@106 1429 inline Builder(decltype(nullptr)) {}
c@106 1430 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1431 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1432 inline Reader asReader() const { return *this; }
c@106 1433
c@106 1434 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1435 #if !CAPNP_LITE
c@106 1436 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1437 #endif // !CAPNP_LITE
c@106 1438
c@106 1439 inline bool getHasTimestamp();
c@106 1440 inline void setHasTimestamp(bool value);
c@106 1441
c@106 1442 inline bool hasTimestamp();
c@106 1443 inline ::piper::RealTime::Builder getTimestamp();
c@106 1444 inline void setTimestamp( ::piper::RealTime::Reader value);
c@106 1445 inline ::piper::RealTime::Builder initTimestamp();
c@106 1446 inline void adoptTimestamp(::capnp::Orphan< ::piper::RealTime>&& value);
c@106 1447 inline ::capnp::Orphan< ::piper::RealTime> disownTimestamp();
c@106 1448
c@106 1449 inline bool getHasDuration();
c@106 1450 inline void setHasDuration(bool value);
c@106 1451
c@106 1452 inline bool hasDuration();
c@106 1453 inline ::piper::RealTime::Builder getDuration();
c@106 1454 inline void setDuration( ::piper::RealTime::Reader value);
c@106 1455 inline ::piper::RealTime::Builder initDuration();
c@106 1456 inline void adoptDuration(::capnp::Orphan< ::piper::RealTime>&& value);
c@106 1457 inline ::capnp::Orphan< ::piper::RealTime> disownDuration();
c@106 1458
c@106 1459 inline bool hasLabel();
c@106 1460 inline ::capnp::Text::Builder getLabel();
c@106 1461 inline void setLabel( ::capnp::Text::Reader value);
c@106 1462 inline ::capnp::Text::Builder initLabel(unsigned int size);
c@106 1463 inline void adoptLabel(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1464 inline ::capnp::Orphan< ::capnp::Text> disownLabel();
c@106 1465
c@106 1466 inline bool hasFeatureValues();
c@106 1467 inline ::capnp::List<float>::Builder getFeatureValues();
c@106 1468 inline void setFeatureValues( ::capnp::List<float>::Reader value);
c@106 1469 inline void setFeatureValues(::kj::ArrayPtr<const float> value);
c@106 1470 inline ::capnp::List<float>::Builder initFeatureValues(unsigned int size);
c@106 1471 inline void adoptFeatureValues(::capnp::Orphan< ::capnp::List<float>>&& value);
c@106 1472 inline ::capnp::Orphan< ::capnp::List<float>> disownFeatureValues();
c@106 1473
c@106 1474 private:
c@106 1475 ::capnp::_::StructBuilder _builder;
c@106 1476 template <typename, ::capnp::Kind>
c@106 1477 friend struct ::capnp::ToDynamic_;
c@106 1478 friend class ::capnp::Orphanage;
c@106 1479 template <typename, ::capnp::Kind>
c@106 1480 friend struct ::capnp::_::PointerHelpers;
c@106 1481 };
c@106 1482
c@106 1483 #if !CAPNP_LITE
c@106 1484 class Feature::Pipeline {
c@106 1485 public:
c@106 1486 typedef Feature Pipelines;
c@106 1487
c@106 1488 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1489 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1490 : _typeless(kj::mv(typeless)) {}
c@106 1491
c@106 1492 inline ::piper::RealTime::Pipeline getTimestamp();
c@106 1493 inline ::piper::RealTime::Pipeline getDuration();
c@106 1494 private:
c@106 1495 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1496 friend class ::capnp::PipelineHook;
c@106 1497 template <typename, ::capnp::Kind>
c@106 1498 friend struct ::capnp::ToDynamic_;
c@106 1499 };
c@106 1500 #endif // !CAPNP_LITE
c@106 1501
c@106 1502 class FeatureSet::Reader {
c@106 1503 public:
c@106 1504 typedef FeatureSet Reads;
c@106 1505
c@106 1506 Reader() = default;
c@106 1507 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1508
c@106 1509 inline ::capnp::MessageSize totalSize() const {
c@106 1510 return _reader.totalSize().asPublic();
c@106 1511 }
c@106 1512
c@106 1513 #if !CAPNP_LITE
c@106 1514 inline ::kj::StringTree toString() const {
c@106 1515 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1516 }
c@106 1517 #endif // !CAPNP_LITE
c@106 1518
c@106 1519 inline bool hasFeaturePairs() const;
c@106 1520 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Reader getFeaturePairs() const;
c@106 1521
c@106 1522 private:
c@106 1523 ::capnp::_::StructReader _reader;
c@106 1524 template <typename, ::capnp::Kind>
c@106 1525 friend struct ::capnp::ToDynamic_;
c@106 1526 template <typename, ::capnp::Kind>
c@106 1527 friend struct ::capnp::_::PointerHelpers;
c@106 1528 template <typename, ::capnp::Kind>
c@106 1529 friend struct ::capnp::List;
c@106 1530 friend class ::capnp::MessageBuilder;
c@106 1531 friend class ::capnp::Orphanage;
c@106 1532 };
c@106 1533
c@106 1534 class FeatureSet::Builder {
c@106 1535 public:
c@106 1536 typedef FeatureSet Builds;
c@106 1537
c@106 1538 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1539 // You can explicitly initialize to nullptr instead.
c@106 1540 inline Builder(decltype(nullptr)) {}
c@106 1541 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1542 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1543 inline Reader asReader() const { return *this; }
c@106 1544
c@106 1545 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1546 #if !CAPNP_LITE
c@106 1547 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1548 #endif // !CAPNP_LITE
c@106 1549
c@106 1550 inline bool hasFeaturePairs();
c@106 1551 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder getFeaturePairs();
c@106 1552 inline void setFeaturePairs( ::capnp::List< ::piper::FeatureSet::FSPair>::Reader value);
c@106 1553 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder initFeaturePairs(unsigned int size);
c@106 1554 inline void adoptFeaturePairs(::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>>&& value);
c@106 1555 inline ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>> disownFeaturePairs();
c@106 1556
c@106 1557 private:
c@106 1558 ::capnp::_::StructBuilder _builder;
c@106 1559 template <typename, ::capnp::Kind>
c@106 1560 friend struct ::capnp::ToDynamic_;
c@106 1561 friend class ::capnp::Orphanage;
c@106 1562 template <typename, ::capnp::Kind>
c@106 1563 friend struct ::capnp::_::PointerHelpers;
c@106 1564 };
c@106 1565
c@106 1566 #if !CAPNP_LITE
c@106 1567 class FeatureSet::Pipeline {
c@106 1568 public:
c@106 1569 typedef FeatureSet Pipelines;
c@106 1570
c@106 1571 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1572 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1573 : _typeless(kj::mv(typeless)) {}
c@106 1574
c@106 1575 private:
c@106 1576 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1577 friend class ::capnp::PipelineHook;
c@106 1578 template <typename, ::capnp::Kind>
c@106 1579 friend struct ::capnp::ToDynamic_;
c@106 1580 };
c@106 1581 #endif // !CAPNP_LITE
c@106 1582
c@106 1583 class FeatureSet::FSPair::Reader {
c@106 1584 public:
c@106 1585 typedef FSPair Reads;
c@106 1586
c@106 1587 Reader() = default;
c@106 1588 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1589
c@106 1590 inline ::capnp::MessageSize totalSize() const {
c@106 1591 return _reader.totalSize().asPublic();
c@106 1592 }
c@106 1593
c@106 1594 #if !CAPNP_LITE
c@106 1595 inline ::kj::StringTree toString() const {
c@106 1596 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1597 }
c@106 1598 #endif // !CAPNP_LITE
c@106 1599
c@106 1600 inline bool hasOutput() const;
c@106 1601 inline ::capnp::Text::Reader getOutput() const;
c@106 1602
c@106 1603 inline bool hasFeatures() const;
c@106 1604 inline ::capnp::List< ::piper::Feature>::Reader getFeatures() const;
c@106 1605
c@106 1606 private:
c@106 1607 ::capnp::_::StructReader _reader;
c@106 1608 template <typename, ::capnp::Kind>
c@106 1609 friend struct ::capnp::ToDynamic_;
c@106 1610 template <typename, ::capnp::Kind>
c@106 1611 friend struct ::capnp::_::PointerHelpers;
c@106 1612 template <typename, ::capnp::Kind>
c@106 1613 friend struct ::capnp::List;
c@106 1614 friend class ::capnp::MessageBuilder;
c@106 1615 friend class ::capnp::Orphanage;
c@106 1616 };
c@106 1617
c@106 1618 class FeatureSet::FSPair::Builder {
c@106 1619 public:
c@106 1620 typedef FSPair Builds;
c@106 1621
c@106 1622 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1623 // You can explicitly initialize to nullptr instead.
c@106 1624 inline Builder(decltype(nullptr)) {}
c@106 1625 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1626 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1627 inline Reader asReader() const { return *this; }
c@106 1628
c@106 1629 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1630 #if !CAPNP_LITE
c@106 1631 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1632 #endif // !CAPNP_LITE
c@106 1633
c@106 1634 inline bool hasOutput();
c@106 1635 inline ::capnp::Text::Builder getOutput();
c@106 1636 inline void setOutput( ::capnp::Text::Reader value);
c@106 1637 inline ::capnp::Text::Builder initOutput(unsigned int size);
c@106 1638 inline void adoptOutput(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1639 inline ::capnp::Orphan< ::capnp::Text> disownOutput();
c@106 1640
c@106 1641 inline bool hasFeatures();
c@106 1642 inline ::capnp::List< ::piper::Feature>::Builder getFeatures();
c@106 1643 inline void setFeatures( ::capnp::List< ::piper::Feature>::Reader value);
c@106 1644 inline ::capnp::List< ::piper::Feature>::Builder initFeatures(unsigned int size);
c@106 1645 inline void adoptFeatures(::capnp::Orphan< ::capnp::List< ::piper::Feature>>&& value);
c@106 1646 inline ::capnp::Orphan< ::capnp::List< ::piper::Feature>> disownFeatures();
c@106 1647
c@106 1648 private:
c@106 1649 ::capnp::_::StructBuilder _builder;
c@106 1650 template <typename, ::capnp::Kind>
c@106 1651 friend struct ::capnp::ToDynamic_;
c@106 1652 friend class ::capnp::Orphanage;
c@106 1653 template <typename, ::capnp::Kind>
c@106 1654 friend struct ::capnp::_::PointerHelpers;
c@106 1655 };
c@106 1656
c@106 1657 #if !CAPNP_LITE
c@106 1658 class FeatureSet::FSPair::Pipeline {
c@106 1659 public:
c@106 1660 typedef FSPair Pipelines;
c@106 1661
c@106 1662 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1663 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1664 : _typeless(kj::mv(typeless)) {}
c@106 1665
c@106 1666 private:
c@106 1667 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1668 friend class ::capnp::PipelineHook;
c@106 1669 template <typename, ::capnp::Kind>
c@106 1670 friend struct ::capnp::ToDynamic_;
c@106 1671 };
c@106 1672 #endif // !CAPNP_LITE
c@106 1673
cannam@185 1674 class Framing::Reader {
c@106 1675 public:
cannam@185 1676 typedef Framing Reads;
c@106 1677
c@106 1678 Reader() = default;
c@106 1679 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1680
c@106 1681 inline ::capnp::MessageSize totalSize() const {
c@106 1682 return _reader.totalSize().asPublic();
c@106 1683 }
c@106 1684
c@106 1685 #if !CAPNP_LITE
c@106 1686 inline ::kj::StringTree toString() const {
c@106 1687 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1688 }
c@106 1689 #endif // !CAPNP_LITE
c@106 1690
cannam@216 1691 inline ::int32_t getBlockSize() const;
cannam@216 1692
c@106 1693 inline ::int32_t getStepSize() const;
c@106 1694
c@106 1695 private:
c@106 1696 ::capnp::_::StructReader _reader;
c@106 1697 template <typename, ::capnp::Kind>
c@106 1698 friend struct ::capnp::ToDynamic_;
c@106 1699 template <typename, ::capnp::Kind>
c@106 1700 friend struct ::capnp::_::PointerHelpers;
c@106 1701 template <typename, ::capnp::Kind>
c@106 1702 friend struct ::capnp::List;
c@106 1703 friend class ::capnp::MessageBuilder;
c@106 1704 friend class ::capnp::Orphanage;
c@106 1705 };
c@106 1706
cannam@185 1707 class Framing::Builder {
c@106 1708 public:
cannam@185 1709 typedef Framing Builds;
c@106 1710
c@106 1711 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1712 // You can explicitly initialize to nullptr instead.
c@106 1713 inline Builder(decltype(nullptr)) {}
c@106 1714 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1715 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1716 inline Reader asReader() const { return *this; }
c@106 1717
c@106 1718 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1719 #if !CAPNP_LITE
c@106 1720 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1721 #endif // !CAPNP_LITE
c@106 1722
cannam@216 1723 inline ::int32_t getBlockSize();
cannam@216 1724 inline void setBlockSize( ::int32_t value);
cannam@216 1725
cannam@185 1726 inline ::int32_t getStepSize();
cannam@185 1727 inline void setStepSize( ::int32_t value);
cannam@185 1728
cannam@185 1729 private:
cannam@185 1730 ::capnp::_::StructBuilder _builder;
cannam@185 1731 template <typename, ::capnp::Kind>
cannam@185 1732 friend struct ::capnp::ToDynamic_;
cannam@185 1733 friend class ::capnp::Orphanage;
cannam@185 1734 template <typename, ::capnp::Kind>
cannam@185 1735 friend struct ::capnp::_::PointerHelpers;
cannam@185 1736 };
cannam@185 1737
cannam@185 1738 #if !CAPNP_LITE
cannam@185 1739 class Framing::Pipeline {
cannam@185 1740 public:
cannam@185 1741 typedef Framing Pipelines;
cannam@185 1742
cannam@185 1743 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
cannam@185 1744 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
cannam@185 1745 : _typeless(kj::mv(typeless)) {}
cannam@185 1746
cannam@185 1747 private:
cannam@185 1748 ::capnp::AnyPointer::Pipeline _typeless;
cannam@185 1749 friend class ::capnp::PipelineHook;
cannam@185 1750 template <typename, ::capnp::Kind>
cannam@185 1751 friend struct ::capnp::ToDynamic_;
cannam@185 1752 };
cannam@185 1753 #endif // !CAPNP_LITE
cannam@185 1754
cannam@185 1755 class Configuration::Reader {
cannam@185 1756 public:
cannam@185 1757 typedef Configuration Reads;
cannam@185 1758
cannam@185 1759 Reader() = default;
cannam@185 1760 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
cannam@185 1761
cannam@185 1762 inline ::capnp::MessageSize totalSize() const {
cannam@185 1763 return _reader.totalSize().asPublic();
cannam@185 1764 }
cannam@185 1765
cannam@185 1766 #if !CAPNP_LITE
cannam@185 1767 inline ::kj::StringTree toString() const {
cannam@185 1768 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
cannam@185 1769 }
cannam@185 1770 #endif // !CAPNP_LITE
cannam@185 1771
cannam@185 1772 inline bool hasParameterValues() const;
cannam@185 1773 inline ::capnp::List< ::piper::Configuration::PVPair>::Reader getParameterValues() const;
cannam@185 1774
cannam@185 1775 inline bool hasCurrentProgram() const;
cannam@185 1776 inline ::capnp::Text::Reader getCurrentProgram() const;
cannam@185 1777
cannam@185 1778 inline ::int32_t getChannelCount() const;
cannam@185 1779
cannam@185 1780 inline bool hasFraming() const;
cannam@185 1781 inline ::piper::Framing::Reader getFraming() const;
cannam@185 1782
cannam@185 1783 private:
cannam@185 1784 ::capnp::_::StructReader _reader;
cannam@185 1785 template <typename, ::capnp::Kind>
cannam@185 1786 friend struct ::capnp::ToDynamic_;
cannam@185 1787 template <typename, ::capnp::Kind>
cannam@185 1788 friend struct ::capnp::_::PointerHelpers;
cannam@185 1789 template <typename, ::capnp::Kind>
cannam@185 1790 friend struct ::capnp::List;
cannam@185 1791 friend class ::capnp::MessageBuilder;
cannam@185 1792 friend class ::capnp::Orphanage;
cannam@185 1793 };
cannam@185 1794
cannam@185 1795 class Configuration::Builder {
cannam@185 1796 public:
cannam@185 1797 typedef Configuration Builds;
cannam@185 1798
cannam@185 1799 Builder() = delete; // Deleted to discourage incorrect usage.
cannam@185 1800 // You can explicitly initialize to nullptr instead.
cannam@185 1801 inline Builder(decltype(nullptr)) {}
cannam@185 1802 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
cannam@185 1803 inline operator Reader() const { return Reader(_builder.asReader()); }
cannam@185 1804 inline Reader asReader() const { return *this; }
cannam@185 1805
cannam@185 1806 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
cannam@185 1807 #if !CAPNP_LITE
cannam@185 1808 inline ::kj::StringTree toString() const { return asReader().toString(); }
cannam@185 1809 #endif // !CAPNP_LITE
cannam@185 1810
c@106 1811 inline bool hasParameterValues();
c@106 1812 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder getParameterValues();
c@106 1813 inline void setParameterValues( ::capnp::List< ::piper::Configuration::PVPair>::Reader value);
c@106 1814 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder initParameterValues(unsigned int size);
c@106 1815 inline void adoptParameterValues(::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>>&& value);
c@106 1816 inline ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>> disownParameterValues();
c@106 1817
c@106 1818 inline bool hasCurrentProgram();
c@106 1819 inline ::capnp::Text::Builder getCurrentProgram();
c@106 1820 inline void setCurrentProgram( ::capnp::Text::Reader value);
c@106 1821 inline ::capnp::Text::Builder initCurrentProgram(unsigned int size);
c@106 1822 inline void adoptCurrentProgram(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1823 inline ::capnp::Orphan< ::capnp::Text> disownCurrentProgram();
c@106 1824
c@106 1825 inline ::int32_t getChannelCount();
c@106 1826 inline void setChannelCount( ::int32_t value);
c@106 1827
cannam@185 1828 inline bool hasFraming();
cannam@185 1829 inline ::piper::Framing::Builder getFraming();
cannam@185 1830 inline void setFraming( ::piper::Framing::Reader value);
cannam@185 1831 inline ::piper::Framing::Builder initFraming();
cannam@185 1832 inline void adoptFraming(::capnp::Orphan< ::piper::Framing>&& value);
cannam@185 1833 inline ::capnp::Orphan< ::piper::Framing> disownFraming();
c@106 1834
c@106 1835 private:
c@106 1836 ::capnp::_::StructBuilder _builder;
c@106 1837 template <typename, ::capnp::Kind>
c@106 1838 friend struct ::capnp::ToDynamic_;
c@106 1839 friend class ::capnp::Orphanage;
c@106 1840 template <typename, ::capnp::Kind>
c@106 1841 friend struct ::capnp::_::PointerHelpers;
c@106 1842 };
c@106 1843
c@106 1844 #if !CAPNP_LITE
c@106 1845 class Configuration::Pipeline {
c@106 1846 public:
c@106 1847 typedef Configuration Pipelines;
c@106 1848
c@106 1849 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1850 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1851 : _typeless(kj::mv(typeless)) {}
c@106 1852
cannam@185 1853 inline ::piper::Framing::Pipeline getFraming();
c@106 1854 private:
c@106 1855 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1856 friend class ::capnp::PipelineHook;
c@106 1857 template <typename, ::capnp::Kind>
c@106 1858 friend struct ::capnp::ToDynamic_;
c@106 1859 };
c@106 1860 #endif // !CAPNP_LITE
c@106 1861
c@106 1862 class Configuration::PVPair::Reader {
c@106 1863 public:
c@106 1864 typedef PVPair Reads;
c@106 1865
c@106 1866 Reader() = default;
c@106 1867 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1868
c@106 1869 inline ::capnp::MessageSize totalSize() const {
c@106 1870 return _reader.totalSize().asPublic();
c@106 1871 }
c@106 1872
c@106 1873 #if !CAPNP_LITE
c@106 1874 inline ::kj::StringTree toString() const {
c@106 1875 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1876 }
c@106 1877 #endif // !CAPNP_LITE
c@106 1878
c@106 1879 inline bool hasParameter() const;
c@106 1880 inline ::capnp::Text::Reader getParameter() const;
c@106 1881
c@106 1882 inline float getValue() const;
c@106 1883
c@106 1884 private:
c@106 1885 ::capnp::_::StructReader _reader;
c@106 1886 template <typename, ::capnp::Kind>
c@106 1887 friend struct ::capnp::ToDynamic_;
c@106 1888 template <typename, ::capnp::Kind>
c@106 1889 friend struct ::capnp::_::PointerHelpers;
c@106 1890 template <typename, ::capnp::Kind>
c@106 1891 friend struct ::capnp::List;
c@106 1892 friend class ::capnp::MessageBuilder;
c@106 1893 friend class ::capnp::Orphanage;
c@106 1894 };
c@106 1895
c@106 1896 class Configuration::PVPair::Builder {
c@106 1897 public:
c@106 1898 typedef PVPair Builds;
c@106 1899
c@106 1900 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1901 // You can explicitly initialize to nullptr instead.
c@106 1902 inline Builder(decltype(nullptr)) {}
c@106 1903 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1904 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1905 inline Reader asReader() const { return *this; }
c@106 1906
c@106 1907 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1908 #if !CAPNP_LITE
c@106 1909 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1910 #endif // !CAPNP_LITE
c@106 1911
c@106 1912 inline bool hasParameter();
c@106 1913 inline ::capnp::Text::Builder getParameter();
c@106 1914 inline void setParameter( ::capnp::Text::Reader value);
c@106 1915 inline ::capnp::Text::Builder initParameter(unsigned int size);
c@106 1916 inline void adoptParameter(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1917 inline ::capnp::Orphan< ::capnp::Text> disownParameter();
c@106 1918
c@106 1919 inline float getValue();
c@106 1920 inline void setValue(float value);
c@106 1921
c@106 1922 private:
c@106 1923 ::capnp::_::StructBuilder _builder;
c@106 1924 template <typename, ::capnp::Kind>
c@106 1925 friend struct ::capnp::ToDynamic_;
c@106 1926 friend class ::capnp::Orphanage;
c@106 1927 template <typename, ::capnp::Kind>
c@106 1928 friend struct ::capnp::_::PointerHelpers;
c@106 1929 };
c@106 1930
c@106 1931 #if !CAPNP_LITE
c@106 1932 class Configuration::PVPair::Pipeline {
c@106 1933 public:
c@106 1934 typedef PVPair Pipelines;
c@106 1935
c@106 1936 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1937 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1938 : _typeless(kj::mv(typeless)) {}
c@106 1939
c@106 1940 private:
c@106 1941 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1942 friend class ::capnp::PipelineHook;
c@106 1943 template <typename, ::capnp::Kind>
c@106 1944 friend struct ::capnp::ToDynamic_;
c@106 1945 };
c@106 1946 #endif // !CAPNP_LITE
c@106 1947
c@106 1948 class ListRequest::Reader {
c@106 1949 public:
c@106 1950 typedef ListRequest Reads;
c@106 1951
c@106 1952 Reader() = default;
c@106 1953 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1954
c@106 1955 inline ::capnp::MessageSize totalSize() const {
c@106 1956 return _reader.totalSize().asPublic();
c@106 1957 }
c@106 1958
c@106 1959 #if !CAPNP_LITE
c@106 1960 inline ::kj::StringTree toString() const {
c@106 1961 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 1962 }
c@106 1963 #endif // !CAPNP_LITE
c@106 1964
c@127 1965 inline bool hasFrom() const;
c@127 1966 inline ::capnp::List< ::capnp::Text>::Reader getFrom() const;
c@127 1967
c@106 1968 private:
c@106 1969 ::capnp::_::StructReader _reader;
c@106 1970 template <typename, ::capnp::Kind>
c@106 1971 friend struct ::capnp::ToDynamic_;
c@106 1972 template <typename, ::capnp::Kind>
c@106 1973 friend struct ::capnp::_::PointerHelpers;
c@106 1974 template <typename, ::capnp::Kind>
c@106 1975 friend struct ::capnp::List;
c@106 1976 friend class ::capnp::MessageBuilder;
c@106 1977 friend class ::capnp::Orphanage;
c@106 1978 };
c@106 1979
c@106 1980 class ListRequest::Builder {
c@106 1981 public:
c@106 1982 typedef ListRequest Builds;
c@106 1983
c@106 1984 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1985 // You can explicitly initialize to nullptr instead.
c@106 1986 inline Builder(decltype(nullptr)) {}
c@106 1987 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1988 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1989 inline Reader asReader() const { return *this; }
c@106 1990
c@106 1991 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1992 #if !CAPNP_LITE
c@106 1993 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1994 #endif // !CAPNP_LITE
c@106 1995
c@127 1996 inline bool hasFrom();
c@127 1997 inline ::capnp::List< ::capnp::Text>::Builder getFrom();
c@127 1998 inline void setFrom( ::capnp::List< ::capnp::Text>::Reader value);
c@127 1999 inline void setFrom(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@127 2000 inline ::capnp::List< ::capnp::Text>::Builder initFrom(unsigned int size);
c@127 2001 inline void adoptFrom(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@127 2002 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownFrom();
c@127 2003
c@106 2004 private:
c@106 2005 ::capnp::_::StructBuilder _builder;
c@106 2006 template <typename, ::capnp::Kind>
c@106 2007 friend struct ::capnp::ToDynamic_;
c@106 2008 friend class ::capnp::Orphanage;
c@106 2009 template <typename, ::capnp::Kind>
c@106 2010 friend struct ::capnp::_::PointerHelpers;
c@106 2011 };
c@106 2012
c@106 2013 #if !CAPNP_LITE
c@106 2014 class ListRequest::Pipeline {
c@106 2015 public:
c@106 2016 typedef ListRequest Pipelines;
c@106 2017
c@106 2018 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2019 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2020 : _typeless(kj::mv(typeless)) {}
c@106 2021
c@106 2022 private:
c@106 2023 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2024 friend class ::capnp::PipelineHook;
c@106 2025 template <typename, ::capnp::Kind>
c@106 2026 friend struct ::capnp::ToDynamic_;
c@106 2027 };
c@106 2028 #endif // !CAPNP_LITE
c@106 2029
c@106 2030 class ListResponse::Reader {
c@106 2031 public:
c@106 2032 typedef ListResponse Reads;
c@106 2033
c@106 2034 Reader() = default;
c@106 2035 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2036
c@106 2037 inline ::capnp::MessageSize totalSize() const {
c@106 2038 return _reader.totalSize().asPublic();
c@106 2039 }
c@106 2040
c@106 2041 #if !CAPNP_LITE
c@106 2042 inline ::kj::StringTree toString() const {
c@106 2043 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2044 }
c@106 2045 #endif // !CAPNP_LITE
c@106 2046
c@106 2047 inline bool hasAvailable() const;
c@106 2048 inline ::capnp::List< ::piper::ExtractorStaticData>::Reader getAvailable() const;
c@106 2049
c@106 2050 private:
c@106 2051 ::capnp::_::StructReader _reader;
c@106 2052 template <typename, ::capnp::Kind>
c@106 2053 friend struct ::capnp::ToDynamic_;
c@106 2054 template <typename, ::capnp::Kind>
c@106 2055 friend struct ::capnp::_::PointerHelpers;
c@106 2056 template <typename, ::capnp::Kind>
c@106 2057 friend struct ::capnp::List;
c@106 2058 friend class ::capnp::MessageBuilder;
c@106 2059 friend class ::capnp::Orphanage;
c@106 2060 };
c@106 2061
c@106 2062 class ListResponse::Builder {
c@106 2063 public:
c@106 2064 typedef ListResponse Builds;
c@106 2065
c@106 2066 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2067 // You can explicitly initialize to nullptr instead.
c@106 2068 inline Builder(decltype(nullptr)) {}
c@106 2069 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2070 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2071 inline Reader asReader() const { return *this; }
c@106 2072
c@106 2073 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2074 #if !CAPNP_LITE
c@106 2075 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2076 #endif // !CAPNP_LITE
c@106 2077
c@106 2078 inline bool hasAvailable();
c@106 2079 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder getAvailable();
c@106 2080 inline void setAvailable( ::capnp::List< ::piper::ExtractorStaticData>::Reader value);
c@106 2081 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder initAvailable(unsigned int size);
c@106 2082 inline void adoptAvailable(::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>>&& value);
c@106 2083 inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>> disownAvailable();
c@106 2084
c@106 2085 private:
c@106 2086 ::capnp::_::StructBuilder _builder;
c@106 2087 template <typename, ::capnp::Kind>
c@106 2088 friend struct ::capnp::ToDynamic_;
c@106 2089 friend class ::capnp::Orphanage;
c@106 2090 template <typename, ::capnp::Kind>
c@106 2091 friend struct ::capnp::_::PointerHelpers;
c@106 2092 };
c@106 2093
c@106 2094 #if !CAPNP_LITE
c@106 2095 class ListResponse::Pipeline {
c@106 2096 public:
c@106 2097 typedef ListResponse Pipelines;
c@106 2098
c@106 2099 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2100 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2101 : _typeless(kj::mv(typeless)) {}
c@106 2102
c@106 2103 private:
c@106 2104 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2105 friend class ::capnp::PipelineHook;
c@106 2106 template <typename, ::capnp::Kind>
c@106 2107 friend struct ::capnp::ToDynamic_;
c@106 2108 };
c@106 2109 #endif // !CAPNP_LITE
c@106 2110
c@106 2111 class LoadRequest::Reader {
c@106 2112 public:
c@106 2113 typedef LoadRequest Reads;
c@106 2114
c@106 2115 Reader() = default;
c@106 2116 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2117
c@106 2118 inline ::capnp::MessageSize totalSize() const {
c@106 2119 return _reader.totalSize().asPublic();
c@106 2120 }
c@106 2121
c@106 2122 #if !CAPNP_LITE
c@106 2123 inline ::kj::StringTree toString() const {
c@106 2124 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2125 }
c@106 2126 #endif // !CAPNP_LITE
c@106 2127
c@106 2128 inline bool hasKey() const;
c@106 2129 inline ::capnp::Text::Reader getKey() const;
c@106 2130
c@106 2131 inline float getInputSampleRate() const;
c@106 2132
c@106 2133 inline bool hasAdapterFlags() const;
c@106 2134 inline ::capnp::List< ::piper::AdapterFlag>::Reader getAdapterFlags() const;
c@106 2135
c@106 2136 private:
c@106 2137 ::capnp::_::StructReader _reader;
c@106 2138 template <typename, ::capnp::Kind>
c@106 2139 friend struct ::capnp::ToDynamic_;
c@106 2140 template <typename, ::capnp::Kind>
c@106 2141 friend struct ::capnp::_::PointerHelpers;
c@106 2142 template <typename, ::capnp::Kind>
c@106 2143 friend struct ::capnp::List;
c@106 2144 friend class ::capnp::MessageBuilder;
c@106 2145 friend class ::capnp::Orphanage;
c@106 2146 };
c@106 2147
c@106 2148 class LoadRequest::Builder {
c@106 2149 public:
c@106 2150 typedef LoadRequest Builds;
c@106 2151
c@106 2152 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2153 // You can explicitly initialize to nullptr instead.
c@106 2154 inline Builder(decltype(nullptr)) {}
c@106 2155 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2156 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2157 inline Reader asReader() const { return *this; }
c@106 2158
c@106 2159 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2160 #if !CAPNP_LITE
c@106 2161 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2162 #endif // !CAPNP_LITE
c@106 2163
c@106 2164 inline bool hasKey();
c@106 2165 inline ::capnp::Text::Builder getKey();
c@106 2166 inline void setKey( ::capnp::Text::Reader value);
c@106 2167 inline ::capnp::Text::Builder initKey(unsigned int size);
c@106 2168 inline void adoptKey(::capnp::Orphan< ::capnp::Text>&& value);
c@106 2169 inline ::capnp::Orphan< ::capnp::Text> disownKey();
c@106 2170
c@106 2171 inline float getInputSampleRate();
c@106 2172 inline void setInputSampleRate(float value);
c@106 2173
c@106 2174 inline bool hasAdapterFlags();
c@106 2175 inline ::capnp::List< ::piper::AdapterFlag>::Builder getAdapterFlags();
c@106 2176 inline void setAdapterFlags( ::capnp::List< ::piper::AdapterFlag>::Reader value);
c@106 2177 inline void setAdapterFlags(::kj::ArrayPtr<const ::piper::AdapterFlag> value);
c@106 2178 inline ::capnp::List< ::piper::AdapterFlag>::Builder initAdapterFlags(unsigned int size);
c@106 2179 inline void adoptAdapterFlags(::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>>&& value);
c@106 2180 inline ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>> disownAdapterFlags();
c@106 2181
c@106 2182 private:
c@106 2183 ::capnp::_::StructBuilder _builder;
c@106 2184 template <typename, ::capnp::Kind>
c@106 2185 friend struct ::capnp::ToDynamic_;
c@106 2186 friend class ::capnp::Orphanage;
c@106 2187 template <typename, ::capnp::Kind>
c@106 2188 friend struct ::capnp::_::PointerHelpers;
c@106 2189 };
c@106 2190
c@106 2191 #if !CAPNP_LITE
c@106 2192 class LoadRequest::Pipeline {
c@106 2193 public:
c@106 2194 typedef LoadRequest Pipelines;
c@106 2195
c@106 2196 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2197 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2198 : _typeless(kj::mv(typeless)) {}
c@106 2199
c@106 2200 private:
c@106 2201 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2202 friend class ::capnp::PipelineHook;
c@106 2203 template <typename, ::capnp::Kind>
c@106 2204 friend struct ::capnp::ToDynamic_;
c@106 2205 };
c@106 2206 #endif // !CAPNP_LITE
c@106 2207
c@106 2208 class LoadResponse::Reader {
c@106 2209 public:
c@106 2210 typedef LoadResponse Reads;
c@106 2211
c@106 2212 Reader() = default;
c@106 2213 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2214
c@106 2215 inline ::capnp::MessageSize totalSize() const {
c@106 2216 return _reader.totalSize().asPublic();
c@106 2217 }
c@106 2218
c@106 2219 #if !CAPNP_LITE
c@106 2220 inline ::kj::StringTree toString() const {
c@106 2221 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2222 }
c@106 2223 #endif // !CAPNP_LITE
c@106 2224
c@106 2225 inline ::int32_t getHandle() const;
c@106 2226
c@106 2227 inline bool hasStaticData() const;
c@106 2228 inline ::piper::ExtractorStaticData::Reader getStaticData() const;
c@106 2229
c@106 2230 inline bool hasDefaultConfiguration() const;
c@106 2231 inline ::piper::Configuration::Reader getDefaultConfiguration() const;
c@106 2232
c@106 2233 private:
c@106 2234 ::capnp::_::StructReader _reader;
c@106 2235 template <typename, ::capnp::Kind>
c@106 2236 friend struct ::capnp::ToDynamic_;
c@106 2237 template <typename, ::capnp::Kind>
c@106 2238 friend struct ::capnp::_::PointerHelpers;
c@106 2239 template <typename, ::capnp::Kind>
c@106 2240 friend struct ::capnp::List;
c@106 2241 friend class ::capnp::MessageBuilder;
c@106 2242 friend class ::capnp::Orphanage;
c@106 2243 };
c@106 2244
c@106 2245 class LoadResponse::Builder {
c@106 2246 public:
c@106 2247 typedef LoadResponse Builds;
c@106 2248
c@106 2249 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2250 // You can explicitly initialize to nullptr instead.
c@106 2251 inline Builder(decltype(nullptr)) {}
c@106 2252 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2253 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2254 inline Reader asReader() const { return *this; }
c@106 2255
c@106 2256 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2257 #if !CAPNP_LITE
c@106 2258 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2259 #endif // !CAPNP_LITE
c@106 2260
c@106 2261 inline ::int32_t getHandle();
c@106 2262 inline void setHandle( ::int32_t value);
c@106 2263
c@106 2264 inline bool hasStaticData();
c@106 2265 inline ::piper::ExtractorStaticData::Builder getStaticData();
c@106 2266 inline void setStaticData( ::piper::ExtractorStaticData::Reader value);
c@106 2267 inline ::piper::ExtractorStaticData::Builder initStaticData();
c@106 2268 inline void adoptStaticData(::capnp::Orphan< ::piper::ExtractorStaticData>&& value);
c@106 2269 inline ::capnp::Orphan< ::piper::ExtractorStaticData> disownStaticData();
c@106 2270
c@106 2271 inline bool hasDefaultConfiguration();
c@106 2272 inline ::piper::Configuration::Builder getDefaultConfiguration();
c@106 2273 inline void setDefaultConfiguration( ::piper::Configuration::Reader value);
c@106 2274 inline ::piper::Configuration::Builder initDefaultConfiguration();
c@106 2275 inline void adoptDefaultConfiguration(::capnp::Orphan< ::piper::Configuration>&& value);
c@106 2276 inline ::capnp::Orphan< ::piper::Configuration> disownDefaultConfiguration();
c@106 2277
c@106 2278 private:
c@106 2279 ::capnp::_::StructBuilder _builder;
c@106 2280 template <typename, ::capnp::Kind>
c@106 2281 friend struct ::capnp::ToDynamic_;
c@106 2282 friend class ::capnp::Orphanage;
c@106 2283 template <typename, ::capnp::Kind>
c@106 2284 friend struct ::capnp::_::PointerHelpers;
c@106 2285 };
c@106 2286
c@106 2287 #if !CAPNP_LITE
c@106 2288 class LoadResponse::Pipeline {
c@106 2289 public:
c@106 2290 typedef LoadResponse Pipelines;
c@106 2291
c@106 2292 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2293 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2294 : _typeless(kj::mv(typeless)) {}
c@106 2295
c@106 2296 inline ::piper::ExtractorStaticData::Pipeline getStaticData();
c@106 2297 inline ::piper::Configuration::Pipeline getDefaultConfiguration();
c@106 2298 private:
c@106 2299 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2300 friend class ::capnp::PipelineHook;
c@106 2301 template <typename, ::capnp::Kind>
c@106 2302 friend struct ::capnp::ToDynamic_;
c@106 2303 };
c@106 2304 #endif // !CAPNP_LITE
c@106 2305
c@106 2306 class ConfigurationRequest::Reader {
c@106 2307 public:
c@106 2308 typedef ConfigurationRequest Reads;
c@106 2309
c@106 2310 Reader() = default;
c@106 2311 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2312
c@106 2313 inline ::capnp::MessageSize totalSize() const {
c@106 2314 return _reader.totalSize().asPublic();
c@106 2315 }
c@106 2316
c@106 2317 #if !CAPNP_LITE
c@106 2318 inline ::kj::StringTree toString() const {
c@106 2319 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2320 }
c@106 2321 #endif // !CAPNP_LITE
c@106 2322
c@106 2323 inline ::int32_t getHandle() const;
c@106 2324
c@106 2325 inline bool hasConfiguration() const;
c@106 2326 inline ::piper::Configuration::Reader getConfiguration() const;
c@106 2327
c@106 2328 private:
c@106 2329 ::capnp::_::StructReader _reader;
c@106 2330 template <typename, ::capnp::Kind>
c@106 2331 friend struct ::capnp::ToDynamic_;
c@106 2332 template <typename, ::capnp::Kind>
c@106 2333 friend struct ::capnp::_::PointerHelpers;
c@106 2334 template <typename, ::capnp::Kind>
c@106 2335 friend struct ::capnp::List;
c@106 2336 friend class ::capnp::MessageBuilder;
c@106 2337 friend class ::capnp::Orphanage;
c@106 2338 };
c@106 2339
c@106 2340 class ConfigurationRequest::Builder {
c@106 2341 public:
c@106 2342 typedef ConfigurationRequest Builds;
c@106 2343
c@106 2344 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2345 // You can explicitly initialize to nullptr instead.
c@106 2346 inline Builder(decltype(nullptr)) {}
c@106 2347 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2348 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2349 inline Reader asReader() const { return *this; }
c@106 2350
c@106 2351 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2352 #if !CAPNP_LITE
c@106 2353 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2354 #endif // !CAPNP_LITE
c@106 2355
c@106 2356 inline ::int32_t getHandle();
c@106 2357 inline void setHandle( ::int32_t value);
c@106 2358
c@106 2359 inline bool hasConfiguration();
c@106 2360 inline ::piper::Configuration::Builder getConfiguration();
c@106 2361 inline void setConfiguration( ::piper::Configuration::Reader value);
c@106 2362 inline ::piper::Configuration::Builder initConfiguration();
c@106 2363 inline void adoptConfiguration(::capnp::Orphan< ::piper::Configuration>&& value);
c@106 2364 inline ::capnp::Orphan< ::piper::Configuration> disownConfiguration();
c@106 2365
c@106 2366 private:
c@106 2367 ::capnp::_::StructBuilder _builder;
c@106 2368 template <typename, ::capnp::Kind>
c@106 2369 friend struct ::capnp::ToDynamic_;
c@106 2370 friend class ::capnp::Orphanage;
c@106 2371 template <typename, ::capnp::Kind>
c@106 2372 friend struct ::capnp::_::PointerHelpers;
c@106 2373 };
c@106 2374
c@106 2375 #if !CAPNP_LITE
c@106 2376 class ConfigurationRequest::Pipeline {
c@106 2377 public:
c@106 2378 typedef ConfigurationRequest Pipelines;
c@106 2379
c@106 2380 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2381 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2382 : _typeless(kj::mv(typeless)) {}
c@106 2383
c@106 2384 inline ::piper::Configuration::Pipeline getConfiguration();
c@106 2385 private:
c@106 2386 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2387 friend class ::capnp::PipelineHook;
c@106 2388 template <typename, ::capnp::Kind>
c@106 2389 friend struct ::capnp::ToDynamic_;
c@106 2390 };
c@106 2391 #endif // !CAPNP_LITE
c@106 2392
c@106 2393 class ConfigurationResponse::Reader {
c@106 2394 public:
c@106 2395 typedef ConfigurationResponse Reads;
c@106 2396
c@106 2397 Reader() = default;
c@106 2398 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2399
c@106 2400 inline ::capnp::MessageSize totalSize() const {
c@106 2401 return _reader.totalSize().asPublic();
c@106 2402 }
c@106 2403
c@106 2404 #if !CAPNP_LITE
c@106 2405 inline ::kj::StringTree toString() const {
c@106 2406 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2407 }
c@106 2408 #endif // !CAPNP_LITE
c@106 2409
c@106 2410 inline ::int32_t getHandle() const;
c@106 2411
c@106 2412 inline bool hasOutputs() const;
c@106 2413 inline ::capnp::List< ::piper::OutputDescriptor>::Reader getOutputs() const;
c@106 2414
cannam@185 2415 inline bool hasFraming() const;
cannam@185 2416 inline ::piper::Framing::Reader getFraming() const;
cannam@185 2417
c@106 2418 private:
c@106 2419 ::capnp::_::StructReader _reader;
c@106 2420 template <typename, ::capnp::Kind>
c@106 2421 friend struct ::capnp::ToDynamic_;
c@106 2422 template <typename, ::capnp::Kind>
c@106 2423 friend struct ::capnp::_::PointerHelpers;
c@106 2424 template <typename, ::capnp::Kind>
c@106 2425 friend struct ::capnp::List;
c@106 2426 friend class ::capnp::MessageBuilder;
c@106 2427 friend class ::capnp::Orphanage;
c@106 2428 };
c@106 2429
c@106 2430 class ConfigurationResponse::Builder {
c@106 2431 public:
c@106 2432 typedef ConfigurationResponse Builds;
c@106 2433
c@106 2434 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2435 // You can explicitly initialize to nullptr instead.
c@106 2436 inline Builder(decltype(nullptr)) {}
c@106 2437 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2438 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2439 inline Reader asReader() const { return *this; }
c@106 2440
c@106 2441 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2442 #if !CAPNP_LITE
c@106 2443 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2444 #endif // !CAPNP_LITE
c@106 2445
c@106 2446 inline ::int32_t getHandle();
c@106 2447 inline void setHandle( ::int32_t value);
c@106 2448
c@106 2449 inline bool hasOutputs();
c@106 2450 inline ::capnp::List< ::piper::OutputDescriptor>::Builder getOutputs();
c@106 2451 inline void setOutputs( ::capnp::List< ::piper::OutputDescriptor>::Reader value);
c@106 2452 inline ::capnp::List< ::piper::OutputDescriptor>::Builder initOutputs(unsigned int size);
c@106 2453 inline void adoptOutputs(::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>>&& value);
c@106 2454 inline ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>> disownOutputs();
c@106 2455
cannam@185 2456 inline bool hasFraming();
cannam@185 2457 inline ::piper::Framing::Builder getFraming();
cannam@185 2458 inline void setFraming( ::piper::Framing::Reader value);
cannam@185 2459 inline ::piper::Framing::Builder initFraming();
cannam@185 2460 inline void adoptFraming(::capnp::Orphan< ::piper::Framing>&& value);
cannam@185 2461 inline ::capnp::Orphan< ::piper::Framing> disownFraming();
cannam@185 2462
c@106 2463 private:
c@106 2464 ::capnp::_::StructBuilder _builder;
c@106 2465 template <typename, ::capnp::Kind>
c@106 2466 friend struct ::capnp::ToDynamic_;
c@106 2467 friend class ::capnp::Orphanage;
c@106 2468 template <typename, ::capnp::Kind>
c@106 2469 friend struct ::capnp::_::PointerHelpers;
c@106 2470 };
c@106 2471
c@106 2472 #if !CAPNP_LITE
c@106 2473 class ConfigurationResponse::Pipeline {
c@106 2474 public:
c@106 2475 typedef ConfigurationResponse Pipelines;
c@106 2476
c@106 2477 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2478 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2479 : _typeless(kj::mv(typeless)) {}
c@106 2480
cannam@185 2481 inline ::piper::Framing::Pipeline getFraming();
c@106 2482 private:
c@106 2483 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2484 friend class ::capnp::PipelineHook;
c@106 2485 template <typename, ::capnp::Kind>
c@106 2486 friend struct ::capnp::ToDynamic_;
c@106 2487 };
c@106 2488 #endif // !CAPNP_LITE
c@106 2489
c@106 2490 class ProcessRequest::Reader {
c@106 2491 public:
c@106 2492 typedef ProcessRequest Reads;
c@106 2493
c@106 2494 Reader() = default;
c@106 2495 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2496
c@106 2497 inline ::capnp::MessageSize totalSize() const {
c@106 2498 return _reader.totalSize().asPublic();
c@106 2499 }
c@106 2500
c@106 2501 #if !CAPNP_LITE
c@106 2502 inline ::kj::StringTree toString() const {
c@106 2503 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2504 }
c@106 2505 #endif // !CAPNP_LITE
c@106 2506
c@106 2507 inline ::int32_t getHandle() const;
c@106 2508
c@106 2509 inline bool hasProcessInput() const;
c@106 2510 inline ::piper::ProcessInput::Reader getProcessInput() const;
c@106 2511
c@106 2512 private:
c@106 2513 ::capnp::_::StructReader _reader;
c@106 2514 template <typename, ::capnp::Kind>
c@106 2515 friend struct ::capnp::ToDynamic_;
c@106 2516 template <typename, ::capnp::Kind>
c@106 2517 friend struct ::capnp::_::PointerHelpers;
c@106 2518 template <typename, ::capnp::Kind>
c@106 2519 friend struct ::capnp::List;
c@106 2520 friend class ::capnp::MessageBuilder;
c@106 2521 friend class ::capnp::Orphanage;
c@106 2522 };
c@106 2523
c@106 2524 class ProcessRequest::Builder {
c@106 2525 public:
c@106 2526 typedef ProcessRequest Builds;
c@106 2527
c@106 2528 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2529 // You can explicitly initialize to nullptr instead.
c@106 2530 inline Builder(decltype(nullptr)) {}
c@106 2531 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2532 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2533 inline Reader asReader() const { return *this; }
c@106 2534
c@106 2535 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2536 #if !CAPNP_LITE
c@106 2537 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2538 #endif // !CAPNP_LITE
c@106 2539
c@106 2540 inline ::int32_t getHandle();
c@106 2541 inline void setHandle( ::int32_t value);
c@106 2542
c@106 2543 inline bool hasProcessInput();
c@106 2544 inline ::piper::ProcessInput::Builder getProcessInput();
c@106 2545 inline void setProcessInput( ::piper::ProcessInput::Reader value);
c@106 2546 inline ::piper::ProcessInput::Builder initProcessInput();
c@106 2547 inline void adoptProcessInput(::capnp::Orphan< ::piper::ProcessInput>&& value);
c@106 2548 inline ::capnp::Orphan< ::piper::ProcessInput> disownProcessInput();
c@106 2549
c@106 2550 private:
c@106 2551 ::capnp::_::StructBuilder _builder;
c@106 2552 template <typename, ::capnp::Kind>
c@106 2553 friend struct ::capnp::ToDynamic_;
c@106 2554 friend class ::capnp::Orphanage;
c@106 2555 template <typename, ::capnp::Kind>
c@106 2556 friend struct ::capnp::_::PointerHelpers;
c@106 2557 };
c@106 2558
c@106 2559 #if !CAPNP_LITE
c@106 2560 class ProcessRequest::Pipeline {
c@106 2561 public:
c@106 2562 typedef ProcessRequest Pipelines;
c@106 2563
c@106 2564 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2565 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2566 : _typeless(kj::mv(typeless)) {}
c@106 2567
c@106 2568 inline ::piper::ProcessInput::Pipeline getProcessInput();
c@106 2569 private:
c@106 2570 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2571 friend class ::capnp::PipelineHook;
c@106 2572 template <typename, ::capnp::Kind>
c@106 2573 friend struct ::capnp::ToDynamic_;
c@106 2574 };
c@106 2575 #endif // !CAPNP_LITE
c@106 2576
c@106 2577 class ProcessResponse::Reader {
c@106 2578 public:
c@106 2579 typedef ProcessResponse Reads;
c@106 2580
c@106 2581 Reader() = default;
c@106 2582 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2583
c@106 2584 inline ::capnp::MessageSize totalSize() const {
c@106 2585 return _reader.totalSize().asPublic();
c@106 2586 }
c@106 2587
c@106 2588 #if !CAPNP_LITE
c@106 2589 inline ::kj::StringTree toString() const {
c@106 2590 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2591 }
c@106 2592 #endif // !CAPNP_LITE
c@106 2593
c@106 2594 inline ::int32_t getHandle() const;
c@106 2595
c@106 2596 inline bool hasFeatures() const;
c@106 2597 inline ::piper::FeatureSet::Reader getFeatures() const;
c@106 2598
c@106 2599 private:
c@106 2600 ::capnp::_::StructReader _reader;
c@106 2601 template <typename, ::capnp::Kind>
c@106 2602 friend struct ::capnp::ToDynamic_;
c@106 2603 template <typename, ::capnp::Kind>
c@106 2604 friend struct ::capnp::_::PointerHelpers;
c@106 2605 template <typename, ::capnp::Kind>
c@106 2606 friend struct ::capnp::List;
c@106 2607 friend class ::capnp::MessageBuilder;
c@106 2608 friend class ::capnp::Orphanage;
c@106 2609 };
c@106 2610
c@106 2611 class ProcessResponse::Builder {
c@106 2612 public:
c@106 2613 typedef ProcessResponse Builds;
c@106 2614
c@106 2615 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2616 // You can explicitly initialize to nullptr instead.
c@106 2617 inline Builder(decltype(nullptr)) {}
c@106 2618 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2619 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2620 inline Reader asReader() const { return *this; }
c@106 2621
c@106 2622 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2623 #if !CAPNP_LITE
c@106 2624 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2625 #endif // !CAPNP_LITE
c@106 2626
c@106 2627 inline ::int32_t getHandle();
c@106 2628 inline void setHandle( ::int32_t value);
c@106 2629
c@106 2630 inline bool hasFeatures();
c@106 2631 inline ::piper::FeatureSet::Builder getFeatures();
c@106 2632 inline void setFeatures( ::piper::FeatureSet::Reader value);
c@106 2633 inline ::piper::FeatureSet::Builder initFeatures();
c@106 2634 inline void adoptFeatures(::capnp::Orphan< ::piper::FeatureSet>&& value);
c@106 2635 inline ::capnp::Orphan< ::piper::FeatureSet> disownFeatures();
c@106 2636
c@106 2637 private:
c@106 2638 ::capnp::_::StructBuilder _builder;
c@106 2639 template <typename, ::capnp::Kind>
c@106 2640 friend struct ::capnp::ToDynamic_;
c@106 2641 friend class ::capnp::Orphanage;
c@106 2642 template <typename, ::capnp::Kind>
c@106 2643 friend struct ::capnp::_::PointerHelpers;
c@106 2644 };
c@106 2645
c@106 2646 #if !CAPNP_LITE
c@106 2647 class ProcessResponse::Pipeline {
c@106 2648 public:
c@106 2649 typedef ProcessResponse Pipelines;
c@106 2650
c@106 2651 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2652 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2653 : _typeless(kj::mv(typeless)) {}
c@106 2654
c@106 2655 inline ::piper::FeatureSet::Pipeline getFeatures();
c@106 2656 private:
c@106 2657 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2658 friend class ::capnp::PipelineHook;
c@106 2659 template <typename, ::capnp::Kind>
c@106 2660 friend struct ::capnp::ToDynamic_;
c@106 2661 };
c@106 2662 #endif // !CAPNP_LITE
c@106 2663
c@106 2664 class FinishRequest::Reader {
c@106 2665 public:
c@106 2666 typedef FinishRequest Reads;
c@106 2667
c@106 2668 Reader() = default;
c@106 2669 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2670
c@106 2671 inline ::capnp::MessageSize totalSize() const {
c@106 2672 return _reader.totalSize().asPublic();
c@106 2673 }
c@106 2674
c@106 2675 #if !CAPNP_LITE
c@106 2676 inline ::kj::StringTree toString() const {
c@106 2677 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2678 }
c@106 2679 #endif // !CAPNP_LITE
c@106 2680
c@106 2681 inline ::int32_t getHandle() const;
c@106 2682
c@106 2683 private:
c@106 2684 ::capnp::_::StructReader _reader;
c@106 2685 template <typename, ::capnp::Kind>
c@106 2686 friend struct ::capnp::ToDynamic_;
c@106 2687 template <typename, ::capnp::Kind>
c@106 2688 friend struct ::capnp::_::PointerHelpers;
c@106 2689 template <typename, ::capnp::Kind>
c@106 2690 friend struct ::capnp::List;
c@106 2691 friend class ::capnp::MessageBuilder;
c@106 2692 friend class ::capnp::Orphanage;
c@106 2693 };
c@106 2694
c@106 2695 class FinishRequest::Builder {
c@106 2696 public:
c@106 2697 typedef FinishRequest Builds;
c@106 2698
c@106 2699 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2700 // You can explicitly initialize to nullptr instead.
c@106 2701 inline Builder(decltype(nullptr)) {}
c@106 2702 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2703 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2704 inline Reader asReader() const { return *this; }
c@106 2705
c@106 2706 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2707 #if !CAPNP_LITE
c@106 2708 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2709 #endif // !CAPNP_LITE
c@106 2710
c@106 2711 inline ::int32_t getHandle();
c@106 2712 inline void setHandle( ::int32_t value);
c@106 2713
c@106 2714 private:
c@106 2715 ::capnp::_::StructBuilder _builder;
c@106 2716 template <typename, ::capnp::Kind>
c@106 2717 friend struct ::capnp::ToDynamic_;
c@106 2718 friend class ::capnp::Orphanage;
c@106 2719 template <typename, ::capnp::Kind>
c@106 2720 friend struct ::capnp::_::PointerHelpers;
c@106 2721 };
c@106 2722
c@106 2723 #if !CAPNP_LITE
c@106 2724 class FinishRequest::Pipeline {
c@106 2725 public:
c@106 2726 typedef FinishRequest Pipelines;
c@106 2727
c@106 2728 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2729 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2730 : _typeless(kj::mv(typeless)) {}
c@106 2731
c@106 2732 private:
c@106 2733 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2734 friend class ::capnp::PipelineHook;
c@106 2735 template <typename, ::capnp::Kind>
c@106 2736 friend struct ::capnp::ToDynamic_;
c@106 2737 };
c@106 2738 #endif // !CAPNP_LITE
c@106 2739
c@106 2740 class FinishResponse::Reader {
c@106 2741 public:
c@106 2742 typedef FinishResponse Reads;
c@106 2743
c@106 2744 Reader() = default;
c@106 2745 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2746
c@106 2747 inline ::capnp::MessageSize totalSize() const {
c@106 2748 return _reader.totalSize().asPublic();
c@106 2749 }
c@106 2750
c@106 2751 #if !CAPNP_LITE
c@106 2752 inline ::kj::StringTree toString() const {
c@106 2753 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2754 }
c@106 2755 #endif // !CAPNP_LITE
c@106 2756
c@106 2757 inline ::int32_t getHandle() const;
c@106 2758
c@106 2759 inline bool hasFeatures() const;
c@106 2760 inline ::piper::FeatureSet::Reader getFeatures() const;
c@106 2761
c@106 2762 private:
c@106 2763 ::capnp::_::StructReader _reader;
c@106 2764 template <typename, ::capnp::Kind>
c@106 2765 friend struct ::capnp::ToDynamic_;
c@106 2766 template <typename, ::capnp::Kind>
c@106 2767 friend struct ::capnp::_::PointerHelpers;
c@106 2768 template <typename, ::capnp::Kind>
c@106 2769 friend struct ::capnp::List;
c@106 2770 friend class ::capnp::MessageBuilder;
c@106 2771 friend class ::capnp::Orphanage;
c@106 2772 };
c@106 2773
c@106 2774 class FinishResponse::Builder {
c@106 2775 public:
c@106 2776 typedef FinishResponse Builds;
c@106 2777
c@106 2778 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2779 // You can explicitly initialize to nullptr instead.
c@106 2780 inline Builder(decltype(nullptr)) {}
c@106 2781 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2782 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2783 inline Reader asReader() const { return *this; }
c@106 2784
c@106 2785 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2786 #if !CAPNP_LITE
c@106 2787 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2788 #endif // !CAPNP_LITE
c@106 2789
c@106 2790 inline ::int32_t getHandle();
c@106 2791 inline void setHandle( ::int32_t value);
c@106 2792
c@106 2793 inline bool hasFeatures();
c@106 2794 inline ::piper::FeatureSet::Builder getFeatures();
c@106 2795 inline void setFeatures( ::piper::FeatureSet::Reader value);
c@106 2796 inline ::piper::FeatureSet::Builder initFeatures();
c@106 2797 inline void adoptFeatures(::capnp::Orphan< ::piper::FeatureSet>&& value);
c@106 2798 inline ::capnp::Orphan< ::piper::FeatureSet> disownFeatures();
c@106 2799
c@106 2800 private:
c@106 2801 ::capnp::_::StructBuilder _builder;
c@106 2802 template <typename, ::capnp::Kind>
c@106 2803 friend struct ::capnp::ToDynamic_;
c@106 2804 friend class ::capnp::Orphanage;
c@106 2805 template <typename, ::capnp::Kind>
c@106 2806 friend struct ::capnp::_::PointerHelpers;
c@106 2807 };
c@106 2808
c@106 2809 #if !CAPNP_LITE
c@106 2810 class FinishResponse::Pipeline {
c@106 2811 public:
c@106 2812 typedef FinishResponse Pipelines;
c@106 2813
c@106 2814 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2815 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2816 : _typeless(kj::mv(typeless)) {}
c@106 2817
c@106 2818 inline ::piper::FeatureSet::Pipeline getFeatures();
c@106 2819 private:
c@106 2820 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2821 friend class ::capnp::PipelineHook;
c@106 2822 template <typename, ::capnp::Kind>
c@106 2823 friend struct ::capnp::ToDynamic_;
c@106 2824 };
c@106 2825 #endif // !CAPNP_LITE
c@106 2826
c@106 2827 class Error::Reader {
c@106 2828 public:
c@106 2829 typedef Error Reads;
c@106 2830
c@106 2831 Reader() = default;
c@106 2832 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2833
c@106 2834 inline ::capnp::MessageSize totalSize() const {
c@106 2835 return _reader.totalSize().asPublic();
c@106 2836 }
c@106 2837
c@106 2838 #if !CAPNP_LITE
c@106 2839 inline ::kj::StringTree toString() const {
c@106 2840 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2841 }
c@106 2842 #endif // !CAPNP_LITE
c@106 2843
c@106 2844 inline ::int32_t getCode() const;
c@106 2845
c@106 2846 inline bool hasMessage() const;
c@106 2847 inline ::capnp::Text::Reader getMessage() const;
c@106 2848
c@106 2849 private:
c@106 2850 ::capnp::_::StructReader _reader;
c@106 2851 template <typename, ::capnp::Kind>
c@106 2852 friend struct ::capnp::ToDynamic_;
c@106 2853 template <typename, ::capnp::Kind>
c@106 2854 friend struct ::capnp::_::PointerHelpers;
c@106 2855 template <typename, ::capnp::Kind>
c@106 2856 friend struct ::capnp::List;
c@106 2857 friend class ::capnp::MessageBuilder;
c@106 2858 friend class ::capnp::Orphanage;
c@106 2859 };
c@106 2860
c@106 2861 class Error::Builder {
c@106 2862 public:
c@106 2863 typedef Error Builds;
c@106 2864
c@106 2865 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2866 // You can explicitly initialize to nullptr instead.
c@106 2867 inline Builder(decltype(nullptr)) {}
c@106 2868 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2869 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2870 inline Reader asReader() const { return *this; }
c@106 2871
c@106 2872 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2873 #if !CAPNP_LITE
c@106 2874 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2875 #endif // !CAPNP_LITE
c@106 2876
c@106 2877 inline ::int32_t getCode();
c@106 2878 inline void setCode( ::int32_t value);
c@106 2879
c@106 2880 inline bool hasMessage();
c@106 2881 inline ::capnp::Text::Builder getMessage();
c@106 2882 inline void setMessage( ::capnp::Text::Reader value);
c@106 2883 inline ::capnp::Text::Builder initMessage(unsigned int size);
c@106 2884 inline void adoptMessage(::capnp::Orphan< ::capnp::Text>&& value);
c@106 2885 inline ::capnp::Orphan< ::capnp::Text> disownMessage();
c@106 2886
c@106 2887 private:
c@106 2888 ::capnp::_::StructBuilder _builder;
c@106 2889 template <typename, ::capnp::Kind>
c@106 2890 friend struct ::capnp::ToDynamic_;
c@106 2891 friend class ::capnp::Orphanage;
c@106 2892 template <typename, ::capnp::Kind>
c@106 2893 friend struct ::capnp::_::PointerHelpers;
c@106 2894 };
c@106 2895
c@106 2896 #if !CAPNP_LITE
c@106 2897 class Error::Pipeline {
c@106 2898 public:
c@106 2899 typedef Error Pipelines;
c@106 2900
c@106 2901 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2902 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2903 : _typeless(kj::mv(typeless)) {}
c@106 2904
c@106 2905 private:
c@106 2906 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2907 friend class ::capnp::PipelineHook;
c@106 2908 template <typename, ::capnp::Kind>
c@106 2909 friend struct ::capnp::ToDynamic_;
c@106 2910 };
c@106 2911 #endif // !CAPNP_LITE
c@106 2912
c@106 2913 class RpcRequest::Reader {
c@106 2914 public:
c@106 2915 typedef RpcRequest Reads;
c@106 2916
c@106 2917 Reader() = default;
c@106 2918 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2919
c@106 2920 inline ::capnp::MessageSize totalSize() const {
c@106 2921 return _reader.totalSize().asPublic();
c@106 2922 }
c@106 2923
c@106 2924 #if !CAPNP_LITE
c@106 2925 inline ::kj::StringTree toString() const {
c@106 2926 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 2927 }
c@106 2928 #endif // !CAPNP_LITE
c@106 2929
c@106 2930 inline Id::Reader getId() const;
c@106 2931
c@106 2932 inline Request::Reader getRequest() const;
c@106 2933
c@106 2934 private:
c@106 2935 ::capnp::_::StructReader _reader;
c@106 2936 template <typename, ::capnp::Kind>
c@106 2937 friend struct ::capnp::ToDynamic_;
c@106 2938 template <typename, ::capnp::Kind>
c@106 2939 friend struct ::capnp::_::PointerHelpers;
c@106 2940 template <typename, ::capnp::Kind>
c@106 2941 friend struct ::capnp::List;
c@106 2942 friend class ::capnp::MessageBuilder;
c@106 2943 friend class ::capnp::Orphanage;
c@106 2944 };
c@106 2945
c@106 2946 class RpcRequest::Builder {
c@106 2947 public:
c@106 2948 typedef RpcRequest Builds;
c@106 2949
c@106 2950 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2951 // You can explicitly initialize to nullptr instead.
c@106 2952 inline Builder(decltype(nullptr)) {}
c@106 2953 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2954 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2955 inline Reader asReader() const { return *this; }
c@106 2956
c@106 2957 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2958 #if !CAPNP_LITE
c@106 2959 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2960 #endif // !CAPNP_LITE
c@106 2961
c@106 2962 inline Id::Builder getId();
c@106 2963 inline Id::Builder initId();
c@106 2964
c@106 2965 inline Request::Builder getRequest();
c@106 2966 inline Request::Builder initRequest();
c@106 2967
c@106 2968 private:
c@106 2969 ::capnp::_::StructBuilder _builder;
c@106 2970 template <typename, ::capnp::Kind>
c@106 2971 friend struct ::capnp::ToDynamic_;
c@106 2972 friend class ::capnp::Orphanage;
c@106 2973 template <typename, ::capnp::Kind>
c@106 2974 friend struct ::capnp::_::PointerHelpers;
c@106 2975 };
c@106 2976
c@106 2977 #if !CAPNP_LITE
c@106 2978 class RpcRequest::Pipeline {
c@106 2979 public:
c@106 2980 typedef RpcRequest Pipelines;
c@106 2981
c@106 2982 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2983 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2984 : _typeless(kj::mv(typeless)) {}
c@106 2985
c@106 2986 inline Id::Pipeline getId();
c@106 2987 inline Request::Pipeline getRequest();
c@106 2988 private:
c@106 2989 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2990 friend class ::capnp::PipelineHook;
c@106 2991 template <typename, ::capnp::Kind>
c@106 2992 friend struct ::capnp::ToDynamic_;
c@106 2993 };
c@106 2994 #endif // !CAPNP_LITE
c@106 2995
c@106 2996 class RpcRequest::Id::Reader {
c@106 2997 public:
c@106 2998 typedef Id Reads;
c@106 2999
c@106 3000 Reader() = default;
c@106 3001 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3002
c@106 3003 inline ::capnp::MessageSize totalSize() const {
c@106 3004 return _reader.totalSize().asPublic();
c@106 3005 }
c@106 3006
c@106 3007 #if !CAPNP_LITE
c@106 3008 inline ::kj::StringTree toString() const {
c@106 3009 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 3010 }
c@106 3011 #endif // !CAPNP_LITE
c@106 3012
c@106 3013 inline Which which() const;
c@106 3014 inline bool isNumber() const;
c@106 3015 inline ::int32_t getNumber() const;
c@106 3016
c@106 3017 inline bool isTag() const;
c@106 3018 inline bool hasTag() const;
c@106 3019 inline ::capnp::Text::Reader getTag() const;
c@106 3020
c@106 3021 inline bool isNone() const;
c@106 3022 inline ::capnp::Void getNone() const;
c@106 3023
c@106 3024 private:
c@106 3025 ::capnp::_::StructReader _reader;
c@106 3026 template <typename, ::capnp::Kind>
c@106 3027 friend struct ::capnp::ToDynamic_;
c@106 3028 template <typename, ::capnp::Kind>
c@106 3029 friend struct ::capnp::_::PointerHelpers;
c@106 3030 template <typename, ::capnp::Kind>
c@106 3031 friend struct ::capnp::List;
c@106 3032 friend class ::capnp::MessageBuilder;
c@106 3033 friend class ::capnp::Orphanage;
c@106 3034 };
c@106 3035
c@106 3036 class RpcRequest::Id::Builder {
c@106 3037 public:
c@106 3038 typedef Id Builds;
c@106 3039
c@106 3040 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3041 // You can explicitly initialize to nullptr instead.
c@106 3042 inline Builder(decltype(nullptr)) {}
c@106 3043 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3044 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3045 inline Reader asReader() const { return *this; }
c@106 3046
c@106 3047 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3048 #if !CAPNP_LITE
c@106 3049 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3050 #endif // !CAPNP_LITE
c@106 3051
c@106 3052 inline Which which();
c@106 3053 inline bool isNumber();
c@106 3054 inline ::int32_t getNumber();
c@106 3055 inline void setNumber( ::int32_t value);
c@106 3056
c@106 3057 inline bool isTag();
c@106 3058 inline bool hasTag();
c@106 3059 inline ::capnp::Text::Builder getTag();
c@106 3060 inline void setTag( ::capnp::Text::Reader value);
c@106 3061 inline ::capnp::Text::Builder initTag(unsigned int size);
c@106 3062 inline void adoptTag(::capnp::Orphan< ::capnp::Text>&& value);
c@106 3063 inline ::capnp::Orphan< ::capnp::Text> disownTag();
c@106 3064
c@106 3065 inline bool isNone();
c@106 3066 inline ::capnp::Void getNone();
c@106 3067 inline void setNone( ::capnp::Void value = ::capnp::VOID);
c@106 3068
c@106 3069 private:
c@106 3070 ::capnp::_::StructBuilder _builder;
c@106 3071 template <typename, ::capnp::Kind>
c@106 3072 friend struct ::capnp::ToDynamic_;
c@106 3073 friend class ::capnp::Orphanage;
c@106 3074 template <typename, ::capnp::Kind>
c@106 3075 friend struct ::capnp::_::PointerHelpers;
c@106 3076 };
c@106 3077
c@106 3078 #if !CAPNP_LITE
c@106 3079 class RpcRequest::Id::Pipeline {
c@106 3080 public:
c@106 3081 typedef Id Pipelines;
c@106 3082
c@106 3083 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3084 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3085 : _typeless(kj::mv(typeless)) {}
c@106 3086
c@106 3087 private:
c@106 3088 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3089 friend class ::capnp::PipelineHook;
c@106 3090 template <typename, ::capnp::Kind>
c@106 3091 friend struct ::capnp::ToDynamic_;
c@106 3092 };
c@106 3093 #endif // !CAPNP_LITE
c@106 3094
c@106 3095 class RpcRequest::Request::Reader {
c@106 3096 public:
c@106 3097 typedef Request Reads;
c@106 3098
c@106 3099 Reader() = default;
c@106 3100 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3101
c@106 3102 inline ::capnp::MessageSize totalSize() const {
c@106 3103 return _reader.totalSize().asPublic();
c@106 3104 }
c@106 3105
c@106 3106 #if !CAPNP_LITE
c@106 3107 inline ::kj::StringTree toString() const {
c@106 3108 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 3109 }
c@106 3110 #endif // !CAPNP_LITE
c@106 3111
c@106 3112 inline Which which() const;
c@106 3113 inline bool isList() const;
c@106 3114 inline bool hasList() const;
c@106 3115 inline ::piper::ListRequest::Reader getList() const;
c@106 3116
c@106 3117 inline bool isLoad() const;
c@106 3118 inline bool hasLoad() const;
c@106 3119 inline ::piper::LoadRequest::Reader getLoad() const;
c@106 3120
c@106 3121 inline bool isConfigure() const;
c@106 3122 inline bool hasConfigure() const;
c@106 3123 inline ::piper::ConfigurationRequest::Reader getConfigure() const;
c@106 3124
c@106 3125 inline bool isProcess() const;
c@106 3126 inline bool hasProcess() const;
c@106 3127 inline ::piper::ProcessRequest::Reader getProcess() const;
c@106 3128
c@106 3129 inline bool isFinish() const;
c@106 3130 inline bool hasFinish() const;
c@106 3131 inline ::piper::FinishRequest::Reader getFinish() const;
c@106 3132
c@106 3133 private:
c@106 3134 ::capnp::_::StructReader _reader;
c@106 3135 template <typename, ::capnp::Kind>
c@106 3136 friend struct ::capnp::ToDynamic_;
c@106 3137 template <typename, ::capnp::Kind>
c@106 3138 friend struct ::capnp::_::PointerHelpers;
c@106 3139 template <typename, ::capnp::Kind>
c@106 3140 friend struct ::capnp::List;
c@106 3141 friend class ::capnp::MessageBuilder;
c@106 3142 friend class ::capnp::Orphanage;
c@106 3143 };
c@106 3144
c@106 3145 class RpcRequest::Request::Builder {
c@106 3146 public:
c@106 3147 typedef Request Builds;
c@106 3148
c@106 3149 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3150 // You can explicitly initialize to nullptr instead.
c@106 3151 inline Builder(decltype(nullptr)) {}
c@106 3152 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3153 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3154 inline Reader asReader() const { return *this; }
c@106 3155
c@106 3156 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3157 #if !CAPNP_LITE
c@106 3158 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3159 #endif // !CAPNP_LITE
c@106 3160
c@106 3161 inline Which which();
c@106 3162 inline bool isList();
c@106 3163 inline bool hasList();
c@106 3164 inline ::piper::ListRequest::Builder getList();
c@106 3165 inline void setList( ::piper::ListRequest::Reader value);
c@106 3166 inline ::piper::ListRequest::Builder initList();
c@106 3167 inline void adoptList(::capnp::Orphan< ::piper::ListRequest>&& value);
c@106 3168 inline ::capnp::Orphan< ::piper::ListRequest> disownList();
c@106 3169
c@106 3170 inline bool isLoad();
c@106 3171 inline bool hasLoad();
c@106 3172 inline ::piper::LoadRequest::Builder getLoad();
c@106 3173 inline void setLoad( ::piper::LoadRequest::Reader value);
c@106 3174 inline ::piper::LoadRequest::Builder initLoad();
c@106 3175 inline void adoptLoad(::capnp::Orphan< ::piper::LoadRequest>&& value);
c@106 3176 inline ::capnp::Orphan< ::piper::LoadRequest> disownLoad();
c@106 3177
c@106 3178 inline bool isConfigure();
c@106 3179 inline bool hasConfigure();
c@106 3180 inline ::piper::ConfigurationRequest::Builder getConfigure();
c@106 3181 inline void setConfigure( ::piper::ConfigurationRequest::Reader value);
c@106 3182 inline ::piper::ConfigurationRequest::Builder initConfigure();
c@106 3183 inline void adoptConfigure(::capnp::Orphan< ::piper::ConfigurationRequest>&& value);
c@106 3184 inline ::capnp::Orphan< ::piper::ConfigurationRequest> disownConfigure();
c@106 3185
c@106 3186 inline bool isProcess();
c@106 3187 inline bool hasProcess();
c@106 3188 inline ::piper::ProcessRequest::Builder getProcess();
c@106 3189 inline void setProcess( ::piper::ProcessRequest::Reader value);
c@106 3190 inline ::piper::ProcessRequest::Builder initProcess();
c@106 3191 inline void adoptProcess(::capnp::Orphan< ::piper::ProcessRequest>&& value);
c@106 3192 inline ::capnp::Orphan< ::piper::ProcessRequest> disownProcess();
c@106 3193
c@106 3194 inline bool isFinish();
c@106 3195 inline bool hasFinish();
c@106 3196 inline ::piper::FinishRequest::Builder getFinish();
c@106 3197 inline void setFinish( ::piper::FinishRequest::Reader value);
c@106 3198 inline ::piper::FinishRequest::Builder initFinish();
c@106 3199 inline void adoptFinish(::capnp::Orphan< ::piper::FinishRequest>&& value);
c@106 3200 inline ::capnp::Orphan< ::piper::FinishRequest> disownFinish();
c@106 3201
c@106 3202 private:
c@106 3203 ::capnp::_::StructBuilder _builder;
c@106 3204 template <typename, ::capnp::Kind>
c@106 3205 friend struct ::capnp::ToDynamic_;
c@106 3206 friend class ::capnp::Orphanage;
c@106 3207 template <typename, ::capnp::Kind>
c@106 3208 friend struct ::capnp::_::PointerHelpers;
c@106 3209 };
c@106 3210
c@106 3211 #if !CAPNP_LITE
c@106 3212 class RpcRequest::Request::Pipeline {
c@106 3213 public:
c@106 3214 typedef Request Pipelines;
c@106 3215
c@106 3216 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3217 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3218 : _typeless(kj::mv(typeless)) {}
c@106 3219
c@106 3220 private:
c@106 3221 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3222 friend class ::capnp::PipelineHook;
c@106 3223 template <typename, ::capnp::Kind>
c@106 3224 friend struct ::capnp::ToDynamic_;
c@106 3225 };
c@106 3226 #endif // !CAPNP_LITE
c@106 3227
c@106 3228 class RpcResponse::Reader {
c@106 3229 public:
c@106 3230 typedef RpcResponse Reads;
c@106 3231
c@106 3232 Reader() = default;
c@106 3233 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3234
c@106 3235 inline ::capnp::MessageSize totalSize() const {
c@106 3236 return _reader.totalSize().asPublic();
c@106 3237 }
c@106 3238
c@106 3239 #if !CAPNP_LITE
c@106 3240 inline ::kj::StringTree toString() const {
c@106 3241 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 3242 }
c@106 3243 #endif // !CAPNP_LITE
c@106 3244
c@106 3245 inline Id::Reader getId() const;
c@106 3246
c@106 3247 inline Response::Reader getResponse() const;
c@106 3248
c@106 3249 private:
c@106 3250 ::capnp::_::StructReader _reader;
c@106 3251 template <typename, ::capnp::Kind>
c@106 3252 friend struct ::capnp::ToDynamic_;
c@106 3253 template <typename, ::capnp::Kind>
c@106 3254 friend struct ::capnp::_::PointerHelpers;
c@106 3255 template <typename, ::capnp::Kind>
c@106 3256 friend struct ::capnp::List;
c@106 3257 friend class ::capnp::MessageBuilder;
c@106 3258 friend class ::capnp::Orphanage;
c@106 3259 };
c@106 3260
c@106 3261 class RpcResponse::Builder {
c@106 3262 public:
c@106 3263 typedef RpcResponse Builds;
c@106 3264
c@106 3265 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3266 // You can explicitly initialize to nullptr instead.
c@106 3267 inline Builder(decltype(nullptr)) {}
c@106 3268 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3269 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3270 inline Reader asReader() const { return *this; }
c@106 3271
c@106 3272 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3273 #if !CAPNP_LITE
c@106 3274 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3275 #endif // !CAPNP_LITE
c@106 3276
c@106 3277 inline Id::Builder getId();
c@106 3278 inline Id::Builder initId();
c@106 3279
c@106 3280 inline Response::Builder getResponse();
c@106 3281 inline Response::Builder initResponse();
c@106 3282
c@106 3283 private:
c@106 3284 ::capnp::_::StructBuilder _builder;
c@106 3285 template <typename, ::capnp::Kind>
c@106 3286 friend struct ::capnp::ToDynamic_;
c@106 3287 friend class ::capnp::Orphanage;
c@106 3288 template <typename, ::capnp::Kind>
c@106 3289 friend struct ::capnp::_::PointerHelpers;
c@106 3290 };
c@106 3291
c@106 3292 #if !CAPNP_LITE
c@106 3293 class RpcResponse::Pipeline {
c@106 3294 public:
c@106 3295 typedef RpcResponse Pipelines;
c@106 3296
c@106 3297 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3298 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3299 : _typeless(kj::mv(typeless)) {}
c@106 3300
c@106 3301 inline Id::Pipeline getId();
c@106 3302 inline Response::Pipeline getResponse();
c@106 3303 private:
c@106 3304 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3305 friend class ::capnp::PipelineHook;
c@106 3306 template <typename, ::capnp::Kind>
c@106 3307 friend struct ::capnp::ToDynamic_;
c@106 3308 };
c@106 3309 #endif // !CAPNP_LITE
c@106 3310
c@106 3311 class RpcResponse::Id::Reader {
c@106 3312 public:
c@106 3313 typedef Id Reads;
c@106 3314
c@106 3315 Reader() = default;
c@106 3316 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3317
c@106 3318 inline ::capnp::MessageSize totalSize() const {
c@106 3319 return _reader.totalSize().asPublic();
c@106 3320 }
c@106 3321
c@106 3322 #if !CAPNP_LITE
c@106 3323 inline ::kj::StringTree toString() const {
c@106 3324 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 3325 }
c@106 3326 #endif // !CAPNP_LITE
c@106 3327
c@106 3328 inline Which which() const;
c@106 3329 inline bool isNumber() const;
c@106 3330 inline ::int32_t getNumber() const;
c@106 3331
c@106 3332 inline bool isTag() const;
c@106 3333 inline bool hasTag() const;
c@106 3334 inline ::capnp::Text::Reader getTag() const;
c@106 3335
c@106 3336 inline bool isNone() const;
c@106 3337 inline ::capnp::Void getNone() const;
c@106 3338
c@106 3339 private:
c@106 3340 ::capnp::_::StructReader _reader;
c@106 3341 template <typename, ::capnp::Kind>
c@106 3342 friend struct ::capnp::ToDynamic_;
c@106 3343 template <typename, ::capnp::Kind>
c@106 3344 friend struct ::capnp::_::PointerHelpers;
c@106 3345 template <typename, ::capnp::Kind>
c@106 3346 friend struct ::capnp::List;
c@106 3347 friend class ::capnp::MessageBuilder;
c@106 3348 friend class ::capnp::Orphanage;
c@106 3349 };
c@106 3350
c@106 3351 class RpcResponse::Id::Builder {
c@106 3352 public:
c@106 3353 typedef Id Builds;
c@106 3354
c@106 3355 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3356 // You can explicitly initialize to nullptr instead.
c@106 3357 inline Builder(decltype(nullptr)) {}
c@106 3358 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3359 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3360 inline Reader asReader() const { return *this; }
c@106 3361
c@106 3362 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3363 #if !CAPNP_LITE
c@106 3364 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3365 #endif // !CAPNP_LITE
c@106 3366
c@106 3367 inline Which which();
c@106 3368 inline bool isNumber();
c@106 3369 inline ::int32_t getNumber();
c@106 3370 inline void setNumber( ::int32_t value);
c@106 3371
c@106 3372 inline bool isTag();
c@106 3373 inline bool hasTag();
c@106 3374 inline ::capnp::Text::Builder getTag();
c@106 3375 inline void setTag( ::capnp::Text::Reader value);
c@106 3376 inline ::capnp::Text::Builder initTag(unsigned int size);
c@106 3377 inline void adoptTag(::capnp::Orphan< ::capnp::Text>&& value);
c@106 3378 inline ::capnp::Orphan< ::capnp::Text> disownTag();
c@106 3379
c@106 3380 inline bool isNone();
c@106 3381 inline ::capnp::Void getNone();
c@106 3382 inline void setNone( ::capnp::Void value = ::capnp::VOID);
c@106 3383
c@106 3384 private:
c@106 3385 ::capnp::_::StructBuilder _builder;
c@106 3386 template <typename, ::capnp::Kind>
c@106 3387 friend struct ::capnp::ToDynamic_;
c@106 3388 friend class ::capnp::Orphanage;
c@106 3389 template <typename, ::capnp::Kind>
c@106 3390 friend struct ::capnp::_::PointerHelpers;
c@106 3391 };
c@106 3392
c@106 3393 #if !CAPNP_LITE
c@106 3394 class RpcResponse::Id::Pipeline {
c@106 3395 public:
c@106 3396 typedef Id Pipelines;
c@106 3397
c@106 3398 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3399 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3400 : _typeless(kj::mv(typeless)) {}
c@106 3401
c@106 3402 private:
c@106 3403 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3404 friend class ::capnp::PipelineHook;
c@106 3405 template <typename, ::capnp::Kind>
c@106 3406 friend struct ::capnp::ToDynamic_;
c@106 3407 };
c@106 3408 #endif // !CAPNP_LITE
c@106 3409
c@106 3410 class RpcResponse::Response::Reader {
c@106 3411 public:
c@106 3412 typedef Response Reads;
c@106 3413
c@106 3414 Reader() = default;
c@106 3415 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3416
c@106 3417 inline ::capnp::MessageSize totalSize() const {
c@106 3418 return _reader.totalSize().asPublic();
c@106 3419 }
c@106 3420
c@106 3421 #if !CAPNP_LITE
c@106 3422 inline ::kj::StringTree toString() const {
c@106 3423 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
c@106 3424 }
c@106 3425 #endif // !CAPNP_LITE
c@106 3426
c@106 3427 inline Which which() const;
c@106 3428 inline bool isError() const;
c@106 3429 inline bool hasError() const;
c@106 3430 inline ::piper::Error::Reader getError() const;
c@106 3431
c@106 3432 inline bool isList() const;
c@106 3433 inline bool hasList() const;
c@106 3434 inline ::piper::ListResponse::Reader getList() const;
c@106 3435
c@106 3436 inline bool isLoad() const;
c@106 3437 inline bool hasLoad() const;
c@106 3438 inline ::piper::LoadResponse::Reader getLoad() const;
c@106 3439
c@106 3440 inline bool isConfigure() const;
c@106 3441 inline bool hasConfigure() const;
c@106 3442 inline ::piper::ConfigurationResponse::Reader getConfigure() const;
c@106 3443
c@106 3444 inline bool isProcess() const;
c@106 3445 inline bool hasProcess() const;
c@106 3446 inline ::piper::ProcessResponse::Reader getProcess() const;
c@106 3447
c@106 3448 inline bool isFinish() const;
c@106 3449 inline bool hasFinish() const;
c@106 3450 inline ::piper::FinishResponse::Reader getFinish() const;
c@106 3451
c@106 3452 private:
c@106 3453 ::capnp::_::StructReader _reader;
c@106 3454 template <typename, ::capnp::Kind>
c@106 3455 friend struct ::capnp::ToDynamic_;
c@106 3456 template <typename, ::capnp::Kind>
c@106 3457 friend struct ::capnp::_::PointerHelpers;
c@106 3458 template <typename, ::capnp::Kind>
c@106 3459 friend struct ::capnp::List;
c@106 3460 friend class ::capnp::MessageBuilder;
c@106 3461 friend class ::capnp::Orphanage;
c@106 3462 };
c@106 3463
c@106 3464 class RpcResponse::Response::Builder {
c@106 3465 public:
c@106 3466 typedef Response Builds;
c@106 3467
c@106 3468 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3469 // You can explicitly initialize to nullptr instead.
c@106 3470 inline Builder(decltype(nullptr)) {}
c@106 3471 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3472 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3473 inline Reader asReader() const { return *this; }
c@106 3474
c@106 3475 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3476 #if !CAPNP_LITE
c@106 3477 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3478 #endif // !CAPNP_LITE
c@106 3479
c@106 3480 inline Which which();
c@106 3481 inline bool isError();
c@106 3482 inline bool hasError();
c@106 3483 inline ::piper::Error::Builder getError();
c@106 3484 inline void setError( ::piper::Error::Reader value);
c@106 3485 inline ::piper::Error::Builder initError();
c@106 3486 inline void adoptError(::capnp::Orphan< ::piper::Error>&& value);
c@106 3487 inline ::capnp::Orphan< ::piper::Error> disownError();
c@106 3488
c@106 3489 inline bool isList();
c@106 3490 inline bool hasList();
c@106 3491 inline ::piper::ListResponse::Builder getList();
c@106 3492 inline void setList( ::piper::ListResponse::Reader value);
c@106 3493 inline ::piper::ListResponse::Builder initList();
c@106 3494 inline void adoptList(::capnp::Orphan< ::piper::ListResponse>&& value);
c@106 3495 inline ::capnp::Orphan< ::piper::ListResponse> disownList();
c@106 3496
c@106 3497 inline bool isLoad();
c@106 3498 inline bool hasLoad();
c@106 3499 inline ::piper::LoadResponse::Builder getLoad();
c@106 3500 inline void setLoad( ::piper::LoadResponse::Reader value);
c@106 3501 inline ::piper::LoadResponse::Builder initLoad();
c@106 3502 inline void adoptLoad(::capnp::Orphan< ::piper::LoadResponse>&& value);
c@106 3503 inline ::capnp::Orphan< ::piper::LoadResponse> disownLoad();
c@106 3504
c@106 3505 inline bool isConfigure();
c@106 3506 inline bool hasConfigure();
c@106 3507 inline ::piper::ConfigurationResponse::Builder getConfigure();
c@106 3508 inline void setConfigure( ::piper::ConfigurationResponse::Reader value);
c@106 3509 inline ::piper::ConfigurationResponse::Builder initConfigure();
c@106 3510 inline void adoptConfigure(::capnp::Orphan< ::piper::ConfigurationResponse>&& value);
c@106 3511 inline ::capnp::Orphan< ::piper::ConfigurationResponse> disownConfigure();
c@106 3512
c@106 3513 inline bool isProcess();
c@106 3514 inline bool hasProcess();
c@106 3515 inline ::piper::ProcessResponse::Builder getProcess();
c@106 3516 inline void setProcess( ::piper::ProcessResponse::Reader value);
c@106 3517 inline ::piper::ProcessResponse::Builder initProcess();
c@106 3518 inline void adoptProcess(::capnp::Orphan< ::piper::ProcessResponse>&& value);
c@106 3519 inline ::capnp::Orphan< ::piper::ProcessResponse> disownProcess();
c@106 3520
c@106 3521 inline bool isFinish();
c@106 3522 inline bool hasFinish();
c@106 3523 inline ::piper::FinishResponse::Builder getFinish();
c@106 3524 inline void setFinish( ::piper::FinishResponse::Reader value);
c@106 3525 inline ::piper::FinishResponse::Builder initFinish();
c@106 3526 inline void adoptFinish(::capnp::Orphan< ::piper::FinishResponse>&& value);
c@106 3527 inline ::capnp::Orphan< ::piper::FinishResponse> disownFinish();
c@106 3528
c@106 3529 private:
c@106 3530 ::capnp::_::StructBuilder _builder;
c@106 3531 template <typename, ::capnp::Kind>
c@106 3532 friend struct ::capnp::ToDynamic_;
c@106 3533 friend class ::capnp::Orphanage;
c@106 3534 template <typename, ::capnp::Kind>
c@106 3535 friend struct ::capnp::_::PointerHelpers;
c@106 3536 };
c@106 3537
c@106 3538 #if !CAPNP_LITE
c@106 3539 class RpcResponse::Response::Pipeline {
c@106 3540 public:
c@106 3541 typedef Response Pipelines;
c@106 3542
c@106 3543 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3544 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3545 : _typeless(kj::mv(typeless)) {}
c@106 3546
c@106 3547 private:
c@106 3548 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3549 friend class ::capnp::PipelineHook;
c@106 3550 template <typename, ::capnp::Kind>
c@106 3551 friend struct ::capnp::ToDynamic_;
c@106 3552 };
c@106 3553 #endif // !CAPNP_LITE
c@106 3554
c@106 3555 // =======================================================================================
c@106 3556
c@106 3557 inline bool Basic::Reader::hasIdentifier() const {
c@106 3558 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 3559 }
c@106 3560 inline bool Basic::Builder::hasIdentifier() {
c@106 3561 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 3562 }
c@106 3563 inline ::capnp::Text::Reader Basic::Reader::getIdentifier() const {
c@106 3564 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3565 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 3566 }
c@106 3567 inline ::capnp::Text::Builder Basic::Builder::getIdentifier() {
c@106 3568 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3569 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 3570 }
c@106 3571 inline void Basic::Builder::setIdentifier( ::capnp::Text::Reader value) {
c@106 3572 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 3573 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 3574 }
c@106 3575 inline ::capnp::Text::Builder Basic::Builder::initIdentifier(unsigned int size) {
c@106 3576 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 3577 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 3578 }
c@106 3579 inline void Basic::Builder::adoptIdentifier(
c@106 3580 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 3581 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 3582 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 3583 }
c@106 3584 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownIdentifier() {
c@106 3585 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 3586 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 3587 }
c@106 3588
c@106 3589 inline bool Basic::Reader::hasName() const {
c@106 3590 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 3591 }
c@106 3592 inline bool Basic::Builder::hasName() {
c@106 3593 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 3594 }
c@106 3595 inline ::capnp::Text::Reader Basic::Reader::getName() const {
c@106 3596 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3597 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 3598 }
c@106 3599 inline ::capnp::Text::Builder Basic::Builder::getName() {
c@106 3600 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3601 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 3602 }
c@106 3603 inline void Basic::Builder::setName( ::capnp::Text::Reader value) {
c@106 3604 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 3605 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 3606 }
c@106 3607 inline ::capnp::Text::Builder Basic::Builder::initName(unsigned int size) {
c@106 3608 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 3609 _builder.getPointerField(1 * ::capnp::POINTERS), size);
c@106 3610 }
c@106 3611 inline void Basic::Builder::adoptName(
c@106 3612 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 3613 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 3614 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 3615 }
c@106 3616 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownName() {
c@106 3617 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 3618 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 3619 }
c@106 3620
c@106 3621 inline bool Basic::Reader::hasDescription() const {
c@106 3622 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
c@106 3623 }
c@106 3624 inline bool Basic::Builder::hasDescription() {
c@106 3625 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
c@106 3626 }
c@106 3627 inline ::capnp::Text::Reader Basic::Reader::getDescription() const {
c@106 3628 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3629 _reader.getPointerField(2 * ::capnp::POINTERS));
c@106 3630 }
c@106 3631 inline ::capnp::Text::Builder Basic::Builder::getDescription() {
c@106 3632 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3633 _builder.getPointerField(2 * ::capnp::POINTERS));
c@106 3634 }
c@106 3635 inline void Basic::Builder::setDescription( ::capnp::Text::Reader value) {
c@106 3636 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 3637 _builder.getPointerField(2 * ::capnp::POINTERS), value);
c@106 3638 }
c@106 3639 inline ::capnp::Text::Builder Basic::Builder::initDescription(unsigned int size) {
c@106 3640 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 3641 _builder.getPointerField(2 * ::capnp::POINTERS), size);
c@106 3642 }
c@106 3643 inline void Basic::Builder::adoptDescription(
c@106 3644 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 3645 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 3646 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
c@106 3647 }
c@106 3648 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownDescription() {
c@106 3649 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 3650 _builder.getPointerField(2 * ::capnp::POINTERS));
c@106 3651 }
c@106 3652
c@106 3653 inline bool ParameterDescriptor::Reader::hasBasic() const {
c@106 3654 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 3655 }
c@106 3656 inline bool ParameterDescriptor::Builder::hasBasic() {
c@106 3657 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 3658 }
c@106 3659 inline ::piper::Basic::Reader ParameterDescriptor::Reader::getBasic() const {
c@106 3660 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
c@106 3661 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 3662 }
c@106 3663 inline ::piper::Basic::Builder ParameterDescriptor::Builder::getBasic() {
c@106 3664 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
c@106 3665 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 3666 }
c@106 3667 #if !CAPNP_LITE
c@106 3668 inline ::piper::Basic::Pipeline ParameterDescriptor::Pipeline::getBasic() {
c@106 3669 return ::piper::Basic::Pipeline(_typeless.getPointerField(0));
c@106 3670 }
c@106 3671 #endif // !CAPNP_LITE
c@106 3672 inline void ParameterDescriptor::Builder::setBasic( ::piper::Basic::Reader value) {
c@106 3673 ::capnp::_::PointerHelpers< ::piper::Basic>::set(
c@106 3674 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 3675 }
c@106 3676 inline ::piper::Basic::Builder ParameterDescriptor::Builder::initBasic() {
c@106 3677 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(
c@106 3678 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 3679 }
c@106 3680 inline void ParameterDescriptor::Builder::adoptBasic(
c@106 3681 ::capnp::Orphan< ::piper::Basic>&& value) {
c@106 3682 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(
c@106 3683 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 3684 }
c@106 3685 inline ::capnp::Orphan< ::piper::Basic> ParameterDescriptor::Builder::disownBasic() {
c@106 3686 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(
c@106 3687 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 3688 }
c@106 3689
c@106 3690 inline bool ParameterDescriptor::Reader::hasUnit() const {
c@106 3691 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 3692 }
c@106 3693 inline bool ParameterDescriptor::Builder::hasUnit() {
c@106 3694 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 3695 }
c@106 3696 inline ::capnp::Text::Reader ParameterDescriptor::Reader::getUnit() const {
c@106 3697 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3698 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 3699 }
c@106 3700 inline ::capnp::Text::Builder ParameterDescriptor::Builder::getUnit() {
c@106 3701 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3702 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 3703 }
c@106 3704 inline void ParameterDescriptor::Builder::setUnit( ::capnp::Text::Reader value) {
c@106 3705 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 3706 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 3707 }
c@106 3708 inline ::capnp::Text::Builder ParameterDescriptor::Builder::initUnit(unsigned int size) {
c@106 3709 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 3710 _builder.getPointerField(1 * ::capnp::POINTERS), size);
c@106 3711 }
c@106 3712 inline void ParameterDescriptor::Builder::adoptUnit(
c@106 3713 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 3714 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 3715 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 3716 }
c@106 3717 inline ::capnp::Orphan< ::capnp::Text> ParameterDescriptor::Builder::disownUnit() {
c@106 3718 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 3719 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 3720 }
c@106 3721
c@106 3722 inline float ParameterDescriptor::Reader::getMinValue() const {
c@106 3723 return _reader.getDataField<float>(
c@106 3724 0 * ::capnp::ELEMENTS);
c@106 3725 }
c@106 3726
c@106 3727 inline float ParameterDescriptor::Builder::getMinValue() {
c@106 3728 return _builder.getDataField<float>(
c@106 3729 0 * ::capnp::ELEMENTS);
c@106 3730 }
c@106 3731 inline void ParameterDescriptor::Builder::setMinValue(float value) {
c@106 3732 _builder.setDataField<float>(
c@106 3733 0 * ::capnp::ELEMENTS, value);
c@106 3734 }
c@106 3735
c@106 3736 inline float ParameterDescriptor::Reader::getMaxValue() const {
c@106 3737 return _reader.getDataField<float>(
c@106 3738 1 * ::capnp::ELEMENTS);
c@106 3739 }
c@106 3740
c@106 3741 inline float ParameterDescriptor::Builder::getMaxValue() {
c@106 3742 return _builder.getDataField<float>(
c@106 3743 1 * ::capnp::ELEMENTS);
c@106 3744 }
c@106 3745 inline void ParameterDescriptor::Builder::setMaxValue(float value) {
c@106 3746 _builder.setDataField<float>(
c@106 3747 1 * ::capnp::ELEMENTS, value);
c@106 3748 }
c@106 3749
c@106 3750 inline float ParameterDescriptor::Reader::getDefaultValue() const {
c@106 3751 return _reader.getDataField<float>(
c@106 3752 2 * ::capnp::ELEMENTS);
c@106 3753 }
c@106 3754
c@106 3755 inline float ParameterDescriptor::Builder::getDefaultValue() {
c@106 3756 return _builder.getDataField<float>(
c@106 3757 2 * ::capnp::ELEMENTS);
c@106 3758 }
c@106 3759 inline void ParameterDescriptor::Builder::setDefaultValue(float value) {
c@106 3760 _builder.setDataField<float>(
c@106 3761 2 * ::capnp::ELEMENTS, value);
c@106 3762 }
c@106 3763
c@106 3764 inline bool ParameterDescriptor::Reader::getIsQuantized() const {
c@106 3765 return _reader.getDataField<bool>(
c@106 3766 96 * ::capnp::ELEMENTS);
c@106 3767 }
c@106 3768
c@106 3769 inline bool ParameterDescriptor::Builder::getIsQuantized() {
c@106 3770 return _builder.getDataField<bool>(
c@106 3771 96 * ::capnp::ELEMENTS);
c@106 3772 }
c@106 3773 inline void ParameterDescriptor::Builder::setIsQuantized(bool value) {
c@106 3774 _builder.setDataField<bool>(
c@106 3775 96 * ::capnp::ELEMENTS, value);
c@106 3776 }
c@106 3777
c@106 3778 inline float ParameterDescriptor::Reader::getQuantizeStep() const {
c@106 3779 return _reader.getDataField<float>(
c@106 3780 4 * ::capnp::ELEMENTS);
c@106 3781 }
c@106 3782
c@106 3783 inline float ParameterDescriptor::Builder::getQuantizeStep() {
c@106 3784 return _builder.getDataField<float>(
c@106 3785 4 * ::capnp::ELEMENTS);
c@106 3786 }
c@106 3787 inline void ParameterDescriptor::Builder::setQuantizeStep(float value) {
c@106 3788 _builder.setDataField<float>(
c@106 3789 4 * ::capnp::ELEMENTS, value);
c@106 3790 }
c@106 3791
c@106 3792 inline bool ParameterDescriptor::Reader::hasValueNames() const {
c@106 3793 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
c@106 3794 }
c@106 3795 inline bool ParameterDescriptor::Builder::hasValueNames() {
c@106 3796 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
c@106 3797 }
c@106 3798 inline ::capnp::List< ::capnp::Text>::Reader ParameterDescriptor::Reader::getValueNames() const {
c@106 3799 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@106 3800 _reader.getPointerField(2 * ::capnp::POINTERS),
c@106 3801 ::capnp::schemas::bp_f8fda10bef70a97d + 147);
c@106 3802 }
c@106 3803 inline ::capnp::List< ::capnp::Text>::Builder ParameterDescriptor::Builder::getValueNames() {
c@106 3804 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@106 3805 _builder.getPointerField(2 * ::capnp::POINTERS),
c@106 3806 ::capnp::schemas::bp_f8fda10bef70a97d + 147);
c@106 3807 }
c@106 3808 inline void ParameterDescriptor::Builder::setValueNames( ::capnp::List< ::capnp::Text>::Reader value) {
c@106 3809 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@106 3810 _builder.getPointerField(2 * ::capnp::POINTERS), value);
c@106 3811 }
c@106 3812 inline void ParameterDescriptor::Builder::setValueNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
c@106 3813 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@106 3814 _builder.getPointerField(2 * ::capnp::POINTERS), value);
c@106 3815 }
c@106 3816 inline ::capnp::List< ::capnp::Text>::Builder ParameterDescriptor::Builder::initValueNames(unsigned int size) {
c@106 3817 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
c@106 3818 _builder.getPointerField(2 * ::capnp::POINTERS), size);
c@106 3819 }
c@106 3820 inline void ParameterDescriptor::Builder::adoptValueNames(
c@106 3821 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
c@106 3822 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
c@106 3823 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
c@106 3824 }
c@106 3825 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ParameterDescriptor::Builder::disownValueNames() {
c@106 3826 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
c@106 3827 _builder.getPointerField(2 * ::capnp::POINTERS));
c@106 3828 }
c@106 3829
c@106 3830 inline bool ConfiguredOutputDescriptor::Reader::hasUnit() const {
c@106 3831 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 3832 }
c@106 3833 inline bool ConfiguredOutputDescriptor::Builder::hasUnit() {
c@106 3834 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 3835 }
c@106 3836 inline ::capnp::Text::Reader ConfiguredOutputDescriptor::Reader::getUnit() const {
c@106 3837 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3838 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 3839 }
c@106 3840 inline ::capnp::Text::Builder ConfiguredOutputDescriptor::Builder::getUnit() {
c@106 3841 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 3842 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 3843 }
c@106 3844 inline void ConfiguredOutputDescriptor::Builder::setUnit( ::capnp::Text::Reader value) {
c@106 3845 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 3846 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 3847 }
c@106 3848 inline ::capnp::Text::Builder ConfiguredOutputDescriptor::Builder::initUnit(unsigned int size) {
c@106 3849 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 3850 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 3851 }
c@106 3852 inline void ConfiguredOutputDescriptor::Builder::adoptUnit(
c@106 3853 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 3854 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 3855 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 3856 }
c@106 3857 inline ::capnp::Orphan< ::capnp::Text> ConfiguredOutputDescriptor::Builder::disownUnit() {
c@106 3858 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 3859 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 3860 }
c@106 3861
c@106 3862 inline bool ConfiguredOutputDescriptor::Reader::getHasFixedBinCount() const {
c@106 3863 return _reader.getDataField<bool>(
c@106 3864 0 * ::capnp::ELEMENTS);
c@106 3865 }
c@106 3866
c@106 3867 inline bool ConfiguredOutputDescriptor::Builder::getHasFixedBinCount() {
c@106 3868 return _builder.getDataField<bool>(
c@106 3869 0 * ::capnp::ELEMENTS);
c@106 3870 }
c@106 3871 inline void ConfiguredOutputDescriptor::Builder::setHasFixedBinCount(bool value) {
c@106 3872 _builder.setDataField<bool>(
c@106 3873 0 * ::capnp::ELEMENTS, value);
c@106 3874 }
c@106 3875
c@106 3876 inline ::int32_t ConfiguredOutputDescriptor::Reader::getBinCount() const {
c@106 3877 return _reader.getDataField< ::int32_t>(
c@106 3878 1 * ::capnp::ELEMENTS);
c@106 3879 }
c@106 3880
c@106 3881 inline ::int32_t ConfiguredOutputDescriptor::Builder::getBinCount() {
c@106 3882 return _builder.getDataField< ::int32_t>(
c@106 3883 1 * ::capnp::ELEMENTS);
c@106 3884 }
c@106 3885 inline void ConfiguredOutputDescriptor::Builder::setBinCount( ::int32_t value) {
c@106 3886 _builder.setDataField< ::int32_t>(
c@106 3887 1 * ::capnp::ELEMENTS, value);
c@106 3888 }
c@106 3889
c@106 3890 inline bool ConfiguredOutputDescriptor::Reader::hasBinNames() const {
c@106 3891 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 3892 }
c@106 3893 inline bool ConfiguredOutputDescriptor::Builder::hasBinNames() {
c@106 3894 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 3895 }
c@106 3896 inline ::capnp::List< ::capnp::Text>::Reader ConfiguredOutputDescriptor::Reader::getBinNames() const {
c@106 3897 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@106 3898 _reader.getPointerField(1 * ::capnp::POINTERS),
c@106 3899 ::capnp::schemas::bp_b2d0c825aac8249c + 142);
c@106 3900 }
c@106 3901 inline ::capnp::List< ::capnp::Text>::Builder ConfiguredOutputDescriptor::Builder::getBinNames() {
c@106 3902 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@106 3903 _builder.getPointerField(1 * ::capnp::POINTERS),
c@106 3904 ::capnp::schemas::bp_b2d0c825aac8249c + 142);
c@106 3905 }
c@106 3906 inline void ConfiguredOutputDescriptor::Builder::setBinNames( ::capnp::List< ::capnp::Text>::Reader value) {
c@106 3907 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@106 3908 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 3909 }
c@106 3910 inline void ConfiguredOutputDescriptor::Builder::setBinNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
c@106 3911 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@106 3912 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 3913 }
c@106 3914 inline ::capnp::List< ::capnp::Text>::Builder ConfiguredOutputDescriptor::Builder::initBinNames(unsigned int size) {
c@106 3915 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
c@106 3916 _builder.getPointerField(1 * ::capnp::POINTERS), size);
c@106 3917 }
c@106 3918 inline void ConfiguredOutputDescriptor::Builder::adoptBinNames(
c@106 3919 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
c@106 3920 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
c@106 3921 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 3922 }
c@106 3923 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ConfiguredOutputDescriptor::Builder::disownBinNames() {
c@106 3924 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
c@106 3925 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 3926 }
c@106 3927
c@106 3928 inline bool ConfiguredOutputDescriptor::Reader::getHasKnownExtents() const {
c@106 3929 return _reader.getDataField<bool>(
c@106 3930 1 * ::capnp::ELEMENTS);
c@106 3931 }
c@106 3932
c@106 3933 inline bool ConfiguredOutputDescriptor::Builder::getHasKnownExtents() {
c@106 3934 return _builder.getDataField<bool>(
c@106 3935 1 * ::capnp::ELEMENTS);
c@106 3936 }
c@106 3937 inline void ConfiguredOutputDescriptor::Builder::setHasKnownExtents(bool value) {
c@106 3938 _builder.setDataField<bool>(
c@106 3939 1 * ::capnp::ELEMENTS, value);
c@106 3940 }
c@106 3941
c@106 3942 inline float ConfiguredOutputDescriptor::Reader::getMinValue() const {
c@106 3943 return _reader.getDataField<float>(
c@106 3944 2 * ::capnp::ELEMENTS);
c@106 3945 }
c@106 3946
c@106 3947 inline float ConfiguredOutputDescriptor::Builder::getMinValue() {
c@106 3948 return _builder.getDataField<float>(
c@106 3949 2 * ::capnp::ELEMENTS);
c@106 3950 }
c@106 3951 inline void ConfiguredOutputDescriptor::Builder::setMinValue(float value) {
c@106 3952 _builder.setDataField<float>(
c@106 3953 2 * ::capnp::ELEMENTS, value);
c@106 3954 }
c@106 3955
c@106 3956 inline float ConfiguredOutputDescriptor::Reader::getMaxValue() const {
c@106 3957 return _reader.getDataField<float>(
c@106 3958 3 * ::capnp::ELEMENTS);
c@106 3959 }
c@106 3960
c@106 3961 inline float ConfiguredOutputDescriptor::Builder::getMaxValue() {
c@106 3962 return _builder.getDataField<float>(
c@106 3963 3 * ::capnp::ELEMENTS);
c@106 3964 }
c@106 3965 inline void ConfiguredOutputDescriptor::Builder::setMaxValue(float value) {
c@106 3966 _builder.setDataField<float>(
c@106 3967 3 * ::capnp::ELEMENTS, value);
c@106 3968 }
c@106 3969
c@106 3970 inline bool ConfiguredOutputDescriptor::Reader::getIsQuantized() const {
c@106 3971 return _reader.getDataField<bool>(
c@106 3972 2 * ::capnp::ELEMENTS);
c@106 3973 }
c@106 3974
c@106 3975 inline bool ConfiguredOutputDescriptor::Builder::getIsQuantized() {
c@106 3976 return _builder.getDataField<bool>(
c@106 3977 2 * ::capnp::ELEMENTS);
c@106 3978 }
c@106 3979 inline void ConfiguredOutputDescriptor::Builder::setIsQuantized(bool value) {
c@106 3980 _builder.setDataField<bool>(
c@106 3981 2 * ::capnp::ELEMENTS, value);
c@106 3982 }
c@106 3983
c@106 3984 inline float ConfiguredOutputDescriptor::Reader::getQuantizeStep() const {
c@106 3985 return _reader.getDataField<float>(
c@106 3986 4 * ::capnp::ELEMENTS);
c@106 3987 }
c@106 3988
c@106 3989 inline float ConfiguredOutputDescriptor::Builder::getQuantizeStep() {
c@106 3990 return _builder.getDataField<float>(
c@106 3991 4 * ::capnp::ELEMENTS);
c@106 3992 }
c@106 3993 inline void ConfiguredOutputDescriptor::Builder::setQuantizeStep(float value) {
c@106 3994 _builder.setDataField<float>(
c@106 3995 4 * ::capnp::ELEMENTS, value);
c@106 3996 }
c@106 3997
c@106 3998 inline ::piper::SampleType ConfiguredOutputDescriptor::Reader::getSampleType() const {
c@106 3999 return _reader.getDataField< ::piper::SampleType>(
c@106 4000 1 * ::capnp::ELEMENTS);
c@106 4001 }
c@106 4002
c@106 4003 inline ::piper::SampleType ConfiguredOutputDescriptor::Builder::getSampleType() {
c@106 4004 return _builder.getDataField< ::piper::SampleType>(
c@106 4005 1 * ::capnp::ELEMENTS);
c@106 4006 }
c@106 4007 inline void ConfiguredOutputDescriptor::Builder::setSampleType( ::piper::SampleType value) {
c@106 4008 _builder.setDataField< ::piper::SampleType>(
c@106 4009 1 * ::capnp::ELEMENTS, value);
c@106 4010 }
c@106 4011
c@106 4012 inline float ConfiguredOutputDescriptor::Reader::getSampleRate() const {
c@106 4013 return _reader.getDataField<float>(
c@106 4014 5 * ::capnp::ELEMENTS);
c@106 4015 }
c@106 4016
c@106 4017 inline float ConfiguredOutputDescriptor::Builder::getSampleRate() {
c@106 4018 return _builder.getDataField<float>(
c@106 4019 5 * ::capnp::ELEMENTS);
c@106 4020 }
c@106 4021 inline void ConfiguredOutputDescriptor::Builder::setSampleRate(float value) {
c@106 4022 _builder.setDataField<float>(
c@106 4023 5 * ::capnp::ELEMENTS, value);
c@106 4024 }
c@106 4025
c@106 4026 inline bool ConfiguredOutputDescriptor::Reader::getHasDuration() const {
c@106 4027 return _reader.getDataField<bool>(
c@106 4028 3 * ::capnp::ELEMENTS);
c@106 4029 }
c@106 4030
c@106 4031 inline bool ConfiguredOutputDescriptor::Builder::getHasDuration() {
c@106 4032 return _builder.getDataField<bool>(
c@106 4033 3 * ::capnp::ELEMENTS);
c@106 4034 }
c@106 4035 inline void ConfiguredOutputDescriptor::Builder::setHasDuration(bool value) {
c@106 4036 _builder.setDataField<bool>(
c@106 4037 3 * ::capnp::ELEMENTS, value);
c@106 4038 }
c@106 4039
c@106 4040 inline bool OutputDescriptor::Reader::hasBasic() const {
c@106 4041 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4042 }
c@106 4043 inline bool OutputDescriptor::Builder::hasBasic() {
c@106 4044 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4045 }
c@106 4046 inline ::piper::Basic::Reader OutputDescriptor::Reader::getBasic() const {
c@106 4047 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
c@106 4048 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 4049 }
c@106 4050 inline ::piper::Basic::Builder OutputDescriptor::Builder::getBasic() {
c@106 4051 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
c@106 4052 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4053 }
c@106 4054 #if !CAPNP_LITE
c@106 4055 inline ::piper::Basic::Pipeline OutputDescriptor::Pipeline::getBasic() {
c@106 4056 return ::piper::Basic::Pipeline(_typeless.getPointerField(0));
c@106 4057 }
c@106 4058 #endif // !CAPNP_LITE
c@106 4059 inline void OutputDescriptor::Builder::setBasic( ::piper::Basic::Reader value) {
c@106 4060 ::capnp::_::PointerHelpers< ::piper::Basic>::set(
c@106 4061 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4062 }
c@106 4063 inline ::piper::Basic::Builder OutputDescriptor::Builder::initBasic() {
c@106 4064 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(
c@106 4065 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4066 }
c@106 4067 inline void OutputDescriptor::Builder::adoptBasic(
c@106 4068 ::capnp::Orphan< ::piper::Basic>&& value) {
c@106 4069 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(
c@106 4070 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 4071 }
c@106 4072 inline ::capnp::Orphan< ::piper::Basic> OutputDescriptor::Builder::disownBasic() {
c@106 4073 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(
c@106 4074 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4075 }
c@106 4076
c@106 4077 inline bool OutputDescriptor::Reader::hasConfigured() const {
c@106 4078 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4079 }
c@106 4080 inline bool OutputDescriptor::Builder::hasConfigured() {
c@106 4081 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4082 }
c@106 4083 inline ::piper::ConfiguredOutputDescriptor::Reader OutputDescriptor::Reader::getConfigured() const {
c@106 4084 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::get(
c@106 4085 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 4086 }
c@106 4087 inline ::piper::ConfiguredOutputDescriptor::Builder OutputDescriptor::Builder::getConfigured() {
c@106 4088 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::get(
c@106 4089 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4090 }
c@106 4091 #if !CAPNP_LITE
c@106 4092 inline ::piper::ConfiguredOutputDescriptor::Pipeline OutputDescriptor::Pipeline::getConfigured() {
c@106 4093 return ::piper::ConfiguredOutputDescriptor::Pipeline(_typeless.getPointerField(1));
c@106 4094 }
c@106 4095 #endif // !CAPNP_LITE
c@106 4096 inline void OutputDescriptor::Builder::setConfigured( ::piper::ConfiguredOutputDescriptor::Reader value) {
c@106 4097 ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::set(
c@106 4098 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 4099 }
c@106 4100 inline ::piper::ConfiguredOutputDescriptor::Builder OutputDescriptor::Builder::initConfigured() {
c@106 4101 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::init(
c@106 4102 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4103 }
c@106 4104 inline void OutputDescriptor::Builder::adoptConfigured(
c@106 4105 ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor>&& value) {
c@106 4106 ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::adopt(
c@106 4107 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 4108 }
c@106 4109 inline ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor> OutputDescriptor::Builder::disownConfigured() {
c@106 4110 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::disown(
c@106 4111 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4112 }
c@106 4113
c@106 4114 inline bool ExtractorStaticData::Reader::hasKey() const {
c@106 4115 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4116 }
c@106 4117 inline bool ExtractorStaticData::Builder::hasKey() {
c@106 4118 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4119 }
c@106 4120 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getKey() const {
c@106 4121 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4122 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 4123 }
c@106 4124 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getKey() {
c@106 4125 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4126 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4127 }
c@106 4128 inline void ExtractorStaticData::Builder::setKey( ::capnp::Text::Reader value) {
c@106 4129 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 4130 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4131 }
c@106 4132 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initKey(unsigned int size) {
c@106 4133 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 4134 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 4135 }
c@106 4136 inline void ExtractorStaticData::Builder::adoptKey(
c@106 4137 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 4138 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 4139 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 4140 }
c@106 4141 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownKey() {
c@106 4142 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 4143 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4144 }
c@106 4145
c@106 4146 inline bool ExtractorStaticData::Reader::hasBasic() const {
c@106 4147 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4148 }
c@106 4149 inline bool ExtractorStaticData::Builder::hasBasic() {
c@106 4150 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4151 }
c@106 4152 inline ::piper::Basic::Reader ExtractorStaticData::Reader::getBasic() const {
c@106 4153 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
c@106 4154 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 4155 }
c@106 4156 inline ::piper::Basic::Builder ExtractorStaticData::Builder::getBasic() {
c@106 4157 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
c@106 4158 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4159 }
c@106 4160 #if !CAPNP_LITE
c@106 4161 inline ::piper::Basic::Pipeline ExtractorStaticData::Pipeline::getBasic() {
c@106 4162 return ::piper::Basic::Pipeline(_typeless.getPointerField(1));
c@106 4163 }
c@106 4164 #endif // !CAPNP_LITE
c@106 4165 inline void ExtractorStaticData::Builder::setBasic( ::piper::Basic::Reader value) {
c@106 4166 ::capnp::_::PointerHelpers< ::piper::Basic>::set(
c@106 4167 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 4168 }
c@106 4169 inline ::piper::Basic::Builder ExtractorStaticData::Builder::initBasic() {
c@106 4170 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(
c@106 4171 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4172 }
c@106 4173 inline void ExtractorStaticData::Builder::adoptBasic(
c@106 4174 ::capnp::Orphan< ::piper::Basic>&& value) {
c@106 4175 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(
c@106 4176 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 4177 }
c@106 4178 inline ::capnp::Orphan< ::piper::Basic> ExtractorStaticData::Builder::disownBasic() {
c@106 4179 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(
c@106 4180 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4181 }
c@106 4182
c@106 4183 inline bool ExtractorStaticData::Reader::hasMaker() const {
c@106 4184 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
c@106 4185 }
c@106 4186 inline bool ExtractorStaticData::Builder::hasMaker() {
c@106 4187 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
c@106 4188 }
c@106 4189 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getMaker() const {
c@106 4190 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4191 _reader.getPointerField(2 * ::capnp::POINTERS));
c@106 4192 }
c@106 4193 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getMaker() {
c@106 4194 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4195 _builder.getPointerField(2 * ::capnp::POINTERS));
c@106 4196 }
c@106 4197 inline void ExtractorStaticData::Builder::setMaker( ::capnp::Text::Reader value) {
c@106 4198 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 4199 _builder.getPointerField(2 * ::capnp::POINTERS), value);
c@106 4200 }
c@106 4201 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initMaker(unsigned int size) {
c@106 4202 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 4203 _builder.getPointerField(2 * ::capnp::POINTERS), size);
c@106 4204 }
c@106 4205 inline void ExtractorStaticData::Builder::adoptMaker(
c@106 4206 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 4207 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 4208 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
c@106 4209 }
c@106 4210 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownMaker() {
c@106 4211 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 4212 _builder.getPointerField(2 * ::capnp::POINTERS));
c@106 4213 }
c@106 4214
cannam@216 4215 inline bool ExtractorStaticData::Reader::hasRights() const {
c@106 4216 return !_reader.getPointerField(3 * ::capnp::POINTERS).isNull();
c@106 4217 }
cannam@216 4218 inline bool ExtractorStaticData::Builder::hasRights() {
c@106 4219 return !_builder.getPointerField(3 * ::capnp::POINTERS).isNull();
c@106 4220 }
cannam@216 4221 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getRights() const {
c@106 4222 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4223 _reader.getPointerField(3 * ::capnp::POINTERS));
c@106 4224 }
cannam@216 4225 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getRights() {
c@106 4226 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4227 _builder.getPointerField(3 * ::capnp::POINTERS));
c@106 4228 }
cannam@216 4229 inline void ExtractorStaticData::Builder::setRights( ::capnp::Text::Reader value) {
c@106 4230 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 4231 _builder.getPointerField(3 * ::capnp::POINTERS), value);
c@106 4232 }
cannam@216 4233 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initRights(unsigned int size) {
c@106 4234 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 4235 _builder.getPointerField(3 * ::capnp::POINTERS), size);
c@106 4236 }
cannam@216 4237 inline void ExtractorStaticData::Builder::adoptRights(
c@106 4238 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 4239 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 4240 _builder.getPointerField(3 * ::capnp::POINTERS), kj::mv(value));
c@106 4241 }
cannam@216 4242 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownRights() {
c@106 4243 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 4244 _builder.getPointerField(3 * ::capnp::POINTERS));
c@106 4245 }
c@106 4246
c@106 4247 inline ::int32_t ExtractorStaticData::Reader::getVersion() const {
c@106 4248 return _reader.getDataField< ::int32_t>(
c@106 4249 0 * ::capnp::ELEMENTS);
c@106 4250 }
c@106 4251
c@106 4252 inline ::int32_t ExtractorStaticData::Builder::getVersion() {
c@106 4253 return _builder.getDataField< ::int32_t>(
c@106 4254 0 * ::capnp::ELEMENTS);
c@106 4255 }
c@106 4256 inline void ExtractorStaticData::Builder::setVersion( ::int32_t value) {
c@106 4257 _builder.setDataField< ::int32_t>(
c@106 4258 0 * ::capnp::ELEMENTS, value);
c@106 4259 }
c@106 4260
c@106 4261 inline bool ExtractorStaticData::Reader::hasCategory() const {
c@106 4262 return !_reader.getPointerField(4 * ::capnp::POINTERS).isNull();
c@106 4263 }
c@106 4264 inline bool ExtractorStaticData::Builder::hasCategory() {
c@106 4265 return !_builder.getPointerField(4 * ::capnp::POINTERS).isNull();
c@106 4266 }
c@106 4267 inline ::capnp::List< ::capnp::Text>::Reader ExtractorStaticData::Reader::getCategory() const {
c@106 4268 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@106 4269 _reader.getPointerField(4 * ::capnp::POINTERS));
c@106 4270 }
c@106 4271 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::getCategory() {
c@106 4272 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@106 4273 _builder.getPointerField(4 * ::capnp::POINTERS));
c@106 4274 }
c@106 4275 inline void ExtractorStaticData::Builder::setCategory( ::capnp::List< ::capnp::Text>::Reader value) {
c@106 4276 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@106 4277 _builder.getPointerField(4 * ::capnp::POINTERS), value);
c@106 4278 }
c@106 4279 inline void ExtractorStaticData::Builder::setCategory(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
c@106 4280 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@106 4281 _builder.getPointerField(4 * ::capnp::POINTERS), value);
c@106 4282 }
c@106 4283 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::initCategory(unsigned int size) {
c@106 4284 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
c@106 4285 _builder.getPointerField(4 * ::capnp::POINTERS), size);
c@106 4286 }
c@106 4287 inline void ExtractorStaticData::Builder::adoptCategory(
c@106 4288 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
c@106 4289 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
c@106 4290 _builder.getPointerField(4 * ::capnp::POINTERS), kj::mv(value));
c@106 4291 }
c@106 4292 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ExtractorStaticData::Builder::disownCategory() {
c@106 4293 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
c@106 4294 _builder.getPointerField(4 * ::capnp::POINTERS));
c@106 4295 }
c@106 4296
c@106 4297 inline ::int32_t ExtractorStaticData::Reader::getMinChannelCount() const {
c@106 4298 return _reader.getDataField< ::int32_t>(
c@106 4299 1 * ::capnp::ELEMENTS);
c@106 4300 }
c@106 4301
c@106 4302 inline ::int32_t ExtractorStaticData::Builder::getMinChannelCount() {
c@106 4303 return _builder.getDataField< ::int32_t>(
c@106 4304 1 * ::capnp::ELEMENTS);
c@106 4305 }
c@106 4306 inline void ExtractorStaticData::Builder::setMinChannelCount( ::int32_t value) {
c@106 4307 _builder.setDataField< ::int32_t>(
c@106 4308 1 * ::capnp::ELEMENTS, value);
c@106 4309 }
c@106 4310
c@106 4311 inline ::int32_t ExtractorStaticData::Reader::getMaxChannelCount() const {
c@106 4312 return _reader.getDataField< ::int32_t>(
c@106 4313 2 * ::capnp::ELEMENTS);
c@106 4314 }
c@106 4315
c@106 4316 inline ::int32_t ExtractorStaticData::Builder::getMaxChannelCount() {
c@106 4317 return _builder.getDataField< ::int32_t>(
c@106 4318 2 * ::capnp::ELEMENTS);
c@106 4319 }
c@106 4320 inline void ExtractorStaticData::Builder::setMaxChannelCount( ::int32_t value) {
c@106 4321 _builder.setDataField< ::int32_t>(
c@106 4322 2 * ::capnp::ELEMENTS, value);
c@106 4323 }
c@106 4324
c@106 4325 inline bool ExtractorStaticData::Reader::hasParameters() const {
c@106 4326 return !_reader.getPointerField(5 * ::capnp::POINTERS).isNull();
c@106 4327 }
c@106 4328 inline bool ExtractorStaticData::Builder::hasParameters() {
c@106 4329 return !_builder.getPointerField(5 * ::capnp::POINTERS).isNull();
c@106 4330 }
c@106 4331 inline ::capnp::List< ::piper::ParameterDescriptor>::Reader ExtractorStaticData::Reader::getParameters() const {
c@106 4332 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::get(
c@106 4333 _reader.getPointerField(5 * ::capnp::POINTERS));
c@106 4334 }
c@106 4335 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder ExtractorStaticData::Builder::getParameters() {
c@106 4336 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::get(
c@106 4337 _builder.getPointerField(5 * ::capnp::POINTERS));
c@106 4338 }
c@106 4339 inline void ExtractorStaticData::Builder::setParameters( ::capnp::List< ::piper::ParameterDescriptor>::Reader value) {
c@106 4340 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::set(
c@106 4341 _builder.getPointerField(5 * ::capnp::POINTERS), value);
c@106 4342 }
c@106 4343 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder ExtractorStaticData::Builder::initParameters(unsigned int size) {
c@106 4344 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::init(
c@106 4345 _builder.getPointerField(5 * ::capnp::POINTERS), size);
c@106 4346 }
c@106 4347 inline void ExtractorStaticData::Builder::adoptParameters(
c@106 4348 ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>>&& value) {
c@106 4349 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::adopt(
c@106 4350 _builder.getPointerField(5 * ::capnp::POINTERS), kj::mv(value));
c@106 4351 }
c@106 4352 inline ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>> ExtractorStaticData::Builder::disownParameters() {
c@106 4353 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::disown(
c@106 4354 _builder.getPointerField(5 * ::capnp::POINTERS));
c@106 4355 }
c@106 4356
c@106 4357 inline bool ExtractorStaticData::Reader::hasPrograms() const {
c@106 4358 return !_reader.getPointerField(6 * ::capnp::POINTERS).isNull();
c@106 4359 }
c@106 4360 inline bool ExtractorStaticData::Builder::hasPrograms() {
c@106 4361 return !_builder.getPointerField(6 * ::capnp::POINTERS).isNull();
c@106 4362 }
c@106 4363 inline ::capnp::List< ::capnp::Text>::Reader ExtractorStaticData::Reader::getPrograms() const {
c@106 4364 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@106 4365 _reader.getPointerField(6 * ::capnp::POINTERS));
c@106 4366 }
c@106 4367 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::getPrograms() {
c@106 4368 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@106 4369 _builder.getPointerField(6 * ::capnp::POINTERS));
c@106 4370 }
c@106 4371 inline void ExtractorStaticData::Builder::setPrograms( ::capnp::List< ::capnp::Text>::Reader value) {
c@106 4372 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@106 4373 _builder.getPointerField(6 * ::capnp::POINTERS), value);
c@106 4374 }
c@106 4375 inline void ExtractorStaticData::Builder::setPrograms(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
c@106 4376 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@106 4377 _builder.getPointerField(6 * ::capnp::POINTERS), value);
c@106 4378 }
c@106 4379 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::initPrograms(unsigned int size) {
c@106 4380 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
c@106 4381 _builder.getPointerField(6 * ::capnp::POINTERS), size);
c@106 4382 }
c@106 4383 inline void ExtractorStaticData::Builder::adoptPrograms(
c@106 4384 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
c@106 4385 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
c@106 4386 _builder.getPointerField(6 * ::capnp::POINTERS), kj::mv(value));
c@106 4387 }
c@106 4388 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ExtractorStaticData::Builder::disownPrograms() {
c@106 4389 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
c@106 4390 _builder.getPointerField(6 * ::capnp::POINTERS));
c@106 4391 }
c@106 4392
c@106 4393 inline ::piper::InputDomain ExtractorStaticData::Reader::getInputDomain() const {
c@106 4394 return _reader.getDataField< ::piper::InputDomain>(
c@106 4395 6 * ::capnp::ELEMENTS);
c@106 4396 }
c@106 4397
c@106 4398 inline ::piper::InputDomain ExtractorStaticData::Builder::getInputDomain() {
c@106 4399 return _builder.getDataField< ::piper::InputDomain>(
c@106 4400 6 * ::capnp::ELEMENTS);
c@106 4401 }
c@106 4402 inline void ExtractorStaticData::Builder::setInputDomain( ::piper::InputDomain value) {
c@106 4403 _builder.setDataField< ::piper::InputDomain>(
c@106 4404 6 * ::capnp::ELEMENTS, value);
c@106 4405 }
c@106 4406
c@106 4407 inline bool ExtractorStaticData::Reader::hasBasicOutputInfo() const {
c@106 4408 return !_reader.getPointerField(7 * ::capnp::POINTERS).isNull();
c@106 4409 }
c@106 4410 inline bool ExtractorStaticData::Builder::hasBasicOutputInfo() {
c@106 4411 return !_builder.getPointerField(7 * ::capnp::POINTERS).isNull();
c@106 4412 }
c@106 4413 inline ::capnp::List< ::piper::Basic>::Reader ExtractorStaticData::Reader::getBasicOutputInfo() const {
c@106 4414 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::get(
c@106 4415 _reader.getPointerField(7 * ::capnp::POINTERS));
c@106 4416 }
c@106 4417 inline ::capnp::List< ::piper::Basic>::Builder ExtractorStaticData::Builder::getBasicOutputInfo() {
c@106 4418 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::get(
c@106 4419 _builder.getPointerField(7 * ::capnp::POINTERS));
c@106 4420 }
c@106 4421 inline void ExtractorStaticData::Builder::setBasicOutputInfo( ::capnp::List< ::piper::Basic>::Reader value) {
c@106 4422 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::set(
c@106 4423 _builder.getPointerField(7 * ::capnp::POINTERS), value);
c@106 4424 }
c@106 4425 inline ::capnp::List< ::piper::Basic>::Builder ExtractorStaticData::Builder::initBasicOutputInfo(unsigned int size) {
c@106 4426 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::init(
c@106 4427 _builder.getPointerField(7 * ::capnp::POINTERS), size);
c@106 4428 }
c@106 4429 inline void ExtractorStaticData::Builder::adoptBasicOutputInfo(
c@106 4430 ::capnp::Orphan< ::capnp::List< ::piper::Basic>>&& value) {
c@106 4431 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::adopt(
c@106 4432 _builder.getPointerField(7 * ::capnp::POINTERS), kj::mv(value));
c@106 4433 }
c@106 4434 inline ::capnp::Orphan< ::capnp::List< ::piper::Basic>> ExtractorStaticData::Builder::disownBasicOutputInfo() {
c@106 4435 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::disown(
c@106 4436 _builder.getPointerField(7 * ::capnp::POINTERS));
c@106 4437 }
c@106 4438
c@106 4439 inline ::int32_t RealTime::Reader::getSec() const {
c@106 4440 return _reader.getDataField< ::int32_t>(
c@106 4441 0 * ::capnp::ELEMENTS);
c@106 4442 }
c@106 4443
c@106 4444 inline ::int32_t RealTime::Builder::getSec() {
c@106 4445 return _builder.getDataField< ::int32_t>(
c@106 4446 0 * ::capnp::ELEMENTS);
c@106 4447 }
c@106 4448 inline void RealTime::Builder::setSec( ::int32_t value) {
c@106 4449 _builder.setDataField< ::int32_t>(
c@106 4450 0 * ::capnp::ELEMENTS, value);
c@106 4451 }
c@106 4452
c@106 4453 inline ::int32_t RealTime::Reader::getNsec() const {
c@106 4454 return _reader.getDataField< ::int32_t>(
c@106 4455 1 * ::capnp::ELEMENTS);
c@106 4456 }
c@106 4457
c@106 4458 inline ::int32_t RealTime::Builder::getNsec() {
c@106 4459 return _builder.getDataField< ::int32_t>(
c@106 4460 1 * ::capnp::ELEMENTS);
c@106 4461 }
c@106 4462 inline void RealTime::Builder::setNsec( ::int32_t value) {
c@106 4463 _builder.setDataField< ::int32_t>(
c@106 4464 1 * ::capnp::ELEMENTS, value);
c@106 4465 }
c@106 4466
c@106 4467 inline bool ProcessInput::Reader::hasInputBuffers() const {
c@106 4468 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4469 }
c@106 4470 inline bool ProcessInput::Builder::hasInputBuffers() {
c@106 4471 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4472 }
c@106 4473 inline ::capnp::List< ::capnp::List<float>>::Reader ProcessInput::Reader::getInputBuffers() const {
c@106 4474 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::get(
c@106 4475 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 4476 }
c@106 4477 inline ::capnp::List< ::capnp::List<float>>::Builder ProcessInput::Builder::getInputBuffers() {
c@106 4478 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::get(
c@106 4479 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4480 }
c@106 4481 inline void ProcessInput::Builder::setInputBuffers( ::capnp::List< ::capnp::List<float>>::Reader value) {
c@106 4482 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::set(
c@106 4483 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4484 }
c@106 4485 inline void ProcessInput::Builder::setInputBuffers(::kj::ArrayPtr<const ::capnp::List<float>::Reader> value) {
c@106 4486 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::set(
c@106 4487 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4488 }
c@106 4489 inline ::capnp::List< ::capnp::List<float>>::Builder ProcessInput::Builder::initInputBuffers(unsigned int size) {
c@106 4490 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::init(
c@106 4491 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 4492 }
c@106 4493 inline void ProcessInput::Builder::adoptInputBuffers(
c@106 4494 ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>>&& value) {
c@106 4495 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::adopt(
c@106 4496 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 4497 }
c@106 4498 inline ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>> ProcessInput::Builder::disownInputBuffers() {
c@106 4499 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::disown(
c@106 4500 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4501 }
c@106 4502
c@106 4503 inline bool ProcessInput::Reader::hasTimestamp() const {
c@106 4504 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4505 }
c@106 4506 inline bool ProcessInput::Builder::hasTimestamp() {
c@106 4507 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4508 }
c@106 4509 inline ::piper::RealTime::Reader ProcessInput::Reader::getTimestamp() const {
c@106 4510 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
c@106 4511 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 4512 }
c@106 4513 inline ::piper::RealTime::Builder ProcessInput::Builder::getTimestamp() {
c@106 4514 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
c@106 4515 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4516 }
c@106 4517 #if !CAPNP_LITE
c@106 4518 inline ::piper::RealTime::Pipeline ProcessInput::Pipeline::getTimestamp() {
c@106 4519 return ::piper::RealTime::Pipeline(_typeless.getPointerField(1));
c@106 4520 }
c@106 4521 #endif // !CAPNP_LITE
c@106 4522 inline void ProcessInput::Builder::setTimestamp( ::piper::RealTime::Reader value) {
c@106 4523 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(
c@106 4524 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 4525 }
c@106 4526 inline ::piper::RealTime::Builder ProcessInput::Builder::initTimestamp() {
c@106 4527 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(
c@106 4528 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4529 }
c@106 4530 inline void ProcessInput::Builder::adoptTimestamp(
c@106 4531 ::capnp::Orphan< ::piper::RealTime>&& value) {
c@106 4532 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(
c@106 4533 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 4534 }
c@106 4535 inline ::capnp::Orphan< ::piper::RealTime> ProcessInput::Builder::disownTimestamp() {
c@106 4536 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(
c@106 4537 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4538 }
c@106 4539
c@106 4540 inline bool Feature::Reader::getHasTimestamp() const {
c@106 4541 return _reader.getDataField<bool>(
c@106 4542 0 * ::capnp::ELEMENTS);
c@106 4543 }
c@106 4544
c@106 4545 inline bool Feature::Builder::getHasTimestamp() {
c@106 4546 return _builder.getDataField<bool>(
c@106 4547 0 * ::capnp::ELEMENTS);
c@106 4548 }
c@106 4549 inline void Feature::Builder::setHasTimestamp(bool value) {
c@106 4550 _builder.setDataField<bool>(
c@106 4551 0 * ::capnp::ELEMENTS, value);
c@106 4552 }
c@106 4553
c@106 4554 inline bool Feature::Reader::hasTimestamp() const {
c@106 4555 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4556 }
c@106 4557 inline bool Feature::Builder::hasTimestamp() {
c@106 4558 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4559 }
c@106 4560 inline ::piper::RealTime::Reader Feature::Reader::getTimestamp() const {
c@106 4561 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
c@106 4562 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 4563 }
c@106 4564 inline ::piper::RealTime::Builder Feature::Builder::getTimestamp() {
c@106 4565 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
c@106 4566 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4567 }
c@106 4568 #if !CAPNP_LITE
c@106 4569 inline ::piper::RealTime::Pipeline Feature::Pipeline::getTimestamp() {
c@106 4570 return ::piper::RealTime::Pipeline(_typeless.getPointerField(0));
c@106 4571 }
c@106 4572 #endif // !CAPNP_LITE
c@106 4573 inline void Feature::Builder::setTimestamp( ::piper::RealTime::Reader value) {
c@106 4574 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(
c@106 4575 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4576 }
c@106 4577 inline ::piper::RealTime::Builder Feature::Builder::initTimestamp() {
c@106 4578 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(
c@106 4579 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4580 }
c@106 4581 inline void Feature::Builder::adoptTimestamp(
c@106 4582 ::capnp::Orphan< ::piper::RealTime>&& value) {
c@106 4583 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(
c@106 4584 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 4585 }
c@106 4586 inline ::capnp::Orphan< ::piper::RealTime> Feature::Builder::disownTimestamp() {
c@106 4587 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(
c@106 4588 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4589 }
c@106 4590
c@106 4591 inline bool Feature::Reader::getHasDuration() const {
c@106 4592 return _reader.getDataField<bool>(
c@106 4593 1 * ::capnp::ELEMENTS);
c@106 4594 }
c@106 4595
c@106 4596 inline bool Feature::Builder::getHasDuration() {
c@106 4597 return _builder.getDataField<bool>(
c@106 4598 1 * ::capnp::ELEMENTS);
c@106 4599 }
c@106 4600 inline void Feature::Builder::setHasDuration(bool value) {
c@106 4601 _builder.setDataField<bool>(
c@106 4602 1 * ::capnp::ELEMENTS, value);
c@106 4603 }
c@106 4604
c@106 4605 inline bool Feature::Reader::hasDuration() const {
c@106 4606 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4607 }
c@106 4608 inline bool Feature::Builder::hasDuration() {
c@106 4609 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4610 }
c@106 4611 inline ::piper::RealTime::Reader Feature::Reader::getDuration() const {
c@106 4612 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
c@106 4613 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 4614 }
c@106 4615 inline ::piper::RealTime::Builder Feature::Builder::getDuration() {
c@106 4616 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
c@106 4617 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4618 }
c@106 4619 #if !CAPNP_LITE
c@106 4620 inline ::piper::RealTime::Pipeline Feature::Pipeline::getDuration() {
c@106 4621 return ::piper::RealTime::Pipeline(_typeless.getPointerField(1));
c@106 4622 }
c@106 4623 #endif // !CAPNP_LITE
c@106 4624 inline void Feature::Builder::setDuration( ::piper::RealTime::Reader value) {
c@106 4625 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(
c@106 4626 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 4627 }
c@106 4628 inline ::piper::RealTime::Builder Feature::Builder::initDuration() {
c@106 4629 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(
c@106 4630 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4631 }
c@106 4632 inline void Feature::Builder::adoptDuration(
c@106 4633 ::capnp::Orphan< ::piper::RealTime>&& value) {
c@106 4634 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(
c@106 4635 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 4636 }
c@106 4637 inline ::capnp::Orphan< ::piper::RealTime> Feature::Builder::disownDuration() {
c@106 4638 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(
c@106 4639 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4640 }
c@106 4641
c@106 4642 inline bool Feature::Reader::hasLabel() const {
c@106 4643 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
c@106 4644 }
c@106 4645 inline bool Feature::Builder::hasLabel() {
c@106 4646 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
c@106 4647 }
c@106 4648 inline ::capnp::Text::Reader Feature::Reader::getLabel() const {
c@106 4649 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4650 _reader.getPointerField(2 * ::capnp::POINTERS));
c@106 4651 }
c@106 4652 inline ::capnp::Text::Builder Feature::Builder::getLabel() {
c@106 4653 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4654 _builder.getPointerField(2 * ::capnp::POINTERS));
c@106 4655 }
c@106 4656 inline void Feature::Builder::setLabel( ::capnp::Text::Reader value) {
c@106 4657 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 4658 _builder.getPointerField(2 * ::capnp::POINTERS), value);
c@106 4659 }
c@106 4660 inline ::capnp::Text::Builder Feature::Builder::initLabel(unsigned int size) {
c@106 4661 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 4662 _builder.getPointerField(2 * ::capnp::POINTERS), size);
c@106 4663 }
c@106 4664 inline void Feature::Builder::adoptLabel(
c@106 4665 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 4666 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 4667 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
c@106 4668 }
c@106 4669 inline ::capnp::Orphan< ::capnp::Text> Feature::Builder::disownLabel() {
c@106 4670 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 4671 _builder.getPointerField(2 * ::capnp::POINTERS));
c@106 4672 }
c@106 4673
c@106 4674 inline bool Feature::Reader::hasFeatureValues() const {
c@106 4675 return !_reader.getPointerField(3 * ::capnp::POINTERS).isNull();
c@106 4676 }
c@106 4677 inline bool Feature::Builder::hasFeatureValues() {
c@106 4678 return !_builder.getPointerField(3 * ::capnp::POINTERS).isNull();
c@106 4679 }
c@106 4680 inline ::capnp::List<float>::Reader Feature::Reader::getFeatureValues() const {
c@106 4681 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::get(
c@106 4682 _reader.getPointerField(3 * ::capnp::POINTERS),
c@106 4683 ::capnp::schemas::bp_d6a172208c9a1760 + 115);
c@106 4684 }
c@106 4685 inline ::capnp::List<float>::Builder Feature::Builder::getFeatureValues() {
c@106 4686 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::get(
c@106 4687 _builder.getPointerField(3 * ::capnp::POINTERS),
c@106 4688 ::capnp::schemas::bp_d6a172208c9a1760 + 115);
c@106 4689 }
c@106 4690 inline void Feature::Builder::setFeatureValues( ::capnp::List<float>::Reader value) {
c@106 4691 ::capnp::_::PointerHelpers< ::capnp::List<float>>::set(
c@106 4692 _builder.getPointerField(3 * ::capnp::POINTERS), value);
c@106 4693 }
c@106 4694 inline void Feature::Builder::setFeatureValues(::kj::ArrayPtr<const float> value) {
c@106 4695 ::capnp::_::PointerHelpers< ::capnp::List<float>>::set(
c@106 4696 _builder.getPointerField(3 * ::capnp::POINTERS), value);
c@106 4697 }
c@106 4698 inline ::capnp::List<float>::Builder Feature::Builder::initFeatureValues(unsigned int size) {
c@106 4699 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::init(
c@106 4700 _builder.getPointerField(3 * ::capnp::POINTERS), size);
c@106 4701 }
c@106 4702 inline void Feature::Builder::adoptFeatureValues(
c@106 4703 ::capnp::Orphan< ::capnp::List<float>>&& value) {
c@106 4704 ::capnp::_::PointerHelpers< ::capnp::List<float>>::adopt(
c@106 4705 _builder.getPointerField(3 * ::capnp::POINTERS), kj::mv(value));
c@106 4706 }
c@106 4707 inline ::capnp::Orphan< ::capnp::List<float>> Feature::Builder::disownFeatureValues() {
c@106 4708 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::disown(
c@106 4709 _builder.getPointerField(3 * ::capnp::POINTERS));
c@106 4710 }
c@106 4711
c@106 4712 inline bool FeatureSet::Reader::hasFeaturePairs() const {
c@106 4713 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4714 }
c@106 4715 inline bool FeatureSet::Builder::hasFeaturePairs() {
c@106 4716 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4717 }
c@106 4718 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Reader FeatureSet::Reader::getFeaturePairs() const {
c@106 4719 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::get(
c@106 4720 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 4721 }
c@106 4722 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder FeatureSet::Builder::getFeaturePairs() {
c@106 4723 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::get(
c@106 4724 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4725 }
c@106 4726 inline void FeatureSet::Builder::setFeaturePairs( ::capnp::List< ::piper::FeatureSet::FSPair>::Reader value) {
c@106 4727 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::set(
c@106 4728 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4729 }
c@106 4730 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder FeatureSet::Builder::initFeaturePairs(unsigned int size) {
c@106 4731 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::init(
c@106 4732 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 4733 }
c@106 4734 inline void FeatureSet::Builder::adoptFeaturePairs(
c@106 4735 ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>>&& value) {
c@106 4736 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::adopt(
c@106 4737 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 4738 }
c@106 4739 inline ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>> FeatureSet::Builder::disownFeaturePairs() {
c@106 4740 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::disown(
c@106 4741 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4742 }
c@106 4743
c@106 4744 inline bool FeatureSet::FSPair::Reader::hasOutput() const {
c@106 4745 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4746 }
c@106 4747 inline bool FeatureSet::FSPair::Builder::hasOutput() {
c@106 4748 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4749 }
c@106 4750 inline ::capnp::Text::Reader FeatureSet::FSPair::Reader::getOutput() const {
c@106 4751 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4752 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 4753 }
c@106 4754 inline ::capnp::Text::Builder FeatureSet::FSPair::Builder::getOutput() {
c@106 4755 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4756 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4757 }
c@106 4758 inline void FeatureSet::FSPair::Builder::setOutput( ::capnp::Text::Reader value) {
c@106 4759 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 4760 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4761 }
c@106 4762 inline ::capnp::Text::Builder FeatureSet::FSPair::Builder::initOutput(unsigned int size) {
c@106 4763 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 4764 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 4765 }
c@106 4766 inline void FeatureSet::FSPair::Builder::adoptOutput(
c@106 4767 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 4768 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 4769 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 4770 }
c@106 4771 inline ::capnp::Orphan< ::capnp::Text> FeatureSet::FSPair::Builder::disownOutput() {
c@106 4772 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 4773 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4774 }
c@106 4775
c@106 4776 inline bool FeatureSet::FSPair::Reader::hasFeatures() const {
c@106 4777 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4778 }
c@106 4779 inline bool FeatureSet::FSPair::Builder::hasFeatures() {
c@106 4780 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4781 }
c@106 4782 inline ::capnp::List< ::piper::Feature>::Reader FeatureSet::FSPair::Reader::getFeatures() const {
c@106 4783 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::get(
c@106 4784 _reader.getPointerField(1 * ::capnp::POINTERS),
c@106 4785 ::capnp::schemas::bp_ab2572c346316b24 + 52);
c@106 4786 }
c@106 4787 inline ::capnp::List< ::piper::Feature>::Builder FeatureSet::FSPair::Builder::getFeatures() {
c@106 4788 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::get(
c@106 4789 _builder.getPointerField(1 * ::capnp::POINTERS),
c@106 4790 ::capnp::schemas::bp_ab2572c346316b24 + 52);
c@106 4791 }
c@106 4792 inline void FeatureSet::FSPair::Builder::setFeatures( ::capnp::List< ::piper::Feature>::Reader value) {
c@106 4793 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::set(
c@106 4794 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 4795 }
c@106 4796 inline ::capnp::List< ::piper::Feature>::Builder FeatureSet::FSPair::Builder::initFeatures(unsigned int size) {
c@106 4797 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::init(
c@106 4798 _builder.getPointerField(1 * ::capnp::POINTERS), size);
c@106 4799 }
c@106 4800 inline void FeatureSet::FSPair::Builder::adoptFeatures(
c@106 4801 ::capnp::Orphan< ::capnp::List< ::piper::Feature>>&& value) {
c@106 4802 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::adopt(
c@106 4803 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 4804 }
c@106 4805 inline ::capnp::Orphan< ::capnp::List< ::piper::Feature>> FeatureSet::FSPair::Builder::disownFeatures() {
c@106 4806 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::disown(
c@106 4807 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4808 }
c@106 4809
cannam@216 4810 inline ::int32_t Framing::Reader::getBlockSize() const {
cannam@216 4811 return _reader.getDataField< ::int32_t>(
cannam@216 4812 0 * ::capnp::ELEMENTS);
cannam@216 4813 }
cannam@216 4814
cannam@216 4815 inline ::int32_t Framing::Builder::getBlockSize() {
cannam@216 4816 return _builder.getDataField< ::int32_t>(
cannam@216 4817 0 * ::capnp::ELEMENTS);
cannam@216 4818 }
cannam@216 4819 inline void Framing::Builder::setBlockSize( ::int32_t value) {
cannam@216 4820 _builder.setDataField< ::int32_t>(
cannam@216 4821 0 * ::capnp::ELEMENTS, value);
cannam@216 4822 }
cannam@216 4823
cannam@185 4824 inline ::int32_t Framing::Reader::getStepSize() const {
cannam@185 4825 return _reader.getDataField< ::int32_t>(
cannam@216 4826 1 * ::capnp::ELEMENTS);
cannam@185 4827 }
cannam@185 4828
cannam@185 4829 inline ::int32_t Framing::Builder::getStepSize() {
cannam@185 4830 return _builder.getDataField< ::int32_t>(
cannam@216 4831 1 * ::capnp::ELEMENTS);
cannam@185 4832 }
cannam@185 4833 inline void Framing::Builder::setStepSize( ::int32_t value) {
cannam@185 4834 _builder.setDataField< ::int32_t>(
cannam@185 4835 1 * ::capnp::ELEMENTS, value);
cannam@185 4836 }
cannam@185 4837
c@106 4838 inline bool Configuration::Reader::hasParameterValues() const {
c@106 4839 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4840 }
c@106 4841 inline bool Configuration::Builder::hasParameterValues() {
c@106 4842 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4843 }
c@106 4844 inline ::capnp::List< ::piper::Configuration::PVPair>::Reader Configuration::Reader::getParameterValues() const {
c@106 4845 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::get(
c@106 4846 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 4847 }
c@106 4848 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder Configuration::Builder::getParameterValues() {
c@106 4849 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::get(
c@106 4850 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4851 }
c@106 4852 inline void Configuration::Builder::setParameterValues( ::capnp::List< ::piper::Configuration::PVPair>::Reader value) {
c@106 4853 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::set(
c@106 4854 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4855 }
c@106 4856 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder Configuration::Builder::initParameterValues(unsigned int size) {
c@106 4857 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::init(
c@106 4858 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 4859 }
c@106 4860 inline void Configuration::Builder::adoptParameterValues(
c@106 4861 ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>>&& value) {
c@106 4862 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::adopt(
c@106 4863 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 4864 }
c@106 4865 inline ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>> Configuration::Builder::disownParameterValues() {
c@106 4866 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::disown(
c@106 4867 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4868 }
c@106 4869
c@106 4870 inline bool Configuration::Reader::hasCurrentProgram() const {
c@106 4871 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4872 }
c@106 4873 inline bool Configuration::Builder::hasCurrentProgram() {
c@106 4874 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 4875 }
c@106 4876 inline ::capnp::Text::Reader Configuration::Reader::getCurrentProgram() const {
c@106 4877 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4878 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 4879 }
c@106 4880 inline ::capnp::Text::Builder Configuration::Builder::getCurrentProgram() {
c@106 4881 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4882 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4883 }
c@106 4884 inline void Configuration::Builder::setCurrentProgram( ::capnp::Text::Reader value) {
c@106 4885 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 4886 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 4887 }
c@106 4888 inline ::capnp::Text::Builder Configuration::Builder::initCurrentProgram(unsigned int size) {
c@106 4889 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 4890 _builder.getPointerField(1 * ::capnp::POINTERS), size);
c@106 4891 }
c@106 4892 inline void Configuration::Builder::adoptCurrentProgram(
c@106 4893 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 4894 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 4895 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 4896 }
c@106 4897 inline ::capnp::Orphan< ::capnp::Text> Configuration::Builder::disownCurrentProgram() {
c@106 4898 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 4899 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 4900 }
c@106 4901
c@106 4902 inline ::int32_t Configuration::Reader::getChannelCount() const {
c@106 4903 return _reader.getDataField< ::int32_t>(
c@106 4904 0 * ::capnp::ELEMENTS);
c@106 4905 }
c@106 4906
c@106 4907 inline ::int32_t Configuration::Builder::getChannelCount() {
c@106 4908 return _builder.getDataField< ::int32_t>(
c@106 4909 0 * ::capnp::ELEMENTS);
c@106 4910 }
c@106 4911 inline void Configuration::Builder::setChannelCount( ::int32_t value) {
c@106 4912 _builder.setDataField< ::int32_t>(
c@106 4913 0 * ::capnp::ELEMENTS, value);
c@106 4914 }
c@106 4915
cannam@185 4916 inline bool Configuration::Reader::hasFraming() const {
cannam@185 4917 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
cannam@185 4918 }
cannam@185 4919 inline bool Configuration::Builder::hasFraming() {
cannam@185 4920 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
cannam@185 4921 }
cannam@185 4922 inline ::piper::Framing::Reader Configuration::Reader::getFraming() const {
cannam@185 4923 return ::capnp::_::PointerHelpers< ::piper::Framing>::get(
cannam@185 4924 _reader.getPointerField(2 * ::capnp::POINTERS));
cannam@185 4925 }
cannam@185 4926 inline ::piper::Framing::Builder Configuration::Builder::getFraming() {
cannam@185 4927 return ::capnp::_::PointerHelpers< ::piper::Framing>::get(
cannam@185 4928 _builder.getPointerField(2 * ::capnp::POINTERS));
cannam@185 4929 }
cannam@185 4930 #if !CAPNP_LITE
cannam@185 4931 inline ::piper::Framing::Pipeline Configuration::Pipeline::getFraming() {
cannam@185 4932 return ::piper::Framing::Pipeline(_typeless.getPointerField(2));
cannam@185 4933 }
cannam@185 4934 #endif // !CAPNP_LITE
cannam@185 4935 inline void Configuration::Builder::setFraming( ::piper::Framing::Reader value) {
cannam@185 4936 ::capnp::_::PointerHelpers< ::piper::Framing>::set(
cannam@185 4937 _builder.getPointerField(2 * ::capnp::POINTERS), value);
cannam@185 4938 }
cannam@185 4939 inline ::piper::Framing::Builder Configuration::Builder::initFraming() {
cannam@185 4940 return ::capnp::_::PointerHelpers< ::piper::Framing>::init(
cannam@185 4941 _builder.getPointerField(2 * ::capnp::POINTERS));
cannam@185 4942 }
cannam@185 4943 inline void Configuration::Builder::adoptFraming(
cannam@185 4944 ::capnp::Orphan< ::piper::Framing>&& value) {
cannam@185 4945 ::capnp::_::PointerHelpers< ::piper::Framing>::adopt(
cannam@185 4946 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
cannam@185 4947 }
cannam@185 4948 inline ::capnp::Orphan< ::piper::Framing> Configuration::Builder::disownFraming() {
cannam@185 4949 return ::capnp::_::PointerHelpers< ::piper::Framing>::disown(
cannam@185 4950 _builder.getPointerField(2 * ::capnp::POINTERS));
c@106 4951 }
c@106 4952
c@106 4953 inline bool Configuration::PVPair::Reader::hasParameter() const {
c@106 4954 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4955 }
c@106 4956 inline bool Configuration::PVPair::Builder::hasParameter() {
c@106 4957 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 4958 }
c@106 4959 inline ::capnp::Text::Reader Configuration::PVPair::Reader::getParameter() const {
c@106 4960 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4961 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 4962 }
c@106 4963 inline ::capnp::Text::Builder Configuration::PVPair::Builder::getParameter() {
c@106 4964 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 4965 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4966 }
c@106 4967 inline void Configuration::PVPair::Builder::setParameter( ::capnp::Text::Reader value) {
c@106 4968 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 4969 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 4970 }
c@106 4971 inline ::capnp::Text::Builder Configuration::PVPair::Builder::initParameter(unsigned int size) {
c@106 4972 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 4973 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 4974 }
c@106 4975 inline void Configuration::PVPair::Builder::adoptParameter(
c@106 4976 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 4977 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 4978 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 4979 }
c@106 4980 inline ::capnp::Orphan< ::capnp::Text> Configuration::PVPair::Builder::disownParameter() {
c@106 4981 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 4982 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 4983 }
c@106 4984
c@106 4985 inline float Configuration::PVPair::Reader::getValue() const {
c@106 4986 return _reader.getDataField<float>(
c@106 4987 0 * ::capnp::ELEMENTS);
c@106 4988 }
c@106 4989
c@106 4990 inline float Configuration::PVPair::Builder::getValue() {
c@106 4991 return _builder.getDataField<float>(
c@106 4992 0 * ::capnp::ELEMENTS);
c@106 4993 }
c@106 4994 inline void Configuration::PVPair::Builder::setValue(float value) {
c@106 4995 _builder.setDataField<float>(
c@106 4996 0 * ::capnp::ELEMENTS, value);
c@106 4997 }
c@106 4998
c@127 4999 inline bool ListRequest::Reader::hasFrom() const {
c@127 5000 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@127 5001 }
c@127 5002 inline bool ListRequest::Builder::hasFrom() {
c@127 5003 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@127 5004 }
c@127 5005 inline ::capnp::List< ::capnp::Text>::Reader ListRequest::Reader::getFrom() const {
c@127 5006 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@127 5007 _reader.getPointerField(0 * ::capnp::POINTERS));
c@127 5008 }
c@127 5009 inline ::capnp::List< ::capnp::Text>::Builder ListRequest::Builder::getFrom() {
c@127 5010 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
c@127 5011 _builder.getPointerField(0 * ::capnp::POINTERS));
c@127 5012 }
c@127 5013 inline void ListRequest::Builder::setFrom( ::capnp::List< ::capnp::Text>::Reader value) {
c@127 5014 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@127 5015 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@127 5016 }
c@127 5017 inline void ListRequest::Builder::setFrom(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
c@127 5018 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
c@127 5019 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@127 5020 }
c@127 5021 inline ::capnp::List< ::capnp::Text>::Builder ListRequest::Builder::initFrom(unsigned int size) {
c@127 5022 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
c@127 5023 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@127 5024 }
c@127 5025 inline void ListRequest::Builder::adoptFrom(
c@127 5026 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
c@127 5027 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
c@127 5028 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@127 5029 }
c@127 5030 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ListRequest::Builder::disownFrom() {
c@127 5031 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
c@127 5032 _builder.getPointerField(0 * ::capnp::POINTERS));
c@127 5033 }
c@127 5034
c@106 5035 inline bool ListResponse::Reader::hasAvailable() const {
c@106 5036 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5037 }
c@106 5038 inline bool ListResponse::Builder::hasAvailable() {
c@106 5039 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5040 }
c@106 5041 inline ::capnp::List< ::piper::ExtractorStaticData>::Reader ListResponse::Reader::getAvailable() const {
c@106 5042 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::get(
c@106 5043 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5044 }
c@106 5045 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder ListResponse::Builder::getAvailable() {
c@106 5046 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::get(
c@106 5047 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5048 }
c@106 5049 inline void ListResponse::Builder::setAvailable( ::capnp::List< ::piper::ExtractorStaticData>::Reader value) {
c@106 5050 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::set(
c@106 5051 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5052 }
c@106 5053 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder ListResponse::Builder::initAvailable(unsigned int size) {
c@106 5054 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::init(
c@106 5055 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 5056 }
c@106 5057 inline void ListResponse::Builder::adoptAvailable(
c@106 5058 ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>>&& value) {
c@106 5059 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::adopt(
c@106 5060 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5061 }
c@106 5062 inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>> ListResponse::Builder::disownAvailable() {
c@106 5063 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::disown(
c@106 5064 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5065 }
c@106 5066
c@106 5067 inline bool LoadRequest::Reader::hasKey() const {
c@106 5068 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5069 }
c@106 5070 inline bool LoadRequest::Builder::hasKey() {
c@106 5071 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5072 }
c@106 5073 inline ::capnp::Text::Reader LoadRequest::Reader::getKey() const {
c@106 5074 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 5075 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5076 }
c@106 5077 inline ::capnp::Text::Builder LoadRequest::Builder::getKey() {
c@106 5078 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 5079 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5080 }
c@106 5081 inline void LoadRequest::Builder::setKey( ::capnp::Text::Reader value) {
c@106 5082 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 5083 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5084 }
c@106 5085 inline ::capnp::Text::Builder LoadRequest::Builder::initKey(unsigned int size) {
c@106 5086 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 5087 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 5088 }
c@106 5089 inline void LoadRequest::Builder::adoptKey(
c@106 5090 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 5091 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 5092 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5093 }
c@106 5094 inline ::capnp::Orphan< ::capnp::Text> LoadRequest::Builder::disownKey() {
c@106 5095 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 5096 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5097 }
c@106 5098
c@106 5099 inline float LoadRequest::Reader::getInputSampleRate() const {
c@106 5100 return _reader.getDataField<float>(
c@106 5101 0 * ::capnp::ELEMENTS);
c@106 5102 }
c@106 5103
c@106 5104 inline float LoadRequest::Builder::getInputSampleRate() {
c@106 5105 return _builder.getDataField<float>(
c@106 5106 0 * ::capnp::ELEMENTS);
c@106 5107 }
c@106 5108 inline void LoadRequest::Builder::setInputSampleRate(float value) {
c@106 5109 _builder.setDataField<float>(
c@106 5110 0 * ::capnp::ELEMENTS, value);
c@106 5111 }
c@106 5112
c@106 5113 inline bool LoadRequest::Reader::hasAdapterFlags() const {
c@106 5114 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5115 }
c@106 5116 inline bool LoadRequest::Builder::hasAdapterFlags() {
c@106 5117 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5118 }
c@106 5119 inline ::capnp::List< ::piper::AdapterFlag>::Reader LoadRequest::Reader::getAdapterFlags() const {
c@106 5120 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::get(
c@106 5121 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 5122 }
c@106 5123 inline ::capnp::List< ::piper::AdapterFlag>::Builder LoadRequest::Builder::getAdapterFlags() {
c@106 5124 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::get(
c@106 5125 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5126 }
c@106 5127 inline void LoadRequest::Builder::setAdapterFlags( ::capnp::List< ::piper::AdapterFlag>::Reader value) {
c@106 5128 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::set(
c@106 5129 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 5130 }
c@106 5131 inline void LoadRequest::Builder::setAdapterFlags(::kj::ArrayPtr<const ::piper::AdapterFlag> value) {
c@106 5132 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::set(
c@106 5133 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 5134 }
c@106 5135 inline ::capnp::List< ::piper::AdapterFlag>::Builder LoadRequest::Builder::initAdapterFlags(unsigned int size) {
c@106 5136 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::init(
c@106 5137 _builder.getPointerField(1 * ::capnp::POINTERS), size);
c@106 5138 }
c@106 5139 inline void LoadRequest::Builder::adoptAdapterFlags(
c@106 5140 ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>>&& value) {
c@106 5141 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::adopt(
c@106 5142 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 5143 }
c@106 5144 inline ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>> LoadRequest::Builder::disownAdapterFlags() {
c@106 5145 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::disown(
c@106 5146 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5147 }
c@106 5148
c@106 5149 inline ::int32_t LoadResponse::Reader::getHandle() const {
c@106 5150 return _reader.getDataField< ::int32_t>(
c@106 5151 0 * ::capnp::ELEMENTS);
c@106 5152 }
c@106 5153
c@106 5154 inline ::int32_t LoadResponse::Builder::getHandle() {
c@106 5155 return _builder.getDataField< ::int32_t>(
c@106 5156 0 * ::capnp::ELEMENTS);
c@106 5157 }
c@106 5158 inline void LoadResponse::Builder::setHandle( ::int32_t value) {
c@106 5159 _builder.setDataField< ::int32_t>(
c@106 5160 0 * ::capnp::ELEMENTS, value);
c@106 5161 }
c@106 5162
c@106 5163 inline bool LoadResponse::Reader::hasStaticData() const {
c@106 5164 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5165 }
c@106 5166 inline bool LoadResponse::Builder::hasStaticData() {
c@106 5167 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5168 }
c@106 5169 inline ::piper::ExtractorStaticData::Reader LoadResponse::Reader::getStaticData() const {
c@106 5170 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::get(
c@106 5171 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5172 }
c@106 5173 inline ::piper::ExtractorStaticData::Builder LoadResponse::Builder::getStaticData() {
c@106 5174 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::get(
c@106 5175 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5176 }
c@106 5177 #if !CAPNP_LITE
c@106 5178 inline ::piper::ExtractorStaticData::Pipeline LoadResponse::Pipeline::getStaticData() {
c@106 5179 return ::piper::ExtractorStaticData::Pipeline(_typeless.getPointerField(0));
c@106 5180 }
c@106 5181 #endif // !CAPNP_LITE
c@106 5182 inline void LoadResponse::Builder::setStaticData( ::piper::ExtractorStaticData::Reader value) {
c@106 5183 ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::set(
c@106 5184 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5185 }
c@106 5186 inline ::piper::ExtractorStaticData::Builder LoadResponse::Builder::initStaticData() {
c@106 5187 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::init(
c@106 5188 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5189 }
c@106 5190 inline void LoadResponse::Builder::adoptStaticData(
c@106 5191 ::capnp::Orphan< ::piper::ExtractorStaticData>&& value) {
c@106 5192 ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::adopt(
c@106 5193 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5194 }
c@106 5195 inline ::capnp::Orphan< ::piper::ExtractorStaticData> LoadResponse::Builder::disownStaticData() {
c@106 5196 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::disown(
c@106 5197 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5198 }
c@106 5199
c@106 5200 inline bool LoadResponse::Reader::hasDefaultConfiguration() const {
c@106 5201 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5202 }
c@106 5203 inline bool LoadResponse::Builder::hasDefaultConfiguration() {
c@106 5204 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5205 }
c@106 5206 inline ::piper::Configuration::Reader LoadResponse::Reader::getDefaultConfiguration() const {
c@106 5207 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(
c@106 5208 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 5209 }
c@106 5210 inline ::piper::Configuration::Builder LoadResponse::Builder::getDefaultConfiguration() {
c@106 5211 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(
c@106 5212 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5213 }
c@106 5214 #if !CAPNP_LITE
c@106 5215 inline ::piper::Configuration::Pipeline LoadResponse::Pipeline::getDefaultConfiguration() {
c@106 5216 return ::piper::Configuration::Pipeline(_typeless.getPointerField(1));
c@106 5217 }
c@106 5218 #endif // !CAPNP_LITE
c@106 5219 inline void LoadResponse::Builder::setDefaultConfiguration( ::piper::Configuration::Reader value) {
c@106 5220 ::capnp::_::PointerHelpers< ::piper::Configuration>::set(
c@106 5221 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 5222 }
c@106 5223 inline ::piper::Configuration::Builder LoadResponse::Builder::initDefaultConfiguration() {
c@106 5224 return ::capnp::_::PointerHelpers< ::piper::Configuration>::init(
c@106 5225 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5226 }
c@106 5227 inline void LoadResponse::Builder::adoptDefaultConfiguration(
c@106 5228 ::capnp::Orphan< ::piper::Configuration>&& value) {
c@106 5229 ::capnp::_::PointerHelpers< ::piper::Configuration>::adopt(
c@106 5230 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 5231 }
c@106 5232 inline ::capnp::Orphan< ::piper::Configuration> LoadResponse::Builder::disownDefaultConfiguration() {
c@106 5233 return ::capnp::_::PointerHelpers< ::piper::Configuration>::disown(
c@106 5234 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5235 }
c@106 5236
c@106 5237 inline ::int32_t ConfigurationRequest::Reader::getHandle() const {
c@106 5238 return _reader.getDataField< ::int32_t>(
c@106 5239 0 * ::capnp::ELEMENTS);
c@106 5240 }
c@106 5241
c@106 5242 inline ::int32_t ConfigurationRequest::Builder::getHandle() {
c@106 5243 return _builder.getDataField< ::int32_t>(
c@106 5244 0 * ::capnp::ELEMENTS);
c@106 5245 }
c@106 5246 inline void ConfigurationRequest::Builder::setHandle( ::int32_t value) {
c@106 5247 _builder.setDataField< ::int32_t>(
c@106 5248 0 * ::capnp::ELEMENTS, value);
c@106 5249 }
c@106 5250
c@106 5251 inline bool ConfigurationRequest::Reader::hasConfiguration() const {
c@106 5252 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5253 }
c@106 5254 inline bool ConfigurationRequest::Builder::hasConfiguration() {
c@106 5255 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5256 }
c@106 5257 inline ::piper::Configuration::Reader ConfigurationRequest::Reader::getConfiguration() const {
c@106 5258 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(
c@106 5259 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5260 }
c@106 5261 inline ::piper::Configuration::Builder ConfigurationRequest::Builder::getConfiguration() {
c@106 5262 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(
c@106 5263 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5264 }
c@106 5265 #if !CAPNP_LITE
c@106 5266 inline ::piper::Configuration::Pipeline ConfigurationRequest::Pipeline::getConfiguration() {
c@106 5267 return ::piper::Configuration::Pipeline(_typeless.getPointerField(0));
c@106 5268 }
c@106 5269 #endif // !CAPNP_LITE
c@106 5270 inline void ConfigurationRequest::Builder::setConfiguration( ::piper::Configuration::Reader value) {
c@106 5271 ::capnp::_::PointerHelpers< ::piper::Configuration>::set(
c@106 5272 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5273 }
c@106 5274 inline ::piper::Configuration::Builder ConfigurationRequest::Builder::initConfiguration() {
c@106 5275 return ::capnp::_::PointerHelpers< ::piper::Configuration>::init(
c@106 5276 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5277 }
c@106 5278 inline void ConfigurationRequest::Builder::adoptConfiguration(
c@106 5279 ::capnp::Orphan< ::piper::Configuration>&& value) {
c@106 5280 ::capnp::_::PointerHelpers< ::piper::Configuration>::adopt(
c@106 5281 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5282 }
c@106 5283 inline ::capnp::Orphan< ::piper::Configuration> ConfigurationRequest::Builder::disownConfiguration() {
c@106 5284 return ::capnp::_::PointerHelpers< ::piper::Configuration>::disown(
c@106 5285 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5286 }
c@106 5287
c@106 5288 inline ::int32_t ConfigurationResponse::Reader::getHandle() const {
c@106 5289 return _reader.getDataField< ::int32_t>(
c@106 5290 0 * ::capnp::ELEMENTS);
c@106 5291 }
c@106 5292
c@106 5293 inline ::int32_t ConfigurationResponse::Builder::getHandle() {
c@106 5294 return _builder.getDataField< ::int32_t>(
c@106 5295 0 * ::capnp::ELEMENTS);
c@106 5296 }
c@106 5297 inline void ConfigurationResponse::Builder::setHandle( ::int32_t value) {
c@106 5298 _builder.setDataField< ::int32_t>(
c@106 5299 0 * ::capnp::ELEMENTS, value);
c@106 5300 }
c@106 5301
c@106 5302 inline bool ConfigurationResponse::Reader::hasOutputs() const {
c@106 5303 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5304 }
c@106 5305 inline bool ConfigurationResponse::Builder::hasOutputs() {
c@106 5306 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5307 }
c@106 5308 inline ::capnp::List< ::piper::OutputDescriptor>::Reader ConfigurationResponse::Reader::getOutputs() const {
c@106 5309 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::get(
c@106 5310 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5311 }
c@106 5312 inline ::capnp::List< ::piper::OutputDescriptor>::Builder ConfigurationResponse::Builder::getOutputs() {
c@106 5313 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::get(
c@106 5314 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5315 }
c@106 5316 inline void ConfigurationResponse::Builder::setOutputs( ::capnp::List< ::piper::OutputDescriptor>::Reader value) {
c@106 5317 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::set(
c@106 5318 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5319 }
c@106 5320 inline ::capnp::List< ::piper::OutputDescriptor>::Builder ConfigurationResponse::Builder::initOutputs(unsigned int size) {
c@106 5321 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::init(
c@106 5322 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 5323 }
c@106 5324 inline void ConfigurationResponse::Builder::adoptOutputs(
c@106 5325 ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>>&& value) {
c@106 5326 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::adopt(
c@106 5327 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5328 }
c@106 5329 inline ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>> ConfigurationResponse::Builder::disownOutputs() {
c@106 5330 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::disown(
c@106 5331 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5332 }
c@106 5333
cannam@185 5334 inline bool ConfigurationResponse::Reader::hasFraming() const {
cannam@185 5335 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
cannam@185 5336 }
cannam@185 5337 inline bool ConfigurationResponse::Builder::hasFraming() {
cannam@185 5338 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
cannam@185 5339 }
cannam@185 5340 inline ::piper::Framing::Reader ConfigurationResponse::Reader::getFraming() const {
cannam@185 5341 return ::capnp::_::PointerHelpers< ::piper::Framing>::get(
cannam@185 5342 _reader.getPointerField(1 * ::capnp::POINTERS));
cannam@185 5343 }
cannam@185 5344 inline ::piper::Framing::Builder ConfigurationResponse::Builder::getFraming() {
cannam@185 5345 return ::capnp::_::PointerHelpers< ::piper::Framing>::get(
cannam@185 5346 _builder.getPointerField(1 * ::capnp::POINTERS));
cannam@185 5347 }
cannam@185 5348 #if !CAPNP_LITE
cannam@185 5349 inline ::piper::Framing::Pipeline ConfigurationResponse::Pipeline::getFraming() {
cannam@185 5350 return ::piper::Framing::Pipeline(_typeless.getPointerField(1));
cannam@185 5351 }
cannam@185 5352 #endif // !CAPNP_LITE
cannam@185 5353 inline void ConfigurationResponse::Builder::setFraming( ::piper::Framing::Reader value) {
cannam@185 5354 ::capnp::_::PointerHelpers< ::piper::Framing>::set(
cannam@185 5355 _builder.getPointerField(1 * ::capnp::POINTERS), value);
cannam@185 5356 }
cannam@185 5357 inline ::piper::Framing::Builder ConfigurationResponse::Builder::initFraming() {
cannam@185 5358 return ::capnp::_::PointerHelpers< ::piper::Framing>::init(
cannam@185 5359 _builder.getPointerField(1 * ::capnp::POINTERS));
cannam@185 5360 }
cannam@185 5361 inline void ConfigurationResponse::Builder::adoptFraming(
cannam@185 5362 ::capnp::Orphan< ::piper::Framing>&& value) {
cannam@185 5363 ::capnp::_::PointerHelpers< ::piper::Framing>::adopt(
cannam@185 5364 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
cannam@185 5365 }
cannam@185 5366 inline ::capnp::Orphan< ::piper::Framing> ConfigurationResponse::Builder::disownFraming() {
cannam@185 5367 return ::capnp::_::PointerHelpers< ::piper::Framing>::disown(
cannam@185 5368 _builder.getPointerField(1 * ::capnp::POINTERS));
cannam@185 5369 }
cannam@185 5370
c@106 5371 inline ::int32_t ProcessRequest::Reader::getHandle() const {
c@106 5372 return _reader.getDataField< ::int32_t>(
c@106 5373 0 * ::capnp::ELEMENTS);
c@106 5374 }
c@106 5375
c@106 5376 inline ::int32_t ProcessRequest::Builder::getHandle() {
c@106 5377 return _builder.getDataField< ::int32_t>(
c@106 5378 0 * ::capnp::ELEMENTS);
c@106 5379 }
c@106 5380 inline void ProcessRequest::Builder::setHandle( ::int32_t value) {
c@106 5381 _builder.setDataField< ::int32_t>(
c@106 5382 0 * ::capnp::ELEMENTS, value);
c@106 5383 }
c@106 5384
c@106 5385 inline bool ProcessRequest::Reader::hasProcessInput() const {
c@106 5386 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5387 }
c@106 5388 inline bool ProcessRequest::Builder::hasProcessInput() {
c@106 5389 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5390 }
c@106 5391 inline ::piper::ProcessInput::Reader ProcessRequest::Reader::getProcessInput() const {
c@106 5392 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::get(
c@106 5393 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5394 }
c@106 5395 inline ::piper::ProcessInput::Builder ProcessRequest::Builder::getProcessInput() {
c@106 5396 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::get(
c@106 5397 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5398 }
c@106 5399 #if !CAPNP_LITE
c@106 5400 inline ::piper::ProcessInput::Pipeline ProcessRequest::Pipeline::getProcessInput() {
c@106 5401 return ::piper::ProcessInput::Pipeline(_typeless.getPointerField(0));
c@106 5402 }
c@106 5403 #endif // !CAPNP_LITE
c@106 5404 inline void ProcessRequest::Builder::setProcessInput( ::piper::ProcessInput::Reader value) {
c@106 5405 ::capnp::_::PointerHelpers< ::piper::ProcessInput>::set(
c@106 5406 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5407 }
c@106 5408 inline ::piper::ProcessInput::Builder ProcessRequest::Builder::initProcessInput() {
c@106 5409 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::init(
c@106 5410 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5411 }
c@106 5412 inline void ProcessRequest::Builder::adoptProcessInput(
c@106 5413 ::capnp::Orphan< ::piper::ProcessInput>&& value) {
c@106 5414 ::capnp::_::PointerHelpers< ::piper::ProcessInput>::adopt(
c@106 5415 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5416 }
c@106 5417 inline ::capnp::Orphan< ::piper::ProcessInput> ProcessRequest::Builder::disownProcessInput() {
c@106 5418 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::disown(
c@106 5419 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5420 }
c@106 5421
c@106 5422 inline ::int32_t ProcessResponse::Reader::getHandle() const {
c@106 5423 return _reader.getDataField< ::int32_t>(
c@106 5424 0 * ::capnp::ELEMENTS);
c@106 5425 }
c@106 5426
c@106 5427 inline ::int32_t ProcessResponse::Builder::getHandle() {
c@106 5428 return _builder.getDataField< ::int32_t>(
c@106 5429 0 * ::capnp::ELEMENTS);
c@106 5430 }
c@106 5431 inline void ProcessResponse::Builder::setHandle( ::int32_t value) {
c@106 5432 _builder.setDataField< ::int32_t>(
c@106 5433 0 * ::capnp::ELEMENTS, value);
c@106 5434 }
c@106 5435
c@106 5436 inline bool ProcessResponse::Reader::hasFeatures() const {
c@106 5437 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5438 }
c@106 5439 inline bool ProcessResponse::Builder::hasFeatures() {
c@106 5440 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5441 }
c@106 5442 inline ::piper::FeatureSet::Reader ProcessResponse::Reader::getFeatures() const {
c@106 5443 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(
c@106 5444 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5445 }
c@106 5446 inline ::piper::FeatureSet::Builder ProcessResponse::Builder::getFeatures() {
c@106 5447 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(
c@106 5448 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5449 }
c@106 5450 #if !CAPNP_LITE
c@106 5451 inline ::piper::FeatureSet::Pipeline ProcessResponse::Pipeline::getFeatures() {
c@106 5452 return ::piper::FeatureSet::Pipeline(_typeless.getPointerField(0));
c@106 5453 }
c@106 5454 #endif // !CAPNP_LITE
c@106 5455 inline void ProcessResponse::Builder::setFeatures( ::piper::FeatureSet::Reader value) {
c@106 5456 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::set(
c@106 5457 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5458 }
c@106 5459 inline ::piper::FeatureSet::Builder ProcessResponse::Builder::initFeatures() {
c@106 5460 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::init(
c@106 5461 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5462 }
c@106 5463 inline void ProcessResponse::Builder::adoptFeatures(
c@106 5464 ::capnp::Orphan< ::piper::FeatureSet>&& value) {
c@106 5465 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::adopt(
c@106 5466 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5467 }
c@106 5468 inline ::capnp::Orphan< ::piper::FeatureSet> ProcessResponse::Builder::disownFeatures() {
c@106 5469 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::disown(
c@106 5470 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5471 }
c@106 5472
c@106 5473 inline ::int32_t FinishRequest::Reader::getHandle() const {
c@106 5474 return _reader.getDataField< ::int32_t>(
c@106 5475 0 * ::capnp::ELEMENTS);
c@106 5476 }
c@106 5477
c@106 5478 inline ::int32_t FinishRequest::Builder::getHandle() {
c@106 5479 return _builder.getDataField< ::int32_t>(
c@106 5480 0 * ::capnp::ELEMENTS);
c@106 5481 }
c@106 5482 inline void FinishRequest::Builder::setHandle( ::int32_t value) {
c@106 5483 _builder.setDataField< ::int32_t>(
c@106 5484 0 * ::capnp::ELEMENTS, value);
c@106 5485 }
c@106 5486
c@106 5487 inline ::int32_t FinishResponse::Reader::getHandle() const {
c@106 5488 return _reader.getDataField< ::int32_t>(
c@106 5489 0 * ::capnp::ELEMENTS);
c@106 5490 }
c@106 5491
c@106 5492 inline ::int32_t FinishResponse::Builder::getHandle() {
c@106 5493 return _builder.getDataField< ::int32_t>(
c@106 5494 0 * ::capnp::ELEMENTS);
c@106 5495 }
c@106 5496 inline void FinishResponse::Builder::setHandle( ::int32_t value) {
c@106 5497 _builder.setDataField< ::int32_t>(
c@106 5498 0 * ::capnp::ELEMENTS, value);
c@106 5499 }
c@106 5500
c@106 5501 inline bool FinishResponse::Reader::hasFeatures() const {
c@106 5502 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5503 }
c@106 5504 inline bool FinishResponse::Builder::hasFeatures() {
c@106 5505 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5506 }
c@106 5507 inline ::piper::FeatureSet::Reader FinishResponse::Reader::getFeatures() const {
c@106 5508 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(
c@106 5509 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5510 }
c@106 5511 inline ::piper::FeatureSet::Builder FinishResponse::Builder::getFeatures() {
c@106 5512 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(
c@106 5513 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5514 }
c@106 5515 #if !CAPNP_LITE
c@106 5516 inline ::piper::FeatureSet::Pipeline FinishResponse::Pipeline::getFeatures() {
c@106 5517 return ::piper::FeatureSet::Pipeline(_typeless.getPointerField(0));
c@106 5518 }
c@106 5519 #endif // !CAPNP_LITE
c@106 5520 inline void FinishResponse::Builder::setFeatures( ::piper::FeatureSet::Reader value) {
c@106 5521 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::set(
c@106 5522 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5523 }
c@106 5524 inline ::piper::FeatureSet::Builder FinishResponse::Builder::initFeatures() {
c@106 5525 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::init(
c@106 5526 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5527 }
c@106 5528 inline void FinishResponse::Builder::adoptFeatures(
c@106 5529 ::capnp::Orphan< ::piper::FeatureSet>&& value) {
c@106 5530 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::adopt(
c@106 5531 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5532 }
c@106 5533 inline ::capnp::Orphan< ::piper::FeatureSet> FinishResponse::Builder::disownFeatures() {
c@106 5534 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::disown(
c@106 5535 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5536 }
c@106 5537
c@106 5538 inline ::int32_t Error::Reader::getCode() const {
c@106 5539 return _reader.getDataField< ::int32_t>(
c@106 5540 0 * ::capnp::ELEMENTS);
c@106 5541 }
c@106 5542
c@106 5543 inline ::int32_t Error::Builder::getCode() {
c@106 5544 return _builder.getDataField< ::int32_t>(
c@106 5545 0 * ::capnp::ELEMENTS);
c@106 5546 }
c@106 5547 inline void Error::Builder::setCode( ::int32_t value) {
c@106 5548 _builder.setDataField< ::int32_t>(
c@106 5549 0 * ::capnp::ELEMENTS, value);
c@106 5550 }
c@106 5551
c@106 5552 inline bool Error::Reader::hasMessage() const {
c@106 5553 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5554 }
c@106 5555 inline bool Error::Builder::hasMessage() {
c@106 5556 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5557 }
c@106 5558 inline ::capnp::Text::Reader Error::Reader::getMessage() const {
c@106 5559 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 5560 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5561 }
c@106 5562 inline ::capnp::Text::Builder Error::Builder::getMessage() {
c@106 5563 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 5564 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5565 }
c@106 5566 inline void Error::Builder::setMessage( ::capnp::Text::Reader value) {
c@106 5567 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 5568 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5569 }
c@106 5570 inline ::capnp::Text::Builder Error::Builder::initMessage(unsigned int size) {
c@106 5571 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 5572 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 5573 }
c@106 5574 inline void Error::Builder::adoptMessage(
c@106 5575 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 5576 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 5577 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5578 }
c@106 5579 inline ::capnp::Orphan< ::capnp::Text> Error::Builder::disownMessage() {
c@106 5580 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 5581 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5582 }
c@106 5583
c@106 5584 inline RpcRequest::Id::Reader RpcRequest::Reader::getId() const {
c@106 5585 return RpcRequest::Id::Reader(_reader);
c@106 5586 }
c@106 5587 inline RpcRequest::Id::Builder RpcRequest::Builder::getId() {
c@106 5588 return RpcRequest::Id::Builder(_builder);
c@106 5589 }
c@106 5590 #if !CAPNP_LITE
c@106 5591 inline RpcRequest::Id::Pipeline RpcRequest::Pipeline::getId() {
c@106 5592 return RpcRequest::Id::Pipeline(_typeless.noop());
c@106 5593 }
c@106 5594 #endif // !CAPNP_LITE
c@106 5595 inline RpcRequest::Id::Builder RpcRequest::Builder::initId() {
c@106 5596 _builder.setDataField< ::uint32_t>(0 * ::capnp::ELEMENTS, 0);
c@106 5597 _builder.setDataField< ::uint16_t>(2 * ::capnp::ELEMENTS, 0);
c@106 5598 _builder.getPointerField(0 * ::capnp::POINTERS).clear();
c@106 5599 return RpcRequest::Id::Builder(_builder);
c@106 5600 }
c@106 5601 inline RpcRequest::Request::Reader RpcRequest::Reader::getRequest() const {
c@106 5602 return RpcRequest::Request::Reader(_reader);
c@106 5603 }
c@106 5604 inline RpcRequest::Request::Builder RpcRequest::Builder::getRequest() {
c@106 5605 return RpcRequest::Request::Builder(_builder);
c@106 5606 }
c@106 5607 #if !CAPNP_LITE
c@106 5608 inline RpcRequest::Request::Pipeline RpcRequest::Pipeline::getRequest() {
c@106 5609 return RpcRequest::Request::Pipeline(_typeless.noop());
c@106 5610 }
c@106 5611 #endif // !CAPNP_LITE
c@106 5612 inline RpcRequest::Request::Builder RpcRequest::Builder::initRequest() {
c@106 5613 _builder.setDataField< ::uint16_t>(3 * ::capnp::ELEMENTS, 0);
c@106 5614 _builder.getPointerField(1 * ::capnp::POINTERS).clear();
c@106 5615 return RpcRequest::Request::Builder(_builder);
c@106 5616 }
c@106 5617 inline ::piper::RpcRequest::Id::Which RpcRequest::Id::Reader::which() const {
c@106 5618 return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS);
c@106 5619 }
c@106 5620 inline ::piper::RpcRequest::Id::Which RpcRequest::Id::Builder::which() {
c@106 5621 return _builder.getDataField<Which>(2 * ::capnp::ELEMENTS);
c@106 5622 }
c@106 5623
c@106 5624 inline bool RpcRequest::Id::Reader::isNumber() const {
c@106 5625 return which() == RpcRequest::Id::NUMBER;
c@106 5626 }
c@106 5627 inline bool RpcRequest::Id::Builder::isNumber() {
c@106 5628 return which() == RpcRequest::Id::NUMBER;
c@106 5629 }
c@106 5630 inline ::int32_t RpcRequest::Id::Reader::getNumber() const {
c@106 5631 KJ_IREQUIRE((which() == RpcRequest::Id::NUMBER),
c@106 5632 "Must check which() before get()ing a union member.");
c@106 5633 return _reader.getDataField< ::int32_t>(
c@106 5634 0 * ::capnp::ELEMENTS);
c@106 5635 }
c@106 5636
c@106 5637 inline ::int32_t RpcRequest::Id::Builder::getNumber() {
c@106 5638 KJ_IREQUIRE((which() == RpcRequest::Id::NUMBER),
c@106 5639 "Must check which() before get()ing a union member.");
c@106 5640 return _builder.getDataField< ::int32_t>(
c@106 5641 0 * ::capnp::ELEMENTS);
c@106 5642 }
c@106 5643 inline void RpcRequest::Id::Builder::setNumber( ::int32_t value) {
c@106 5644 _builder.setDataField<RpcRequest::Id::Which>(
c@106 5645 2 * ::capnp::ELEMENTS, RpcRequest::Id::NUMBER);
c@106 5646 _builder.setDataField< ::int32_t>(
c@106 5647 0 * ::capnp::ELEMENTS, value);
c@106 5648 }
c@106 5649
c@106 5650 inline bool RpcRequest::Id::Reader::isTag() const {
c@106 5651 return which() == RpcRequest::Id::TAG;
c@106 5652 }
c@106 5653 inline bool RpcRequest::Id::Builder::isTag() {
c@106 5654 return which() == RpcRequest::Id::TAG;
c@106 5655 }
c@106 5656 inline bool RpcRequest::Id::Reader::hasTag() const {
c@106 5657 if (which() != RpcRequest::Id::TAG) return false;
c@106 5658 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5659 }
c@106 5660 inline bool RpcRequest::Id::Builder::hasTag() {
c@106 5661 if (which() != RpcRequest::Id::TAG) return false;
c@106 5662 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 5663 }
c@106 5664 inline ::capnp::Text::Reader RpcRequest::Id::Reader::getTag() const {
c@106 5665 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
c@106 5666 "Must check which() before get()ing a union member.");
c@106 5667 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 5668 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 5669 }
c@106 5670 inline ::capnp::Text::Builder RpcRequest::Id::Builder::getTag() {
c@106 5671 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
c@106 5672 "Must check which() before get()ing a union member.");
c@106 5673 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 5674 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5675 }
c@106 5676 inline void RpcRequest::Id::Builder::setTag( ::capnp::Text::Reader value) {
c@106 5677 _builder.setDataField<RpcRequest::Id::Which>(
c@106 5678 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
c@106 5679 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 5680 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 5681 }
c@106 5682 inline ::capnp::Text::Builder RpcRequest::Id::Builder::initTag(unsigned int size) {
c@106 5683 _builder.setDataField<RpcRequest::Id::Which>(
c@106 5684 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
c@106 5685 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 5686 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 5687 }
c@106 5688 inline void RpcRequest::Id::Builder::adoptTag(
c@106 5689 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 5690 _builder.setDataField<RpcRequest::Id::Which>(
c@106 5691 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
c@106 5692 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 5693 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 5694 }
c@106 5695 inline ::capnp::Orphan< ::capnp::Text> RpcRequest::Id::Builder::disownTag() {
c@106 5696 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
c@106 5697 "Must check which() before get()ing a union member.");
c@106 5698 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 5699 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 5700 }
c@106 5701
c@106 5702 inline bool RpcRequest::Id::Reader::isNone() const {
c@106 5703 return which() == RpcRequest::Id::NONE;
c@106 5704 }
c@106 5705 inline bool RpcRequest::Id::Builder::isNone() {
c@106 5706 return which() == RpcRequest::Id::NONE;
c@106 5707 }
c@106 5708 inline ::capnp::Void RpcRequest::Id::Reader::getNone() const {
c@106 5709 KJ_IREQUIRE((which() == RpcRequest::Id::NONE),
c@106 5710 "Must check which() before get()ing a union member.");
c@106 5711 return _reader.getDataField< ::capnp::Void>(
c@106 5712 0 * ::capnp::ELEMENTS);
c@106 5713 }
c@106 5714
c@106 5715 inline ::capnp::Void RpcRequest::Id::Builder::getNone() {
c@106 5716 KJ_IREQUIRE((which() == RpcRequest::Id::NONE),
c@106 5717 "Must check which() before get()ing a union member.");
c@106 5718 return _builder.getDataField< ::capnp::Void>(
c@106 5719 0 * ::capnp::ELEMENTS);
c@106 5720 }
c@106 5721 inline void RpcRequest::Id::Builder::setNone( ::capnp::Void value) {
c@106 5722 _builder.setDataField<RpcRequest::Id::Which>(
c@106 5723 2 * ::capnp::ELEMENTS, RpcRequest::Id::NONE);
c@106 5724 _builder.setDataField< ::capnp::Void>(
c@106 5725 0 * ::capnp::ELEMENTS, value);
c@106 5726 }
c@106 5727
c@106 5728 inline ::piper::RpcRequest::Request::Which RpcRequest::Request::Reader::which() const {
c@106 5729 return _reader.getDataField<Which>(3 * ::capnp::ELEMENTS);
c@106 5730 }
c@106 5731 inline ::piper::RpcRequest::Request::Which RpcRequest::Request::Builder::which() {
c@106 5732 return _builder.getDataField<Which>(3 * ::capnp::ELEMENTS);
c@106 5733 }
c@106 5734
c@106 5735 inline bool RpcRequest::Request::Reader::isList() const {
c@106 5736 return which() == RpcRequest::Request::LIST;
c@106 5737 }
c@106 5738 inline bool RpcRequest::Request::Builder::isList() {
c@106 5739 return which() == RpcRequest::Request::LIST;
c@106 5740 }
c@106 5741 inline bool RpcRequest::Request::Reader::hasList() const {
c@106 5742 if (which() != RpcRequest::Request::LIST) return false;
c@106 5743 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5744 }
c@106 5745 inline bool RpcRequest::Request::Builder::hasList() {
c@106 5746 if (which() != RpcRequest::Request::LIST) return false;
c@106 5747 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5748 }
c@106 5749 inline ::piper::ListRequest::Reader RpcRequest::Request::Reader::getList() const {
c@106 5750 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
c@106 5751 "Must check which() before get()ing a union member.");
c@106 5752 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::get(
c@106 5753 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 5754 }
c@106 5755 inline ::piper::ListRequest::Builder RpcRequest::Request::Builder::getList() {
c@106 5756 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
c@106 5757 "Must check which() before get()ing a union member.");
c@106 5758 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::get(
c@106 5759 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5760 }
c@106 5761 inline void RpcRequest::Request::Builder::setList( ::piper::ListRequest::Reader value) {
c@106 5762 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5763 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
c@106 5764 ::capnp::_::PointerHelpers< ::piper::ListRequest>::set(
c@106 5765 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 5766 }
c@106 5767 inline ::piper::ListRequest::Builder RpcRequest::Request::Builder::initList() {
c@106 5768 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5769 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
c@106 5770 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::init(
c@106 5771 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5772 }
c@106 5773 inline void RpcRequest::Request::Builder::adoptList(
c@106 5774 ::capnp::Orphan< ::piper::ListRequest>&& value) {
c@106 5775 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5776 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
c@106 5777 ::capnp::_::PointerHelpers< ::piper::ListRequest>::adopt(
c@106 5778 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 5779 }
c@106 5780 inline ::capnp::Orphan< ::piper::ListRequest> RpcRequest::Request::Builder::disownList() {
c@106 5781 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
c@106 5782 "Must check which() before get()ing a union member.");
c@106 5783 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::disown(
c@106 5784 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5785 }
c@106 5786
c@106 5787 inline bool RpcRequest::Request::Reader::isLoad() const {
c@106 5788 return which() == RpcRequest::Request::LOAD;
c@106 5789 }
c@106 5790 inline bool RpcRequest::Request::Builder::isLoad() {
c@106 5791 return which() == RpcRequest::Request::LOAD;
c@106 5792 }
c@106 5793 inline bool RpcRequest::Request::Reader::hasLoad() const {
c@106 5794 if (which() != RpcRequest::Request::LOAD) return false;
c@106 5795 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5796 }
c@106 5797 inline bool RpcRequest::Request::Builder::hasLoad() {
c@106 5798 if (which() != RpcRequest::Request::LOAD) return false;
c@106 5799 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5800 }
c@106 5801 inline ::piper::LoadRequest::Reader RpcRequest::Request::Reader::getLoad() const {
c@106 5802 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
c@106 5803 "Must check which() before get()ing a union member.");
c@106 5804 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::get(
c@106 5805 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 5806 }
c@106 5807 inline ::piper::LoadRequest::Builder RpcRequest::Request::Builder::getLoad() {
c@106 5808 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
c@106 5809 "Must check which() before get()ing a union member.");
c@106 5810 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::get(
c@106 5811 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5812 }
c@106 5813 inline void RpcRequest::Request::Builder::setLoad( ::piper::LoadRequest::Reader value) {
c@106 5814 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5815 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
c@106 5816 ::capnp::_::PointerHelpers< ::piper::LoadRequest>::set(
c@106 5817 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 5818 }
c@106 5819 inline ::piper::LoadRequest::Builder RpcRequest::Request::Builder::initLoad() {
c@106 5820 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5821 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
c@106 5822 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::init(
c@106 5823 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5824 }
c@106 5825 inline void RpcRequest::Request::Builder::adoptLoad(
c@106 5826 ::capnp::Orphan< ::piper::LoadRequest>&& value) {
c@106 5827 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5828 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
c@106 5829 ::capnp::_::PointerHelpers< ::piper::LoadRequest>::adopt(
c@106 5830 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 5831 }
c@106 5832 inline ::capnp::Orphan< ::piper::LoadRequest> RpcRequest::Request::Builder::disownLoad() {
c@106 5833 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
c@106 5834 "Must check which() before get()ing a union member.");
c@106 5835 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::disown(
c@106 5836 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5837 }
c@106 5838
c@106 5839 inline bool RpcRequest::Request::Reader::isConfigure() const {
c@106 5840 return which() == RpcRequest::Request::CONFIGURE;
c@106 5841 }
c@106 5842 inline bool RpcRequest::Request::Builder::isConfigure() {
c@106 5843 return which() == RpcRequest::Request::CONFIGURE;
c@106 5844 }
c@106 5845 inline bool RpcRequest::Request::Reader::hasConfigure() const {
c@106 5846 if (which() != RpcRequest::Request::CONFIGURE) return false;
c@106 5847 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5848 }
c@106 5849 inline bool RpcRequest::Request::Builder::hasConfigure() {
c@106 5850 if (which() != RpcRequest::Request::CONFIGURE) return false;
c@106 5851 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5852 }
c@106 5853 inline ::piper::ConfigurationRequest::Reader RpcRequest::Request::Reader::getConfigure() const {
c@106 5854 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
c@106 5855 "Must check which() before get()ing a union member.");
c@106 5856 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::get(
c@106 5857 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 5858 }
c@106 5859 inline ::piper::ConfigurationRequest::Builder RpcRequest::Request::Builder::getConfigure() {
c@106 5860 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
c@106 5861 "Must check which() before get()ing a union member.");
c@106 5862 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::get(
c@106 5863 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5864 }
c@106 5865 inline void RpcRequest::Request::Builder::setConfigure( ::piper::ConfigurationRequest::Reader value) {
c@106 5866 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5867 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
c@106 5868 ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::set(
c@106 5869 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 5870 }
c@106 5871 inline ::piper::ConfigurationRequest::Builder RpcRequest::Request::Builder::initConfigure() {
c@106 5872 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5873 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
c@106 5874 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::init(
c@106 5875 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5876 }
c@106 5877 inline void RpcRequest::Request::Builder::adoptConfigure(
c@106 5878 ::capnp::Orphan< ::piper::ConfigurationRequest>&& value) {
c@106 5879 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5880 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
c@106 5881 ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::adopt(
c@106 5882 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 5883 }
c@106 5884 inline ::capnp::Orphan< ::piper::ConfigurationRequest> RpcRequest::Request::Builder::disownConfigure() {
c@106 5885 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
c@106 5886 "Must check which() before get()ing a union member.");
c@106 5887 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::disown(
c@106 5888 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5889 }
c@106 5890
c@106 5891 inline bool RpcRequest::Request::Reader::isProcess() const {
c@106 5892 return which() == RpcRequest::Request::PROCESS;
c@106 5893 }
c@106 5894 inline bool RpcRequest::Request::Builder::isProcess() {
c@106 5895 return which() == RpcRequest::Request::PROCESS;
c@106 5896 }
c@106 5897 inline bool RpcRequest::Request::Reader::hasProcess() const {
c@106 5898 if (which() != RpcRequest::Request::PROCESS) return false;
c@106 5899 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5900 }
c@106 5901 inline bool RpcRequest::Request::Builder::hasProcess() {
c@106 5902 if (which() != RpcRequest::Request::PROCESS) return false;
c@106 5903 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5904 }
c@106 5905 inline ::piper::ProcessRequest::Reader RpcRequest::Request::Reader::getProcess() const {
c@106 5906 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
c@106 5907 "Must check which() before get()ing a union member.");
c@106 5908 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::get(
c@106 5909 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 5910 }
c@106 5911 inline ::piper::ProcessRequest::Builder RpcRequest::Request::Builder::getProcess() {
c@106 5912 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
c@106 5913 "Must check which() before get()ing a union member.");
c@106 5914 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::get(
c@106 5915 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5916 }
c@106 5917 inline void RpcRequest::Request::Builder::setProcess( ::piper::ProcessRequest::Reader value) {
c@106 5918 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5919 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
c@106 5920 ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::set(
c@106 5921 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 5922 }
c@106 5923 inline ::piper::ProcessRequest::Builder RpcRequest::Request::Builder::initProcess() {
c@106 5924 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5925 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
c@106 5926 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::init(
c@106 5927 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5928 }
c@106 5929 inline void RpcRequest::Request::Builder::adoptProcess(
c@106 5930 ::capnp::Orphan< ::piper::ProcessRequest>&& value) {
c@106 5931 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5932 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
c@106 5933 ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::adopt(
c@106 5934 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 5935 }
c@106 5936 inline ::capnp::Orphan< ::piper::ProcessRequest> RpcRequest::Request::Builder::disownProcess() {
c@106 5937 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
c@106 5938 "Must check which() before get()ing a union member.");
c@106 5939 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::disown(
c@106 5940 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5941 }
c@106 5942
c@106 5943 inline bool RpcRequest::Request::Reader::isFinish() const {
c@106 5944 return which() == RpcRequest::Request::FINISH;
c@106 5945 }
c@106 5946 inline bool RpcRequest::Request::Builder::isFinish() {
c@106 5947 return which() == RpcRequest::Request::FINISH;
c@106 5948 }
c@106 5949 inline bool RpcRequest::Request::Reader::hasFinish() const {
c@106 5950 if (which() != RpcRequest::Request::FINISH) return false;
c@106 5951 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5952 }
c@106 5953 inline bool RpcRequest::Request::Builder::hasFinish() {
c@106 5954 if (which() != RpcRequest::Request::FINISH) return false;
c@106 5955 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 5956 }
c@106 5957 inline ::piper::FinishRequest::Reader RpcRequest::Request::Reader::getFinish() const {
c@106 5958 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
c@106 5959 "Must check which() before get()ing a union member.");
c@106 5960 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::get(
c@106 5961 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 5962 }
c@106 5963 inline ::piper::FinishRequest::Builder RpcRequest::Request::Builder::getFinish() {
c@106 5964 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
c@106 5965 "Must check which() before get()ing a union member.");
c@106 5966 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::get(
c@106 5967 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5968 }
c@106 5969 inline void RpcRequest::Request::Builder::setFinish( ::piper::FinishRequest::Reader value) {
c@106 5970 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5971 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
c@106 5972 ::capnp::_::PointerHelpers< ::piper::FinishRequest>::set(
c@106 5973 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 5974 }
c@106 5975 inline ::piper::FinishRequest::Builder RpcRequest::Request::Builder::initFinish() {
c@106 5976 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5977 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
c@106 5978 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::init(
c@106 5979 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5980 }
c@106 5981 inline void RpcRequest::Request::Builder::adoptFinish(
c@106 5982 ::capnp::Orphan< ::piper::FinishRequest>&& value) {
c@106 5983 _builder.setDataField<RpcRequest::Request::Which>(
c@106 5984 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
c@106 5985 ::capnp::_::PointerHelpers< ::piper::FinishRequest>::adopt(
c@106 5986 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 5987 }
c@106 5988 inline ::capnp::Orphan< ::piper::FinishRequest> RpcRequest::Request::Builder::disownFinish() {
c@106 5989 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
c@106 5990 "Must check which() before get()ing a union member.");
c@106 5991 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::disown(
c@106 5992 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 5993 }
c@106 5994
c@106 5995 inline RpcResponse::Id::Reader RpcResponse::Reader::getId() const {
c@106 5996 return RpcResponse::Id::Reader(_reader);
c@106 5997 }
c@106 5998 inline RpcResponse::Id::Builder RpcResponse::Builder::getId() {
c@106 5999 return RpcResponse::Id::Builder(_builder);
c@106 6000 }
c@106 6001 #if !CAPNP_LITE
c@106 6002 inline RpcResponse::Id::Pipeline RpcResponse::Pipeline::getId() {
c@106 6003 return RpcResponse::Id::Pipeline(_typeless.noop());
c@106 6004 }
c@106 6005 #endif // !CAPNP_LITE
c@106 6006 inline RpcResponse::Id::Builder RpcResponse::Builder::initId() {
c@106 6007 _builder.setDataField< ::uint32_t>(0 * ::capnp::ELEMENTS, 0);
c@106 6008 _builder.setDataField< ::uint16_t>(2 * ::capnp::ELEMENTS, 0);
c@106 6009 _builder.getPointerField(0 * ::capnp::POINTERS).clear();
c@106 6010 return RpcResponse::Id::Builder(_builder);
c@106 6011 }
c@106 6012 inline RpcResponse::Response::Reader RpcResponse::Reader::getResponse() const {
c@106 6013 return RpcResponse::Response::Reader(_reader);
c@106 6014 }
c@106 6015 inline RpcResponse::Response::Builder RpcResponse::Builder::getResponse() {
c@106 6016 return RpcResponse::Response::Builder(_builder);
c@106 6017 }
c@106 6018 #if !CAPNP_LITE
c@106 6019 inline RpcResponse::Response::Pipeline RpcResponse::Pipeline::getResponse() {
c@106 6020 return RpcResponse::Response::Pipeline(_typeless.noop());
c@106 6021 }
c@106 6022 #endif // !CAPNP_LITE
c@106 6023 inline RpcResponse::Response::Builder RpcResponse::Builder::initResponse() {
c@106 6024 _builder.setDataField< ::uint16_t>(3 * ::capnp::ELEMENTS, 0);
c@106 6025 _builder.getPointerField(1 * ::capnp::POINTERS).clear();
c@106 6026 return RpcResponse::Response::Builder(_builder);
c@106 6027 }
c@106 6028 inline ::piper::RpcResponse::Id::Which RpcResponse::Id::Reader::which() const {
c@106 6029 return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS);
c@106 6030 }
c@106 6031 inline ::piper::RpcResponse::Id::Which RpcResponse::Id::Builder::which() {
c@106 6032 return _builder.getDataField<Which>(2 * ::capnp::ELEMENTS);
c@106 6033 }
c@106 6034
c@106 6035 inline bool RpcResponse::Id::Reader::isNumber() const {
c@106 6036 return which() == RpcResponse::Id::NUMBER;
c@106 6037 }
c@106 6038 inline bool RpcResponse::Id::Builder::isNumber() {
c@106 6039 return which() == RpcResponse::Id::NUMBER;
c@106 6040 }
c@106 6041 inline ::int32_t RpcResponse::Id::Reader::getNumber() const {
c@106 6042 KJ_IREQUIRE((which() == RpcResponse::Id::NUMBER),
c@106 6043 "Must check which() before get()ing a union member.");
c@106 6044 return _reader.getDataField< ::int32_t>(
c@106 6045 0 * ::capnp::ELEMENTS);
c@106 6046 }
c@106 6047
c@106 6048 inline ::int32_t RpcResponse::Id::Builder::getNumber() {
c@106 6049 KJ_IREQUIRE((which() == RpcResponse::Id::NUMBER),
c@106 6050 "Must check which() before get()ing a union member.");
c@106 6051 return _builder.getDataField< ::int32_t>(
c@106 6052 0 * ::capnp::ELEMENTS);
c@106 6053 }
c@106 6054 inline void RpcResponse::Id::Builder::setNumber( ::int32_t value) {
c@106 6055 _builder.setDataField<RpcResponse::Id::Which>(
c@106 6056 2 * ::capnp::ELEMENTS, RpcResponse::Id::NUMBER);
c@106 6057 _builder.setDataField< ::int32_t>(
c@106 6058 0 * ::capnp::ELEMENTS, value);
c@106 6059 }
c@106 6060
c@106 6061 inline bool RpcResponse::Id::Reader::isTag() const {
c@106 6062 return which() == RpcResponse::Id::TAG;
c@106 6063 }
c@106 6064 inline bool RpcResponse::Id::Builder::isTag() {
c@106 6065 return which() == RpcResponse::Id::TAG;
c@106 6066 }
c@106 6067 inline bool RpcResponse::Id::Reader::hasTag() const {
c@106 6068 if (which() != RpcResponse::Id::TAG) return false;
c@106 6069 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 6070 }
c@106 6071 inline bool RpcResponse::Id::Builder::hasTag() {
c@106 6072 if (which() != RpcResponse::Id::TAG) return false;
c@106 6073 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
c@106 6074 }
c@106 6075 inline ::capnp::Text::Reader RpcResponse::Id::Reader::getTag() const {
c@106 6076 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
c@106 6077 "Must check which() before get()ing a union member.");
c@106 6078 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 6079 _reader.getPointerField(0 * ::capnp::POINTERS));
c@106 6080 }
c@106 6081 inline ::capnp::Text::Builder RpcResponse::Id::Builder::getTag() {
c@106 6082 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
c@106 6083 "Must check which() before get()ing a union member.");
c@106 6084 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
c@106 6085 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 6086 }
c@106 6087 inline void RpcResponse::Id::Builder::setTag( ::capnp::Text::Reader value) {
c@106 6088 _builder.setDataField<RpcResponse::Id::Which>(
c@106 6089 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
c@106 6090 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
c@106 6091 _builder.getPointerField(0 * ::capnp::POINTERS), value);
c@106 6092 }
c@106 6093 inline ::capnp::Text::Builder RpcResponse::Id::Builder::initTag(unsigned int size) {
c@106 6094 _builder.setDataField<RpcResponse::Id::Which>(
c@106 6095 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
c@106 6096 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
c@106 6097 _builder.getPointerField(0 * ::capnp::POINTERS), size);
c@106 6098 }
c@106 6099 inline void RpcResponse::Id::Builder::adoptTag(
c@106 6100 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 6101 _builder.setDataField<RpcResponse::Id::Which>(
c@106 6102 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
c@106 6103 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
c@106 6104 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
c@106 6105 }
c@106 6106 inline ::capnp::Orphan< ::capnp::Text> RpcResponse::Id::Builder::disownTag() {
c@106 6107 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
c@106 6108 "Must check which() before get()ing a union member.");
c@106 6109 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
c@106 6110 _builder.getPointerField(0 * ::capnp::POINTERS));
c@106 6111 }
c@106 6112
c@106 6113 inline bool RpcResponse::Id::Reader::isNone() const {
c@106 6114 return which() == RpcResponse::Id::NONE;
c@106 6115 }
c@106 6116 inline bool RpcResponse::Id::Builder::isNone() {
c@106 6117 return which() == RpcResponse::Id::NONE;
c@106 6118 }
c@106 6119 inline ::capnp::Void RpcResponse::Id::Reader::getNone() const {
c@106 6120 KJ_IREQUIRE((which() == RpcResponse::Id::NONE),
c@106 6121 "Must check which() before get()ing a union member.");
c@106 6122 return _reader.getDataField< ::capnp::Void>(
c@106 6123 0 * ::capnp::ELEMENTS);
c@106 6124 }
c@106 6125
c@106 6126 inline ::capnp::Void RpcResponse::Id::Builder::getNone() {
c@106 6127 KJ_IREQUIRE((which() == RpcResponse::Id::NONE),
c@106 6128 "Must check which() before get()ing a union member.");
c@106 6129 return _builder.getDataField< ::capnp::Void>(
c@106 6130 0 * ::capnp::ELEMENTS);
c@106 6131 }
c@106 6132 inline void RpcResponse::Id::Builder::setNone( ::capnp::Void value) {
c@106 6133 _builder.setDataField<RpcResponse::Id::Which>(
c@106 6134 2 * ::capnp::ELEMENTS, RpcResponse::Id::NONE);
c@106 6135 _builder.setDataField< ::capnp::Void>(
c@106 6136 0 * ::capnp::ELEMENTS, value);
c@106 6137 }
c@106 6138
c@106 6139 inline ::piper::RpcResponse::Response::Which RpcResponse::Response::Reader::which() const {
c@106 6140 return _reader.getDataField<Which>(3 * ::capnp::ELEMENTS);
c@106 6141 }
c@106 6142 inline ::piper::RpcResponse::Response::Which RpcResponse::Response::Builder::which() {
c@106 6143 return _builder.getDataField<Which>(3 * ::capnp::ELEMENTS);
c@106 6144 }
c@106 6145
c@106 6146 inline bool RpcResponse::Response::Reader::isError() const {
c@106 6147 return which() == RpcResponse::Response::ERROR;
c@106 6148 }
c@106 6149 inline bool RpcResponse::Response::Builder::isError() {
c@106 6150 return which() == RpcResponse::Response::ERROR;
c@106 6151 }
c@106 6152 inline bool RpcResponse::Response::Reader::hasError() const {
c@106 6153 if (which() != RpcResponse::Response::ERROR) return false;
c@106 6154 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6155 }
c@106 6156 inline bool RpcResponse::Response::Builder::hasError() {
c@106 6157 if (which() != RpcResponse::Response::ERROR) return false;
c@106 6158 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6159 }
c@106 6160 inline ::piper::Error::Reader RpcResponse::Response::Reader::getError() const {
c@106 6161 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
c@106 6162 "Must check which() before get()ing a union member.");
c@106 6163 return ::capnp::_::PointerHelpers< ::piper::Error>::get(
c@106 6164 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 6165 }
c@106 6166 inline ::piper::Error::Builder RpcResponse::Response::Builder::getError() {
c@106 6167 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
c@106 6168 "Must check which() before get()ing a union member.");
c@106 6169 return ::capnp::_::PointerHelpers< ::piper::Error>::get(
c@106 6170 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6171 }
c@106 6172 inline void RpcResponse::Response::Builder::setError( ::piper::Error::Reader value) {
c@106 6173 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6174 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
c@106 6175 ::capnp::_::PointerHelpers< ::piper::Error>::set(
c@106 6176 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 6177 }
c@106 6178 inline ::piper::Error::Builder RpcResponse::Response::Builder::initError() {
c@106 6179 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6180 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
c@106 6181 return ::capnp::_::PointerHelpers< ::piper::Error>::init(
c@106 6182 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6183 }
c@106 6184 inline void RpcResponse::Response::Builder::adoptError(
c@106 6185 ::capnp::Orphan< ::piper::Error>&& value) {
c@106 6186 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6187 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
c@106 6188 ::capnp::_::PointerHelpers< ::piper::Error>::adopt(
c@106 6189 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 6190 }
c@106 6191 inline ::capnp::Orphan< ::piper::Error> RpcResponse::Response::Builder::disownError() {
c@106 6192 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
c@106 6193 "Must check which() before get()ing a union member.");
c@106 6194 return ::capnp::_::PointerHelpers< ::piper::Error>::disown(
c@106 6195 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6196 }
c@106 6197
c@106 6198 inline bool RpcResponse::Response::Reader::isList() const {
c@106 6199 return which() == RpcResponse::Response::LIST;
c@106 6200 }
c@106 6201 inline bool RpcResponse::Response::Builder::isList() {
c@106 6202 return which() == RpcResponse::Response::LIST;
c@106 6203 }
c@106 6204 inline bool RpcResponse::Response::Reader::hasList() const {
c@106 6205 if (which() != RpcResponse::Response::LIST) return false;
c@106 6206 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6207 }
c@106 6208 inline bool RpcResponse::Response::Builder::hasList() {
c@106 6209 if (which() != RpcResponse::Response::LIST) return false;
c@106 6210 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6211 }
c@106 6212 inline ::piper::ListResponse::Reader RpcResponse::Response::Reader::getList() const {
c@106 6213 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
c@106 6214 "Must check which() before get()ing a union member.");
c@106 6215 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::get(
c@106 6216 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 6217 }
c@106 6218 inline ::piper::ListResponse::Builder RpcResponse::Response::Builder::getList() {
c@106 6219 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
c@106 6220 "Must check which() before get()ing a union member.");
c@106 6221 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::get(
c@106 6222 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6223 }
c@106 6224 inline void RpcResponse::Response::Builder::setList( ::piper::ListResponse::Reader value) {
c@106 6225 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6226 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
c@106 6227 ::capnp::_::PointerHelpers< ::piper::ListResponse>::set(
c@106 6228 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 6229 }
c@106 6230 inline ::piper::ListResponse::Builder RpcResponse::Response::Builder::initList() {
c@106 6231 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6232 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
c@106 6233 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::init(
c@106 6234 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6235 }
c@106 6236 inline void RpcResponse::Response::Builder::adoptList(
c@106 6237 ::capnp::Orphan< ::piper::ListResponse>&& value) {
c@106 6238 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6239 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
c@106 6240 ::capnp::_::PointerHelpers< ::piper::ListResponse>::adopt(
c@106 6241 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 6242 }
c@106 6243 inline ::capnp::Orphan< ::piper::ListResponse> RpcResponse::Response::Builder::disownList() {
c@106 6244 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
c@106 6245 "Must check which() before get()ing a union member.");
c@106 6246 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::disown(
c@106 6247 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6248 }
c@106 6249
c@106 6250 inline bool RpcResponse::Response::Reader::isLoad() const {
c@106 6251 return which() == RpcResponse::Response::LOAD;
c@106 6252 }
c@106 6253 inline bool RpcResponse::Response::Builder::isLoad() {
c@106 6254 return which() == RpcResponse::Response::LOAD;
c@106 6255 }
c@106 6256 inline bool RpcResponse::Response::Reader::hasLoad() const {
c@106 6257 if (which() != RpcResponse::Response::LOAD) return false;
c@106 6258 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6259 }
c@106 6260 inline bool RpcResponse::Response::Builder::hasLoad() {
c@106 6261 if (which() != RpcResponse::Response::LOAD) return false;
c@106 6262 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6263 }
c@106 6264 inline ::piper::LoadResponse::Reader RpcResponse::Response::Reader::getLoad() const {
c@106 6265 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
c@106 6266 "Must check which() before get()ing a union member.");
c@106 6267 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::get(
c@106 6268 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 6269 }
c@106 6270 inline ::piper::LoadResponse::Builder RpcResponse::Response::Builder::getLoad() {
c@106 6271 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
c@106 6272 "Must check which() before get()ing a union member.");
c@106 6273 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::get(
c@106 6274 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6275 }
c@106 6276 inline void RpcResponse::Response::Builder::setLoad( ::piper::LoadResponse::Reader value) {
c@106 6277 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6278 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
c@106 6279 ::capnp::_::PointerHelpers< ::piper::LoadResponse>::set(
c@106 6280 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 6281 }
c@106 6282 inline ::piper::LoadResponse::Builder RpcResponse::Response::Builder::initLoad() {
c@106 6283 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6284 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
c@106 6285 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::init(
c@106 6286 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6287 }
c@106 6288 inline void RpcResponse::Response::Builder::adoptLoad(
c@106 6289 ::capnp::Orphan< ::piper::LoadResponse>&& value) {
c@106 6290 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6291 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
c@106 6292 ::capnp::_::PointerHelpers< ::piper::LoadResponse>::adopt(
c@106 6293 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 6294 }
c@106 6295 inline ::capnp::Orphan< ::piper::LoadResponse> RpcResponse::Response::Builder::disownLoad() {
c@106 6296 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
c@106 6297 "Must check which() before get()ing a union member.");
c@106 6298 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::disown(
c@106 6299 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6300 }
c@106 6301
c@106 6302 inline bool RpcResponse::Response::Reader::isConfigure() const {
c@106 6303 return which() == RpcResponse::Response::CONFIGURE;
c@106 6304 }
c@106 6305 inline bool RpcResponse::Response::Builder::isConfigure() {
c@106 6306 return which() == RpcResponse::Response::CONFIGURE;
c@106 6307 }
c@106 6308 inline bool RpcResponse::Response::Reader::hasConfigure() const {
c@106 6309 if (which() != RpcResponse::Response::CONFIGURE) return false;
c@106 6310 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6311 }
c@106 6312 inline bool RpcResponse::Response::Builder::hasConfigure() {
c@106 6313 if (which() != RpcResponse::Response::CONFIGURE) return false;
c@106 6314 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6315 }
c@106 6316 inline ::piper::ConfigurationResponse::Reader RpcResponse::Response::Reader::getConfigure() const {
c@106 6317 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
c@106 6318 "Must check which() before get()ing a union member.");
c@106 6319 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::get(
c@106 6320 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 6321 }
c@106 6322 inline ::piper::ConfigurationResponse::Builder RpcResponse::Response::Builder::getConfigure() {
c@106 6323 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
c@106 6324 "Must check which() before get()ing a union member.");
c@106 6325 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::get(
c@106 6326 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6327 }
c@106 6328 inline void RpcResponse::Response::Builder::setConfigure( ::piper::ConfigurationResponse::Reader value) {
c@106 6329 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6330 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
c@106 6331 ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::set(
c@106 6332 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 6333 }
c@106 6334 inline ::piper::ConfigurationResponse::Builder RpcResponse::Response::Builder::initConfigure() {
c@106 6335 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6336 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
c@106 6337 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::init(
c@106 6338 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6339 }
c@106 6340 inline void RpcResponse::Response::Builder::adoptConfigure(
c@106 6341 ::capnp::Orphan< ::piper::ConfigurationResponse>&& value) {
c@106 6342 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6343 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
c@106 6344 ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::adopt(
c@106 6345 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 6346 }
c@106 6347 inline ::capnp::Orphan< ::piper::ConfigurationResponse> RpcResponse::Response::Builder::disownConfigure() {
c@106 6348 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
c@106 6349 "Must check which() before get()ing a union member.");
c@106 6350 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::disown(
c@106 6351 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6352 }
c@106 6353
c@106 6354 inline bool RpcResponse::Response::Reader::isProcess() const {
c@106 6355 return which() == RpcResponse::Response::PROCESS;
c@106 6356 }
c@106 6357 inline bool RpcResponse::Response::Builder::isProcess() {
c@106 6358 return which() == RpcResponse::Response::PROCESS;
c@106 6359 }
c@106 6360 inline bool RpcResponse::Response::Reader::hasProcess() const {
c@106 6361 if (which() != RpcResponse::Response::PROCESS) return false;
c@106 6362 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6363 }
c@106 6364 inline bool RpcResponse::Response::Builder::hasProcess() {
c@106 6365 if (which() != RpcResponse::Response::PROCESS) return false;
c@106 6366 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6367 }
c@106 6368 inline ::piper::ProcessResponse::Reader RpcResponse::Response::Reader::getProcess() const {
c@106 6369 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
c@106 6370 "Must check which() before get()ing a union member.");
c@106 6371 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::get(
c@106 6372 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 6373 }
c@106 6374 inline ::piper::ProcessResponse::Builder RpcResponse::Response::Builder::getProcess() {
c@106 6375 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
c@106 6376 "Must check which() before get()ing a union member.");
c@106 6377 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::get(
c@106 6378 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6379 }
c@106 6380 inline void RpcResponse::Response::Builder::setProcess( ::piper::ProcessResponse::Reader value) {
c@106 6381 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6382 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
c@106 6383 ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::set(
c@106 6384 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 6385 }
c@106 6386 inline ::piper::ProcessResponse::Builder RpcResponse::Response::Builder::initProcess() {
c@106 6387 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6388 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
c@106 6389 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::init(
c@106 6390 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6391 }
c@106 6392 inline void RpcResponse::Response::Builder::adoptProcess(
c@106 6393 ::capnp::Orphan< ::piper::ProcessResponse>&& value) {
c@106 6394 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6395 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
c@106 6396 ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::adopt(
c@106 6397 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 6398 }
c@106 6399 inline ::capnp::Orphan< ::piper::ProcessResponse> RpcResponse::Response::Builder::disownProcess() {
c@106 6400 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
c@106 6401 "Must check which() before get()ing a union member.");
c@106 6402 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::disown(
c@106 6403 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6404 }
c@106 6405
c@106 6406 inline bool RpcResponse::Response::Reader::isFinish() const {
c@106 6407 return which() == RpcResponse::Response::FINISH;
c@106 6408 }
c@106 6409 inline bool RpcResponse::Response::Builder::isFinish() {
c@106 6410 return which() == RpcResponse::Response::FINISH;
c@106 6411 }
c@106 6412 inline bool RpcResponse::Response::Reader::hasFinish() const {
c@106 6413 if (which() != RpcResponse::Response::FINISH) return false;
c@106 6414 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6415 }
c@106 6416 inline bool RpcResponse::Response::Builder::hasFinish() {
c@106 6417 if (which() != RpcResponse::Response::FINISH) return false;
c@106 6418 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
c@106 6419 }
c@106 6420 inline ::piper::FinishResponse::Reader RpcResponse::Response::Reader::getFinish() const {
c@106 6421 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
c@106 6422 "Must check which() before get()ing a union member.");
c@106 6423 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::get(
c@106 6424 _reader.getPointerField(1 * ::capnp::POINTERS));
c@106 6425 }
c@106 6426 inline ::piper::FinishResponse::Builder RpcResponse::Response::Builder::getFinish() {
c@106 6427 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
c@106 6428 "Must check which() before get()ing a union member.");
c@106 6429 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::get(
c@106 6430 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6431 }
c@106 6432 inline void RpcResponse::Response::Builder::setFinish( ::piper::FinishResponse::Reader value) {
c@106 6433 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6434 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
c@106 6435 ::capnp::_::PointerHelpers< ::piper::FinishResponse>::set(
c@106 6436 _builder.getPointerField(1 * ::capnp::POINTERS), value);
c@106 6437 }
c@106 6438 inline ::piper::FinishResponse::Builder RpcResponse::Response::Builder::initFinish() {
c@106 6439 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6440 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
c@106 6441 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::init(
c@106 6442 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6443 }
c@106 6444 inline void RpcResponse::Response::Builder::adoptFinish(
c@106 6445 ::capnp::Orphan< ::piper::FinishResponse>&& value) {
c@106 6446 _builder.setDataField<RpcResponse::Response::Which>(
c@106 6447 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
c@106 6448 ::capnp::_::PointerHelpers< ::piper::FinishResponse>::adopt(
c@106 6449 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
c@106 6450 }
c@106 6451 inline ::capnp::Orphan< ::piper::FinishResponse> RpcResponse::Response::Builder::disownFinish() {
c@106 6452 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
c@106 6453 "Must check which() before get()ing a union member.");
c@106 6454 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::disown(
c@106 6455 _builder.getPointerField(1 * ::capnp::POINTERS));
c@106 6456 }
c@106 6457
c@106 6458 } // namespace
c@106 6459
c@106 6460 #endif // CAPNP_INCLUDED_c4b1c6c44c999206_