annotate vamp-capnp/piper.capnp.h @ 243:498f899a91b6

Remove stubber from this repo; it's in piper-vamp-js now
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 14 Jun 2017 11:27:50 +0100
parents 02de5df3a884
children
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
cannam@220 9 #if CAPNP_VERSION != 7000
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);
cannam@220 26 CAPNP_DECLARE_SCHEMA(a88eab3ec4264cba);
c@106 27 CAPNP_DECLARE_SCHEMA(b2d0c825aac8249c);
c@106 28 CAPNP_DECLARE_SCHEMA(902c6065e1be824a);
c@106 29 CAPNP_DECLARE_SCHEMA(f50fb3b9c1bf75f4);
c@106 30 enum class InputDomain_f50fb3b9c1bf75f4: uint16_t {
c@106 31 TIME_DOMAIN,
c@106 32 FREQUENCY_DOMAIN,
c@106 33 };
c@106 34 CAPNP_DECLARE_ENUM(InputDomain, f50fb3b9c1bf75f4);
c@106 35 CAPNP_DECLARE_SCHEMA(b83ac85463e6caa1);
cannam@220 36 CAPNP_DECLARE_SCHEMA(c4c9a0371fe76e1c);
c@106 37 CAPNP_DECLARE_SCHEMA(84d515888a427d07);
c@106 38 CAPNP_DECLARE_SCHEMA(c6f3f05f2bc614ba);
c@106 39 CAPNP_DECLARE_SCHEMA(d6a172208c9a1760);
c@106 40 CAPNP_DECLARE_SCHEMA(ffa3fccceb684869);
c@106 41 CAPNP_DECLARE_SCHEMA(ab2572c346316b24);
cannam@185 42 CAPNP_DECLARE_SCHEMA(fe907ebf410a65a4);
c@106 43 CAPNP_DECLARE_SCHEMA(db209a01f86fe045);
c@106 44 CAPNP_DECLARE_SCHEMA(900b56fed422dd37);
c@106 45 CAPNP_DECLARE_SCHEMA(b5edf73eb2e79c4e);
c@106 46 enum class AdapterFlag_b5edf73eb2e79c4e: uint16_t {
c@106 47 ADAPT_INPUT_DOMAIN,
c@106 48 ADAPT_CHANNEL_COUNT,
c@106 49 ADAPT_BUFFER_SIZE,
c@106 50 };
c@106 51 CAPNP_DECLARE_ENUM(AdapterFlag, b5edf73eb2e79c4e);
c@106 52 CAPNP_DECLARE_SCHEMA(9ed58097be8bc6f3);
c@106 53 CAPNP_DECLARE_SCHEMA(eb49b9892c5b9b83);
c@106 54 CAPNP_DECLARE_SCHEMA(b54ff18dabd0d4e1);
c@106 55 CAPNP_DECLARE_SCHEMA(c8b36e8e9e8d6f15);
c@106 56 CAPNP_DECLARE_SCHEMA(fca0f520555d0c94);
c@106 57 CAPNP_DECLARE_SCHEMA(82fb08d7f06fe81d);
c@106 58 CAPNP_DECLARE_SCHEMA(fcf72b478bbe9d02);
c@106 59 CAPNP_DECLARE_SCHEMA(c433db5864bf6d56);
c@106 60 CAPNP_DECLARE_SCHEMA(ea87c8bff474ddce);
c@106 61 CAPNP_DECLARE_SCHEMA(fe801447309c2782);
c@106 62 CAPNP_DECLARE_SCHEMA(d8c0271e01d84377);
c@106 63 CAPNP_DECLARE_SCHEMA(ff4c6fd2917a8eb7);
c@106 64 CAPNP_DECLARE_SCHEMA(a7e9dceb8fbd0e23);
c@106 65 CAPNP_DECLARE_SCHEMA(df8b913d24f04413);
c@106 66 CAPNP_DECLARE_SCHEMA(a56d2f77e663c2f9);
c@106 67 CAPNP_DECLARE_SCHEMA(a6fbd69d9815fb3a);
c@106 68 CAPNP_DECLARE_SCHEMA(b1fd870b8c5fe885);
c@106 69 CAPNP_DECLARE_SCHEMA(d6d526aed45ac1db);
c@106 70 CAPNP_DECLARE_SCHEMA(ad12bb4485b0d3ac);
c@106 71
c@106 72 } // namespace schemas
c@106 73 } // namespace capnp
c@106 74
c@106 75 namespace piper {
c@106 76
c@106 77 struct Basic {
c@106 78 Basic() = delete;
c@106 79
c@106 80 class Reader;
c@106 81 class Builder;
c@106 82 class Pipeline;
c@106 83
c@106 84 struct _capnpPrivate {
c@106 85 CAPNP_DECLARE_STRUCT_HEADER(b491ca63222c253f, 0, 3)
c@106 86 #if !CAPNP_LITE
cannam@218 87 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 88 #endif // !CAPNP_LITE
c@106 89 };
c@106 90 };
c@106 91
c@106 92 struct ParameterDescriptor {
c@106 93 ParameterDescriptor() = delete;
c@106 94
c@106 95 class Reader;
c@106 96 class Builder;
c@106 97 class Pipeline;
c@106 98
c@106 99 struct _capnpPrivate {
c@106 100 CAPNP_DECLARE_STRUCT_HEADER(f8fda10bef70a97d, 3, 3)
c@106 101 #if !CAPNP_LITE
cannam@218 102 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 103 #endif // !CAPNP_LITE
c@106 104 };
c@106 105 };
c@106 106
c@106 107 typedef ::capnp::schemas::SampleType_eca23e4a04bdfeb2 SampleType;
c@106 108
cannam@220 109 struct StaticOutputDescriptor {
cannam@220 110 StaticOutputDescriptor() = delete;
cannam@220 111
cannam@220 112 class Reader;
cannam@220 113 class Builder;
cannam@220 114 class Pipeline;
cannam@220 115
cannam@220 116 struct _capnpPrivate {
cannam@220 117 CAPNP_DECLARE_STRUCT_HEADER(a88eab3ec4264cba, 0, 1)
cannam@220 118 #if !CAPNP_LITE
cannam@220 119 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
cannam@220 120 #endif // !CAPNP_LITE
cannam@220 121 };
cannam@220 122 };
cannam@220 123
c@106 124 struct ConfiguredOutputDescriptor {
c@106 125 ConfiguredOutputDescriptor() = delete;
c@106 126
c@106 127 class Reader;
c@106 128 class Builder;
c@106 129 class Pipeline;
c@106 130
c@106 131 struct _capnpPrivate {
c@106 132 CAPNP_DECLARE_STRUCT_HEADER(b2d0c825aac8249c, 3, 2)
c@106 133 #if !CAPNP_LITE
cannam@218 134 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 135 #endif // !CAPNP_LITE
c@106 136 };
c@106 137 };
c@106 138
c@106 139 struct OutputDescriptor {
c@106 140 OutputDescriptor() = 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 {
cannam@220 147 CAPNP_DECLARE_STRUCT_HEADER(902c6065e1be824a, 0, 3)
c@106 148 #if !CAPNP_LITE
cannam@218 149 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 150 #endif // !CAPNP_LITE
c@106 151 };
c@106 152 };
c@106 153
c@106 154 typedef ::capnp::schemas::InputDomain_f50fb3b9c1bf75f4 InputDomain;
c@106 155
c@106 156 struct ExtractorStaticData {
c@106 157 ExtractorStaticData() = delete;
c@106 158
c@106 159 class Reader;
c@106 160 class Builder;
c@106 161 class Pipeline;
cannam@220 162 struct SOPair;
c@106 163
c@106 164 struct _capnpPrivate {
cannam@220 165 CAPNP_DECLARE_STRUCT_HEADER(b83ac85463e6caa1, 2, 9)
cannam@220 166 #if !CAPNP_LITE
cannam@220 167 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
cannam@220 168 #endif // !CAPNP_LITE
cannam@220 169 };
cannam@220 170 };
cannam@220 171
cannam@220 172 struct ExtractorStaticData::SOPair {
cannam@220 173 SOPair() = delete;
cannam@220 174
cannam@220 175 class Reader;
cannam@220 176 class Builder;
cannam@220 177 class Pipeline;
cannam@220 178
cannam@220 179 struct _capnpPrivate {
cannam@220 180 CAPNP_DECLARE_STRUCT_HEADER(c4c9a0371fe76e1c, 0, 2)
c@106 181 #if !CAPNP_LITE
cannam@218 182 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 183 #endif // !CAPNP_LITE
c@106 184 };
c@106 185 };
c@106 186
c@106 187 struct RealTime {
c@106 188 RealTime() = delete;
c@106 189
c@106 190 class Reader;
c@106 191 class Builder;
c@106 192 class Pipeline;
c@106 193
c@106 194 struct _capnpPrivate {
c@106 195 CAPNP_DECLARE_STRUCT_HEADER(84d515888a427d07, 1, 0)
c@106 196 #if !CAPNP_LITE
cannam@218 197 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 198 #endif // !CAPNP_LITE
c@106 199 };
c@106 200 };
c@106 201
c@106 202 struct ProcessInput {
c@106 203 ProcessInput() = delete;
c@106 204
c@106 205 class Reader;
c@106 206 class Builder;
c@106 207 class Pipeline;
c@106 208
c@106 209 struct _capnpPrivate {
c@106 210 CAPNP_DECLARE_STRUCT_HEADER(c6f3f05f2bc614ba, 0, 2)
c@106 211 #if !CAPNP_LITE
cannam@218 212 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 213 #endif // !CAPNP_LITE
c@106 214 };
c@106 215 };
c@106 216
c@106 217 struct Feature {
c@106 218 Feature() = delete;
c@106 219
c@106 220 class Reader;
c@106 221 class Builder;
c@106 222 class Pipeline;
c@106 223
c@106 224 struct _capnpPrivate {
c@106 225 CAPNP_DECLARE_STRUCT_HEADER(d6a172208c9a1760, 1, 4)
c@106 226 #if !CAPNP_LITE
cannam@218 227 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 228 #endif // !CAPNP_LITE
c@106 229 };
c@106 230 };
c@106 231
c@106 232 struct FeatureSet {
c@106 233 FeatureSet() = delete;
c@106 234
c@106 235 class Reader;
c@106 236 class Builder;
c@106 237 class Pipeline;
c@106 238 struct FSPair;
c@106 239
c@106 240 struct _capnpPrivate {
c@106 241 CAPNP_DECLARE_STRUCT_HEADER(ffa3fccceb684869, 0, 1)
c@106 242 #if !CAPNP_LITE
cannam@218 243 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 244 #endif // !CAPNP_LITE
c@106 245 };
c@106 246 };
c@106 247
c@106 248 struct FeatureSet::FSPair {
c@106 249 FSPair() = delete;
c@106 250
c@106 251 class Reader;
c@106 252 class Builder;
c@106 253 class Pipeline;
c@106 254
c@106 255 struct _capnpPrivate {
c@106 256 CAPNP_DECLARE_STRUCT_HEADER(ab2572c346316b24, 0, 2)
c@106 257 #if !CAPNP_LITE
cannam@218 258 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 259 #endif // !CAPNP_LITE
c@106 260 };
c@106 261 };
c@106 262
cannam@185 263 struct Framing {
cannam@185 264 Framing() = delete;
cannam@185 265
cannam@185 266 class Reader;
cannam@185 267 class Builder;
cannam@185 268 class Pipeline;
cannam@185 269
cannam@185 270 struct _capnpPrivate {
cannam@185 271 CAPNP_DECLARE_STRUCT_HEADER(fe907ebf410a65a4, 1, 0)
cannam@185 272 #if !CAPNP_LITE
cannam@218 273 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
cannam@185 274 #endif // !CAPNP_LITE
cannam@185 275 };
cannam@185 276 };
cannam@185 277
c@106 278 struct Configuration {
c@106 279 Configuration() = delete;
c@106 280
c@106 281 class Reader;
c@106 282 class Builder;
c@106 283 class Pipeline;
c@106 284 struct PVPair;
c@106 285
c@106 286 struct _capnpPrivate {
cannam@185 287 CAPNP_DECLARE_STRUCT_HEADER(db209a01f86fe045, 1, 3)
c@106 288 #if !CAPNP_LITE
cannam@218 289 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 290 #endif // !CAPNP_LITE
c@106 291 };
c@106 292 };
c@106 293
c@106 294 struct Configuration::PVPair {
c@106 295 PVPair() = delete;
c@106 296
c@106 297 class Reader;
c@106 298 class Builder;
c@106 299 class Pipeline;
c@106 300
c@106 301 struct _capnpPrivate {
c@106 302 CAPNP_DECLARE_STRUCT_HEADER(900b56fed422dd37, 1, 1)
c@106 303 #if !CAPNP_LITE
cannam@218 304 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 305 #endif // !CAPNP_LITE
c@106 306 };
c@106 307 };
c@106 308
c@106 309 typedef ::capnp::schemas::AdapterFlag_b5edf73eb2e79c4e AdapterFlag;
c@106 310
c@106 311 extern const ::capnp::_::ConstList< ::piper::AdapterFlag> ADAPT_ALL_SAFE;
c@106 312 extern const ::capnp::_::ConstList< ::piper::AdapterFlag> ADAPT_ALL;
c@106 313 struct ListRequest {
c@106 314 ListRequest() = delete;
c@106 315
c@106 316 class Reader;
c@106 317 class Builder;
c@106 318 class Pipeline;
c@106 319
c@106 320 struct _capnpPrivate {
c@127 321 CAPNP_DECLARE_STRUCT_HEADER(b54ff18dabd0d4e1, 0, 1)
c@106 322 #if !CAPNP_LITE
cannam@218 323 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 324 #endif // !CAPNP_LITE
c@106 325 };
c@106 326 };
c@106 327
c@106 328 struct ListResponse {
c@106 329 ListResponse() = delete;
c@106 330
c@106 331 class Reader;
c@106 332 class Builder;
c@106 333 class Pipeline;
c@106 334
c@106 335 struct _capnpPrivate {
c@106 336 CAPNP_DECLARE_STRUCT_HEADER(c8b36e8e9e8d6f15, 0, 1)
c@106 337 #if !CAPNP_LITE
cannam@218 338 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 339 #endif // !CAPNP_LITE
c@106 340 };
c@106 341 };
c@106 342
c@106 343 struct LoadRequest {
c@106 344 LoadRequest() = delete;
c@106 345
c@106 346 class Reader;
c@106 347 class Builder;
c@106 348 class Pipeline;
c@106 349
c@106 350 struct _capnpPrivate {
c@106 351 CAPNP_DECLARE_STRUCT_HEADER(fca0f520555d0c94, 1, 2)
c@106 352 #if !CAPNP_LITE
cannam@218 353 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 354 #endif // !CAPNP_LITE
c@106 355 };
c@106 356 };
c@106 357
c@106 358 struct LoadResponse {
c@106 359 LoadResponse() = delete;
c@106 360
c@106 361 class Reader;
c@106 362 class Builder;
c@106 363 class Pipeline;
c@106 364
c@106 365 struct _capnpPrivate {
c@106 366 CAPNP_DECLARE_STRUCT_HEADER(82fb08d7f06fe81d, 1, 2)
c@106 367 #if !CAPNP_LITE
cannam@218 368 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 369 #endif // !CAPNP_LITE
c@106 370 };
c@106 371 };
c@106 372
c@106 373 struct ConfigurationRequest {
c@106 374 ConfigurationRequest() = delete;
c@106 375
c@106 376 class Reader;
c@106 377 class Builder;
c@106 378 class Pipeline;
c@106 379
c@106 380 struct _capnpPrivate {
c@106 381 CAPNP_DECLARE_STRUCT_HEADER(fcf72b478bbe9d02, 1, 1)
c@106 382 #if !CAPNP_LITE
cannam@218 383 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 384 #endif // !CAPNP_LITE
c@106 385 };
c@106 386 };
c@106 387
c@106 388 struct ConfigurationResponse {
c@106 389 ConfigurationResponse() = delete;
c@106 390
c@106 391 class Reader;
c@106 392 class Builder;
c@106 393 class Pipeline;
c@106 394
c@106 395 struct _capnpPrivate {
cannam@185 396 CAPNP_DECLARE_STRUCT_HEADER(c433db5864bf6d56, 1, 2)
c@106 397 #if !CAPNP_LITE
cannam@218 398 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 399 #endif // !CAPNP_LITE
c@106 400 };
c@106 401 };
c@106 402
c@106 403 struct ProcessRequest {
c@106 404 ProcessRequest() = delete;
c@106 405
c@106 406 class Reader;
c@106 407 class Builder;
c@106 408 class Pipeline;
c@106 409
c@106 410 struct _capnpPrivate {
c@106 411 CAPNP_DECLARE_STRUCT_HEADER(ea87c8bff474ddce, 1, 1)
c@106 412 #if !CAPNP_LITE
cannam@218 413 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 414 #endif // !CAPNP_LITE
c@106 415 };
c@106 416 };
c@106 417
c@106 418 struct ProcessResponse {
c@106 419 ProcessResponse() = delete;
c@106 420
c@106 421 class Reader;
c@106 422 class Builder;
c@106 423 class Pipeline;
c@106 424
c@106 425 struct _capnpPrivate {
c@106 426 CAPNP_DECLARE_STRUCT_HEADER(fe801447309c2782, 1, 1)
c@106 427 #if !CAPNP_LITE
cannam@218 428 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 429 #endif // !CAPNP_LITE
c@106 430 };
c@106 431 };
c@106 432
c@106 433 struct FinishRequest {
c@106 434 FinishRequest() = delete;
c@106 435
c@106 436 class Reader;
c@106 437 class Builder;
c@106 438 class Pipeline;
c@106 439
c@106 440 struct _capnpPrivate {
c@106 441 CAPNP_DECLARE_STRUCT_HEADER(d8c0271e01d84377, 1, 0)
c@106 442 #if !CAPNP_LITE
cannam@218 443 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 444 #endif // !CAPNP_LITE
c@106 445 };
c@106 446 };
c@106 447
c@106 448 struct FinishResponse {
c@106 449 FinishResponse() = delete;
c@106 450
c@106 451 class Reader;
c@106 452 class Builder;
c@106 453 class Pipeline;
c@106 454
c@106 455 struct _capnpPrivate {
c@106 456 CAPNP_DECLARE_STRUCT_HEADER(ff4c6fd2917a8eb7, 1, 1)
c@106 457 #if !CAPNP_LITE
cannam@218 458 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 459 #endif // !CAPNP_LITE
c@106 460 };
c@106 461 };
c@106 462
c@106 463 struct Error {
c@106 464 Error() = delete;
c@106 465
c@106 466 class Reader;
c@106 467 class Builder;
c@106 468 class Pipeline;
c@106 469
c@106 470 struct _capnpPrivate {
c@106 471 CAPNP_DECLARE_STRUCT_HEADER(a7e9dceb8fbd0e23, 1, 1)
c@106 472 #if !CAPNP_LITE
cannam@218 473 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 474 #endif // !CAPNP_LITE
c@106 475 };
c@106 476 };
c@106 477
c@106 478 struct RpcRequest {
c@106 479 RpcRequest() = delete;
c@106 480
c@106 481 class Reader;
c@106 482 class Builder;
c@106 483 class Pipeline;
c@106 484 struct Id;
c@106 485 struct Request;
c@106 486
c@106 487 struct _capnpPrivate {
c@106 488 CAPNP_DECLARE_STRUCT_HEADER(df8b913d24f04413, 1, 2)
c@106 489 #if !CAPNP_LITE
cannam@218 490 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 491 #endif // !CAPNP_LITE
c@106 492 };
c@106 493 };
c@106 494
c@106 495 struct RpcRequest::Id {
c@106 496 Id() = delete;
c@106 497
c@106 498 class Reader;
c@106 499 class Builder;
c@106 500 class Pipeline;
c@106 501 enum Which: uint16_t {
c@106 502 NUMBER,
c@106 503 TAG,
c@106 504 NONE,
c@106 505 };
c@106 506
c@106 507 struct _capnpPrivate {
c@106 508 CAPNP_DECLARE_STRUCT_HEADER(a56d2f77e663c2f9, 1, 2)
c@106 509 #if !CAPNP_LITE
cannam@218 510 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 511 #endif // !CAPNP_LITE
c@106 512 };
c@106 513 };
c@106 514
c@106 515 struct RpcRequest::Request {
c@106 516 Request() = delete;
c@106 517
c@106 518 class Reader;
c@106 519 class Builder;
c@106 520 class Pipeline;
c@106 521 enum Which: uint16_t {
c@106 522 LIST,
c@106 523 LOAD,
c@106 524 CONFIGURE,
c@106 525 PROCESS,
c@106 526 FINISH,
c@106 527 };
c@106 528
c@106 529 struct _capnpPrivate {
c@106 530 CAPNP_DECLARE_STRUCT_HEADER(a6fbd69d9815fb3a, 1, 2)
c@106 531 #if !CAPNP_LITE
cannam@218 532 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 533 #endif // !CAPNP_LITE
c@106 534 };
c@106 535 };
c@106 536
c@106 537 struct RpcResponse {
c@106 538 RpcResponse() = delete;
c@106 539
c@106 540 class Reader;
c@106 541 class Builder;
c@106 542 class Pipeline;
c@106 543 struct Id;
c@106 544 struct Response;
c@106 545
c@106 546 struct _capnpPrivate {
c@106 547 CAPNP_DECLARE_STRUCT_HEADER(b1fd870b8c5fe885, 1, 2)
c@106 548 #if !CAPNP_LITE
cannam@218 549 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 550 #endif // !CAPNP_LITE
c@106 551 };
c@106 552 };
c@106 553
c@106 554 struct RpcResponse::Id {
c@106 555 Id() = delete;
c@106 556
c@106 557 class Reader;
c@106 558 class Builder;
c@106 559 class Pipeline;
c@106 560 enum Which: uint16_t {
c@106 561 NUMBER,
c@106 562 TAG,
c@106 563 NONE,
c@106 564 };
c@106 565
c@106 566 struct _capnpPrivate {
c@106 567 CAPNP_DECLARE_STRUCT_HEADER(d6d526aed45ac1db, 1, 2)
c@106 568 #if !CAPNP_LITE
cannam@218 569 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 570 #endif // !CAPNP_LITE
c@106 571 };
c@106 572 };
c@106 573
c@106 574 struct RpcResponse::Response {
c@106 575 Response() = delete;
c@106 576
c@106 577 class Reader;
c@106 578 class Builder;
c@106 579 class Pipeline;
c@106 580 enum Which: uint16_t {
c@106 581 ERROR,
c@106 582 LIST,
c@106 583 LOAD,
c@106 584 CONFIGURE,
c@106 585 PROCESS,
c@106 586 FINISH,
c@106 587 };
c@106 588
c@106 589 struct _capnpPrivate {
c@106 590 CAPNP_DECLARE_STRUCT_HEADER(ad12bb4485b0d3ac, 1, 2)
c@106 591 #if !CAPNP_LITE
cannam@218 592 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
c@106 593 #endif // !CAPNP_LITE
c@106 594 };
c@106 595 };
c@106 596
c@106 597 // =======================================================================================
c@106 598
c@106 599 class Basic::Reader {
c@106 600 public:
c@106 601 typedef Basic Reads;
c@106 602
c@106 603 Reader() = default;
c@106 604 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 605
c@106 606 inline ::capnp::MessageSize totalSize() const {
c@106 607 return _reader.totalSize().asPublic();
c@106 608 }
c@106 609
c@106 610 #if !CAPNP_LITE
c@106 611 inline ::kj::StringTree toString() const {
cannam@218 612 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 613 }
c@106 614 #endif // !CAPNP_LITE
c@106 615
c@106 616 inline bool hasIdentifier() const;
c@106 617 inline ::capnp::Text::Reader getIdentifier() const;
c@106 618
c@106 619 inline bool hasName() const;
c@106 620 inline ::capnp::Text::Reader getName() const;
c@106 621
c@106 622 inline bool hasDescription() const;
c@106 623 inline ::capnp::Text::Reader getDescription() const;
c@106 624
c@106 625 private:
c@106 626 ::capnp::_::StructReader _reader;
c@106 627 template <typename, ::capnp::Kind>
c@106 628 friend struct ::capnp::ToDynamic_;
c@106 629 template <typename, ::capnp::Kind>
c@106 630 friend struct ::capnp::_::PointerHelpers;
c@106 631 template <typename, ::capnp::Kind>
c@106 632 friend struct ::capnp::List;
c@106 633 friend class ::capnp::MessageBuilder;
c@106 634 friend class ::capnp::Orphanage;
c@106 635 };
c@106 636
c@106 637 class Basic::Builder {
c@106 638 public:
c@106 639 typedef Basic Builds;
c@106 640
c@106 641 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 642 // You can explicitly initialize to nullptr instead.
c@106 643 inline Builder(decltype(nullptr)) {}
c@106 644 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 645 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 646 inline Reader asReader() const { return *this; }
c@106 647
c@106 648 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 649 #if !CAPNP_LITE
c@106 650 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 651 #endif // !CAPNP_LITE
c@106 652
c@106 653 inline bool hasIdentifier();
c@106 654 inline ::capnp::Text::Builder getIdentifier();
c@106 655 inline void setIdentifier( ::capnp::Text::Reader value);
c@106 656 inline ::capnp::Text::Builder initIdentifier(unsigned int size);
c@106 657 inline void adoptIdentifier(::capnp::Orphan< ::capnp::Text>&& value);
c@106 658 inline ::capnp::Orphan< ::capnp::Text> disownIdentifier();
c@106 659
c@106 660 inline bool hasName();
c@106 661 inline ::capnp::Text::Builder getName();
c@106 662 inline void setName( ::capnp::Text::Reader value);
c@106 663 inline ::capnp::Text::Builder initName(unsigned int size);
c@106 664 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
c@106 665 inline ::capnp::Orphan< ::capnp::Text> disownName();
c@106 666
c@106 667 inline bool hasDescription();
c@106 668 inline ::capnp::Text::Builder getDescription();
c@106 669 inline void setDescription( ::capnp::Text::Reader value);
c@106 670 inline ::capnp::Text::Builder initDescription(unsigned int size);
c@106 671 inline void adoptDescription(::capnp::Orphan< ::capnp::Text>&& value);
c@106 672 inline ::capnp::Orphan< ::capnp::Text> disownDescription();
c@106 673
c@106 674 private:
c@106 675 ::capnp::_::StructBuilder _builder;
c@106 676 template <typename, ::capnp::Kind>
c@106 677 friend struct ::capnp::ToDynamic_;
c@106 678 friend class ::capnp::Orphanage;
c@106 679 template <typename, ::capnp::Kind>
c@106 680 friend struct ::capnp::_::PointerHelpers;
c@106 681 };
c@106 682
c@106 683 #if !CAPNP_LITE
c@106 684 class Basic::Pipeline {
c@106 685 public:
c@106 686 typedef Basic Pipelines;
c@106 687
c@106 688 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 689 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 690 : _typeless(kj::mv(typeless)) {}
c@106 691
c@106 692 private:
c@106 693 ::capnp::AnyPointer::Pipeline _typeless;
c@106 694 friend class ::capnp::PipelineHook;
c@106 695 template <typename, ::capnp::Kind>
c@106 696 friend struct ::capnp::ToDynamic_;
c@106 697 };
c@106 698 #endif // !CAPNP_LITE
c@106 699
c@106 700 class ParameterDescriptor::Reader {
c@106 701 public:
c@106 702 typedef ParameterDescriptor Reads;
c@106 703
c@106 704 Reader() = default;
c@106 705 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 706
c@106 707 inline ::capnp::MessageSize totalSize() const {
c@106 708 return _reader.totalSize().asPublic();
c@106 709 }
c@106 710
c@106 711 #if !CAPNP_LITE
c@106 712 inline ::kj::StringTree toString() const {
cannam@218 713 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 714 }
c@106 715 #endif // !CAPNP_LITE
c@106 716
c@106 717 inline bool hasBasic() const;
c@106 718 inline ::piper::Basic::Reader getBasic() const;
c@106 719
c@106 720 inline bool hasUnit() const;
c@106 721 inline ::capnp::Text::Reader getUnit() const;
c@106 722
c@106 723 inline float getMinValue() const;
c@106 724
c@106 725 inline float getMaxValue() const;
c@106 726
c@106 727 inline float getDefaultValue() const;
c@106 728
c@106 729 inline bool getIsQuantized() const;
c@106 730
c@106 731 inline float getQuantizeStep() const;
c@106 732
c@106 733 inline bool hasValueNames() const;
c@106 734 inline ::capnp::List< ::capnp::Text>::Reader getValueNames() const;
c@106 735
c@106 736 private:
c@106 737 ::capnp::_::StructReader _reader;
c@106 738 template <typename, ::capnp::Kind>
c@106 739 friend struct ::capnp::ToDynamic_;
c@106 740 template <typename, ::capnp::Kind>
c@106 741 friend struct ::capnp::_::PointerHelpers;
c@106 742 template <typename, ::capnp::Kind>
c@106 743 friend struct ::capnp::List;
c@106 744 friend class ::capnp::MessageBuilder;
c@106 745 friend class ::capnp::Orphanage;
c@106 746 };
c@106 747
c@106 748 class ParameterDescriptor::Builder {
c@106 749 public:
c@106 750 typedef ParameterDescriptor Builds;
c@106 751
c@106 752 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 753 // You can explicitly initialize to nullptr instead.
c@106 754 inline Builder(decltype(nullptr)) {}
c@106 755 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 756 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 757 inline Reader asReader() const { return *this; }
c@106 758
c@106 759 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 760 #if !CAPNP_LITE
c@106 761 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 762 #endif // !CAPNP_LITE
c@106 763
c@106 764 inline bool hasBasic();
c@106 765 inline ::piper::Basic::Builder getBasic();
c@106 766 inline void setBasic( ::piper::Basic::Reader value);
c@106 767 inline ::piper::Basic::Builder initBasic();
c@106 768 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
c@106 769 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
c@106 770
c@106 771 inline bool hasUnit();
c@106 772 inline ::capnp::Text::Builder getUnit();
c@106 773 inline void setUnit( ::capnp::Text::Reader value);
c@106 774 inline ::capnp::Text::Builder initUnit(unsigned int size);
c@106 775 inline void adoptUnit(::capnp::Orphan< ::capnp::Text>&& value);
c@106 776 inline ::capnp::Orphan< ::capnp::Text> disownUnit();
c@106 777
c@106 778 inline float getMinValue();
c@106 779 inline void setMinValue(float value);
c@106 780
c@106 781 inline float getMaxValue();
c@106 782 inline void setMaxValue(float value);
c@106 783
c@106 784 inline float getDefaultValue();
c@106 785 inline void setDefaultValue(float value);
c@106 786
c@106 787 inline bool getIsQuantized();
c@106 788 inline void setIsQuantized(bool value);
c@106 789
c@106 790 inline float getQuantizeStep();
c@106 791 inline void setQuantizeStep(float value);
c@106 792
c@106 793 inline bool hasValueNames();
c@106 794 inline ::capnp::List< ::capnp::Text>::Builder getValueNames();
c@106 795 inline void setValueNames( ::capnp::List< ::capnp::Text>::Reader value);
c@106 796 inline void setValueNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@106 797 inline ::capnp::List< ::capnp::Text>::Builder initValueNames(unsigned int size);
c@106 798 inline void adoptValueNames(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@106 799 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownValueNames();
c@106 800
c@106 801 private:
c@106 802 ::capnp::_::StructBuilder _builder;
c@106 803 template <typename, ::capnp::Kind>
c@106 804 friend struct ::capnp::ToDynamic_;
c@106 805 friend class ::capnp::Orphanage;
c@106 806 template <typename, ::capnp::Kind>
c@106 807 friend struct ::capnp::_::PointerHelpers;
c@106 808 };
c@106 809
c@106 810 #if !CAPNP_LITE
c@106 811 class ParameterDescriptor::Pipeline {
c@106 812 public:
c@106 813 typedef ParameterDescriptor Pipelines;
c@106 814
c@106 815 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 816 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 817 : _typeless(kj::mv(typeless)) {}
c@106 818
c@106 819 inline ::piper::Basic::Pipeline getBasic();
c@106 820 private:
c@106 821 ::capnp::AnyPointer::Pipeline _typeless;
c@106 822 friend class ::capnp::PipelineHook;
c@106 823 template <typename, ::capnp::Kind>
c@106 824 friend struct ::capnp::ToDynamic_;
c@106 825 };
c@106 826 #endif // !CAPNP_LITE
c@106 827
cannam@220 828 class StaticOutputDescriptor::Reader {
cannam@220 829 public:
cannam@220 830 typedef StaticOutputDescriptor Reads;
cannam@220 831
cannam@220 832 Reader() = default;
cannam@220 833 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
cannam@220 834
cannam@220 835 inline ::capnp::MessageSize totalSize() const {
cannam@220 836 return _reader.totalSize().asPublic();
cannam@220 837 }
cannam@220 838
cannam@220 839 #if !CAPNP_LITE
cannam@220 840 inline ::kj::StringTree toString() const {
cannam@220 841 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
cannam@220 842 }
cannam@220 843 #endif // !CAPNP_LITE
cannam@220 844
cannam@220 845 inline bool hasTypeURI() const;
cannam@220 846 inline ::capnp::Text::Reader getTypeURI() const;
cannam@220 847
cannam@220 848 private:
cannam@220 849 ::capnp::_::StructReader _reader;
cannam@220 850 template <typename, ::capnp::Kind>
cannam@220 851 friend struct ::capnp::ToDynamic_;
cannam@220 852 template <typename, ::capnp::Kind>
cannam@220 853 friend struct ::capnp::_::PointerHelpers;
cannam@220 854 template <typename, ::capnp::Kind>
cannam@220 855 friend struct ::capnp::List;
cannam@220 856 friend class ::capnp::MessageBuilder;
cannam@220 857 friend class ::capnp::Orphanage;
cannam@220 858 };
cannam@220 859
cannam@220 860 class StaticOutputDescriptor::Builder {
cannam@220 861 public:
cannam@220 862 typedef StaticOutputDescriptor Builds;
cannam@220 863
cannam@220 864 Builder() = delete; // Deleted to discourage incorrect usage.
cannam@220 865 // You can explicitly initialize to nullptr instead.
cannam@220 866 inline Builder(decltype(nullptr)) {}
cannam@220 867 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
cannam@220 868 inline operator Reader() const { return Reader(_builder.asReader()); }
cannam@220 869 inline Reader asReader() const { return *this; }
cannam@220 870
cannam@220 871 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
cannam@220 872 #if !CAPNP_LITE
cannam@220 873 inline ::kj::StringTree toString() const { return asReader().toString(); }
cannam@220 874 #endif // !CAPNP_LITE
cannam@220 875
cannam@220 876 inline bool hasTypeURI();
cannam@220 877 inline ::capnp::Text::Builder getTypeURI();
cannam@220 878 inline void setTypeURI( ::capnp::Text::Reader value);
cannam@220 879 inline ::capnp::Text::Builder initTypeURI(unsigned int size);
cannam@220 880 inline void adoptTypeURI(::capnp::Orphan< ::capnp::Text>&& value);
cannam@220 881 inline ::capnp::Orphan< ::capnp::Text> disownTypeURI();
cannam@220 882
cannam@220 883 private:
cannam@220 884 ::capnp::_::StructBuilder _builder;
cannam@220 885 template <typename, ::capnp::Kind>
cannam@220 886 friend struct ::capnp::ToDynamic_;
cannam@220 887 friend class ::capnp::Orphanage;
cannam@220 888 template <typename, ::capnp::Kind>
cannam@220 889 friend struct ::capnp::_::PointerHelpers;
cannam@220 890 };
cannam@220 891
cannam@220 892 #if !CAPNP_LITE
cannam@220 893 class StaticOutputDescriptor::Pipeline {
cannam@220 894 public:
cannam@220 895 typedef StaticOutputDescriptor Pipelines;
cannam@220 896
cannam@220 897 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
cannam@220 898 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
cannam@220 899 : _typeless(kj::mv(typeless)) {}
cannam@220 900
cannam@220 901 private:
cannam@220 902 ::capnp::AnyPointer::Pipeline _typeless;
cannam@220 903 friend class ::capnp::PipelineHook;
cannam@220 904 template <typename, ::capnp::Kind>
cannam@220 905 friend struct ::capnp::ToDynamic_;
cannam@220 906 };
cannam@220 907 #endif // !CAPNP_LITE
cannam@220 908
c@106 909 class ConfiguredOutputDescriptor::Reader {
c@106 910 public:
c@106 911 typedef ConfiguredOutputDescriptor Reads;
c@106 912
c@106 913 Reader() = default;
c@106 914 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 915
c@106 916 inline ::capnp::MessageSize totalSize() const {
c@106 917 return _reader.totalSize().asPublic();
c@106 918 }
c@106 919
c@106 920 #if !CAPNP_LITE
c@106 921 inline ::kj::StringTree toString() const {
cannam@218 922 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 923 }
c@106 924 #endif // !CAPNP_LITE
c@106 925
c@106 926 inline bool hasUnit() const;
c@106 927 inline ::capnp::Text::Reader getUnit() const;
c@106 928
c@106 929 inline bool getHasFixedBinCount() const;
c@106 930
c@106 931 inline ::int32_t getBinCount() const;
c@106 932
c@106 933 inline bool hasBinNames() const;
c@106 934 inline ::capnp::List< ::capnp::Text>::Reader getBinNames() const;
c@106 935
c@106 936 inline bool getHasKnownExtents() const;
c@106 937
c@106 938 inline float getMinValue() const;
c@106 939
c@106 940 inline float getMaxValue() const;
c@106 941
c@106 942 inline bool getIsQuantized() const;
c@106 943
c@106 944 inline float getQuantizeStep() const;
c@106 945
c@106 946 inline ::piper::SampleType getSampleType() const;
c@106 947
c@106 948 inline float getSampleRate() const;
c@106 949
c@106 950 inline bool getHasDuration() const;
c@106 951
c@106 952 private:
c@106 953 ::capnp::_::StructReader _reader;
c@106 954 template <typename, ::capnp::Kind>
c@106 955 friend struct ::capnp::ToDynamic_;
c@106 956 template <typename, ::capnp::Kind>
c@106 957 friend struct ::capnp::_::PointerHelpers;
c@106 958 template <typename, ::capnp::Kind>
c@106 959 friend struct ::capnp::List;
c@106 960 friend class ::capnp::MessageBuilder;
c@106 961 friend class ::capnp::Orphanage;
c@106 962 };
c@106 963
c@106 964 class ConfiguredOutputDescriptor::Builder {
c@106 965 public:
c@106 966 typedef ConfiguredOutputDescriptor Builds;
c@106 967
c@106 968 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 969 // You can explicitly initialize to nullptr instead.
c@106 970 inline Builder(decltype(nullptr)) {}
c@106 971 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 972 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 973 inline Reader asReader() const { return *this; }
c@106 974
c@106 975 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 976 #if !CAPNP_LITE
c@106 977 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 978 #endif // !CAPNP_LITE
c@106 979
c@106 980 inline bool hasUnit();
c@106 981 inline ::capnp::Text::Builder getUnit();
c@106 982 inline void setUnit( ::capnp::Text::Reader value);
c@106 983 inline ::capnp::Text::Builder initUnit(unsigned int size);
c@106 984 inline void adoptUnit(::capnp::Orphan< ::capnp::Text>&& value);
c@106 985 inline ::capnp::Orphan< ::capnp::Text> disownUnit();
c@106 986
c@106 987 inline bool getHasFixedBinCount();
c@106 988 inline void setHasFixedBinCount(bool value);
c@106 989
c@106 990 inline ::int32_t getBinCount();
c@106 991 inline void setBinCount( ::int32_t value);
c@106 992
c@106 993 inline bool hasBinNames();
c@106 994 inline ::capnp::List< ::capnp::Text>::Builder getBinNames();
c@106 995 inline void setBinNames( ::capnp::List< ::capnp::Text>::Reader value);
c@106 996 inline void setBinNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@106 997 inline ::capnp::List< ::capnp::Text>::Builder initBinNames(unsigned int size);
c@106 998 inline void adoptBinNames(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@106 999 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownBinNames();
c@106 1000
c@106 1001 inline bool getHasKnownExtents();
c@106 1002 inline void setHasKnownExtents(bool value);
c@106 1003
c@106 1004 inline float getMinValue();
c@106 1005 inline void setMinValue(float value);
c@106 1006
c@106 1007 inline float getMaxValue();
c@106 1008 inline void setMaxValue(float value);
c@106 1009
c@106 1010 inline bool getIsQuantized();
c@106 1011 inline void setIsQuantized(bool value);
c@106 1012
c@106 1013 inline float getQuantizeStep();
c@106 1014 inline void setQuantizeStep(float value);
c@106 1015
c@106 1016 inline ::piper::SampleType getSampleType();
c@106 1017 inline void setSampleType( ::piper::SampleType value);
c@106 1018
c@106 1019 inline float getSampleRate();
c@106 1020 inline void setSampleRate(float value);
c@106 1021
c@106 1022 inline bool getHasDuration();
c@106 1023 inline void setHasDuration(bool value);
c@106 1024
c@106 1025 private:
c@106 1026 ::capnp::_::StructBuilder _builder;
c@106 1027 template <typename, ::capnp::Kind>
c@106 1028 friend struct ::capnp::ToDynamic_;
c@106 1029 friend class ::capnp::Orphanage;
c@106 1030 template <typename, ::capnp::Kind>
c@106 1031 friend struct ::capnp::_::PointerHelpers;
c@106 1032 };
c@106 1033
c@106 1034 #if !CAPNP_LITE
c@106 1035 class ConfiguredOutputDescriptor::Pipeline {
c@106 1036 public:
c@106 1037 typedef ConfiguredOutputDescriptor Pipelines;
c@106 1038
c@106 1039 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1040 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1041 : _typeless(kj::mv(typeless)) {}
c@106 1042
c@106 1043 private:
c@106 1044 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1045 friend class ::capnp::PipelineHook;
c@106 1046 template <typename, ::capnp::Kind>
c@106 1047 friend struct ::capnp::ToDynamic_;
c@106 1048 };
c@106 1049 #endif // !CAPNP_LITE
c@106 1050
c@106 1051 class OutputDescriptor::Reader {
c@106 1052 public:
c@106 1053 typedef OutputDescriptor Reads;
c@106 1054
c@106 1055 Reader() = default;
c@106 1056 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1057
c@106 1058 inline ::capnp::MessageSize totalSize() const {
c@106 1059 return _reader.totalSize().asPublic();
c@106 1060 }
c@106 1061
c@106 1062 #if !CAPNP_LITE
c@106 1063 inline ::kj::StringTree toString() const {
cannam@218 1064 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 1065 }
c@106 1066 #endif // !CAPNP_LITE
c@106 1067
c@106 1068 inline bool hasBasic() const;
c@106 1069 inline ::piper::Basic::Reader getBasic() const;
c@106 1070
c@106 1071 inline bool hasConfigured() const;
c@106 1072 inline ::piper::ConfiguredOutputDescriptor::Reader getConfigured() const;
c@106 1073
cannam@220 1074 inline bool hasStatic() const;
cannam@220 1075 inline ::piper::StaticOutputDescriptor::Reader getStatic() const;
cannam@220 1076
c@106 1077 private:
c@106 1078 ::capnp::_::StructReader _reader;
c@106 1079 template <typename, ::capnp::Kind>
c@106 1080 friend struct ::capnp::ToDynamic_;
c@106 1081 template <typename, ::capnp::Kind>
c@106 1082 friend struct ::capnp::_::PointerHelpers;
c@106 1083 template <typename, ::capnp::Kind>
c@106 1084 friend struct ::capnp::List;
c@106 1085 friend class ::capnp::MessageBuilder;
c@106 1086 friend class ::capnp::Orphanage;
c@106 1087 };
c@106 1088
c@106 1089 class OutputDescriptor::Builder {
c@106 1090 public:
c@106 1091 typedef OutputDescriptor Builds;
c@106 1092
c@106 1093 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1094 // You can explicitly initialize to nullptr instead.
c@106 1095 inline Builder(decltype(nullptr)) {}
c@106 1096 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1097 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1098 inline Reader asReader() const { return *this; }
c@106 1099
c@106 1100 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1101 #if !CAPNP_LITE
c@106 1102 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1103 #endif // !CAPNP_LITE
c@106 1104
c@106 1105 inline bool hasBasic();
c@106 1106 inline ::piper::Basic::Builder getBasic();
c@106 1107 inline void setBasic( ::piper::Basic::Reader value);
c@106 1108 inline ::piper::Basic::Builder initBasic();
c@106 1109 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
c@106 1110 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
c@106 1111
c@106 1112 inline bool hasConfigured();
c@106 1113 inline ::piper::ConfiguredOutputDescriptor::Builder getConfigured();
c@106 1114 inline void setConfigured( ::piper::ConfiguredOutputDescriptor::Reader value);
c@106 1115 inline ::piper::ConfiguredOutputDescriptor::Builder initConfigured();
c@106 1116 inline void adoptConfigured(::capnp::Orphan< ::piper::ConfiguredOutputDescriptor>&& value);
c@106 1117 inline ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor> disownConfigured();
c@106 1118
cannam@220 1119 inline bool hasStatic();
cannam@220 1120 inline ::piper::StaticOutputDescriptor::Builder getStatic();
cannam@220 1121 inline void setStatic( ::piper::StaticOutputDescriptor::Reader value);
cannam@220 1122 inline ::piper::StaticOutputDescriptor::Builder initStatic();
cannam@220 1123 inline void adoptStatic(::capnp::Orphan< ::piper::StaticOutputDescriptor>&& value);
cannam@220 1124 inline ::capnp::Orphan< ::piper::StaticOutputDescriptor> disownStatic();
cannam@220 1125
c@106 1126 private:
c@106 1127 ::capnp::_::StructBuilder _builder;
c@106 1128 template <typename, ::capnp::Kind>
c@106 1129 friend struct ::capnp::ToDynamic_;
c@106 1130 friend class ::capnp::Orphanage;
c@106 1131 template <typename, ::capnp::Kind>
c@106 1132 friend struct ::capnp::_::PointerHelpers;
c@106 1133 };
c@106 1134
c@106 1135 #if !CAPNP_LITE
c@106 1136 class OutputDescriptor::Pipeline {
c@106 1137 public:
c@106 1138 typedef OutputDescriptor Pipelines;
c@106 1139
c@106 1140 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1141 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1142 : _typeless(kj::mv(typeless)) {}
c@106 1143
c@106 1144 inline ::piper::Basic::Pipeline getBasic();
c@106 1145 inline ::piper::ConfiguredOutputDescriptor::Pipeline getConfigured();
cannam@220 1146 inline ::piper::StaticOutputDescriptor::Pipeline getStatic();
c@106 1147 private:
c@106 1148 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1149 friend class ::capnp::PipelineHook;
c@106 1150 template <typename, ::capnp::Kind>
c@106 1151 friend struct ::capnp::ToDynamic_;
c@106 1152 };
c@106 1153 #endif // !CAPNP_LITE
c@106 1154
c@106 1155 class ExtractorStaticData::Reader {
c@106 1156 public:
c@106 1157 typedef ExtractorStaticData Reads;
c@106 1158
c@106 1159 Reader() = default;
c@106 1160 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1161
c@106 1162 inline ::capnp::MessageSize totalSize() const {
c@106 1163 return _reader.totalSize().asPublic();
c@106 1164 }
c@106 1165
c@106 1166 #if !CAPNP_LITE
c@106 1167 inline ::kj::StringTree toString() const {
cannam@218 1168 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 1169 }
c@106 1170 #endif // !CAPNP_LITE
c@106 1171
c@106 1172 inline bool hasKey() const;
c@106 1173 inline ::capnp::Text::Reader getKey() const;
c@106 1174
c@106 1175 inline bool hasBasic() const;
c@106 1176 inline ::piper::Basic::Reader getBasic() const;
c@106 1177
c@106 1178 inline bool hasMaker() const;
c@106 1179 inline ::capnp::Text::Reader getMaker() const;
c@106 1180
cannam@216 1181 inline bool hasRights() const;
cannam@216 1182 inline ::capnp::Text::Reader getRights() const;
c@106 1183
c@106 1184 inline ::int32_t getVersion() const;
c@106 1185
c@106 1186 inline bool hasCategory() const;
c@106 1187 inline ::capnp::List< ::capnp::Text>::Reader getCategory() const;
c@106 1188
c@106 1189 inline ::int32_t getMinChannelCount() const;
c@106 1190
c@106 1191 inline ::int32_t getMaxChannelCount() const;
c@106 1192
c@106 1193 inline bool hasParameters() const;
c@106 1194 inline ::capnp::List< ::piper::ParameterDescriptor>::Reader getParameters() const;
c@106 1195
c@106 1196 inline bool hasPrograms() const;
c@106 1197 inline ::capnp::List< ::capnp::Text>::Reader getPrograms() const;
c@106 1198
c@106 1199 inline ::piper::InputDomain getInputDomain() const;
c@106 1200
c@106 1201 inline bool hasBasicOutputInfo() const;
c@106 1202 inline ::capnp::List< ::piper::Basic>::Reader getBasicOutputInfo() const;
c@106 1203
cannam@220 1204 inline bool hasStaticOutputInfo() const;
cannam@220 1205 inline ::capnp::List< ::piper::ExtractorStaticData::SOPair>::Reader getStaticOutputInfo() const;
cannam@220 1206
c@106 1207 private:
c@106 1208 ::capnp::_::StructReader _reader;
c@106 1209 template <typename, ::capnp::Kind>
c@106 1210 friend struct ::capnp::ToDynamic_;
c@106 1211 template <typename, ::capnp::Kind>
c@106 1212 friend struct ::capnp::_::PointerHelpers;
c@106 1213 template <typename, ::capnp::Kind>
c@106 1214 friend struct ::capnp::List;
c@106 1215 friend class ::capnp::MessageBuilder;
c@106 1216 friend class ::capnp::Orphanage;
c@106 1217 };
c@106 1218
c@106 1219 class ExtractorStaticData::Builder {
c@106 1220 public:
c@106 1221 typedef ExtractorStaticData Builds;
c@106 1222
c@106 1223 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1224 // You can explicitly initialize to nullptr instead.
c@106 1225 inline Builder(decltype(nullptr)) {}
c@106 1226 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1227 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1228 inline Reader asReader() const { return *this; }
c@106 1229
c@106 1230 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1231 #if !CAPNP_LITE
c@106 1232 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1233 #endif // !CAPNP_LITE
c@106 1234
c@106 1235 inline bool hasKey();
c@106 1236 inline ::capnp::Text::Builder getKey();
c@106 1237 inline void setKey( ::capnp::Text::Reader value);
c@106 1238 inline ::capnp::Text::Builder initKey(unsigned int size);
c@106 1239 inline void adoptKey(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1240 inline ::capnp::Orphan< ::capnp::Text> disownKey();
c@106 1241
c@106 1242 inline bool hasBasic();
c@106 1243 inline ::piper::Basic::Builder getBasic();
c@106 1244 inline void setBasic( ::piper::Basic::Reader value);
c@106 1245 inline ::piper::Basic::Builder initBasic();
c@106 1246 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
c@106 1247 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
c@106 1248
c@106 1249 inline bool hasMaker();
c@106 1250 inline ::capnp::Text::Builder getMaker();
c@106 1251 inline void setMaker( ::capnp::Text::Reader value);
c@106 1252 inline ::capnp::Text::Builder initMaker(unsigned int size);
c@106 1253 inline void adoptMaker(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1254 inline ::capnp::Orphan< ::capnp::Text> disownMaker();
c@106 1255
cannam@216 1256 inline bool hasRights();
cannam@216 1257 inline ::capnp::Text::Builder getRights();
cannam@216 1258 inline void setRights( ::capnp::Text::Reader value);
cannam@216 1259 inline ::capnp::Text::Builder initRights(unsigned int size);
cannam@216 1260 inline void adoptRights(::capnp::Orphan< ::capnp::Text>&& value);
cannam@216 1261 inline ::capnp::Orphan< ::capnp::Text> disownRights();
c@106 1262
c@106 1263 inline ::int32_t getVersion();
c@106 1264 inline void setVersion( ::int32_t value);
c@106 1265
c@106 1266 inline bool hasCategory();
c@106 1267 inline ::capnp::List< ::capnp::Text>::Builder getCategory();
c@106 1268 inline void setCategory( ::capnp::List< ::capnp::Text>::Reader value);
c@106 1269 inline void setCategory(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@106 1270 inline ::capnp::List< ::capnp::Text>::Builder initCategory(unsigned int size);
c@106 1271 inline void adoptCategory(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@106 1272 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownCategory();
c@106 1273
c@106 1274 inline ::int32_t getMinChannelCount();
c@106 1275 inline void setMinChannelCount( ::int32_t value);
c@106 1276
c@106 1277 inline ::int32_t getMaxChannelCount();
c@106 1278 inline void setMaxChannelCount( ::int32_t value);
c@106 1279
c@106 1280 inline bool hasParameters();
c@106 1281 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder getParameters();
c@106 1282 inline void setParameters( ::capnp::List< ::piper::ParameterDescriptor>::Reader value);
c@106 1283 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder initParameters(unsigned int size);
c@106 1284 inline void adoptParameters(::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>>&& value);
c@106 1285 inline ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>> disownParameters();
c@106 1286
c@106 1287 inline bool hasPrograms();
c@106 1288 inline ::capnp::List< ::capnp::Text>::Builder getPrograms();
c@106 1289 inline void setPrograms( ::capnp::List< ::capnp::Text>::Reader value);
c@106 1290 inline void setPrograms(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@106 1291 inline ::capnp::List< ::capnp::Text>::Builder initPrograms(unsigned int size);
c@106 1292 inline void adoptPrograms(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@106 1293 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownPrograms();
c@106 1294
c@106 1295 inline ::piper::InputDomain getInputDomain();
c@106 1296 inline void setInputDomain( ::piper::InputDomain value);
c@106 1297
c@106 1298 inline bool hasBasicOutputInfo();
c@106 1299 inline ::capnp::List< ::piper::Basic>::Builder getBasicOutputInfo();
c@106 1300 inline void setBasicOutputInfo( ::capnp::List< ::piper::Basic>::Reader value);
c@106 1301 inline ::capnp::List< ::piper::Basic>::Builder initBasicOutputInfo(unsigned int size);
c@106 1302 inline void adoptBasicOutputInfo(::capnp::Orphan< ::capnp::List< ::piper::Basic>>&& value);
c@106 1303 inline ::capnp::Orphan< ::capnp::List< ::piper::Basic>> disownBasicOutputInfo();
c@106 1304
cannam@220 1305 inline bool hasStaticOutputInfo();
cannam@220 1306 inline ::capnp::List< ::piper::ExtractorStaticData::SOPair>::Builder getStaticOutputInfo();
cannam@220 1307 inline void setStaticOutputInfo( ::capnp::List< ::piper::ExtractorStaticData::SOPair>::Reader value);
cannam@220 1308 inline ::capnp::List< ::piper::ExtractorStaticData::SOPair>::Builder initStaticOutputInfo(unsigned int size);
cannam@220 1309 inline void adoptStaticOutputInfo(::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData::SOPair>>&& value);
cannam@220 1310 inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData::SOPair>> disownStaticOutputInfo();
cannam@220 1311
c@106 1312 private:
c@106 1313 ::capnp::_::StructBuilder _builder;
c@106 1314 template <typename, ::capnp::Kind>
c@106 1315 friend struct ::capnp::ToDynamic_;
c@106 1316 friend class ::capnp::Orphanage;
c@106 1317 template <typename, ::capnp::Kind>
c@106 1318 friend struct ::capnp::_::PointerHelpers;
c@106 1319 };
c@106 1320
c@106 1321 #if !CAPNP_LITE
c@106 1322 class ExtractorStaticData::Pipeline {
c@106 1323 public:
c@106 1324 typedef ExtractorStaticData Pipelines;
c@106 1325
c@106 1326 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1327 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1328 : _typeless(kj::mv(typeless)) {}
c@106 1329
c@106 1330 inline ::piper::Basic::Pipeline getBasic();
c@106 1331 private:
c@106 1332 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1333 friend class ::capnp::PipelineHook;
c@106 1334 template <typename, ::capnp::Kind>
c@106 1335 friend struct ::capnp::ToDynamic_;
c@106 1336 };
c@106 1337 #endif // !CAPNP_LITE
c@106 1338
cannam@220 1339 class ExtractorStaticData::SOPair::Reader {
cannam@220 1340 public:
cannam@220 1341 typedef SOPair Reads;
cannam@220 1342
cannam@220 1343 Reader() = default;
cannam@220 1344 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
cannam@220 1345
cannam@220 1346 inline ::capnp::MessageSize totalSize() const {
cannam@220 1347 return _reader.totalSize().asPublic();
cannam@220 1348 }
cannam@220 1349
cannam@220 1350 #if !CAPNP_LITE
cannam@220 1351 inline ::kj::StringTree toString() const {
cannam@220 1352 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
cannam@220 1353 }
cannam@220 1354 #endif // !CAPNP_LITE
cannam@220 1355
cannam@220 1356 inline bool hasOutput() const;
cannam@220 1357 inline ::capnp::Text::Reader getOutput() const;
cannam@220 1358
cannam@220 1359 inline bool hasStatic() const;
cannam@220 1360 inline ::piper::StaticOutputDescriptor::Reader getStatic() const;
cannam@220 1361
cannam@220 1362 private:
cannam@220 1363 ::capnp::_::StructReader _reader;
cannam@220 1364 template <typename, ::capnp::Kind>
cannam@220 1365 friend struct ::capnp::ToDynamic_;
cannam@220 1366 template <typename, ::capnp::Kind>
cannam@220 1367 friend struct ::capnp::_::PointerHelpers;
cannam@220 1368 template <typename, ::capnp::Kind>
cannam@220 1369 friend struct ::capnp::List;
cannam@220 1370 friend class ::capnp::MessageBuilder;
cannam@220 1371 friend class ::capnp::Orphanage;
cannam@220 1372 };
cannam@220 1373
cannam@220 1374 class ExtractorStaticData::SOPair::Builder {
cannam@220 1375 public:
cannam@220 1376 typedef SOPair Builds;
cannam@220 1377
cannam@220 1378 Builder() = delete; // Deleted to discourage incorrect usage.
cannam@220 1379 // You can explicitly initialize to nullptr instead.
cannam@220 1380 inline Builder(decltype(nullptr)) {}
cannam@220 1381 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
cannam@220 1382 inline operator Reader() const { return Reader(_builder.asReader()); }
cannam@220 1383 inline Reader asReader() const { return *this; }
cannam@220 1384
cannam@220 1385 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
cannam@220 1386 #if !CAPNP_LITE
cannam@220 1387 inline ::kj::StringTree toString() const { return asReader().toString(); }
cannam@220 1388 #endif // !CAPNP_LITE
cannam@220 1389
cannam@220 1390 inline bool hasOutput();
cannam@220 1391 inline ::capnp::Text::Builder getOutput();
cannam@220 1392 inline void setOutput( ::capnp::Text::Reader value);
cannam@220 1393 inline ::capnp::Text::Builder initOutput(unsigned int size);
cannam@220 1394 inline void adoptOutput(::capnp::Orphan< ::capnp::Text>&& value);
cannam@220 1395 inline ::capnp::Orphan< ::capnp::Text> disownOutput();
cannam@220 1396
cannam@220 1397 inline bool hasStatic();
cannam@220 1398 inline ::piper::StaticOutputDescriptor::Builder getStatic();
cannam@220 1399 inline void setStatic( ::piper::StaticOutputDescriptor::Reader value);
cannam@220 1400 inline ::piper::StaticOutputDescriptor::Builder initStatic();
cannam@220 1401 inline void adoptStatic(::capnp::Orphan< ::piper::StaticOutputDescriptor>&& value);
cannam@220 1402 inline ::capnp::Orphan< ::piper::StaticOutputDescriptor> disownStatic();
cannam@220 1403
cannam@220 1404 private:
cannam@220 1405 ::capnp::_::StructBuilder _builder;
cannam@220 1406 template <typename, ::capnp::Kind>
cannam@220 1407 friend struct ::capnp::ToDynamic_;
cannam@220 1408 friend class ::capnp::Orphanage;
cannam@220 1409 template <typename, ::capnp::Kind>
cannam@220 1410 friend struct ::capnp::_::PointerHelpers;
cannam@220 1411 };
cannam@220 1412
cannam@220 1413 #if !CAPNP_LITE
cannam@220 1414 class ExtractorStaticData::SOPair::Pipeline {
cannam@220 1415 public:
cannam@220 1416 typedef SOPair Pipelines;
cannam@220 1417
cannam@220 1418 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
cannam@220 1419 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
cannam@220 1420 : _typeless(kj::mv(typeless)) {}
cannam@220 1421
cannam@220 1422 inline ::piper::StaticOutputDescriptor::Pipeline getStatic();
cannam@220 1423 private:
cannam@220 1424 ::capnp::AnyPointer::Pipeline _typeless;
cannam@220 1425 friend class ::capnp::PipelineHook;
cannam@220 1426 template <typename, ::capnp::Kind>
cannam@220 1427 friend struct ::capnp::ToDynamic_;
cannam@220 1428 };
cannam@220 1429 #endif // !CAPNP_LITE
cannam@220 1430
c@106 1431 class RealTime::Reader {
c@106 1432 public:
c@106 1433 typedef RealTime Reads;
c@106 1434
c@106 1435 Reader() = default;
c@106 1436 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1437
c@106 1438 inline ::capnp::MessageSize totalSize() const {
c@106 1439 return _reader.totalSize().asPublic();
c@106 1440 }
c@106 1441
c@106 1442 #if !CAPNP_LITE
c@106 1443 inline ::kj::StringTree toString() const {
cannam@218 1444 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 1445 }
c@106 1446 #endif // !CAPNP_LITE
c@106 1447
c@106 1448 inline ::int32_t getSec() const;
c@106 1449
c@106 1450 inline ::int32_t getNsec() const;
c@106 1451
c@106 1452 private:
c@106 1453 ::capnp::_::StructReader _reader;
c@106 1454 template <typename, ::capnp::Kind>
c@106 1455 friend struct ::capnp::ToDynamic_;
c@106 1456 template <typename, ::capnp::Kind>
c@106 1457 friend struct ::capnp::_::PointerHelpers;
c@106 1458 template <typename, ::capnp::Kind>
c@106 1459 friend struct ::capnp::List;
c@106 1460 friend class ::capnp::MessageBuilder;
c@106 1461 friend class ::capnp::Orphanage;
c@106 1462 };
c@106 1463
c@106 1464 class RealTime::Builder {
c@106 1465 public:
c@106 1466 typedef RealTime Builds;
c@106 1467
c@106 1468 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1469 // You can explicitly initialize to nullptr instead.
c@106 1470 inline Builder(decltype(nullptr)) {}
c@106 1471 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1472 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1473 inline Reader asReader() const { return *this; }
c@106 1474
c@106 1475 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1476 #if !CAPNP_LITE
c@106 1477 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1478 #endif // !CAPNP_LITE
c@106 1479
c@106 1480 inline ::int32_t getSec();
c@106 1481 inline void setSec( ::int32_t value);
c@106 1482
c@106 1483 inline ::int32_t getNsec();
c@106 1484 inline void setNsec( ::int32_t value);
c@106 1485
c@106 1486 private:
c@106 1487 ::capnp::_::StructBuilder _builder;
c@106 1488 template <typename, ::capnp::Kind>
c@106 1489 friend struct ::capnp::ToDynamic_;
c@106 1490 friend class ::capnp::Orphanage;
c@106 1491 template <typename, ::capnp::Kind>
c@106 1492 friend struct ::capnp::_::PointerHelpers;
c@106 1493 };
c@106 1494
c@106 1495 #if !CAPNP_LITE
c@106 1496 class RealTime::Pipeline {
c@106 1497 public:
c@106 1498 typedef RealTime Pipelines;
c@106 1499
c@106 1500 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1501 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1502 : _typeless(kj::mv(typeless)) {}
c@106 1503
c@106 1504 private:
c@106 1505 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1506 friend class ::capnp::PipelineHook;
c@106 1507 template <typename, ::capnp::Kind>
c@106 1508 friend struct ::capnp::ToDynamic_;
c@106 1509 };
c@106 1510 #endif // !CAPNP_LITE
c@106 1511
c@106 1512 class ProcessInput::Reader {
c@106 1513 public:
c@106 1514 typedef ProcessInput Reads;
c@106 1515
c@106 1516 Reader() = default;
c@106 1517 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1518
c@106 1519 inline ::capnp::MessageSize totalSize() const {
c@106 1520 return _reader.totalSize().asPublic();
c@106 1521 }
c@106 1522
c@106 1523 #if !CAPNP_LITE
c@106 1524 inline ::kj::StringTree toString() const {
cannam@218 1525 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 1526 }
c@106 1527 #endif // !CAPNP_LITE
c@106 1528
c@106 1529 inline bool hasInputBuffers() const;
c@106 1530 inline ::capnp::List< ::capnp::List<float>>::Reader getInputBuffers() const;
c@106 1531
c@106 1532 inline bool hasTimestamp() const;
c@106 1533 inline ::piper::RealTime::Reader getTimestamp() const;
c@106 1534
c@106 1535 private:
c@106 1536 ::capnp::_::StructReader _reader;
c@106 1537 template <typename, ::capnp::Kind>
c@106 1538 friend struct ::capnp::ToDynamic_;
c@106 1539 template <typename, ::capnp::Kind>
c@106 1540 friend struct ::capnp::_::PointerHelpers;
c@106 1541 template <typename, ::capnp::Kind>
c@106 1542 friend struct ::capnp::List;
c@106 1543 friend class ::capnp::MessageBuilder;
c@106 1544 friend class ::capnp::Orphanage;
c@106 1545 };
c@106 1546
c@106 1547 class ProcessInput::Builder {
c@106 1548 public:
c@106 1549 typedef ProcessInput Builds;
c@106 1550
c@106 1551 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1552 // You can explicitly initialize to nullptr instead.
c@106 1553 inline Builder(decltype(nullptr)) {}
c@106 1554 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1555 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1556 inline Reader asReader() const { return *this; }
c@106 1557
c@106 1558 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1559 #if !CAPNP_LITE
c@106 1560 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1561 #endif // !CAPNP_LITE
c@106 1562
c@106 1563 inline bool hasInputBuffers();
c@106 1564 inline ::capnp::List< ::capnp::List<float>>::Builder getInputBuffers();
c@106 1565 inline void setInputBuffers( ::capnp::List< ::capnp::List<float>>::Reader value);
c@106 1566 inline void setInputBuffers(::kj::ArrayPtr<const ::capnp::List<float>::Reader> value);
c@106 1567 inline ::capnp::List< ::capnp::List<float>>::Builder initInputBuffers(unsigned int size);
c@106 1568 inline void adoptInputBuffers(::capnp::Orphan< ::capnp::List< ::capnp::List<float>>>&& value);
c@106 1569 inline ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>> disownInputBuffers();
c@106 1570
c@106 1571 inline bool hasTimestamp();
c@106 1572 inline ::piper::RealTime::Builder getTimestamp();
c@106 1573 inline void setTimestamp( ::piper::RealTime::Reader value);
c@106 1574 inline ::piper::RealTime::Builder initTimestamp();
c@106 1575 inline void adoptTimestamp(::capnp::Orphan< ::piper::RealTime>&& value);
c@106 1576 inline ::capnp::Orphan< ::piper::RealTime> disownTimestamp();
c@106 1577
c@106 1578 private:
c@106 1579 ::capnp::_::StructBuilder _builder;
c@106 1580 template <typename, ::capnp::Kind>
c@106 1581 friend struct ::capnp::ToDynamic_;
c@106 1582 friend class ::capnp::Orphanage;
c@106 1583 template <typename, ::capnp::Kind>
c@106 1584 friend struct ::capnp::_::PointerHelpers;
c@106 1585 };
c@106 1586
c@106 1587 #if !CAPNP_LITE
c@106 1588 class ProcessInput::Pipeline {
c@106 1589 public:
c@106 1590 typedef ProcessInput Pipelines;
c@106 1591
c@106 1592 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1593 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1594 : _typeless(kj::mv(typeless)) {}
c@106 1595
c@106 1596 inline ::piper::RealTime::Pipeline getTimestamp();
c@106 1597 private:
c@106 1598 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1599 friend class ::capnp::PipelineHook;
c@106 1600 template <typename, ::capnp::Kind>
c@106 1601 friend struct ::capnp::ToDynamic_;
c@106 1602 };
c@106 1603 #endif // !CAPNP_LITE
c@106 1604
c@106 1605 class Feature::Reader {
c@106 1606 public:
c@106 1607 typedef Feature Reads;
c@106 1608
c@106 1609 Reader() = default;
c@106 1610 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1611
c@106 1612 inline ::capnp::MessageSize totalSize() const {
c@106 1613 return _reader.totalSize().asPublic();
c@106 1614 }
c@106 1615
c@106 1616 #if !CAPNP_LITE
c@106 1617 inline ::kj::StringTree toString() const {
cannam@218 1618 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 1619 }
c@106 1620 #endif // !CAPNP_LITE
c@106 1621
c@106 1622 inline bool getHasTimestamp() const;
c@106 1623
c@106 1624 inline bool hasTimestamp() const;
c@106 1625 inline ::piper::RealTime::Reader getTimestamp() const;
c@106 1626
c@106 1627 inline bool getHasDuration() const;
c@106 1628
c@106 1629 inline bool hasDuration() const;
c@106 1630 inline ::piper::RealTime::Reader getDuration() const;
c@106 1631
c@106 1632 inline bool hasLabel() const;
c@106 1633 inline ::capnp::Text::Reader getLabel() const;
c@106 1634
c@106 1635 inline bool hasFeatureValues() const;
c@106 1636 inline ::capnp::List<float>::Reader getFeatureValues() const;
c@106 1637
c@106 1638 private:
c@106 1639 ::capnp::_::StructReader _reader;
c@106 1640 template <typename, ::capnp::Kind>
c@106 1641 friend struct ::capnp::ToDynamic_;
c@106 1642 template <typename, ::capnp::Kind>
c@106 1643 friend struct ::capnp::_::PointerHelpers;
c@106 1644 template <typename, ::capnp::Kind>
c@106 1645 friend struct ::capnp::List;
c@106 1646 friend class ::capnp::MessageBuilder;
c@106 1647 friend class ::capnp::Orphanage;
c@106 1648 };
c@106 1649
c@106 1650 class Feature::Builder {
c@106 1651 public:
c@106 1652 typedef Feature Builds;
c@106 1653
c@106 1654 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1655 // You can explicitly initialize to nullptr instead.
c@106 1656 inline Builder(decltype(nullptr)) {}
c@106 1657 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1658 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1659 inline Reader asReader() const { return *this; }
c@106 1660
c@106 1661 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1662 #if !CAPNP_LITE
c@106 1663 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1664 #endif // !CAPNP_LITE
c@106 1665
c@106 1666 inline bool getHasTimestamp();
c@106 1667 inline void setHasTimestamp(bool value);
c@106 1668
c@106 1669 inline bool hasTimestamp();
c@106 1670 inline ::piper::RealTime::Builder getTimestamp();
c@106 1671 inline void setTimestamp( ::piper::RealTime::Reader value);
c@106 1672 inline ::piper::RealTime::Builder initTimestamp();
c@106 1673 inline void adoptTimestamp(::capnp::Orphan< ::piper::RealTime>&& value);
c@106 1674 inline ::capnp::Orphan< ::piper::RealTime> disownTimestamp();
c@106 1675
c@106 1676 inline bool getHasDuration();
c@106 1677 inline void setHasDuration(bool value);
c@106 1678
c@106 1679 inline bool hasDuration();
c@106 1680 inline ::piper::RealTime::Builder getDuration();
c@106 1681 inline void setDuration( ::piper::RealTime::Reader value);
c@106 1682 inline ::piper::RealTime::Builder initDuration();
c@106 1683 inline void adoptDuration(::capnp::Orphan< ::piper::RealTime>&& value);
c@106 1684 inline ::capnp::Orphan< ::piper::RealTime> disownDuration();
c@106 1685
c@106 1686 inline bool hasLabel();
c@106 1687 inline ::capnp::Text::Builder getLabel();
c@106 1688 inline void setLabel( ::capnp::Text::Reader value);
c@106 1689 inline ::capnp::Text::Builder initLabel(unsigned int size);
c@106 1690 inline void adoptLabel(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1691 inline ::capnp::Orphan< ::capnp::Text> disownLabel();
c@106 1692
c@106 1693 inline bool hasFeatureValues();
c@106 1694 inline ::capnp::List<float>::Builder getFeatureValues();
c@106 1695 inline void setFeatureValues( ::capnp::List<float>::Reader value);
c@106 1696 inline void setFeatureValues(::kj::ArrayPtr<const float> value);
c@106 1697 inline ::capnp::List<float>::Builder initFeatureValues(unsigned int size);
c@106 1698 inline void adoptFeatureValues(::capnp::Orphan< ::capnp::List<float>>&& value);
c@106 1699 inline ::capnp::Orphan< ::capnp::List<float>> disownFeatureValues();
c@106 1700
c@106 1701 private:
c@106 1702 ::capnp::_::StructBuilder _builder;
c@106 1703 template <typename, ::capnp::Kind>
c@106 1704 friend struct ::capnp::ToDynamic_;
c@106 1705 friend class ::capnp::Orphanage;
c@106 1706 template <typename, ::capnp::Kind>
c@106 1707 friend struct ::capnp::_::PointerHelpers;
c@106 1708 };
c@106 1709
c@106 1710 #if !CAPNP_LITE
c@106 1711 class Feature::Pipeline {
c@106 1712 public:
c@106 1713 typedef Feature Pipelines;
c@106 1714
c@106 1715 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1716 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1717 : _typeless(kj::mv(typeless)) {}
c@106 1718
c@106 1719 inline ::piper::RealTime::Pipeline getTimestamp();
c@106 1720 inline ::piper::RealTime::Pipeline getDuration();
c@106 1721 private:
c@106 1722 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1723 friend class ::capnp::PipelineHook;
c@106 1724 template <typename, ::capnp::Kind>
c@106 1725 friend struct ::capnp::ToDynamic_;
c@106 1726 };
c@106 1727 #endif // !CAPNP_LITE
c@106 1728
c@106 1729 class FeatureSet::Reader {
c@106 1730 public:
c@106 1731 typedef FeatureSet Reads;
c@106 1732
c@106 1733 Reader() = default;
c@106 1734 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1735
c@106 1736 inline ::capnp::MessageSize totalSize() const {
c@106 1737 return _reader.totalSize().asPublic();
c@106 1738 }
c@106 1739
c@106 1740 #if !CAPNP_LITE
c@106 1741 inline ::kj::StringTree toString() const {
cannam@218 1742 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 1743 }
c@106 1744 #endif // !CAPNP_LITE
c@106 1745
c@106 1746 inline bool hasFeaturePairs() const;
c@106 1747 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Reader getFeaturePairs() const;
c@106 1748
c@106 1749 private:
c@106 1750 ::capnp::_::StructReader _reader;
c@106 1751 template <typename, ::capnp::Kind>
c@106 1752 friend struct ::capnp::ToDynamic_;
c@106 1753 template <typename, ::capnp::Kind>
c@106 1754 friend struct ::capnp::_::PointerHelpers;
c@106 1755 template <typename, ::capnp::Kind>
c@106 1756 friend struct ::capnp::List;
c@106 1757 friend class ::capnp::MessageBuilder;
c@106 1758 friend class ::capnp::Orphanage;
c@106 1759 };
c@106 1760
c@106 1761 class FeatureSet::Builder {
c@106 1762 public:
c@106 1763 typedef FeatureSet Builds;
c@106 1764
c@106 1765 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1766 // You can explicitly initialize to nullptr instead.
c@106 1767 inline Builder(decltype(nullptr)) {}
c@106 1768 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1769 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1770 inline Reader asReader() const { return *this; }
c@106 1771
c@106 1772 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1773 #if !CAPNP_LITE
c@106 1774 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1775 #endif // !CAPNP_LITE
c@106 1776
c@106 1777 inline bool hasFeaturePairs();
c@106 1778 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder getFeaturePairs();
c@106 1779 inline void setFeaturePairs( ::capnp::List< ::piper::FeatureSet::FSPair>::Reader value);
c@106 1780 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder initFeaturePairs(unsigned int size);
c@106 1781 inline void adoptFeaturePairs(::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>>&& value);
c@106 1782 inline ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>> disownFeaturePairs();
c@106 1783
c@106 1784 private:
c@106 1785 ::capnp::_::StructBuilder _builder;
c@106 1786 template <typename, ::capnp::Kind>
c@106 1787 friend struct ::capnp::ToDynamic_;
c@106 1788 friend class ::capnp::Orphanage;
c@106 1789 template <typename, ::capnp::Kind>
c@106 1790 friend struct ::capnp::_::PointerHelpers;
c@106 1791 };
c@106 1792
c@106 1793 #if !CAPNP_LITE
c@106 1794 class FeatureSet::Pipeline {
c@106 1795 public:
c@106 1796 typedef FeatureSet Pipelines;
c@106 1797
c@106 1798 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1799 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1800 : _typeless(kj::mv(typeless)) {}
c@106 1801
c@106 1802 private:
c@106 1803 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1804 friend class ::capnp::PipelineHook;
c@106 1805 template <typename, ::capnp::Kind>
c@106 1806 friend struct ::capnp::ToDynamic_;
c@106 1807 };
c@106 1808 #endif // !CAPNP_LITE
c@106 1809
c@106 1810 class FeatureSet::FSPair::Reader {
c@106 1811 public:
c@106 1812 typedef FSPair Reads;
c@106 1813
c@106 1814 Reader() = default;
c@106 1815 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1816
c@106 1817 inline ::capnp::MessageSize totalSize() const {
c@106 1818 return _reader.totalSize().asPublic();
c@106 1819 }
c@106 1820
c@106 1821 #if !CAPNP_LITE
c@106 1822 inline ::kj::StringTree toString() const {
cannam@218 1823 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 1824 }
c@106 1825 #endif // !CAPNP_LITE
c@106 1826
c@106 1827 inline bool hasOutput() const;
c@106 1828 inline ::capnp::Text::Reader getOutput() const;
c@106 1829
c@106 1830 inline bool hasFeatures() const;
c@106 1831 inline ::capnp::List< ::piper::Feature>::Reader getFeatures() const;
c@106 1832
c@106 1833 private:
c@106 1834 ::capnp::_::StructReader _reader;
c@106 1835 template <typename, ::capnp::Kind>
c@106 1836 friend struct ::capnp::ToDynamic_;
c@106 1837 template <typename, ::capnp::Kind>
c@106 1838 friend struct ::capnp::_::PointerHelpers;
c@106 1839 template <typename, ::capnp::Kind>
c@106 1840 friend struct ::capnp::List;
c@106 1841 friend class ::capnp::MessageBuilder;
c@106 1842 friend class ::capnp::Orphanage;
c@106 1843 };
c@106 1844
c@106 1845 class FeatureSet::FSPair::Builder {
c@106 1846 public:
c@106 1847 typedef FSPair Builds;
c@106 1848
c@106 1849 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1850 // You can explicitly initialize to nullptr instead.
c@106 1851 inline Builder(decltype(nullptr)) {}
c@106 1852 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1853 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1854 inline Reader asReader() const { return *this; }
c@106 1855
c@106 1856 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1857 #if !CAPNP_LITE
c@106 1858 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1859 #endif // !CAPNP_LITE
c@106 1860
c@106 1861 inline bool hasOutput();
c@106 1862 inline ::capnp::Text::Builder getOutput();
c@106 1863 inline void setOutput( ::capnp::Text::Reader value);
c@106 1864 inline ::capnp::Text::Builder initOutput(unsigned int size);
c@106 1865 inline void adoptOutput(::capnp::Orphan< ::capnp::Text>&& value);
c@106 1866 inline ::capnp::Orphan< ::capnp::Text> disownOutput();
c@106 1867
c@106 1868 inline bool hasFeatures();
c@106 1869 inline ::capnp::List< ::piper::Feature>::Builder getFeatures();
c@106 1870 inline void setFeatures( ::capnp::List< ::piper::Feature>::Reader value);
c@106 1871 inline ::capnp::List< ::piper::Feature>::Builder initFeatures(unsigned int size);
c@106 1872 inline void adoptFeatures(::capnp::Orphan< ::capnp::List< ::piper::Feature>>&& value);
c@106 1873 inline ::capnp::Orphan< ::capnp::List< ::piper::Feature>> disownFeatures();
c@106 1874
c@106 1875 private:
c@106 1876 ::capnp::_::StructBuilder _builder;
c@106 1877 template <typename, ::capnp::Kind>
c@106 1878 friend struct ::capnp::ToDynamic_;
c@106 1879 friend class ::capnp::Orphanage;
c@106 1880 template <typename, ::capnp::Kind>
c@106 1881 friend struct ::capnp::_::PointerHelpers;
c@106 1882 };
c@106 1883
c@106 1884 #if !CAPNP_LITE
c@106 1885 class FeatureSet::FSPair::Pipeline {
c@106 1886 public:
c@106 1887 typedef FSPair Pipelines;
c@106 1888
c@106 1889 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 1890 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 1891 : _typeless(kj::mv(typeless)) {}
c@106 1892
c@106 1893 private:
c@106 1894 ::capnp::AnyPointer::Pipeline _typeless;
c@106 1895 friend class ::capnp::PipelineHook;
c@106 1896 template <typename, ::capnp::Kind>
c@106 1897 friend struct ::capnp::ToDynamic_;
c@106 1898 };
c@106 1899 #endif // !CAPNP_LITE
c@106 1900
cannam@185 1901 class Framing::Reader {
c@106 1902 public:
cannam@185 1903 typedef Framing Reads;
c@106 1904
c@106 1905 Reader() = default;
c@106 1906 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 1907
c@106 1908 inline ::capnp::MessageSize totalSize() const {
c@106 1909 return _reader.totalSize().asPublic();
c@106 1910 }
c@106 1911
c@106 1912 #if !CAPNP_LITE
c@106 1913 inline ::kj::StringTree toString() const {
cannam@218 1914 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 1915 }
c@106 1916 #endif // !CAPNP_LITE
c@106 1917
cannam@216 1918 inline ::int32_t getBlockSize() const;
cannam@216 1919
c@106 1920 inline ::int32_t getStepSize() const;
c@106 1921
c@106 1922 private:
c@106 1923 ::capnp::_::StructReader _reader;
c@106 1924 template <typename, ::capnp::Kind>
c@106 1925 friend struct ::capnp::ToDynamic_;
c@106 1926 template <typename, ::capnp::Kind>
c@106 1927 friend struct ::capnp::_::PointerHelpers;
c@106 1928 template <typename, ::capnp::Kind>
c@106 1929 friend struct ::capnp::List;
c@106 1930 friend class ::capnp::MessageBuilder;
c@106 1931 friend class ::capnp::Orphanage;
c@106 1932 };
c@106 1933
cannam@185 1934 class Framing::Builder {
c@106 1935 public:
cannam@185 1936 typedef Framing Builds;
c@106 1937
c@106 1938 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 1939 // You can explicitly initialize to nullptr instead.
c@106 1940 inline Builder(decltype(nullptr)) {}
c@106 1941 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 1942 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 1943 inline Reader asReader() const { return *this; }
c@106 1944
c@106 1945 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 1946 #if !CAPNP_LITE
c@106 1947 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 1948 #endif // !CAPNP_LITE
c@106 1949
cannam@216 1950 inline ::int32_t getBlockSize();
cannam@216 1951 inline void setBlockSize( ::int32_t value);
cannam@216 1952
cannam@185 1953 inline ::int32_t getStepSize();
cannam@185 1954 inline void setStepSize( ::int32_t value);
cannam@185 1955
cannam@185 1956 private:
cannam@185 1957 ::capnp::_::StructBuilder _builder;
cannam@185 1958 template <typename, ::capnp::Kind>
cannam@185 1959 friend struct ::capnp::ToDynamic_;
cannam@185 1960 friend class ::capnp::Orphanage;
cannam@185 1961 template <typename, ::capnp::Kind>
cannam@185 1962 friend struct ::capnp::_::PointerHelpers;
cannam@185 1963 };
cannam@185 1964
cannam@185 1965 #if !CAPNP_LITE
cannam@185 1966 class Framing::Pipeline {
cannam@185 1967 public:
cannam@185 1968 typedef Framing Pipelines;
cannam@185 1969
cannam@185 1970 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
cannam@185 1971 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
cannam@185 1972 : _typeless(kj::mv(typeless)) {}
cannam@185 1973
cannam@185 1974 private:
cannam@185 1975 ::capnp::AnyPointer::Pipeline _typeless;
cannam@185 1976 friend class ::capnp::PipelineHook;
cannam@185 1977 template <typename, ::capnp::Kind>
cannam@185 1978 friend struct ::capnp::ToDynamic_;
cannam@185 1979 };
cannam@185 1980 #endif // !CAPNP_LITE
cannam@185 1981
cannam@185 1982 class Configuration::Reader {
cannam@185 1983 public:
cannam@185 1984 typedef Configuration Reads;
cannam@185 1985
cannam@185 1986 Reader() = default;
cannam@185 1987 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
cannam@185 1988
cannam@185 1989 inline ::capnp::MessageSize totalSize() const {
cannam@185 1990 return _reader.totalSize().asPublic();
cannam@185 1991 }
cannam@185 1992
cannam@185 1993 #if !CAPNP_LITE
cannam@185 1994 inline ::kj::StringTree toString() const {
cannam@218 1995 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
cannam@185 1996 }
cannam@185 1997 #endif // !CAPNP_LITE
cannam@185 1998
cannam@185 1999 inline bool hasParameterValues() const;
cannam@185 2000 inline ::capnp::List< ::piper::Configuration::PVPair>::Reader getParameterValues() const;
cannam@185 2001
cannam@185 2002 inline bool hasCurrentProgram() const;
cannam@185 2003 inline ::capnp::Text::Reader getCurrentProgram() const;
cannam@185 2004
cannam@185 2005 inline ::int32_t getChannelCount() const;
cannam@185 2006
cannam@185 2007 inline bool hasFraming() const;
cannam@185 2008 inline ::piper::Framing::Reader getFraming() const;
cannam@185 2009
cannam@185 2010 private:
cannam@185 2011 ::capnp::_::StructReader _reader;
cannam@185 2012 template <typename, ::capnp::Kind>
cannam@185 2013 friend struct ::capnp::ToDynamic_;
cannam@185 2014 template <typename, ::capnp::Kind>
cannam@185 2015 friend struct ::capnp::_::PointerHelpers;
cannam@185 2016 template <typename, ::capnp::Kind>
cannam@185 2017 friend struct ::capnp::List;
cannam@185 2018 friend class ::capnp::MessageBuilder;
cannam@185 2019 friend class ::capnp::Orphanage;
cannam@185 2020 };
cannam@185 2021
cannam@185 2022 class Configuration::Builder {
cannam@185 2023 public:
cannam@185 2024 typedef Configuration Builds;
cannam@185 2025
cannam@185 2026 Builder() = delete; // Deleted to discourage incorrect usage.
cannam@185 2027 // You can explicitly initialize to nullptr instead.
cannam@185 2028 inline Builder(decltype(nullptr)) {}
cannam@185 2029 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
cannam@185 2030 inline operator Reader() const { return Reader(_builder.asReader()); }
cannam@185 2031 inline Reader asReader() const { return *this; }
cannam@185 2032
cannam@185 2033 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
cannam@185 2034 #if !CAPNP_LITE
cannam@185 2035 inline ::kj::StringTree toString() const { return asReader().toString(); }
cannam@185 2036 #endif // !CAPNP_LITE
cannam@185 2037
c@106 2038 inline bool hasParameterValues();
c@106 2039 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder getParameterValues();
c@106 2040 inline void setParameterValues( ::capnp::List< ::piper::Configuration::PVPair>::Reader value);
c@106 2041 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder initParameterValues(unsigned int size);
c@106 2042 inline void adoptParameterValues(::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>>&& value);
c@106 2043 inline ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>> disownParameterValues();
c@106 2044
c@106 2045 inline bool hasCurrentProgram();
c@106 2046 inline ::capnp::Text::Builder getCurrentProgram();
c@106 2047 inline void setCurrentProgram( ::capnp::Text::Reader value);
c@106 2048 inline ::capnp::Text::Builder initCurrentProgram(unsigned int size);
c@106 2049 inline void adoptCurrentProgram(::capnp::Orphan< ::capnp::Text>&& value);
c@106 2050 inline ::capnp::Orphan< ::capnp::Text> disownCurrentProgram();
c@106 2051
c@106 2052 inline ::int32_t getChannelCount();
c@106 2053 inline void setChannelCount( ::int32_t value);
c@106 2054
cannam@185 2055 inline bool hasFraming();
cannam@185 2056 inline ::piper::Framing::Builder getFraming();
cannam@185 2057 inline void setFraming( ::piper::Framing::Reader value);
cannam@185 2058 inline ::piper::Framing::Builder initFraming();
cannam@185 2059 inline void adoptFraming(::capnp::Orphan< ::piper::Framing>&& value);
cannam@185 2060 inline ::capnp::Orphan< ::piper::Framing> disownFraming();
c@106 2061
c@106 2062 private:
c@106 2063 ::capnp::_::StructBuilder _builder;
c@106 2064 template <typename, ::capnp::Kind>
c@106 2065 friend struct ::capnp::ToDynamic_;
c@106 2066 friend class ::capnp::Orphanage;
c@106 2067 template <typename, ::capnp::Kind>
c@106 2068 friend struct ::capnp::_::PointerHelpers;
c@106 2069 };
c@106 2070
c@106 2071 #if !CAPNP_LITE
c@106 2072 class Configuration::Pipeline {
c@106 2073 public:
c@106 2074 typedef Configuration Pipelines;
c@106 2075
c@106 2076 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2077 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2078 : _typeless(kj::mv(typeless)) {}
c@106 2079
cannam@185 2080 inline ::piper::Framing::Pipeline getFraming();
c@106 2081 private:
c@106 2082 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2083 friend class ::capnp::PipelineHook;
c@106 2084 template <typename, ::capnp::Kind>
c@106 2085 friend struct ::capnp::ToDynamic_;
c@106 2086 };
c@106 2087 #endif // !CAPNP_LITE
c@106 2088
c@106 2089 class Configuration::PVPair::Reader {
c@106 2090 public:
c@106 2091 typedef PVPair Reads;
c@106 2092
c@106 2093 Reader() = default;
c@106 2094 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2095
c@106 2096 inline ::capnp::MessageSize totalSize() const {
c@106 2097 return _reader.totalSize().asPublic();
c@106 2098 }
c@106 2099
c@106 2100 #if !CAPNP_LITE
c@106 2101 inline ::kj::StringTree toString() const {
cannam@218 2102 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2103 }
c@106 2104 #endif // !CAPNP_LITE
c@106 2105
c@106 2106 inline bool hasParameter() const;
c@106 2107 inline ::capnp::Text::Reader getParameter() const;
c@106 2108
c@106 2109 inline float getValue() const;
c@106 2110
c@106 2111 private:
c@106 2112 ::capnp::_::StructReader _reader;
c@106 2113 template <typename, ::capnp::Kind>
c@106 2114 friend struct ::capnp::ToDynamic_;
c@106 2115 template <typename, ::capnp::Kind>
c@106 2116 friend struct ::capnp::_::PointerHelpers;
c@106 2117 template <typename, ::capnp::Kind>
c@106 2118 friend struct ::capnp::List;
c@106 2119 friend class ::capnp::MessageBuilder;
c@106 2120 friend class ::capnp::Orphanage;
c@106 2121 };
c@106 2122
c@106 2123 class Configuration::PVPair::Builder {
c@106 2124 public:
c@106 2125 typedef PVPair Builds;
c@106 2126
c@106 2127 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2128 // You can explicitly initialize to nullptr instead.
c@106 2129 inline Builder(decltype(nullptr)) {}
c@106 2130 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2131 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2132 inline Reader asReader() const { return *this; }
c@106 2133
c@106 2134 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2135 #if !CAPNP_LITE
c@106 2136 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2137 #endif // !CAPNP_LITE
c@106 2138
c@106 2139 inline bool hasParameter();
c@106 2140 inline ::capnp::Text::Builder getParameter();
c@106 2141 inline void setParameter( ::capnp::Text::Reader value);
c@106 2142 inline ::capnp::Text::Builder initParameter(unsigned int size);
c@106 2143 inline void adoptParameter(::capnp::Orphan< ::capnp::Text>&& value);
c@106 2144 inline ::capnp::Orphan< ::capnp::Text> disownParameter();
c@106 2145
c@106 2146 inline float getValue();
c@106 2147 inline void setValue(float value);
c@106 2148
c@106 2149 private:
c@106 2150 ::capnp::_::StructBuilder _builder;
c@106 2151 template <typename, ::capnp::Kind>
c@106 2152 friend struct ::capnp::ToDynamic_;
c@106 2153 friend class ::capnp::Orphanage;
c@106 2154 template <typename, ::capnp::Kind>
c@106 2155 friend struct ::capnp::_::PointerHelpers;
c@106 2156 };
c@106 2157
c@106 2158 #if !CAPNP_LITE
c@106 2159 class Configuration::PVPair::Pipeline {
c@106 2160 public:
c@106 2161 typedef PVPair Pipelines;
c@106 2162
c@106 2163 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2164 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2165 : _typeless(kj::mv(typeless)) {}
c@106 2166
c@106 2167 private:
c@106 2168 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2169 friend class ::capnp::PipelineHook;
c@106 2170 template <typename, ::capnp::Kind>
c@106 2171 friend struct ::capnp::ToDynamic_;
c@106 2172 };
c@106 2173 #endif // !CAPNP_LITE
c@106 2174
c@106 2175 class ListRequest::Reader {
c@106 2176 public:
c@106 2177 typedef ListRequest Reads;
c@106 2178
c@106 2179 Reader() = default;
c@106 2180 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2181
c@106 2182 inline ::capnp::MessageSize totalSize() const {
c@106 2183 return _reader.totalSize().asPublic();
c@106 2184 }
c@106 2185
c@106 2186 #if !CAPNP_LITE
c@106 2187 inline ::kj::StringTree toString() const {
cannam@218 2188 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2189 }
c@106 2190 #endif // !CAPNP_LITE
c@106 2191
c@127 2192 inline bool hasFrom() const;
c@127 2193 inline ::capnp::List< ::capnp::Text>::Reader getFrom() const;
c@127 2194
c@106 2195 private:
c@106 2196 ::capnp::_::StructReader _reader;
c@106 2197 template <typename, ::capnp::Kind>
c@106 2198 friend struct ::capnp::ToDynamic_;
c@106 2199 template <typename, ::capnp::Kind>
c@106 2200 friend struct ::capnp::_::PointerHelpers;
c@106 2201 template <typename, ::capnp::Kind>
c@106 2202 friend struct ::capnp::List;
c@106 2203 friend class ::capnp::MessageBuilder;
c@106 2204 friend class ::capnp::Orphanage;
c@106 2205 };
c@106 2206
c@106 2207 class ListRequest::Builder {
c@106 2208 public:
c@106 2209 typedef ListRequest Builds;
c@106 2210
c@106 2211 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2212 // You can explicitly initialize to nullptr instead.
c@106 2213 inline Builder(decltype(nullptr)) {}
c@106 2214 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2215 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2216 inline Reader asReader() const { return *this; }
c@106 2217
c@106 2218 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2219 #if !CAPNP_LITE
c@106 2220 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2221 #endif // !CAPNP_LITE
c@106 2222
c@127 2223 inline bool hasFrom();
c@127 2224 inline ::capnp::List< ::capnp::Text>::Builder getFrom();
c@127 2225 inline void setFrom( ::capnp::List< ::capnp::Text>::Reader value);
c@127 2226 inline void setFrom(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
c@127 2227 inline ::capnp::List< ::capnp::Text>::Builder initFrom(unsigned int size);
c@127 2228 inline void adoptFrom(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
c@127 2229 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownFrom();
c@127 2230
c@106 2231 private:
c@106 2232 ::capnp::_::StructBuilder _builder;
c@106 2233 template <typename, ::capnp::Kind>
c@106 2234 friend struct ::capnp::ToDynamic_;
c@106 2235 friend class ::capnp::Orphanage;
c@106 2236 template <typename, ::capnp::Kind>
c@106 2237 friend struct ::capnp::_::PointerHelpers;
c@106 2238 };
c@106 2239
c@106 2240 #if !CAPNP_LITE
c@106 2241 class ListRequest::Pipeline {
c@106 2242 public:
c@106 2243 typedef ListRequest Pipelines;
c@106 2244
c@106 2245 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2246 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2247 : _typeless(kj::mv(typeless)) {}
c@106 2248
c@106 2249 private:
c@106 2250 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2251 friend class ::capnp::PipelineHook;
c@106 2252 template <typename, ::capnp::Kind>
c@106 2253 friend struct ::capnp::ToDynamic_;
c@106 2254 };
c@106 2255 #endif // !CAPNP_LITE
c@106 2256
c@106 2257 class ListResponse::Reader {
c@106 2258 public:
c@106 2259 typedef ListResponse Reads;
c@106 2260
c@106 2261 Reader() = default;
c@106 2262 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2263
c@106 2264 inline ::capnp::MessageSize totalSize() const {
c@106 2265 return _reader.totalSize().asPublic();
c@106 2266 }
c@106 2267
c@106 2268 #if !CAPNP_LITE
c@106 2269 inline ::kj::StringTree toString() const {
cannam@218 2270 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2271 }
c@106 2272 #endif // !CAPNP_LITE
c@106 2273
c@106 2274 inline bool hasAvailable() const;
c@106 2275 inline ::capnp::List< ::piper::ExtractorStaticData>::Reader getAvailable() const;
c@106 2276
c@106 2277 private:
c@106 2278 ::capnp::_::StructReader _reader;
c@106 2279 template <typename, ::capnp::Kind>
c@106 2280 friend struct ::capnp::ToDynamic_;
c@106 2281 template <typename, ::capnp::Kind>
c@106 2282 friend struct ::capnp::_::PointerHelpers;
c@106 2283 template <typename, ::capnp::Kind>
c@106 2284 friend struct ::capnp::List;
c@106 2285 friend class ::capnp::MessageBuilder;
c@106 2286 friend class ::capnp::Orphanage;
c@106 2287 };
c@106 2288
c@106 2289 class ListResponse::Builder {
c@106 2290 public:
c@106 2291 typedef ListResponse Builds;
c@106 2292
c@106 2293 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2294 // You can explicitly initialize to nullptr instead.
c@106 2295 inline Builder(decltype(nullptr)) {}
c@106 2296 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2297 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2298 inline Reader asReader() const { return *this; }
c@106 2299
c@106 2300 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2301 #if !CAPNP_LITE
c@106 2302 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2303 #endif // !CAPNP_LITE
c@106 2304
c@106 2305 inline bool hasAvailable();
c@106 2306 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder getAvailable();
c@106 2307 inline void setAvailable( ::capnp::List< ::piper::ExtractorStaticData>::Reader value);
c@106 2308 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder initAvailable(unsigned int size);
c@106 2309 inline void adoptAvailable(::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>>&& value);
c@106 2310 inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>> disownAvailable();
c@106 2311
c@106 2312 private:
c@106 2313 ::capnp::_::StructBuilder _builder;
c@106 2314 template <typename, ::capnp::Kind>
c@106 2315 friend struct ::capnp::ToDynamic_;
c@106 2316 friend class ::capnp::Orphanage;
c@106 2317 template <typename, ::capnp::Kind>
c@106 2318 friend struct ::capnp::_::PointerHelpers;
c@106 2319 };
c@106 2320
c@106 2321 #if !CAPNP_LITE
c@106 2322 class ListResponse::Pipeline {
c@106 2323 public:
c@106 2324 typedef ListResponse Pipelines;
c@106 2325
c@106 2326 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2327 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2328 : _typeless(kj::mv(typeless)) {}
c@106 2329
c@106 2330 private:
c@106 2331 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2332 friend class ::capnp::PipelineHook;
c@106 2333 template <typename, ::capnp::Kind>
c@106 2334 friend struct ::capnp::ToDynamic_;
c@106 2335 };
c@106 2336 #endif // !CAPNP_LITE
c@106 2337
c@106 2338 class LoadRequest::Reader {
c@106 2339 public:
c@106 2340 typedef LoadRequest Reads;
c@106 2341
c@106 2342 Reader() = default;
c@106 2343 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2344
c@106 2345 inline ::capnp::MessageSize totalSize() const {
c@106 2346 return _reader.totalSize().asPublic();
c@106 2347 }
c@106 2348
c@106 2349 #if !CAPNP_LITE
c@106 2350 inline ::kj::StringTree toString() const {
cannam@218 2351 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2352 }
c@106 2353 #endif // !CAPNP_LITE
c@106 2354
c@106 2355 inline bool hasKey() const;
c@106 2356 inline ::capnp::Text::Reader getKey() const;
c@106 2357
c@106 2358 inline float getInputSampleRate() const;
c@106 2359
c@106 2360 inline bool hasAdapterFlags() const;
c@106 2361 inline ::capnp::List< ::piper::AdapterFlag>::Reader getAdapterFlags() const;
c@106 2362
c@106 2363 private:
c@106 2364 ::capnp::_::StructReader _reader;
c@106 2365 template <typename, ::capnp::Kind>
c@106 2366 friend struct ::capnp::ToDynamic_;
c@106 2367 template <typename, ::capnp::Kind>
c@106 2368 friend struct ::capnp::_::PointerHelpers;
c@106 2369 template <typename, ::capnp::Kind>
c@106 2370 friend struct ::capnp::List;
c@106 2371 friend class ::capnp::MessageBuilder;
c@106 2372 friend class ::capnp::Orphanage;
c@106 2373 };
c@106 2374
c@106 2375 class LoadRequest::Builder {
c@106 2376 public:
c@106 2377 typedef LoadRequest Builds;
c@106 2378
c@106 2379 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2380 // You can explicitly initialize to nullptr instead.
c@106 2381 inline Builder(decltype(nullptr)) {}
c@106 2382 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2383 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2384 inline Reader asReader() const { return *this; }
c@106 2385
c@106 2386 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2387 #if !CAPNP_LITE
c@106 2388 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2389 #endif // !CAPNP_LITE
c@106 2390
c@106 2391 inline bool hasKey();
c@106 2392 inline ::capnp::Text::Builder getKey();
c@106 2393 inline void setKey( ::capnp::Text::Reader value);
c@106 2394 inline ::capnp::Text::Builder initKey(unsigned int size);
c@106 2395 inline void adoptKey(::capnp::Orphan< ::capnp::Text>&& value);
c@106 2396 inline ::capnp::Orphan< ::capnp::Text> disownKey();
c@106 2397
c@106 2398 inline float getInputSampleRate();
c@106 2399 inline void setInputSampleRate(float value);
c@106 2400
c@106 2401 inline bool hasAdapterFlags();
c@106 2402 inline ::capnp::List< ::piper::AdapterFlag>::Builder getAdapterFlags();
c@106 2403 inline void setAdapterFlags( ::capnp::List< ::piper::AdapterFlag>::Reader value);
c@106 2404 inline void setAdapterFlags(::kj::ArrayPtr<const ::piper::AdapterFlag> value);
c@106 2405 inline ::capnp::List< ::piper::AdapterFlag>::Builder initAdapterFlags(unsigned int size);
c@106 2406 inline void adoptAdapterFlags(::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>>&& value);
c@106 2407 inline ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>> disownAdapterFlags();
c@106 2408
c@106 2409 private:
c@106 2410 ::capnp::_::StructBuilder _builder;
c@106 2411 template <typename, ::capnp::Kind>
c@106 2412 friend struct ::capnp::ToDynamic_;
c@106 2413 friend class ::capnp::Orphanage;
c@106 2414 template <typename, ::capnp::Kind>
c@106 2415 friend struct ::capnp::_::PointerHelpers;
c@106 2416 };
c@106 2417
c@106 2418 #if !CAPNP_LITE
c@106 2419 class LoadRequest::Pipeline {
c@106 2420 public:
c@106 2421 typedef LoadRequest Pipelines;
c@106 2422
c@106 2423 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2424 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2425 : _typeless(kj::mv(typeless)) {}
c@106 2426
c@106 2427 private:
c@106 2428 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2429 friend class ::capnp::PipelineHook;
c@106 2430 template <typename, ::capnp::Kind>
c@106 2431 friend struct ::capnp::ToDynamic_;
c@106 2432 };
c@106 2433 #endif // !CAPNP_LITE
c@106 2434
c@106 2435 class LoadResponse::Reader {
c@106 2436 public:
c@106 2437 typedef LoadResponse Reads;
c@106 2438
c@106 2439 Reader() = default;
c@106 2440 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2441
c@106 2442 inline ::capnp::MessageSize totalSize() const {
c@106 2443 return _reader.totalSize().asPublic();
c@106 2444 }
c@106 2445
c@106 2446 #if !CAPNP_LITE
c@106 2447 inline ::kj::StringTree toString() const {
cannam@218 2448 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2449 }
c@106 2450 #endif // !CAPNP_LITE
c@106 2451
c@106 2452 inline ::int32_t getHandle() const;
c@106 2453
c@106 2454 inline bool hasStaticData() const;
c@106 2455 inline ::piper::ExtractorStaticData::Reader getStaticData() const;
c@106 2456
c@106 2457 inline bool hasDefaultConfiguration() const;
c@106 2458 inline ::piper::Configuration::Reader getDefaultConfiguration() const;
c@106 2459
c@106 2460 private:
c@106 2461 ::capnp::_::StructReader _reader;
c@106 2462 template <typename, ::capnp::Kind>
c@106 2463 friend struct ::capnp::ToDynamic_;
c@106 2464 template <typename, ::capnp::Kind>
c@106 2465 friend struct ::capnp::_::PointerHelpers;
c@106 2466 template <typename, ::capnp::Kind>
c@106 2467 friend struct ::capnp::List;
c@106 2468 friend class ::capnp::MessageBuilder;
c@106 2469 friend class ::capnp::Orphanage;
c@106 2470 };
c@106 2471
c@106 2472 class LoadResponse::Builder {
c@106 2473 public:
c@106 2474 typedef LoadResponse Builds;
c@106 2475
c@106 2476 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2477 // You can explicitly initialize to nullptr instead.
c@106 2478 inline Builder(decltype(nullptr)) {}
c@106 2479 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2480 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2481 inline Reader asReader() const { return *this; }
c@106 2482
c@106 2483 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2484 #if !CAPNP_LITE
c@106 2485 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2486 #endif // !CAPNP_LITE
c@106 2487
c@106 2488 inline ::int32_t getHandle();
c@106 2489 inline void setHandle( ::int32_t value);
c@106 2490
c@106 2491 inline bool hasStaticData();
c@106 2492 inline ::piper::ExtractorStaticData::Builder getStaticData();
c@106 2493 inline void setStaticData( ::piper::ExtractorStaticData::Reader value);
c@106 2494 inline ::piper::ExtractorStaticData::Builder initStaticData();
c@106 2495 inline void adoptStaticData(::capnp::Orphan< ::piper::ExtractorStaticData>&& value);
c@106 2496 inline ::capnp::Orphan< ::piper::ExtractorStaticData> disownStaticData();
c@106 2497
c@106 2498 inline bool hasDefaultConfiguration();
c@106 2499 inline ::piper::Configuration::Builder getDefaultConfiguration();
c@106 2500 inline void setDefaultConfiguration( ::piper::Configuration::Reader value);
c@106 2501 inline ::piper::Configuration::Builder initDefaultConfiguration();
c@106 2502 inline void adoptDefaultConfiguration(::capnp::Orphan< ::piper::Configuration>&& value);
c@106 2503 inline ::capnp::Orphan< ::piper::Configuration> disownDefaultConfiguration();
c@106 2504
c@106 2505 private:
c@106 2506 ::capnp::_::StructBuilder _builder;
c@106 2507 template <typename, ::capnp::Kind>
c@106 2508 friend struct ::capnp::ToDynamic_;
c@106 2509 friend class ::capnp::Orphanage;
c@106 2510 template <typename, ::capnp::Kind>
c@106 2511 friend struct ::capnp::_::PointerHelpers;
c@106 2512 };
c@106 2513
c@106 2514 #if !CAPNP_LITE
c@106 2515 class LoadResponse::Pipeline {
c@106 2516 public:
c@106 2517 typedef LoadResponse Pipelines;
c@106 2518
c@106 2519 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2520 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2521 : _typeless(kj::mv(typeless)) {}
c@106 2522
c@106 2523 inline ::piper::ExtractorStaticData::Pipeline getStaticData();
c@106 2524 inline ::piper::Configuration::Pipeline getDefaultConfiguration();
c@106 2525 private:
c@106 2526 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2527 friend class ::capnp::PipelineHook;
c@106 2528 template <typename, ::capnp::Kind>
c@106 2529 friend struct ::capnp::ToDynamic_;
c@106 2530 };
c@106 2531 #endif // !CAPNP_LITE
c@106 2532
c@106 2533 class ConfigurationRequest::Reader {
c@106 2534 public:
c@106 2535 typedef ConfigurationRequest Reads;
c@106 2536
c@106 2537 Reader() = default;
c@106 2538 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2539
c@106 2540 inline ::capnp::MessageSize totalSize() const {
c@106 2541 return _reader.totalSize().asPublic();
c@106 2542 }
c@106 2543
c@106 2544 #if !CAPNP_LITE
c@106 2545 inline ::kj::StringTree toString() const {
cannam@218 2546 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2547 }
c@106 2548 #endif // !CAPNP_LITE
c@106 2549
c@106 2550 inline ::int32_t getHandle() const;
c@106 2551
c@106 2552 inline bool hasConfiguration() const;
c@106 2553 inline ::piper::Configuration::Reader getConfiguration() const;
c@106 2554
c@106 2555 private:
c@106 2556 ::capnp::_::StructReader _reader;
c@106 2557 template <typename, ::capnp::Kind>
c@106 2558 friend struct ::capnp::ToDynamic_;
c@106 2559 template <typename, ::capnp::Kind>
c@106 2560 friend struct ::capnp::_::PointerHelpers;
c@106 2561 template <typename, ::capnp::Kind>
c@106 2562 friend struct ::capnp::List;
c@106 2563 friend class ::capnp::MessageBuilder;
c@106 2564 friend class ::capnp::Orphanage;
c@106 2565 };
c@106 2566
c@106 2567 class ConfigurationRequest::Builder {
c@106 2568 public:
c@106 2569 typedef ConfigurationRequest Builds;
c@106 2570
c@106 2571 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2572 // You can explicitly initialize to nullptr instead.
c@106 2573 inline Builder(decltype(nullptr)) {}
c@106 2574 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2575 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2576 inline Reader asReader() const { return *this; }
c@106 2577
c@106 2578 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2579 #if !CAPNP_LITE
c@106 2580 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2581 #endif // !CAPNP_LITE
c@106 2582
c@106 2583 inline ::int32_t getHandle();
c@106 2584 inline void setHandle( ::int32_t value);
c@106 2585
c@106 2586 inline bool hasConfiguration();
c@106 2587 inline ::piper::Configuration::Builder getConfiguration();
c@106 2588 inline void setConfiguration( ::piper::Configuration::Reader value);
c@106 2589 inline ::piper::Configuration::Builder initConfiguration();
c@106 2590 inline void adoptConfiguration(::capnp::Orphan< ::piper::Configuration>&& value);
c@106 2591 inline ::capnp::Orphan< ::piper::Configuration> disownConfiguration();
c@106 2592
c@106 2593 private:
c@106 2594 ::capnp::_::StructBuilder _builder;
c@106 2595 template <typename, ::capnp::Kind>
c@106 2596 friend struct ::capnp::ToDynamic_;
c@106 2597 friend class ::capnp::Orphanage;
c@106 2598 template <typename, ::capnp::Kind>
c@106 2599 friend struct ::capnp::_::PointerHelpers;
c@106 2600 };
c@106 2601
c@106 2602 #if !CAPNP_LITE
c@106 2603 class ConfigurationRequest::Pipeline {
c@106 2604 public:
c@106 2605 typedef ConfigurationRequest Pipelines;
c@106 2606
c@106 2607 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2608 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2609 : _typeless(kj::mv(typeless)) {}
c@106 2610
c@106 2611 inline ::piper::Configuration::Pipeline getConfiguration();
c@106 2612 private:
c@106 2613 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2614 friend class ::capnp::PipelineHook;
c@106 2615 template <typename, ::capnp::Kind>
c@106 2616 friend struct ::capnp::ToDynamic_;
c@106 2617 };
c@106 2618 #endif // !CAPNP_LITE
c@106 2619
c@106 2620 class ConfigurationResponse::Reader {
c@106 2621 public:
c@106 2622 typedef ConfigurationResponse Reads;
c@106 2623
c@106 2624 Reader() = default;
c@106 2625 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2626
c@106 2627 inline ::capnp::MessageSize totalSize() const {
c@106 2628 return _reader.totalSize().asPublic();
c@106 2629 }
c@106 2630
c@106 2631 #if !CAPNP_LITE
c@106 2632 inline ::kj::StringTree toString() const {
cannam@218 2633 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2634 }
c@106 2635 #endif // !CAPNP_LITE
c@106 2636
c@106 2637 inline ::int32_t getHandle() const;
c@106 2638
c@106 2639 inline bool hasOutputs() const;
c@106 2640 inline ::capnp::List< ::piper::OutputDescriptor>::Reader getOutputs() const;
c@106 2641
cannam@185 2642 inline bool hasFraming() const;
cannam@185 2643 inline ::piper::Framing::Reader getFraming() const;
cannam@185 2644
c@106 2645 private:
c@106 2646 ::capnp::_::StructReader _reader;
c@106 2647 template <typename, ::capnp::Kind>
c@106 2648 friend struct ::capnp::ToDynamic_;
c@106 2649 template <typename, ::capnp::Kind>
c@106 2650 friend struct ::capnp::_::PointerHelpers;
c@106 2651 template <typename, ::capnp::Kind>
c@106 2652 friend struct ::capnp::List;
c@106 2653 friend class ::capnp::MessageBuilder;
c@106 2654 friend class ::capnp::Orphanage;
c@106 2655 };
c@106 2656
c@106 2657 class ConfigurationResponse::Builder {
c@106 2658 public:
c@106 2659 typedef ConfigurationResponse Builds;
c@106 2660
c@106 2661 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2662 // You can explicitly initialize to nullptr instead.
c@106 2663 inline Builder(decltype(nullptr)) {}
c@106 2664 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2665 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2666 inline Reader asReader() const { return *this; }
c@106 2667
c@106 2668 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2669 #if !CAPNP_LITE
c@106 2670 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2671 #endif // !CAPNP_LITE
c@106 2672
c@106 2673 inline ::int32_t getHandle();
c@106 2674 inline void setHandle( ::int32_t value);
c@106 2675
c@106 2676 inline bool hasOutputs();
c@106 2677 inline ::capnp::List< ::piper::OutputDescriptor>::Builder getOutputs();
c@106 2678 inline void setOutputs( ::capnp::List< ::piper::OutputDescriptor>::Reader value);
c@106 2679 inline ::capnp::List< ::piper::OutputDescriptor>::Builder initOutputs(unsigned int size);
c@106 2680 inline void adoptOutputs(::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>>&& value);
c@106 2681 inline ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>> disownOutputs();
c@106 2682
cannam@185 2683 inline bool hasFraming();
cannam@185 2684 inline ::piper::Framing::Builder getFraming();
cannam@185 2685 inline void setFraming( ::piper::Framing::Reader value);
cannam@185 2686 inline ::piper::Framing::Builder initFraming();
cannam@185 2687 inline void adoptFraming(::capnp::Orphan< ::piper::Framing>&& value);
cannam@185 2688 inline ::capnp::Orphan< ::piper::Framing> disownFraming();
cannam@185 2689
c@106 2690 private:
c@106 2691 ::capnp::_::StructBuilder _builder;
c@106 2692 template <typename, ::capnp::Kind>
c@106 2693 friend struct ::capnp::ToDynamic_;
c@106 2694 friend class ::capnp::Orphanage;
c@106 2695 template <typename, ::capnp::Kind>
c@106 2696 friend struct ::capnp::_::PointerHelpers;
c@106 2697 };
c@106 2698
c@106 2699 #if !CAPNP_LITE
c@106 2700 class ConfigurationResponse::Pipeline {
c@106 2701 public:
c@106 2702 typedef ConfigurationResponse Pipelines;
c@106 2703
c@106 2704 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2705 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2706 : _typeless(kj::mv(typeless)) {}
c@106 2707
cannam@185 2708 inline ::piper::Framing::Pipeline getFraming();
c@106 2709 private:
c@106 2710 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2711 friend class ::capnp::PipelineHook;
c@106 2712 template <typename, ::capnp::Kind>
c@106 2713 friend struct ::capnp::ToDynamic_;
c@106 2714 };
c@106 2715 #endif // !CAPNP_LITE
c@106 2716
c@106 2717 class ProcessRequest::Reader {
c@106 2718 public:
c@106 2719 typedef ProcessRequest Reads;
c@106 2720
c@106 2721 Reader() = default;
c@106 2722 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2723
c@106 2724 inline ::capnp::MessageSize totalSize() const {
c@106 2725 return _reader.totalSize().asPublic();
c@106 2726 }
c@106 2727
c@106 2728 #if !CAPNP_LITE
c@106 2729 inline ::kj::StringTree toString() const {
cannam@218 2730 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2731 }
c@106 2732 #endif // !CAPNP_LITE
c@106 2733
c@106 2734 inline ::int32_t getHandle() const;
c@106 2735
c@106 2736 inline bool hasProcessInput() const;
c@106 2737 inline ::piper::ProcessInput::Reader getProcessInput() const;
c@106 2738
c@106 2739 private:
c@106 2740 ::capnp::_::StructReader _reader;
c@106 2741 template <typename, ::capnp::Kind>
c@106 2742 friend struct ::capnp::ToDynamic_;
c@106 2743 template <typename, ::capnp::Kind>
c@106 2744 friend struct ::capnp::_::PointerHelpers;
c@106 2745 template <typename, ::capnp::Kind>
c@106 2746 friend struct ::capnp::List;
c@106 2747 friend class ::capnp::MessageBuilder;
c@106 2748 friend class ::capnp::Orphanage;
c@106 2749 };
c@106 2750
c@106 2751 class ProcessRequest::Builder {
c@106 2752 public:
c@106 2753 typedef ProcessRequest Builds;
c@106 2754
c@106 2755 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2756 // You can explicitly initialize to nullptr instead.
c@106 2757 inline Builder(decltype(nullptr)) {}
c@106 2758 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2759 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2760 inline Reader asReader() const { return *this; }
c@106 2761
c@106 2762 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2763 #if !CAPNP_LITE
c@106 2764 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2765 #endif // !CAPNP_LITE
c@106 2766
c@106 2767 inline ::int32_t getHandle();
c@106 2768 inline void setHandle( ::int32_t value);
c@106 2769
c@106 2770 inline bool hasProcessInput();
c@106 2771 inline ::piper::ProcessInput::Builder getProcessInput();
c@106 2772 inline void setProcessInput( ::piper::ProcessInput::Reader value);
c@106 2773 inline ::piper::ProcessInput::Builder initProcessInput();
c@106 2774 inline void adoptProcessInput(::capnp::Orphan< ::piper::ProcessInput>&& value);
c@106 2775 inline ::capnp::Orphan< ::piper::ProcessInput> disownProcessInput();
c@106 2776
c@106 2777 private:
c@106 2778 ::capnp::_::StructBuilder _builder;
c@106 2779 template <typename, ::capnp::Kind>
c@106 2780 friend struct ::capnp::ToDynamic_;
c@106 2781 friend class ::capnp::Orphanage;
c@106 2782 template <typename, ::capnp::Kind>
c@106 2783 friend struct ::capnp::_::PointerHelpers;
c@106 2784 };
c@106 2785
c@106 2786 #if !CAPNP_LITE
c@106 2787 class ProcessRequest::Pipeline {
c@106 2788 public:
c@106 2789 typedef ProcessRequest Pipelines;
c@106 2790
c@106 2791 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2792 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2793 : _typeless(kj::mv(typeless)) {}
c@106 2794
c@106 2795 inline ::piper::ProcessInput::Pipeline getProcessInput();
c@106 2796 private:
c@106 2797 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2798 friend class ::capnp::PipelineHook;
c@106 2799 template <typename, ::capnp::Kind>
c@106 2800 friend struct ::capnp::ToDynamic_;
c@106 2801 };
c@106 2802 #endif // !CAPNP_LITE
c@106 2803
c@106 2804 class ProcessResponse::Reader {
c@106 2805 public:
c@106 2806 typedef ProcessResponse Reads;
c@106 2807
c@106 2808 Reader() = default;
c@106 2809 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2810
c@106 2811 inline ::capnp::MessageSize totalSize() const {
c@106 2812 return _reader.totalSize().asPublic();
c@106 2813 }
c@106 2814
c@106 2815 #if !CAPNP_LITE
c@106 2816 inline ::kj::StringTree toString() const {
cannam@218 2817 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2818 }
c@106 2819 #endif // !CAPNP_LITE
c@106 2820
c@106 2821 inline ::int32_t getHandle() const;
c@106 2822
c@106 2823 inline bool hasFeatures() const;
c@106 2824 inline ::piper::FeatureSet::Reader getFeatures() const;
c@106 2825
c@106 2826 private:
c@106 2827 ::capnp::_::StructReader _reader;
c@106 2828 template <typename, ::capnp::Kind>
c@106 2829 friend struct ::capnp::ToDynamic_;
c@106 2830 template <typename, ::capnp::Kind>
c@106 2831 friend struct ::capnp::_::PointerHelpers;
c@106 2832 template <typename, ::capnp::Kind>
c@106 2833 friend struct ::capnp::List;
c@106 2834 friend class ::capnp::MessageBuilder;
c@106 2835 friend class ::capnp::Orphanage;
c@106 2836 };
c@106 2837
c@106 2838 class ProcessResponse::Builder {
c@106 2839 public:
c@106 2840 typedef ProcessResponse Builds;
c@106 2841
c@106 2842 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2843 // You can explicitly initialize to nullptr instead.
c@106 2844 inline Builder(decltype(nullptr)) {}
c@106 2845 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2846 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2847 inline Reader asReader() const { return *this; }
c@106 2848
c@106 2849 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2850 #if !CAPNP_LITE
c@106 2851 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2852 #endif // !CAPNP_LITE
c@106 2853
c@106 2854 inline ::int32_t getHandle();
c@106 2855 inline void setHandle( ::int32_t value);
c@106 2856
c@106 2857 inline bool hasFeatures();
c@106 2858 inline ::piper::FeatureSet::Builder getFeatures();
c@106 2859 inline void setFeatures( ::piper::FeatureSet::Reader value);
c@106 2860 inline ::piper::FeatureSet::Builder initFeatures();
c@106 2861 inline void adoptFeatures(::capnp::Orphan< ::piper::FeatureSet>&& value);
c@106 2862 inline ::capnp::Orphan< ::piper::FeatureSet> disownFeatures();
c@106 2863
c@106 2864 private:
c@106 2865 ::capnp::_::StructBuilder _builder;
c@106 2866 template <typename, ::capnp::Kind>
c@106 2867 friend struct ::capnp::ToDynamic_;
c@106 2868 friend class ::capnp::Orphanage;
c@106 2869 template <typename, ::capnp::Kind>
c@106 2870 friend struct ::capnp::_::PointerHelpers;
c@106 2871 };
c@106 2872
c@106 2873 #if !CAPNP_LITE
c@106 2874 class ProcessResponse::Pipeline {
c@106 2875 public:
c@106 2876 typedef ProcessResponse Pipelines;
c@106 2877
c@106 2878 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2879 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2880 : _typeless(kj::mv(typeless)) {}
c@106 2881
c@106 2882 inline ::piper::FeatureSet::Pipeline getFeatures();
c@106 2883 private:
c@106 2884 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2885 friend class ::capnp::PipelineHook;
c@106 2886 template <typename, ::capnp::Kind>
c@106 2887 friend struct ::capnp::ToDynamic_;
c@106 2888 };
c@106 2889 #endif // !CAPNP_LITE
c@106 2890
c@106 2891 class FinishRequest::Reader {
c@106 2892 public:
c@106 2893 typedef FinishRequest Reads;
c@106 2894
c@106 2895 Reader() = default;
c@106 2896 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2897
c@106 2898 inline ::capnp::MessageSize totalSize() const {
c@106 2899 return _reader.totalSize().asPublic();
c@106 2900 }
c@106 2901
c@106 2902 #if !CAPNP_LITE
c@106 2903 inline ::kj::StringTree toString() const {
cannam@218 2904 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2905 }
c@106 2906 #endif // !CAPNP_LITE
c@106 2907
c@106 2908 inline ::int32_t getHandle() const;
c@106 2909
c@106 2910 private:
c@106 2911 ::capnp::_::StructReader _reader;
c@106 2912 template <typename, ::capnp::Kind>
c@106 2913 friend struct ::capnp::ToDynamic_;
c@106 2914 template <typename, ::capnp::Kind>
c@106 2915 friend struct ::capnp::_::PointerHelpers;
c@106 2916 template <typename, ::capnp::Kind>
c@106 2917 friend struct ::capnp::List;
c@106 2918 friend class ::capnp::MessageBuilder;
c@106 2919 friend class ::capnp::Orphanage;
c@106 2920 };
c@106 2921
c@106 2922 class FinishRequest::Builder {
c@106 2923 public:
c@106 2924 typedef FinishRequest Builds;
c@106 2925
c@106 2926 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 2927 // You can explicitly initialize to nullptr instead.
c@106 2928 inline Builder(decltype(nullptr)) {}
c@106 2929 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 2930 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 2931 inline Reader asReader() const { return *this; }
c@106 2932
c@106 2933 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 2934 #if !CAPNP_LITE
c@106 2935 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 2936 #endif // !CAPNP_LITE
c@106 2937
c@106 2938 inline ::int32_t getHandle();
c@106 2939 inline void setHandle( ::int32_t value);
c@106 2940
c@106 2941 private:
c@106 2942 ::capnp::_::StructBuilder _builder;
c@106 2943 template <typename, ::capnp::Kind>
c@106 2944 friend struct ::capnp::ToDynamic_;
c@106 2945 friend class ::capnp::Orphanage;
c@106 2946 template <typename, ::capnp::Kind>
c@106 2947 friend struct ::capnp::_::PointerHelpers;
c@106 2948 };
c@106 2949
c@106 2950 #if !CAPNP_LITE
c@106 2951 class FinishRequest::Pipeline {
c@106 2952 public:
c@106 2953 typedef FinishRequest Pipelines;
c@106 2954
c@106 2955 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 2956 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 2957 : _typeless(kj::mv(typeless)) {}
c@106 2958
c@106 2959 private:
c@106 2960 ::capnp::AnyPointer::Pipeline _typeless;
c@106 2961 friend class ::capnp::PipelineHook;
c@106 2962 template <typename, ::capnp::Kind>
c@106 2963 friend struct ::capnp::ToDynamic_;
c@106 2964 };
c@106 2965 #endif // !CAPNP_LITE
c@106 2966
c@106 2967 class FinishResponse::Reader {
c@106 2968 public:
c@106 2969 typedef FinishResponse Reads;
c@106 2970
c@106 2971 Reader() = default;
c@106 2972 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 2973
c@106 2974 inline ::capnp::MessageSize totalSize() const {
c@106 2975 return _reader.totalSize().asPublic();
c@106 2976 }
c@106 2977
c@106 2978 #if !CAPNP_LITE
c@106 2979 inline ::kj::StringTree toString() const {
cannam@218 2980 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 2981 }
c@106 2982 #endif // !CAPNP_LITE
c@106 2983
c@106 2984 inline ::int32_t getHandle() const;
c@106 2985
c@106 2986 inline bool hasFeatures() const;
c@106 2987 inline ::piper::FeatureSet::Reader getFeatures() const;
c@106 2988
c@106 2989 private:
c@106 2990 ::capnp::_::StructReader _reader;
c@106 2991 template <typename, ::capnp::Kind>
c@106 2992 friend struct ::capnp::ToDynamic_;
c@106 2993 template <typename, ::capnp::Kind>
c@106 2994 friend struct ::capnp::_::PointerHelpers;
c@106 2995 template <typename, ::capnp::Kind>
c@106 2996 friend struct ::capnp::List;
c@106 2997 friend class ::capnp::MessageBuilder;
c@106 2998 friend class ::capnp::Orphanage;
c@106 2999 };
c@106 3000
c@106 3001 class FinishResponse::Builder {
c@106 3002 public:
c@106 3003 typedef FinishResponse Builds;
c@106 3004
c@106 3005 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3006 // You can explicitly initialize to nullptr instead.
c@106 3007 inline Builder(decltype(nullptr)) {}
c@106 3008 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3009 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3010 inline Reader asReader() const { return *this; }
c@106 3011
c@106 3012 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3013 #if !CAPNP_LITE
c@106 3014 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3015 #endif // !CAPNP_LITE
c@106 3016
c@106 3017 inline ::int32_t getHandle();
c@106 3018 inline void setHandle( ::int32_t value);
c@106 3019
c@106 3020 inline bool hasFeatures();
c@106 3021 inline ::piper::FeatureSet::Builder getFeatures();
c@106 3022 inline void setFeatures( ::piper::FeatureSet::Reader value);
c@106 3023 inline ::piper::FeatureSet::Builder initFeatures();
c@106 3024 inline void adoptFeatures(::capnp::Orphan< ::piper::FeatureSet>&& value);
c@106 3025 inline ::capnp::Orphan< ::piper::FeatureSet> disownFeatures();
c@106 3026
c@106 3027 private:
c@106 3028 ::capnp::_::StructBuilder _builder;
c@106 3029 template <typename, ::capnp::Kind>
c@106 3030 friend struct ::capnp::ToDynamic_;
c@106 3031 friend class ::capnp::Orphanage;
c@106 3032 template <typename, ::capnp::Kind>
c@106 3033 friend struct ::capnp::_::PointerHelpers;
c@106 3034 };
c@106 3035
c@106 3036 #if !CAPNP_LITE
c@106 3037 class FinishResponse::Pipeline {
c@106 3038 public:
c@106 3039 typedef FinishResponse Pipelines;
c@106 3040
c@106 3041 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3042 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3043 : _typeless(kj::mv(typeless)) {}
c@106 3044
c@106 3045 inline ::piper::FeatureSet::Pipeline getFeatures();
c@106 3046 private:
c@106 3047 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3048 friend class ::capnp::PipelineHook;
c@106 3049 template <typename, ::capnp::Kind>
c@106 3050 friend struct ::capnp::ToDynamic_;
c@106 3051 };
c@106 3052 #endif // !CAPNP_LITE
c@106 3053
c@106 3054 class Error::Reader {
c@106 3055 public:
c@106 3056 typedef Error Reads;
c@106 3057
c@106 3058 Reader() = default;
c@106 3059 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3060
c@106 3061 inline ::capnp::MessageSize totalSize() const {
c@106 3062 return _reader.totalSize().asPublic();
c@106 3063 }
c@106 3064
c@106 3065 #if !CAPNP_LITE
c@106 3066 inline ::kj::StringTree toString() const {
cannam@218 3067 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 3068 }
c@106 3069 #endif // !CAPNP_LITE
c@106 3070
c@106 3071 inline ::int32_t getCode() const;
c@106 3072
c@106 3073 inline bool hasMessage() const;
c@106 3074 inline ::capnp::Text::Reader getMessage() const;
c@106 3075
c@106 3076 private:
c@106 3077 ::capnp::_::StructReader _reader;
c@106 3078 template <typename, ::capnp::Kind>
c@106 3079 friend struct ::capnp::ToDynamic_;
c@106 3080 template <typename, ::capnp::Kind>
c@106 3081 friend struct ::capnp::_::PointerHelpers;
c@106 3082 template <typename, ::capnp::Kind>
c@106 3083 friend struct ::capnp::List;
c@106 3084 friend class ::capnp::MessageBuilder;
c@106 3085 friend class ::capnp::Orphanage;
c@106 3086 };
c@106 3087
c@106 3088 class Error::Builder {
c@106 3089 public:
c@106 3090 typedef Error Builds;
c@106 3091
c@106 3092 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3093 // You can explicitly initialize to nullptr instead.
c@106 3094 inline Builder(decltype(nullptr)) {}
c@106 3095 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3096 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3097 inline Reader asReader() const { return *this; }
c@106 3098
c@106 3099 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3100 #if !CAPNP_LITE
c@106 3101 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3102 #endif // !CAPNP_LITE
c@106 3103
c@106 3104 inline ::int32_t getCode();
c@106 3105 inline void setCode( ::int32_t value);
c@106 3106
c@106 3107 inline bool hasMessage();
c@106 3108 inline ::capnp::Text::Builder getMessage();
c@106 3109 inline void setMessage( ::capnp::Text::Reader value);
c@106 3110 inline ::capnp::Text::Builder initMessage(unsigned int size);
c@106 3111 inline void adoptMessage(::capnp::Orphan< ::capnp::Text>&& value);
c@106 3112 inline ::capnp::Orphan< ::capnp::Text> disownMessage();
c@106 3113
c@106 3114 private:
c@106 3115 ::capnp::_::StructBuilder _builder;
c@106 3116 template <typename, ::capnp::Kind>
c@106 3117 friend struct ::capnp::ToDynamic_;
c@106 3118 friend class ::capnp::Orphanage;
c@106 3119 template <typename, ::capnp::Kind>
c@106 3120 friend struct ::capnp::_::PointerHelpers;
c@106 3121 };
c@106 3122
c@106 3123 #if !CAPNP_LITE
c@106 3124 class Error::Pipeline {
c@106 3125 public:
c@106 3126 typedef Error Pipelines;
c@106 3127
c@106 3128 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3129 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3130 : _typeless(kj::mv(typeless)) {}
c@106 3131
c@106 3132 private:
c@106 3133 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3134 friend class ::capnp::PipelineHook;
c@106 3135 template <typename, ::capnp::Kind>
c@106 3136 friend struct ::capnp::ToDynamic_;
c@106 3137 };
c@106 3138 #endif // !CAPNP_LITE
c@106 3139
c@106 3140 class RpcRequest::Reader {
c@106 3141 public:
c@106 3142 typedef RpcRequest Reads;
c@106 3143
c@106 3144 Reader() = default;
c@106 3145 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3146
c@106 3147 inline ::capnp::MessageSize totalSize() const {
c@106 3148 return _reader.totalSize().asPublic();
c@106 3149 }
c@106 3150
c@106 3151 #if !CAPNP_LITE
c@106 3152 inline ::kj::StringTree toString() const {
cannam@218 3153 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 3154 }
c@106 3155 #endif // !CAPNP_LITE
c@106 3156
cannam@218 3157 inline typename Id::Reader getId() const;
cannam@218 3158
cannam@218 3159 inline typename Request::Reader getRequest() const;
c@106 3160
c@106 3161 private:
c@106 3162 ::capnp::_::StructReader _reader;
c@106 3163 template <typename, ::capnp::Kind>
c@106 3164 friend struct ::capnp::ToDynamic_;
c@106 3165 template <typename, ::capnp::Kind>
c@106 3166 friend struct ::capnp::_::PointerHelpers;
c@106 3167 template <typename, ::capnp::Kind>
c@106 3168 friend struct ::capnp::List;
c@106 3169 friend class ::capnp::MessageBuilder;
c@106 3170 friend class ::capnp::Orphanage;
c@106 3171 };
c@106 3172
c@106 3173 class RpcRequest::Builder {
c@106 3174 public:
c@106 3175 typedef RpcRequest Builds;
c@106 3176
c@106 3177 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3178 // You can explicitly initialize to nullptr instead.
c@106 3179 inline Builder(decltype(nullptr)) {}
c@106 3180 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3181 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3182 inline Reader asReader() const { return *this; }
c@106 3183
c@106 3184 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3185 #if !CAPNP_LITE
c@106 3186 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3187 #endif // !CAPNP_LITE
c@106 3188
cannam@218 3189 inline typename Id::Builder getId();
cannam@218 3190 inline typename Id::Builder initId();
cannam@218 3191
cannam@218 3192 inline typename Request::Builder getRequest();
cannam@218 3193 inline typename Request::Builder initRequest();
c@106 3194
c@106 3195 private:
c@106 3196 ::capnp::_::StructBuilder _builder;
c@106 3197 template <typename, ::capnp::Kind>
c@106 3198 friend struct ::capnp::ToDynamic_;
c@106 3199 friend class ::capnp::Orphanage;
c@106 3200 template <typename, ::capnp::Kind>
c@106 3201 friend struct ::capnp::_::PointerHelpers;
c@106 3202 };
c@106 3203
c@106 3204 #if !CAPNP_LITE
c@106 3205 class RpcRequest::Pipeline {
c@106 3206 public:
c@106 3207 typedef RpcRequest Pipelines;
c@106 3208
c@106 3209 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3210 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3211 : _typeless(kj::mv(typeless)) {}
c@106 3212
cannam@218 3213 inline typename Id::Pipeline getId();
cannam@218 3214 inline typename Request::Pipeline getRequest();
c@106 3215 private:
c@106 3216 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3217 friend class ::capnp::PipelineHook;
c@106 3218 template <typename, ::capnp::Kind>
c@106 3219 friend struct ::capnp::ToDynamic_;
c@106 3220 };
c@106 3221 #endif // !CAPNP_LITE
c@106 3222
c@106 3223 class RpcRequest::Id::Reader {
c@106 3224 public:
c@106 3225 typedef Id Reads;
c@106 3226
c@106 3227 Reader() = default;
c@106 3228 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3229
c@106 3230 inline ::capnp::MessageSize totalSize() const {
c@106 3231 return _reader.totalSize().asPublic();
c@106 3232 }
c@106 3233
c@106 3234 #if !CAPNP_LITE
c@106 3235 inline ::kj::StringTree toString() const {
cannam@218 3236 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 3237 }
c@106 3238 #endif // !CAPNP_LITE
c@106 3239
c@106 3240 inline Which which() const;
c@106 3241 inline bool isNumber() const;
c@106 3242 inline ::int32_t getNumber() const;
c@106 3243
c@106 3244 inline bool isTag() const;
c@106 3245 inline bool hasTag() const;
c@106 3246 inline ::capnp::Text::Reader getTag() const;
c@106 3247
c@106 3248 inline bool isNone() const;
c@106 3249 inline ::capnp::Void getNone() const;
c@106 3250
c@106 3251 private:
c@106 3252 ::capnp::_::StructReader _reader;
c@106 3253 template <typename, ::capnp::Kind>
c@106 3254 friend struct ::capnp::ToDynamic_;
c@106 3255 template <typename, ::capnp::Kind>
c@106 3256 friend struct ::capnp::_::PointerHelpers;
c@106 3257 template <typename, ::capnp::Kind>
c@106 3258 friend struct ::capnp::List;
c@106 3259 friend class ::capnp::MessageBuilder;
c@106 3260 friend class ::capnp::Orphanage;
c@106 3261 };
c@106 3262
c@106 3263 class RpcRequest::Id::Builder {
c@106 3264 public:
c@106 3265 typedef Id Builds;
c@106 3266
c@106 3267 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3268 // You can explicitly initialize to nullptr instead.
c@106 3269 inline Builder(decltype(nullptr)) {}
c@106 3270 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3271 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3272 inline Reader asReader() const { return *this; }
c@106 3273
c@106 3274 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3275 #if !CAPNP_LITE
c@106 3276 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3277 #endif // !CAPNP_LITE
c@106 3278
c@106 3279 inline Which which();
c@106 3280 inline bool isNumber();
c@106 3281 inline ::int32_t getNumber();
c@106 3282 inline void setNumber( ::int32_t value);
c@106 3283
c@106 3284 inline bool isTag();
c@106 3285 inline bool hasTag();
c@106 3286 inline ::capnp::Text::Builder getTag();
c@106 3287 inline void setTag( ::capnp::Text::Reader value);
c@106 3288 inline ::capnp::Text::Builder initTag(unsigned int size);
c@106 3289 inline void adoptTag(::capnp::Orphan< ::capnp::Text>&& value);
c@106 3290 inline ::capnp::Orphan< ::capnp::Text> disownTag();
c@106 3291
c@106 3292 inline bool isNone();
c@106 3293 inline ::capnp::Void getNone();
c@106 3294 inline void setNone( ::capnp::Void value = ::capnp::VOID);
c@106 3295
c@106 3296 private:
c@106 3297 ::capnp::_::StructBuilder _builder;
c@106 3298 template <typename, ::capnp::Kind>
c@106 3299 friend struct ::capnp::ToDynamic_;
c@106 3300 friend class ::capnp::Orphanage;
c@106 3301 template <typename, ::capnp::Kind>
c@106 3302 friend struct ::capnp::_::PointerHelpers;
c@106 3303 };
c@106 3304
c@106 3305 #if !CAPNP_LITE
c@106 3306 class RpcRequest::Id::Pipeline {
c@106 3307 public:
c@106 3308 typedef Id Pipelines;
c@106 3309
c@106 3310 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3311 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3312 : _typeless(kj::mv(typeless)) {}
c@106 3313
c@106 3314 private:
c@106 3315 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3316 friend class ::capnp::PipelineHook;
c@106 3317 template <typename, ::capnp::Kind>
c@106 3318 friend struct ::capnp::ToDynamic_;
c@106 3319 };
c@106 3320 #endif // !CAPNP_LITE
c@106 3321
c@106 3322 class RpcRequest::Request::Reader {
c@106 3323 public:
c@106 3324 typedef Request Reads;
c@106 3325
c@106 3326 Reader() = default;
c@106 3327 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3328
c@106 3329 inline ::capnp::MessageSize totalSize() const {
c@106 3330 return _reader.totalSize().asPublic();
c@106 3331 }
c@106 3332
c@106 3333 #if !CAPNP_LITE
c@106 3334 inline ::kj::StringTree toString() const {
cannam@218 3335 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 3336 }
c@106 3337 #endif // !CAPNP_LITE
c@106 3338
c@106 3339 inline Which which() const;
c@106 3340 inline bool isList() const;
c@106 3341 inline bool hasList() const;
c@106 3342 inline ::piper::ListRequest::Reader getList() const;
c@106 3343
c@106 3344 inline bool isLoad() const;
c@106 3345 inline bool hasLoad() const;
c@106 3346 inline ::piper::LoadRequest::Reader getLoad() const;
c@106 3347
c@106 3348 inline bool isConfigure() const;
c@106 3349 inline bool hasConfigure() const;
c@106 3350 inline ::piper::ConfigurationRequest::Reader getConfigure() const;
c@106 3351
c@106 3352 inline bool isProcess() const;
c@106 3353 inline bool hasProcess() const;
c@106 3354 inline ::piper::ProcessRequest::Reader getProcess() const;
c@106 3355
c@106 3356 inline bool isFinish() const;
c@106 3357 inline bool hasFinish() const;
c@106 3358 inline ::piper::FinishRequest::Reader getFinish() const;
c@106 3359
c@106 3360 private:
c@106 3361 ::capnp::_::StructReader _reader;
c@106 3362 template <typename, ::capnp::Kind>
c@106 3363 friend struct ::capnp::ToDynamic_;
c@106 3364 template <typename, ::capnp::Kind>
c@106 3365 friend struct ::capnp::_::PointerHelpers;
c@106 3366 template <typename, ::capnp::Kind>
c@106 3367 friend struct ::capnp::List;
c@106 3368 friend class ::capnp::MessageBuilder;
c@106 3369 friend class ::capnp::Orphanage;
c@106 3370 };
c@106 3371
c@106 3372 class RpcRequest::Request::Builder {
c@106 3373 public:
c@106 3374 typedef Request Builds;
c@106 3375
c@106 3376 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3377 // You can explicitly initialize to nullptr instead.
c@106 3378 inline Builder(decltype(nullptr)) {}
c@106 3379 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3380 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3381 inline Reader asReader() const { return *this; }
c@106 3382
c@106 3383 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3384 #if !CAPNP_LITE
c@106 3385 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3386 #endif // !CAPNP_LITE
c@106 3387
c@106 3388 inline Which which();
c@106 3389 inline bool isList();
c@106 3390 inline bool hasList();
c@106 3391 inline ::piper::ListRequest::Builder getList();
c@106 3392 inline void setList( ::piper::ListRequest::Reader value);
c@106 3393 inline ::piper::ListRequest::Builder initList();
c@106 3394 inline void adoptList(::capnp::Orphan< ::piper::ListRequest>&& value);
c@106 3395 inline ::capnp::Orphan< ::piper::ListRequest> disownList();
c@106 3396
c@106 3397 inline bool isLoad();
c@106 3398 inline bool hasLoad();
c@106 3399 inline ::piper::LoadRequest::Builder getLoad();
c@106 3400 inline void setLoad( ::piper::LoadRequest::Reader value);
c@106 3401 inline ::piper::LoadRequest::Builder initLoad();
c@106 3402 inline void adoptLoad(::capnp::Orphan< ::piper::LoadRequest>&& value);
c@106 3403 inline ::capnp::Orphan< ::piper::LoadRequest> disownLoad();
c@106 3404
c@106 3405 inline bool isConfigure();
c@106 3406 inline bool hasConfigure();
c@106 3407 inline ::piper::ConfigurationRequest::Builder getConfigure();
c@106 3408 inline void setConfigure( ::piper::ConfigurationRequest::Reader value);
c@106 3409 inline ::piper::ConfigurationRequest::Builder initConfigure();
c@106 3410 inline void adoptConfigure(::capnp::Orphan< ::piper::ConfigurationRequest>&& value);
c@106 3411 inline ::capnp::Orphan< ::piper::ConfigurationRequest> disownConfigure();
c@106 3412
c@106 3413 inline bool isProcess();
c@106 3414 inline bool hasProcess();
c@106 3415 inline ::piper::ProcessRequest::Builder getProcess();
c@106 3416 inline void setProcess( ::piper::ProcessRequest::Reader value);
c@106 3417 inline ::piper::ProcessRequest::Builder initProcess();
c@106 3418 inline void adoptProcess(::capnp::Orphan< ::piper::ProcessRequest>&& value);
c@106 3419 inline ::capnp::Orphan< ::piper::ProcessRequest> disownProcess();
c@106 3420
c@106 3421 inline bool isFinish();
c@106 3422 inline bool hasFinish();
c@106 3423 inline ::piper::FinishRequest::Builder getFinish();
c@106 3424 inline void setFinish( ::piper::FinishRequest::Reader value);
c@106 3425 inline ::piper::FinishRequest::Builder initFinish();
c@106 3426 inline void adoptFinish(::capnp::Orphan< ::piper::FinishRequest>&& value);
c@106 3427 inline ::capnp::Orphan< ::piper::FinishRequest> disownFinish();
c@106 3428
c@106 3429 private:
c@106 3430 ::capnp::_::StructBuilder _builder;
c@106 3431 template <typename, ::capnp::Kind>
c@106 3432 friend struct ::capnp::ToDynamic_;
c@106 3433 friend class ::capnp::Orphanage;
c@106 3434 template <typename, ::capnp::Kind>
c@106 3435 friend struct ::capnp::_::PointerHelpers;
c@106 3436 };
c@106 3437
c@106 3438 #if !CAPNP_LITE
c@106 3439 class RpcRequest::Request::Pipeline {
c@106 3440 public:
c@106 3441 typedef Request Pipelines;
c@106 3442
c@106 3443 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3444 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3445 : _typeless(kj::mv(typeless)) {}
c@106 3446
c@106 3447 private:
c@106 3448 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3449 friend class ::capnp::PipelineHook;
c@106 3450 template <typename, ::capnp::Kind>
c@106 3451 friend struct ::capnp::ToDynamic_;
c@106 3452 };
c@106 3453 #endif // !CAPNP_LITE
c@106 3454
c@106 3455 class RpcResponse::Reader {
c@106 3456 public:
c@106 3457 typedef RpcResponse Reads;
c@106 3458
c@106 3459 Reader() = default;
c@106 3460 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3461
c@106 3462 inline ::capnp::MessageSize totalSize() const {
c@106 3463 return _reader.totalSize().asPublic();
c@106 3464 }
c@106 3465
c@106 3466 #if !CAPNP_LITE
c@106 3467 inline ::kj::StringTree toString() const {
cannam@218 3468 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 3469 }
c@106 3470 #endif // !CAPNP_LITE
c@106 3471
cannam@218 3472 inline typename Id::Reader getId() const;
cannam@218 3473
cannam@218 3474 inline typename Response::Reader getResponse() const;
c@106 3475
c@106 3476 private:
c@106 3477 ::capnp::_::StructReader _reader;
c@106 3478 template <typename, ::capnp::Kind>
c@106 3479 friend struct ::capnp::ToDynamic_;
c@106 3480 template <typename, ::capnp::Kind>
c@106 3481 friend struct ::capnp::_::PointerHelpers;
c@106 3482 template <typename, ::capnp::Kind>
c@106 3483 friend struct ::capnp::List;
c@106 3484 friend class ::capnp::MessageBuilder;
c@106 3485 friend class ::capnp::Orphanage;
c@106 3486 };
c@106 3487
c@106 3488 class RpcResponse::Builder {
c@106 3489 public:
c@106 3490 typedef RpcResponse Builds;
c@106 3491
c@106 3492 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3493 // You can explicitly initialize to nullptr instead.
c@106 3494 inline Builder(decltype(nullptr)) {}
c@106 3495 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3496 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3497 inline Reader asReader() const { return *this; }
c@106 3498
c@106 3499 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3500 #if !CAPNP_LITE
c@106 3501 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3502 #endif // !CAPNP_LITE
c@106 3503
cannam@218 3504 inline typename Id::Builder getId();
cannam@218 3505 inline typename Id::Builder initId();
cannam@218 3506
cannam@218 3507 inline typename Response::Builder getResponse();
cannam@218 3508 inline typename Response::Builder initResponse();
c@106 3509
c@106 3510 private:
c@106 3511 ::capnp::_::StructBuilder _builder;
c@106 3512 template <typename, ::capnp::Kind>
c@106 3513 friend struct ::capnp::ToDynamic_;
c@106 3514 friend class ::capnp::Orphanage;
c@106 3515 template <typename, ::capnp::Kind>
c@106 3516 friend struct ::capnp::_::PointerHelpers;
c@106 3517 };
c@106 3518
c@106 3519 #if !CAPNP_LITE
c@106 3520 class RpcResponse::Pipeline {
c@106 3521 public:
c@106 3522 typedef RpcResponse Pipelines;
c@106 3523
c@106 3524 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3525 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3526 : _typeless(kj::mv(typeless)) {}
c@106 3527
cannam@218 3528 inline typename Id::Pipeline getId();
cannam@218 3529 inline typename Response::Pipeline getResponse();
c@106 3530 private:
c@106 3531 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3532 friend class ::capnp::PipelineHook;
c@106 3533 template <typename, ::capnp::Kind>
c@106 3534 friend struct ::capnp::ToDynamic_;
c@106 3535 };
c@106 3536 #endif // !CAPNP_LITE
c@106 3537
c@106 3538 class RpcResponse::Id::Reader {
c@106 3539 public:
c@106 3540 typedef Id Reads;
c@106 3541
c@106 3542 Reader() = default;
c@106 3543 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3544
c@106 3545 inline ::capnp::MessageSize totalSize() const {
c@106 3546 return _reader.totalSize().asPublic();
c@106 3547 }
c@106 3548
c@106 3549 #if !CAPNP_LITE
c@106 3550 inline ::kj::StringTree toString() const {
cannam@218 3551 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 3552 }
c@106 3553 #endif // !CAPNP_LITE
c@106 3554
c@106 3555 inline Which which() const;
c@106 3556 inline bool isNumber() const;
c@106 3557 inline ::int32_t getNumber() const;
c@106 3558
c@106 3559 inline bool isTag() const;
c@106 3560 inline bool hasTag() const;
c@106 3561 inline ::capnp::Text::Reader getTag() const;
c@106 3562
c@106 3563 inline bool isNone() const;
c@106 3564 inline ::capnp::Void getNone() const;
c@106 3565
c@106 3566 private:
c@106 3567 ::capnp::_::StructReader _reader;
c@106 3568 template <typename, ::capnp::Kind>
c@106 3569 friend struct ::capnp::ToDynamic_;
c@106 3570 template <typename, ::capnp::Kind>
c@106 3571 friend struct ::capnp::_::PointerHelpers;
c@106 3572 template <typename, ::capnp::Kind>
c@106 3573 friend struct ::capnp::List;
c@106 3574 friend class ::capnp::MessageBuilder;
c@106 3575 friend class ::capnp::Orphanage;
c@106 3576 };
c@106 3577
c@106 3578 class RpcResponse::Id::Builder {
c@106 3579 public:
c@106 3580 typedef Id Builds;
c@106 3581
c@106 3582 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3583 // You can explicitly initialize to nullptr instead.
c@106 3584 inline Builder(decltype(nullptr)) {}
c@106 3585 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3586 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3587 inline Reader asReader() const { return *this; }
c@106 3588
c@106 3589 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3590 #if !CAPNP_LITE
c@106 3591 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3592 #endif // !CAPNP_LITE
c@106 3593
c@106 3594 inline Which which();
c@106 3595 inline bool isNumber();
c@106 3596 inline ::int32_t getNumber();
c@106 3597 inline void setNumber( ::int32_t value);
c@106 3598
c@106 3599 inline bool isTag();
c@106 3600 inline bool hasTag();
c@106 3601 inline ::capnp::Text::Builder getTag();
c@106 3602 inline void setTag( ::capnp::Text::Reader value);
c@106 3603 inline ::capnp::Text::Builder initTag(unsigned int size);
c@106 3604 inline void adoptTag(::capnp::Orphan< ::capnp::Text>&& value);
c@106 3605 inline ::capnp::Orphan< ::capnp::Text> disownTag();
c@106 3606
c@106 3607 inline bool isNone();
c@106 3608 inline ::capnp::Void getNone();
c@106 3609 inline void setNone( ::capnp::Void value = ::capnp::VOID);
c@106 3610
c@106 3611 private:
c@106 3612 ::capnp::_::StructBuilder _builder;
c@106 3613 template <typename, ::capnp::Kind>
c@106 3614 friend struct ::capnp::ToDynamic_;
c@106 3615 friend class ::capnp::Orphanage;
c@106 3616 template <typename, ::capnp::Kind>
c@106 3617 friend struct ::capnp::_::PointerHelpers;
c@106 3618 };
c@106 3619
c@106 3620 #if !CAPNP_LITE
c@106 3621 class RpcResponse::Id::Pipeline {
c@106 3622 public:
c@106 3623 typedef Id Pipelines;
c@106 3624
c@106 3625 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3626 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3627 : _typeless(kj::mv(typeless)) {}
c@106 3628
c@106 3629 private:
c@106 3630 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3631 friend class ::capnp::PipelineHook;
c@106 3632 template <typename, ::capnp::Kind>
c@106 3633 friend struct ::capnp::ToDynamic_;
c@106 3634 };
c@106 3635 #endif // !CAPNP_LITE
c@106 3636
c@106 3637 class RpcResponse::Response::Reader {
c@106 3638 public:
c@106 3639 typedef Response Reads;
c@106 3640
c@106 3641 Reader() = default;
c@106 3642 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
c@106 3643
c@106 3644 inline ::capnp::MessageSize totalSize() const {
c@106 3645 return _reader.totalSize().asPublic();
c@106 3646 }
c@106 3647
c@106 3648 #if !CAPNP_LITE
c@106 3649 inline ::kj::StringTree toString() const {
cannam@218 3650 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
c@106 3651 }
c@106 3652 #endif // !CAPNP_LITE
c@106 3653
c@106 3654 inline Which which() const;
c@106 3655 inline bool isError() const;
c@106 3656 inline bool hasError() const;
c@106 3657 inline ::piper::Error::Reader getError() const;
c@106 3658
c@106 3659 inline bool isList() const;
c@106 3660 inline bool hasList() const;
c@106 3661 inline ::piper::ListResponse::Reader getList() const;
c@106 3662
c@106 3663 inline bool isLoad() const;
c@106 3664 inline bool hasLoad() const;
c@106 3665 inline ::piper::LoadResponse::Reader getLoad() const;
c@106 3666
c@106 3667 inline bool isConfigure() const;
c@106 3668 inline bool hasConfigure() const;
c@106 3669 inline ::piper::ConfigurationResponse::Reader getConfigure() const;
c@106 3670
c@106 3671 inline bool isProcess() const;
c@106 3672 inline bool hasProcess() const;
c@106 3673 inline ::piper::ProcessResponse::Reader getProcess() const;
c@106 3674
c@106 3675 inline bool isFinish() const;
c@106 3676 inline bool hasFinish() const;
c@106 3677 inline ::piper::FinishResponse::Reader getFinish() const;
c@106 3678
c@106 3679 private:
c@106 3680 ::capnp::_::StructReader _reader;
c@106 3681 template <typename, ::capnp::Kind>
c@106 3682 friend struct ::capnp::ToDynamic_;
c@106 3683 template <typename, ::capnp::Kind>
c@106 3684 friend struct ::capnp::_::PointerHelpers;
c@106 3685 template <typename, ::capnp::Kind>
c@106 3686 friend struct ::capnp::List;
c@106 3687 friend class ::capnp::MessageBuilder;
c@106 3688 friend class ::capnp::Orphanage;
c@106 3689 };
c@106 3690
c@106 3691 class RpcResponse::Response::Builder {
c@106 3692 public:
c@106 3693 typedef Response Builds;
c@106 3694
c@106 3695 Builder() = delete; // Deleted to discourage incorrect usage.
c@106 3696 // You can explicitly initialize to nullptr instead.
c@106 3697 inline Builder(decltype(nullptr)) {}
c@106 3698 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
c@106 3699 inline operator Reader() const { return Reader(_builder.asReader()); }
c@106 3700 inline Reader asReader() const { return *this; }
c@106 3701
c@106 3702 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
c@106 3703 #if !CAPNP_LITE
c@106 3704 inline ::kj::StringTree toString() const { return asReader().toString(); }
c@106 3705 #endif // !CAPNP_LITE
c@106 3706
c@106 3707 inline Which which();
c@106 3708 inline bool isError();
c@106 3709 inline bool hasError();
c@106 3710 inline ::piper::Error::Builder getError();
c@106 3711 inline void setError( ::piper::Error::Reader value);
c@106 3712 inline ::piper::Error::Builder initError();
c@106 3713 inline void adoptError(::capnp::Orphan< ::piper::Error>&& value);
c@106 3714 inline ::capnp::Orphan< ::piper::Error> disownError();
c@106 3715
c@106 3716 inline bool isList();
c@106 3717 inline bool hasList();
c@106 3718 inline ::piper::ListResponse::Builder getList();
c@106 3719 inline void setList( ::piper::ListResponse::Reader value);
c@106 3720 inline ::piper::ListResponse::Builder initList();
c@106 3721 inline void adoptList(::capnp::Orphan< ::piper::ListResponse>&& value);
c@106 3722 inline ::capnp::Orphan< ::piper::ListResponse> disownList();
c@106 3723
c@106 3724 inline bool isLoad();
c@106 3725 inline bool hasLoad();
c@106 3726 inline ::piper::LoadResponse::Builder getLoad();
c@106 3727 inline void setLoad( ::piper::LoadResponse::Reader value);
c@106 3728 inline ::piper::LoadResponse::Builder initLoad();
c@106 3729 inline void adoptLoad(::capnp::Orphan< ::piper::LoadResponse>&& value);
c@106 3730 inline ::capnp::Orphan< ::piper::LoadResponse> disownLoad();
c@106 3731
c@106 3732 inline bool isConfigure();
c@106 3733 inline bool hasConfigure();
c@106 3734 inline ::piper::ConfigurationResponse::Builder getConfigure();
c@106 3735 inline void setConfigure( ::piper::ConfigurationResponse::Reader value);
c@106 3736 inline ::piper::ConfigurationResponse::Builder initConfigure();
c@106 3737 inline void adoptConfigure(::capnp::Orphan< ::piper::ConfigurationResponse>&& value);
c@106 3738 inline ::capnp::Orphan< ::piper::ConfigurationResponse> disownConfigure();
c@106 3739
c@106 3740 inline bool isProcess();
c@106 3741 inline bool hasProcess();
c@106 3742 inline ::piper::ProcessResponse::Builder getProcess();
c@106 3743 inline void setProcess( ::piper::ProcessResponse::Reader value);
c@106 3744 inline ::piper::ProcessResponse::Builder initProcess();
c@106 3745 inline void adoptProcess(::capnp::Orphan< ::piper::ProcessResponse>&& value);
c@106 3746 inline ::capnp::Orphan< ::piper::ProcessResponse> disownProcess();
c@106 3747
c@106 3748 inline bool isFinish();
c@106 3749 inline bool hasFinish();
c@106 3750 inline ::piper::FinishResponse::Builder getFinish();
c@106 3751 inline void setFinish( ::piper::FinishResponse::Reader value);
c@106 3752 inline ::piper::FinishResponse::Builder initFinish();
c@106 3753 inline void adoptFinish(::capnp::Orphan< ::piper::FinishResponse>&& value);
c@106 3754 inline ::capnp::Orphan< ::piper::FinishResponse> disownFinish();
c@106 3755
c@106 3756 private:
c@106 3757 ::capnp::_::StructBuilder _builder;
c@106 3758 template <typename, ::capnp::Kind>
c@106 3759 friend struct ::capnp::ToDynamic_;
c@106 3760 friend class ::capnp::Orphanage;
c@106 3761 template <typename, ::capnp::Kind>
c@106 3762 friend struct ::capnp::_::PointerHelpers;
c@106 3763 };
c@106 3764
c@106 3765 #if !CAPNP_LITE
c@106 3766 class RpcResponse::Response::Pipeline {
c@106 3767 public:
c@106 3768 typedef Response Pipelines;
c@106 3769
c@106 3770 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
c@106 3771 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
c@106 3772 : _typeless(kj::mv(typeless)) {}
c@106 3773
c@106 3774 private:
c@106 3775 ::capnp::AnyPointer::Pipeline _typeless;
c@106 3776 friend class ::capnp::PipelineHook;
c@106 3777 template <typename, ::capnp::Kind>
c@106 3778 friend struct ::capnp::ToDynamic_;
c@106 3779 };
c@106 3780 #endif // !CAPNP_LITE
c@106 3781
c@106 3782 // =======================================================================================
c@106 3783
c@106 3784 inline bool Basic::Reader::hasIdentifier() const {
cannam@218 3785 return !_reader.getPointerField(
cannam@218 3786 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 3787 }
c@106 3788 inline bool Basic::Builder::hasIdentifier() {
cannam@218 3789 return !_builder.getPointerField(
cannam@218 3790 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 3791 }
c@106 3792 inline ::capnp::Text::Reader Basic::Reader::getIdentifier() const {
cannam@218 3793 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 3794 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 3795 }
c@106 3796 inline ::capnp::Text::Builder Basic::Builder::getIdentifier() {
cannam@218 3797 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 3798 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 3799 }
c@106 3800 inline void Basic::Builder::setIdentifier( ::capnp::Text::Reader value) {
cannam@218 3801 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 3802 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 3803 }
c@106 3804 inline ::capnp::Text::Builder Basic::Builder::initIdentifier(unsigned int size) {
cannam@218 3805 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 3806 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 3807 }
c@106 3808 inline void Basic::Builder::adoptIdentifier(
c@106 3809 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 3810 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 3811 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 3812 }
c@106 3813 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownIdentifier() {
cannam@218 3814 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 3815 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 3816 }
c@106 3817
c@106 3818 inline bool Basic::Reader::hasName() const {
cannam@218 3819 return !_reader.getPointerField(
cannam@218 3820 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 3821 }
c@106 3822 inline bool Basic::Builder::hasName() {
cannam@218 3823 return !_builder.getPointerField(
cannam@218 3824 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 3825 }
c@106 3826 inline ::capnp::Text::Reader Basic::Reader::getName() const {
cannam@218 3827 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 3828 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 3829 }
c@106 3830 inline ::capnp::Text::Builder Basic::Builder::getName() {
cannam@218 3831 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 3832 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 3833 }
c@106 3834 inline void Basic::Builder::setName( ::capnp::Text::Reader value) {
cannam@218 3835 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 3836 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 3837 }
c@106 3838 inline ::capnp::Text::Builder Basic::Builder::initName(unsigned int size) {
cannam@218 3839 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 3840 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
c@106 3841 }
c@106 3842 inline void Basic::Builder::adoptName(
c@106 3843 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 3844 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 3845 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 3846 }
c@106 3847 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownName() {
cannam@218 3848 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 3849 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 3850 }
c@106 3851
c@106 3852 inline bool Basic::Reader::hasDescription() const {
cannam@218 3853 return !_reader.getPointerField(
cannam@218 3854 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
c@106 3855 }
c@106 3856 inline bool Basic::Builder::hasDescription() {
cannam@218 3857 return !_builder.getPointerField(
cannam@218 3858 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
c@106 3859 }
c@106 3860 inline ::capnp::Text::Reader Basic::Reader::getDescription() const {
cannam@218 3861 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 3862 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 3863 }
c@106 3864 inline ::capnp::Text::Builder Basic::Builder::getDescription() {
cannam@218 3865 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 3866 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 3867 }
c@106 3868 inline void Basic::Builder::setDescription( ::capnp::Text::Reader value) {
cannam@218 3869 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 3870 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
c@106 3871 }
c@106 3872 inline ::capnp::Text::Builder Basic::Builder::initDescription(unsigned int size) {
cannam@218 3873 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 3874 ::capnp::bounded<2>() * ::capnp::POINTERS), size);
c@106 3875 }
c@106 3876 inline void Basic::Builder::adoptDescription(
c@106 3877 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 3878 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 3879 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
c@106 3880 }
c@106 3881 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownDescription() {
cannam@218 3882 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 3883 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 3884 }
c@106 3885
c@106 3886 inline bool ParameterDescriptor::Reader::hasBasic() const {
cannam@218 3887 return !_reader.getPointerField(
cannam@218 3888 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 3889 }
c@106 3890 inline bool ParameterDescriptor::Builder::hasBasic() {
cannam@218 3891 return !_builder.getPointerField(
cannam@218 3892 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 3893 }
c@106 3894 inline ::piper::Basic::Reader ParameterDescriptor::Reader::getBasic() const {
cannam@218 3895 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(_reader.getPointerField(
cannam@218 3896 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 3897 }
c@106 3898 inline ::piper::Basic::Builder ParameterDescriptor::Builder::getBasic() {
cannam@218 3899 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(_builder.getPointerField(
cannam@218 3900 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 3901 }
c@106 3902 #if !CAPNP_LITE
c@106 3903 inline ::piper::Basic::Pipeline ParameterDescriptor::Pipeline::getBasic() {
c@106 3904 return ::piper::Basic::Pipeline(_typeless.getPointerField(0));
c@106 3905 }
c@106 3906 #endif // !CAPNP_LITE
c@106 3907 inline void ParameterDescriptor::Builder::setBasic( ::piper::Basic::Reader value) {
cannam@218 3908 ::capnp::_::PointerHelpers< ::piper::Basic>::set(_builder.getPointerField(
cannam@218 3909 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 3910 }
c@106 3911 inline ::piper::Basic::Builder ParameterDescriptor::Builder::initBasic() {
cannam@218 3912 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(_builder.getPointerField(
cannam@218 3913 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 3914 }
c@106 3915 inline void ParameterDescriptor::Builder::adoptBasic(
c@106 3916 ::capnp::Orphan< ::piper::Basic>&& value) {
cannam@218 3917 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(_builder.getPointerField(
cannam@218 3918 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 3919 }
c@106 3920 inline ::capnp::Orphan< ::piper::Basic> ParameterDescriptor::Builder::disownBasic() {
cannam@218 3921 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(_builder.getPointerField(
cannam@218 3922 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 3923 }
c@106 3924
c@106 3925 inline bool ParameterDescriptor::Reader::hasUnit() const {
cannam@218 3926 return !_reader.getPointerField(
cannam@218 3927 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 3928 }
c@106 3929 inline bool ParameterDescriptor::Builder::hasUnit() {
cannam@218 3930 return !_builder.getPointerField(
cannam@218 3931 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 3932 }
c@106 3933 inline ::capnp::Text::Reader ParameterDescriptor::Reader::getUnit() const {
cannam@218 3934 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 3935 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 3936 }
c@106 3937 inline ::capnp::Text::Builder ParameterDescriptor::Builder::getUnit() {
cannam@218 3938 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 3939 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 3940 }
c@106 3941 inline void ParameterDescriptor::Builder::setUnit( ::capnp::Text::Reader value) {
cannam@218 3942 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 3943 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 3944 }
c@106 3945 inline ::capnp::Text::Builder ParameterDescriptor::Builder::initUnit(unsigned int size) {
cannam@218 3946 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 3947 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
c@106 3948 }
c@106 3949 inline void ParameterDescriptor::Builder::adoptUnit(
c@106 3950 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 3951 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 3952 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 3953 }
c@106 3954 inline ::capnp::Orphan< ::capnp::Text> ParameterDescriptor::Builder::disownUnit() {
cannam@218 3955 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 3956 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 3957 }
c@106 3958
c@106 3959 inline float ParameterDescriptor::Reader::getMinValue() const {
c@106 3960 return _reader.getDataField<float>(
cannam@218 3961 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 3962 }
c@106 3963
c@106 3964 inline float ParameterDescriptor::Builder::getMinValue() {
c@106 3965 return _builder.getDataField<float>(
cannam@218 3966 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 3967 }
c@106 3968 inline void ParameterDescriptor::Builder::setMinValue(float value) {
c@106 3969 _builder.setDataField<float>(
cannam@218 3970 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 3971 }
c@106 3972
c@106 3973 inline float ParameterDescriptor::Reader::getMaxValue() const {
c@106 3974 return _reader.getDataField<float>(
cannam@218 3975 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 3976 }
c@106 3977
c@106 3978 inline float ParameterDescriptor::Builder::getMaxValue() {
c@106 3979 return _builder.getDataField<float>(
cannam@218 3980 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 3981 }
c@106 3982 inline void ParameterDescriptor::Builder::setMaxValue(float value) {
c@106 3983 _builder.setDataField<float>(
cannam@218 3984 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
c@106 3985 }
c@106 3986
c@106 3987 inline float ParameterDescriptor::Reader::getDefaultValue() const {
c@106 3988 return _reader.getDataField<float>(
cannam@218 3989 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 3990 }
c@106 3991
c@106 3992 inline float ParameterDescriptor::Builder::getDefaultValue() {
c@106 3993 return _builder.getDataField<float>(
cannam@218 3994 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 3995 }
c@106 3996 inline void ParameterDescriptor::Builder::setDefaultValue(float value) {
c@106 3997 _builder.setDataField<float>(
cannam@218 3998 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
c@106 3999 }
c@106 4000
c@106 4001 inline bool ParameterDescriptor::Reader::getIsQuantized() const {
c@106 4002 return _reader.getDataField<bool>(
cannam@218 4003 ::capnp::bounded<96>() * ::capnp::ELEMENTS);
c@106 4004 }
c@106 4005
c@106 4006 inline bool ParameterDescriptor::Builder::getIsQuantized() {
c@106 4007 return _builder.getDataField<bool>(
cannam@218 4008 ::capnp::bounded<96>() * ::capnp::ELEMENTS);
c@106 4009 }
c@106 4010 inline void ParameterDescriptor::Builder::setIsQuantized(bool value) {
c@106 4011 _builder.setDataField<bool>(
cannam@218 4012 ::capnp::bounded<96>() * ::capnp::ELEMENTS, value);
c@106 4013 }
c@106 4014
c@106 4015 inline float ParameterDescriptor::Reader::getQuantizeStep() const {
c@106 4016 return _reader.getDataField<float>(
cannam@218 4017 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
c@106 4018 }
c@106 4019
c@106 4020 inline float ParameterDescriptor::Builder::getQuantizeStep() {
c@106 4021 return _builder.getDataField<float>(
cannam@218 4022 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
c@106 4023 }
c@106 4024 inline void ParameterDescriptor::Builder::setQuantizeStep(float value) {
c@106 4025 _builder.setDataField<float>(
cannam@218 4026 ::capnp::bounded<4>() * ::capnp::ELEMENTS, value);
c@106 4027 }
c@106 4028
c@106 4029 inline bool ParameterDescriptor::Reader::hasValueNames() const {
cannam@218 4030 return !_reader.getPointerField(
cannam@218 4031 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
c@106 4032 }
c@106 4033 inline bool ParameterDescriptor::Builder::hasValueNames() {
cannam@218 4034 return !_builder.getPointerField(
cannam@218 4035 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
c@106 4036 }
c@106 4037 inline ::capnp::List< ::capnp::Text>::Reader ParameterDescriptor::Reader::getValueNames() const {
cannam@218 4038 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_reader.getPointerField(
cannam@218 4039 ::capnp::bounded<2>() * ::capnp::POINTERS),
c@106 4040 ::capnp::schemas::bp_f8fda10bef70a97d + 147);
c@106 4041 }
c@106 4042 inline ::capnp::List< ::capnp::Text>::Builder ParameterDescriptor::Builder::getValueNames() {
cannam@218 4043 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_builder.getPointerField(
cannam@218 4044 ::capnp::bounded<2>() * ::capnp::POINTERS),
c@106 4045 ::capnp::schemas::bp_f8fda10bef70a97d + 147);
c@106 4046 }
c@106 4047 inline void ParameterDescriptor::Builder::setValueNames( ::capnp::List< ::capnp::Text>::Reader value) {
cannam@218 4048 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 4049 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
c@106 4050 }
c@106 4051 inline void ParameterDescriptor::Builder::setValueNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
cannam@218 4052 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 4053 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
c@106 4054 }
c@106 4055 inline ::capnp::List< ::capnp::Text>::Builder ParameterDescriptor::Builder::initValueNames(unsigned int size) {
cannam@218 4056 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(_builder.getPointerField(
cannam@218 4057 ::capnp::bounded<2>() * ::capnp::POINTERS), size);
c@106 4058 }
c@106 4059 inline void ParameterDescriptor::Builder::adoptValueNames(
c@106 4060 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
cannam@218 4061 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(_builder.getPointerField(
cannam@218 4062 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
c@106 4063 }
c@106 4064 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ParameterDescriptor::Builder::disownValueNames() {
cannam@218 4065 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(_builder.getPointerField(
cannam@218 4066 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 4067 }
c@106 4068
cannam@220 4069 inline bool StaticOutputDescriptor::Reader::hasTypeURI() const {
cannam@220 4070 return !_reader.getPointerField(
cannam@220 4071 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
cannam@220 4072 }
cannam@220 4073 inline bool StaticOutputDescriptor::Builder::hasTypeURI() {
cannam@220 4074 return !_builder.getPointerField(
cannam@220 4075 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
cannam@220 4076 }
cannam@220 4077 inline ::capnp::Text::Reader StaticOutputDescriptor::Reader::getTypeURI() const {
cannam@220 4078 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@220 4079 ::capnp::bounded<0>() * ::capnp::POINTERS));
cannam@220 4080 }
cannam@220 4081 inline ::capnp::Text::Builder StaticOutputDescriptor::Builder::getTypeURI() {
cannam@220 4082 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@220 4083 ::capnp::bounded<0>() * ::capnp::POINTERS));
cannam@220 4084 }
cannam@220 4085 inline void StaticOutputDescriptor::Builder::setTypeURI( ::capnp::Text::Reader value) {
cannam@220 4086 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@220 4087 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
cannam@220 4088 }
cannam@220 4089 inline ::capnp::Text::Builder StaticOutputDescriptor::Builder::initTypeURI(unsigned int size) {
cannam@220 4090 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@220 4091 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
cannam@220 4092 }
cannam@220 4093 inline void StaticOutputDescriptor::Builder::adoptTypeURI(
cannam@220 4094 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@220 4095 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@220 4096 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
cannam@220 4097 }
cannam@220 4098 inline ::capnp::Orphan< ::capnp::Text> StaticOutputDescriptor::Builder::disownTypeURI() {
cannam@220 4099 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@220 4100 ::capnp::bounded<0>() * ::capnp::POINTERS));
cannam@220 4101 }
cannam@220 4102
c@106 4103 inline bool ConfiguredOutputDescriptor::Reader::hasUnit() const {
cannam@218 4104 return !_reader.getPointerField(
cannam@218 4105 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 4106 }
c@106 4107 inline bool ConfiguredOutputDescriptor::Builder::hasUnit() {
cannam@218 4108 return !_builder.getPointerField(
cannam@218 4109 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 4110 }
c@106 4111 inline ::capnp::Text::Reader ConfiguredOutputDescriptor::Reader::getUnit() const {
cannam@218 4112 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 4113 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4114 }
c@106 4115 inline ::capnp::Text::Builder ConfiguredOutputDescriptor::Builder::getUnit() {
cannam@218 4116 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 4117 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4118 }
c@106 4119 inline void ConfiguredOutputDescriptor::Builder::setUnit( ::capnp::Text::Reader value) {
cannam@218 4120 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 4121 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 4122 }
c@106 4123 inline ::capnp::Text::Builder ConfiguredOutputDescriptor::Builder::initUnit(unsigned int size) {
cannam@218 4124 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 4125 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 4126 }
c@106 4127 inline void ConfiguredOutputDescriptor::Builder::adoptUnit(
c@106 4128 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 4129 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 4130 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 4131 }
c@106 4132 inline ::capnp::Orphan< ::capnp::Text> ConfiguredOutputDescriptor::Builder::disownUnit() {
cannam@218 4133 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 4134 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4135 }
c@106 4136
c@106 4137 inline bool ConfiguredOutputDescriptor::Reader::getHasFixedBinCount() const {
c@106 4138 return _reader.getDataField<bool>(
cannam@218 4139 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 4140 }
c@106 4141
c@106 4142 inline bool ConfiguredOutputDescriptor::Builder::getHasFixedBinCount() {
c@106 4143 return _builder.getDataField<bool>(
cannam@218 4144 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 4145 }
c@106 4146 inline void ConfiguredOutputDescriptor::Builder::setHasFixedBinCount(bool value) {
c@106 4147 _builder.setDataField<bool>(
cannam@218 4148 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 4149 }
c@106 4150
c@106 4151 inline ::int32_t ConfiguredOutputDescriptor::Reader::getBinCount() const {
c@106 4152 return _reader.getDataField< ::int32_t>(
cannam@218 4153 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4154 }
c@106 4155
c@106 4156 inline ::int32_t ConfiguredOutputDescriptor::Builder::getBinCount() {
c@106 4157 return _builder.getDataField< ::int32_t>(
cannam@218 4158 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4159 }
c@106 4160 inline void ConfiguredOutputDescriptor::Builder::setBinCount( ::int32_t value) {
c@106 4161 _builder.setDataField< ::int32_t>(
cannam@218 4162 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
c@106 4163 }
c@106 4164
c@106 4165 inline bool ConfiguredOutputDescriptor::Reader::hasBinNames() const {
cannam@218 4166 return !_reader.getPointerField(
cannam@218 4167 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 4168 }
c@106 4169 inline bool ConfiguredOutputDescriptor::Builder::hasBinNames() {
cannam@218 4170 return !_builder.getPointerField(
cannam@218 4171 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 4172 }
c@106 4173 inline ::capnp::List< ::capnp::Text>::Reader ConfiguredOutputDescriptor::Reader::getBinNames() const {
cannam@218 4174 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_reader.getPointerField(
cannam@218 4175 ::capnp::bounded<1>() * ::capnp::POINTERS),
c@106 4176 ::capnp::schemas::bp_b2d0c825aac8249c + 142);
c@106 4177 }
c@106 4178 inline ::capnp::List< ::capnp::Text>::Builder ConfiguredOutputDescriptor::Builder::getBinNames() {
cannam@218 4179 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_builder.getPointerField(
cannam@218 4180 ::capnp::bounded<1>() * ::capnp::POINTERS),
c@106 4181 ::capnp::schemas::bp_b2d0c825aac8249c + 142);
c@106 4182 }
c@106 4183 inline void ConfiguredOutputDescriptor::Builder::setBinNames( ::capnp::List< ::capnp::Text>::Reader value) {
cannam@218 4184 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 4185 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 4186 }
c@106 4187 inline void ConfiguredOutputDescriptor::Builder::setBinNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
cannam@218 4188 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 4189 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 4190 }
c@106 4191 inline ::capnp::List< ::capnp::Text>::Builder ConfiguredOutputDescriptor::Builder::initBinNames(unsigned int size) {
cannam@218 4192 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(_builder.getPointerField(
cannam@218 4193 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
c@106 4194 }
c@106 4195 inline void ConfiguredOutputDescriptor::Builder::adoptBinNames(
c@106 4196 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
cannam@218 4197 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(_builder.getPointerField(
cannam@218 4198 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 4199 }
c@106 4200 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ConfiguredOutputDescriptor::Builder::disownBinNames() {
cannam@218 4201 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(_builder.getPointerField(
cannam@218 4202 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4203 }
c@106 4204
c@106 4205 inline bool ConfiguredOutputDescriptor::Reader::getHasKnownExtents() const {
c@106 4206 return _reader.getDataField<bool>(
cannam@218 4207 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4208 }
c@106 4209
c@106 4210 inline bool ConfiguredOutputDescriptor::Builder::getHasKnownExtents() {
c@106 4211 return _builder.getDataField<bool>(
cannam@218 4212 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4213 }
c@106 4214 inline void ConfiguredOutputDescriptor::Builder::setHasKnownExtents(bool value) {
c@106 4215 _builder.setDataField<bool>(
cannam@218 4216 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
c@106 4217 }
c@106 4218
c@106 4219 inline float ConfiguredOutputDescriptor::Reader::getMinValue() const {
c@106 4220 return _reader.getDataField<float>(
cannam@218 4221 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 4222 }
c@106 4223
c@106 4224 inline float ConfiguredOutputDescriptor::Builder::getMinValue() {
c@106 4225 return _builder.getDataField<float>(
cannam@218 4226 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 4227 }
c@106 4228 inline void ConfiguredOutputDescriptor::Builder::setMinValue(float value) {
c@106 4229 _builder.setDataField<float>(
cannam@218 4230 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
c@106 4231 }
c@106 4232
c@106 4233 inline float ConfiguredOutputDescriptor::Reader::getMaxValue() const {
c@106 4234 return _reader.getDataField<float>(
cannam@218 4235 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
c@106 4236 }
c@106 4237
c@106 4238 inline float ConfiguredOutputDescriptor::Builder::getMaxValue() {
c@106 4239 return _builder.getDataField<float>(
cannam@218 4240 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
c@106 4241 }
c@106 4242 inline void ConfiguredOutputDescriptor::Builder::setMaxValue(float value) {
c@106 4243 _builder.setDataField<float>(
cannam@218 4244 ::capnp::bounded<3>() * ::capnp::ELEMENTS, value);
c@106 4245 }
c@106 4246
c@106 4247 inline bool ConfiguredOutputDescriptor::Reader::getIsQuantized() const {
c@106 4248 return _reader.getDataField<bool>(
cannam@218 4249 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 4250 }
c@106 4251
c@106 4252 inline bool ConfiguredOutputDescriptor::Builder::getIsQuantized() {
c@106 4253 return _builder.getDataField<bool>(
cannam@218 4254 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 4255 }
c@106 4256 inline void ConfiguredOutputDescriptor::Builder::setIsQuantized(bool value) {
c@106 4257 _builder.setDataField<bool>(
cannam@218 4258 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
c@106 4259 }
c@106 4260
c@106 4261 inline float ConfiguredOutputDescriptor::Reader::getQuantizeStep() const {
c@106 4262 return _reader.getDataField<float>(
cannam@218 4263 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
c@106 4264 }
c@106 4265
c@106 4266 inline float ConfiguredOutputDescriptor::Builder::getQuantizeStep() {
c@106 4267 return _builder.getDataField<float>(
cannam@218 4268 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
c@106 4269 }
c@106 4270 inline void ConfiguredOutputDescriptor::Builder::setQuantizeStep(float value) {
c@106 4271 _builder.setDataField<float>(
cannam@218 4272 ::capnp::bounded<4>() * ::capnp::ELEMENTS, value);
c@106 4273 }
c@106 4274
c@106 4275 inline ::piper::SampleType ConfiguredOutputDescriptor::Reader::getSampleType() const {
c@106 4276 return _reader.getDataField< ::piper::SampleType>(
cannam@218 4277 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4278 }
c@106 4279
c@106 4280 inline ::piper::SampleType ConfiguredOutputDescriptor::Builder::getSampleType() {
c@106 4281 return _builder.getDataField< ::piper::SampleType>(
cannam@218 4282 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4283 }
c@106 4284 inline void ConfiguredOutputDescriptor::Builder::setSampleType( ::piper::SampleType value) {
c@106 4285 _builder.setDataField< ::piper::SampleType>(
cannam@218 4286 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
c@106 4287 }
c@106 4288
c@106 4289 inline float ConfiguredOutputDescriptor::Reader::getSampleRate() const {
c@106 4290 return _reader.getDataField<float>(
cannam@218 4291 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
c@106 4292 }
c@106 4293
c@106 4294 inline float ConfiguredOutputDescriptor::Builder::getSampleRate() {
c@106 4295 return _builder.getDataField<float>(
cannam@218 4296 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
c@106 4297 }
c@106 4298 inline void ConfiguredOutputDescriptor::Builder::setSampleRate(float value) {
c@106 4299 _builder.setDataField<float>(
cannam@218 4300 ::capnp::bounded<5>() * ::capnp::ELEMENTS, value);
c@106 4301 }
c@106 4302
c@106 4303 inline bool ConfiguredOutputDescriptor::Reader::getHasDuration() const {
c@106 4304 return _reader.getDataField<bool>(
cannam@218 4305 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
c@106 4306 }
c@106 4307
c@106 4308 inline bool ConfiguredOutputDescriptor::Builder::getHasDuration() {
c@106 4309 return _builder.getDataField<bool>(
cannam@218 4310 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
c@106 4311 }
c@106 4312 inline void ConfiguredOutputDescriptor::Builder::setHasDuration(bool value) {
c@106 4313 _builder.setDataField<bool>(
cannam@218 4314 ::capnp::bounded<3>() * ::capnp::ELEMENTS, value);
c@106 4315 }
c@106 4316
c@106 4317 inline bool OutputDescriptor::Reader::hasBasic() const {
cannam@218 4318 return !_reader.getPointerField(
cannam@218 4319 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 4320 }
c@106 4321 inline bool OutputDescriptor::Builder::hasBasic() {
cannam@218 4322 return !_builder.getPointerField(
cannam@218 4323 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 4324 }
c@106 4325 inline ::piper::Basic::Reader OutputDescriptor::Reader::getBasic() const {
cannam@218 4326 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(_reader.getPointerField(
cannam@218 4327 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4328 }
c@106 4329 inline ::piper::Basic::Builder OutputDescriptor::Builder::getBasic() {
cannam@218 4330 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(_builder.getPointerField(
cannam@218 4331 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4332 }
c@106 4333 #if !CAPNP_LITE
c@106 4334 inline ::piper::Basic::Pipeline OutputDescriptor::Pipeline::getBasic() {
c@106 4335 return ::piper::Basic::Pipeline(_typeless.getPointerField(0));
c@106 4336 }
c@106 4337 #endif // !CAPNP_LITE
c@106 4338 inline void OutputDescriptor::Builder::setBasic( ::piper::Basic::Reader value) {
cannam@218 4339 ::capnp::_::PointerHelpers< ::piper::Basic>::set(_builder.getPointerField(
cannam@218 4340 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 4341 }
c@106 4342 inline ::piper::Basic::Builder OutputDescriptor::Builder::initBasic() {
cannam@218 4343 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(_builder.getPointerField(
cannam@218 4344 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4345 }
c@106 4346 inline void OutputDescriptor::Builder::adoptBasic(
c@106 4347 ::capnp::Orphan< ::piper::Basic>&& value) {
cannam@218 4348 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(_builder.getPointerField(
cannam@218 4349 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 4350 }
c@106 4351 inline ::capnp::Orphan< ::piper::Basic> OutputDescriptor::Builder::disownBasic() {
cannam@218 4352 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(_builder.getPointerField(
cannam@218 4353 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4354 }
c@106 4355
c@106 4356 inline bool OutputDescriptor::Reader::hasConfigured() const {
cannam@218 4357 return !_reader.getPointerField(
cannam@218 4358 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 4359 }
c@106 4360 inline bool OutputDescriptor::Builder::hasConfigured() {
cannam@218 4361 return !_builder.getPointerField(
cannam@218 4362 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 4363 }
c@106 4364 inline ::piper::ConfiguredOutputDescriptor::Reader OutputDescriptor::Reader::getConfigured() const {
cannam@218 4365 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::get(_reader.getPointerField(
cannam@218 4366 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4367 }
c@106 4368 inline ::piper::ConfiguredOutputDescriptor::Builder OutputDescriptor::Builder::getConfigured() {
cannam@218 4369 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::get(_builder.getPointerField(
cannam@218 4370 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4371 }
c@106 4372 #if !CAPNP_LITE
c@106 4373 inline ::piper::ConfiguredOutputDescriptor::Pipeline OutputDescriptor::Pipeline::getConfigured() {
c@106 4374 return ::piper::ConfiguredOutputDescriptor::Pipeline(_typeless.getPointerField(1));
c@106 4375 }
c@106 4376 #endif // !CAPNP_LITE
c@106 4377 inline void OutputDescriptor::Builder::setConfigured( ::piper::ConfiguredOutputDescriptor::Reader value) {
cannam@218 4378 ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::set(_builder.getPointerField(
cannam@218 4379 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 4380 }
c@106 4381 inline ::piper::ConfiguredOutputDescriptor::Builder OutputDescriptor::Builder::initConfigured() {
cannam@218 4382 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::init(_builder.getPointerField(
cannam@218 4383 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4384 }
c@106 4385 inline void OutputDescriptor::Builder::adoptConfigured(
c@106 4386 ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor>&& value) {
cannam@218 4387 ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::adopt(_builder.getPointerField(
cannam@218 4388 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 4389 }
c@106 4390 inline ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor> OutputDescriptor::Builder::disownConfigured() {
cannam@218 4391 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::disown(_builder.getPointerField(
cannam@218 4392 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4393 }
c@106 4394
cannam@220 4395 inline bool OutputDescriptor::Reader::hasStatic() const {
cannam@220 4396 return !_reader.getPointerField(
cannam@220 4397 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
cannam@220 4398 }
cannam@220 4399 inline bool OutputDescriptor::Builder::hasStatic() {
cannam@220 4400 return !_builder.getPointerField(
cannam@220 4401 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
cannam@220 4402 }
cannam@220 4403 inline ::piper::StaticOutputDescriptor::Reader OutputDescriptor::Reader::getStatic() const {
cannam@220 4404 return ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::get(_reader.getPointerField(
cannam@220 4405 ::capnp::bounded<2>() * ::capnp::POINTERS));
cannam@220 4406 }
cannam@220 4407 inline ::piper::StaticOutputDescriptor::Builder OutputDescriptor::Builder::getStatic() {
cannam@220 4408 return ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::get(_builder.getPointerField(
cannam@220 4409 ::capnp::bounded<2>() * ::capnp::POINTERS));
cannam@220 4410 }
cannam@220 4411 #if !CAPNP_LITE
cannam@220 4412 inline ::piper::StaticOutputDescriptor::Pipeline OutputDescriptor::Pipeline::getStatic() {
cannam@220 4413 return ::piper::StaticOutputDescriptor::Pipeline(_typeless.getPointerField(2));
cannam@220 4414 }
cannam@220 4415 #endif // !CAPNP_LITE
cannam@220 4416 inline void OutputDescriptor::Builder::setStatic( ::piper::StaticOutputDescriptor::Reader value) {
cannam@220 4417 ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::set(_builder.getPointerField(
cannam@220 4418 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
cannam@220 4419 }
cannam@220 4420 inline ::piper::StaticOutputDescriptor::Builder OutputDescriptor::Builder::initStatic() {
cannam@220 4421 return ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::init(_builder.getPointerField(
cannam@220 4422 ::capnp::bounded<2>() * ::capnp::POINTERS));
cannam@220 4423 }
cannam@220 4424 inline void OutputDescriptor::Builder::adoptStatic(
cannam@220 4425 ::capnp::Orphan< ::piper::StaticOutputDescriptor>&& value) {
cannam@220 4426 ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::adopt(_builder.getPointerField(
cannam@220 4427 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
cannam@220 4428 }
cannam@220 4429 inline ::capnp::Orphan< ::piper::StaticOutputDescriptor> OutputDescriptor::Builder::disownStatic() {
cannam@220 4430 return ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::disown(_builder.getPointerField(
cannam@220 4431 ::capnp::bounded<2>() * ::capnp::POINTERS));
cannam@220 4432 }
cannam@220 4433
c@106 4434 inline bool ExtractorStaticData::Reader::hasKey() const {
cannam@218 4435 return !_reader.getPointerField(
cannam@218 4436 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 4437 }
c@106 4438 inline bool ExtractorStaticData::Builder::hasKey() {
cannam@218 4439 return !_builder.getPointerField(
cannam@218 4440 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 4441 }
c@106 4442 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getKey() const {
cannam@218 4443 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 4444 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4445 }
c@106 4446 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getKey() {
cannam@218 4447 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 4448 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4449 }
c@106 4450 inline void ExtractorStaticData::Builder::setKey( ::capnp::Text::Reader value) {
cannam@218 4451 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 4452 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 4453 }
c@106 4454 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initKey(unsigned int size) {
cannam@218 4455 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 4456 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 4457 }
c@106 4458 inline void ExtractorStaticData::Builder::adoptKey(
c@106 4459 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 4460 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 4461 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 4462 }
c@106 4463 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownKey() {
cannam@218 4464 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 4465 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4466 }
c@106 4467
c@106 4468 inline bool ExtractorStaticData::Reader::hasBasic() const {
cannam@218 4469 return !_reader.getPointerField(
cannam@218 4470 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 4471 }
c@106 4472 inline bool ExtractorStaticData::Builder::hasBasic() {
cannam@218 4473 return !_builder.getPointerField(
cannam@218 4474 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 4475 }
c@106 4476 inline ::piper::Basic::Reader ExtractorStaticData::Reader::getBasic() const {
cannam@218 4477 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(_reader.getPointerField(
cannam@218 4478 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4479 }
c@106 4480 inline ::piper::Basic::Builder ExtractorStaticData::Builder::getBasic() {
cannam@218 4481 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(_builder.getPointerField(
cannam@218 4482 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4483 }
c@106 4484 #if !CAPNP_LITE
c@106 4485 inline ::piper::Basic::Pipeline ExtractorStaticData::Pipeline::getBasic() {
c@106 4486 return ::piper::Basic::Pipeline(_typeless.getPointerField(1));
c@106 4487 }
c@106 4488 #endif // !CAPNP_LITE
c@106 4489 inline void ExtractorStaticData::Builder::setBasic( ::piper::Basic::Reader value) {
cannam@218 4490 ::capnp::_::PointerHelpers< ::piper::Basic>::set(_builder.getPointerField(
cannam@218 4491 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 4492 }
c@106 4493 inline ::piper::Basic::Builder ExtractorStaticData::Builder::initBasic() {
cannam@218 4494 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(_builder.getPointerField(
cannam@218 4495 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4496 }
c@106 4497 inline void ExtractorStaticData::Builder::adoptBasic(
c@106 4498 ::capnp::Orphan< ::piper::Basic>&& value) {
cannam@218 4499 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(_builder.getPointerField(
cannam@218 4500 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 4501 }
c@106 4502 inline ::capnp::Orphan< ::piper::Basic> ExtractorStaticData::Builder::disownBasic() {
cannam@218 4503 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(_builder.getPointerField(
cannam@218 4504 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4505 }
c@106 4506
c@106 4507 inline bool ExtractorStaticData::Reader::hasMaker() const {
cannam@218 4508 return !_reader.getPointerField(
cannam@218 4509 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
c@106 4510 }
c@106 4511 inline bool ExtractorStaticData::Builder::hasMaker() {
cannam@218 4512 return !_builder.getPointerField(
cannam@218 4513 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
c@106 4514 }
c@106 4515 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getMaker() const {
cannam@218 4516 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 4517 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 4518 }
c@106 4519 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getMaker() {
cannam@218 4520 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 4521 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 4522 }
c@106 4523 inline void ExtractorStaticData::Builder::setMaker( ::capnp::Text::Reader value) {
cannam@218 4524 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 4525 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
c@106 4526 }
c@106 4527 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initMaker(unsigned int size) {
cannam@218 4528 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 4529 ::capnp::bounded<2>() * ::capnp::POINTERS), size);
c@106 4530 }
c@106 4531 inline void ExtractorStaticData::Builder::adoptMaker(
c@106 4532 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 4533 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 4534 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
c@106 4535 }
c@106 4536 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownMaker() {
cannam@218 4537 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 4538 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 4539 }
c@106 4540
cannam@216 4541 inline bool ExtractorStaticData::Reader::hasRights() const {
cannam@218 4542 return !_reader.getPointerField(
cannam@218 4543 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
c@106 4544 }
cannam@216 4545 inline bool ExtractorStaticData::Builder::hasRights() {
cannam@218 4546 return !_builder.getPointerField(
cannam@218 4547 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
c@106 4548 }
cannam@216 4549 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getRights() const {
cannam@218 4550 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 4551 ::capnp::bounded<3>() * ::capnp::POINTERS));
c@106 4552 }
cannam@216 4553 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getRights() {
cannam@218 4554 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 4555 ::capnp::bounded<3>() * ::capnp::POINTERS));
c@106 4556 }
cannam@216 4557 inline void ExtractorStaticData::Builder::setRights( ::capnp::Text::Reader value) {
cannam@218 4558 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 4559 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
c@106 4560 }
cannam@216 4561 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initRights(unsigned int size) {
cannam@218 4562 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 4563 ::capnp::bounded<3>() * ::capnp::POINTERS), size);
c@106 4564 }
cannam@216 4565 inline void ExtractorStaticData::Builder::adoptRights(
c@106 4566 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 4567 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 4568 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
c@106 4569 }
cannam@216 4570 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownRights() {
cannam@218 4571 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 4572 ::capnp::bounded<3>() * ::capnp::POINTERS));
c@106 4573 }
c@106 4574
c@106 4575 inline ::int32_t ExtractorStaticData::Reader::getVersion() const {
c@106 4576 return _reader.getDataField< ::int32_t>(
cannam@218 4577 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 4578 }
c@106 4579
c@106 4580 inline ::int32_t ExtractorStaticData::Builder::getVersion() {
c@106 4581 return _builder.getDataField< ::int32_t>(
cannam@218 4582 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 4583 }
c@106 4584 inline void ExtractorStaticData::Builder::setVersion( ::int32_t value) {
c@106 4585 _builder.setDataField< ::int32_t>(
cannam@218 4586 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 4587 }
c@106 4588
c@106 4589 inline bool ExtractorStaticData::Reader::hasCategory() const {
cannam@218 4590 return !_reader.getPointerField(
cannam@218 4591 ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
c@106 4592 }
c@106 4593 inline bool ExtractorStaticData::Builder::hasCategory() {
cannam@218 4594 return !_builder.getPointerField(
cannam@218 4595 ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
c@106 4596 }
c@106 4597 inline ::capnp::List< ::capnp::Text>::Reader ExtractorStaticData::Reader::getCategory() const {
cannam@218 4598 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_reader.getPointerField(
cannam@218 4599 ::capnp::bounded<4>() * ::capnp::POINTERS));
c@106 4600 }
c@106 4601 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::getCategory() {
cannam@218 4602 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_builder.getPointerField(
cannam@218 4603 ::capnp::bounded<4>() * ::capnp::POINTERS));
c@106 4604 }
c@106 4605 inline void ExtractorStaticData::Builder::setCategory( ::capnp::List< ::capnp::Text>::Reader value) {
cannam@218 4606 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 4607 ::capnp::bounded<4>() * ::capnp::POINTERS), value);
c@106 4608 }
c@106 4609 inline void ExtractorStaticData::Builder::setCategory(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
cannam@218 4610 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 4611 ::capnp::bounded<4>() * ::capnp::POINTERS), value);
c@106 4612 }
c@106 4613 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::initCategory(unsigned int size) {
cannam@218 4614 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(_builder.getPointerField(
cannam@218 4615 ::capnp::bounded<4>() * ::capnp::POINTERS), size);
c@106 4616 }
c@106 4617 inline void ExtractorStaticData::Builder::adoptCategory(
c@106 4618 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
cannam@218 4619 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(_builder.getPointerField(
cannam@218 4620 ::capnp::bounded<4>() * ::capnp::POINTERS), kj::mv(value));
c@106 4621 }
c@106 4622 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ExtractorStaticData::Builder::disownCategory() {
cannam@218 4623 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(_builder.getPointerField(
cannam@218 4624 ::capnp::bounded<4>() * ::capnp::POINTERS));
c@106 4625 }
c@106 4626
c@106 4627 inline ::int32_t ExtractorStaticData::Reader::getMinChannelCount() const {
c@106 4628 return _reader.getDataField< ::int32_t>(
cannam@218 4629 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4630 }
c@106 4631
c@106 4632 inline ::int32_t ExtractorStaticData::Builder::getMinChannelCount() {
c@106 4633 return _builder.getDataField< ::int32_t>(
cannam@218 4634 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4635 }
c@106 4636 inline void ExtractorStaticData::Builder::setMinChannelCount( ::int32_t value) {
c@106 4637 _builder.setDataField< ::int32_t>(
cannam@218 4638 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
c@106 4639 }
c@106 4640
c@106 4641 inline ::int32_t ExtractorStaticData::Reader::getMaxChannelCount() const {
c@106 4642 return _reader.getDataField< ::int32_t>(
cannam@218 4643 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 4644 }
c@106 4645
c@106 4646 inline ::int32_t ExtractorStaticData::Builder::getMaxChannelCount() {
c@106 4647 return _builder.getDataField< ::int32_t>(
cannam@218 4648 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 4649 }
c@106 4650 inline void ExtractorStaticData::Builder::setMaxChannelCount( ::int32_t value) {
c@106 4651 _builder.setDataField< ::int32_t>(
cannam@218 4652 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
c@106 4653 }
c@106 4654
c@106 4655 inline bool ExtractorStaticData::Reader::hasParameters() const {
cannam@218 4656 return !_reader.getPointerField(
cannam@218 4657 ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
c@106 4658 }
c@106 4659 inline bool ExtractorStaticData::Builder::hasParameters() {
cannam@218 4660 return !_builder.getPointerField(
cannam@218 4661 ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
c@106 4662 }
c@106 4663 inline ::capnp::List< ::piper::ParameterDescriptor>::Reader ExtractorStaticData::Reader::getParameters() const {
cannam@218 4664 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::get(_reader.getPointerField(
cannam@218 4665 ::capnp::bounded<5>() * ::capnp::POINTERS));
c@106 4666 }
c@106 4667 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder ExtractorStaticData::Builder::getParameters() {
cannam@218 4668 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::get(_builder.getPointerField(
cannam@218 4669 ::capnp::bounded<5>() * ::capnp::POINTERS));
c@106 4670 }
c@106 4671 inline void ExtractorStaticData::Builder::setParameters( ::capnp::List< ::piper::ParameterDescriptor>::Reader value) {
cannam@218 4672 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::set(_builder.getPointerField(
cannam@218 4673 ::capnp::bounded<5>() * ::capnp::POINTERS), value);
c@106 4674 }
c@106 4675 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder ExtractorStaticData::Builder::initParameters(unsigned int size) {
cannam@218 4676 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::init(_builder.getPointerField(
cannam@218 4677 ::capnp::bounded<5>() * ::capnp::POINTERS), size);
c@106 4678 }
c@106 4679 inline void ExtractorStaticData::Builder::adoptParameters(
c@106 4680 ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>>&& value) {
cannam@218 4681 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::adopt(_builder.getPointerField(
cannam@218 4682 ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
c@106 4683 }
c@106 4684 inline ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>> ExtractorStaticData::Builder::disownParameters() {
cannam@218 4685 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::disown(_builder.getPointerField(
cannam@218 4686 ::capnp::bounded<5>() * ::capnp::POINTERS));
c@106 4687 }
c@106 4688
c@106 4689 inline bool ExtractorStaticData::Reader::hasPrograms() const {
cannam@218 4690 return !_reader.getPointerField(
cannam@218 4691 ::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
c@106 4692 }
c@106 4693 inline bool ExtractorStaticData::Builder::hasPrograms() {
cannam@218 4694 return !_builder.getPointerField(
cannam@218 4695 ::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
c@106 4696 }
c@106 4697 inline ::capnp::List< ::capnp::Text>::Reader ExtractorStaticData::Reader::getPrograms() const {
cannam@218 4698 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_reader.getPointerField(
cannam@218 4699 ::capnp::bounded<6>() * ::capnp::POINTERS));
c@106 4700 }
c@106 4701 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::getPrograms() {
cannam@218 4702 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_builder.getPointerField(
cannam@218 4703 ::capnp::bounded<6>() * ::capnp::POINTERS));
c@106 4704 }
c@106 4705 inline void ExtractorStaticData::Builder::setPrograms( ::capnp::List< ::capnp::Text>::Reader value) {
cannam@218 4706 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 4707 ::capnp::bounded<6>() * ::capnp::POINTERS), value);
c@106 4708 }
c@106 4709 inline void ExtractorStaticData::Builder::setPrograms(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
cannam@218 4710 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 4711 ::capnp::bounded<6>() * ::capnp::POINTERS), value);
c@106 4712 }
c@106 4713 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::initPrograms(unsigned int size) {
cannam@218 4714 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(_builder.getPointerField(
cannam@218 4715 ::capnp::bounded<6>() * ::capnp::POINTERS), size);
c@106 4716 }
c@106 4717 inline void ExtractorStaticData::Builder::adoptPrograms(
c@106 4718 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
cannam@218 4719 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(_builder.getPointerField(
cannam@218 4720 ::capnp::bounded<6>() * ::capnp::POINTERS), kj::mv(value));
c@106 4721 }
c@106 4722 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ExtractorStaticData::Builder::disownPrograms() {
cannam@218 4723 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(_builder.getPointerField(
cannam@218 4724 ::capnp::bounded<6>() * ::capnp::POINTERS));
c@106 4725 }
c@106 4726
c@106 4727 inline ::piper::InputDomain ExtractorStaticData::Reader::getInputDomain() const {
c@106 4728 return _reader.getDataField< ::piper::InputDomain>(
cannam@218 4729 ::capnp::bounded<6>() * ::capnp::ELEMENTS);
c@106 4730 }
c@106 4731
c@106 4732 inline ::piper::InputDomain ExtractorStaticData::Builder::getInputDomain() {
c@106 4733 return _builder.getDataField< ::piper::InputDomain>(
cannam@218 4734 ::capnp::bounded<6>() * ::capnp::ELEMENTS);
c@106 4735 }
c@106 4736 inline void ExtractorStaticData::Builder::setInputDomain( ::piper::InputDomain value) {
c@106 4737 _builder.setDataField< ::piper::InputDomain>(
cannam@218 4738 ::capnp::bounded<6>() * ::capnp::ELEMENTS, value);
c@106 4739 }
c@106 4740
c@106 4741 inline bool ExtractorStaticData::Reader::hasBasicOutputInfo() const {
cannam@218 4742 return !_reader.getPointerField(
cannam@218 4743 ::capnp::bounded<7>() * ::capnp::POINTERS).isNull();
c@106 4744 }
c@106 4745 inline bool ExtractorStaticData::Builder::hasBasicOutputInfo() {
cannam@218 4746 return !_builder.getPointerField(
cannam@218 4747 ::capnp::bounded<7>() * ::capnp::POINTERS).isNull();
c@106 4748 }
c@106 4749 inline ::capnp::List< ::piper::Basic>::Reader ExtractorStaticData::Reader::getBasicOutputInfo() const {
cannam@218 4750 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::get(_reader.getPointerField(
cannam@218 4751 ::capnp::bounded<7>() * ::capnp::POINTERS));
c@106 4752 }
c@106 4753 inline ::capnp::List< ::piper::Basic>::Builder ExtractorStaticData::Builder::getBasicOutputInfo() {
cannam@218 4754 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::get(_builder.getPointerField(
cannam@218 4755 ::capnp::bounded<7>() * ::capnp::POINTERS));
c@106 4756 }
c@106 4757 inline void ExtractorStaticData::Builder::setBasicOutputInfo( ::capnp::List< ::piper::Basic>::Reader value) {
cannam@218 4758 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::set(_builder.getPointerField(
cannam@218 4759 ::capnp::bounded<7>() * ::capnp::POINTERS), value);
c@106 4760 }
c@106 4761 inline ::capnp::List< ::piper::Basic>::Builder ExtractorStaticData::Builder::initBasicOutputInfo(unsigned int size) {
cannam@218 4762 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::init(_builder.getPointerField(
cannam@218 4763 ::capnp::bounded<7>() * ::capnp::POINTERS), size);
c@106 4764 }
c@106 4765 inline void ExtractorStaticData::Builder::adoptBasicOutputInfo(
c@106 4766 ::capnp::Orphan< ::capnp::List< ::piper::Basic>>&& value) {
cannam@218 4767 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::adopt(_builder.getPointerField(
cannam@218 4768 ::capnp::bounded<7>() * ::capnp::POINTERS), kj::mv(value));
c@106 4769 }
c@106 4770 inline ::capnp::Orphan< ::capnp::List< ::piper::Basic>> ExtractorStaticData::Builder::disownBasicOutputInfo() {
cannam@218 4771 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::disown(_builder.getPointerField(
cannam@218 4772 ::capnp::bounded<7>() * ::capnp::POINTERS));
c@106 4773 }
c@106 4774
cannam@220 4775 inline bool ExtractorStaticData::Reader::hasStaticOutputInfo() const {
cannam@220 4776 return !_reader.getPointerField(
cannam@220 4777 ::capnp::bounded<8>() * ::capnp::POINTERS).isNull();
cannam@220 4778 }
cannam@220 4779 inline bool ExtractorStaticData::Builder::hasStaticOutputInfo() {
cannam@220 4780 return !_builder.getPointerField(
cannam@220 4781 ::capnp::bounded<8>() * ::capnp::POINTERS).isNull();
cannam@220 4782 }
cannam@220 4783 inline ::capnp::List< ::piper::ExtractorStaticData::SOPair>::Reader ExtractorStaticData::Reader::getStaticOutputInfo() const {
cannam@220 4784 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData::SOPair>>::get(_reader.getPointerField(
cannam@220 4785 ::capnp::bounded<8>() * ::capnp::POINTERS));
cannam@220 4786 }
cannam@220 4787 inline ::capnp::List< ::piper::ExtractorStaticData::SOPair>::Builder ExtractorStaticData::Builder::getStaticOutputInfo() {
cannam@220 4788 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData::SOPair>>::get(_builder.getPointerField(
cannam@220 4789 ::capnp::bounded<8>() * ::capnp::POINTERS));
cannam@220 4790 }
cannam@220 4791 inline void ExtractorStaticData::Builder::setStaticOutputInfo( ::capnp::List< ::piper::ExtractorStaticData::SOPair>::Reader value) {
cannam@220 4792 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData::SOPair>>::set(_builder.getPointerField(
cannam@220 4793 ::capnp::bounded<8>() * ::capnp::POINTERS), value);
cannam@220 4794 }
cannam@220 4795 inline ::capnp::List< ::piper::ExtractorStaticData::SOPair>::Builder ExtractorStaticData::Builder::initStaticOutputInfo(unsigned int size) {
cannam@220 4796 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData::SOPair>>::init(_builder.getPointerField(
cannam@220 4797 ::capnp::bounded<8>() * ::capnp::POINTERS), size);
cannam@220 4798 }
cannam@220 4799 inline void ExtractorStaticData::Builder::adoptStaticOutputInfo(
cannam@220 4800 ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData::SOPair>>&& value) {
cannam@220 4801 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData::SOPair>>::adopt(_builder.getPointerField(
cannam@220 4802 ::capnp::bounded<8>() * ::capnp::POINTERS), kj::mv(value));
cannam@220 4803 }
cannam@220 4804 inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData::SOPair>> ExtractorStaticData::Builder::disownStaticOutputInfo() {
cannam@220 4805 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData::SOPair>>::disown(_builder.getPointerField(
cannam@220 4806 ::capnp::bounded<8>() * ::capnp::POINTERS));
cannam@220 4807 }
cannam@220 4808
cannam@220 4809 inline bool ExtractorStaticData::SOPair::Reader::hasOutput() const {
cannam@220 4810 return !_reader.getPointerField(
cannam@220 4811 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
cannam@220 4812 }
cannam@220 4813 inline bool ExtractorStaticData::SOPair::Builder::hasOutput() {
cannam@220 4814 return !_builder.getPointerField(
cannam@220 4815 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
cannam@220 4816 }
cannam@220 4817 inline ::capnp::Text::Reader ExtractorStaticData::SOPair::Reader::getOutput() const {
cannam@220 4818 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@220 4819 ::capnp::bounded<0>() * ::capnp::POINTERS));
cannam@220 4820 }
cannam@220 4821 inline ::capnp::Text::Builder ExtractorStaticData::SOPair::Builder::getOutput() {
cannam@220 4822 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@220 4823 ::capnp::bounded<0>() * ::capnp::POINTERS));
cannam@220 4824 }
cannam@220 4825 inline void ExtractorStaticData::SOPair::Builder::setOutput( ::capnp::Text::Reader value) {
cannam@220 4826 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@220 4827 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
cannam@220 4828 }
cannam@220 4829 inline ::capnp::Text::Builder ExtractorStaticData::SOPair::Builder::initOutput(unsigned int size) {
cannam@220 4830 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@220 4831 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
cannam@220 4832 }
cannam@220 4833 inline void ExtractorStaticData::SOPair::Builder::adoptOutput(
cannam@220 4834 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@220 4835 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@220 4836 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
cannam@220 4837 }
cannam@220 4838 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::SOPair::Builder::disownOutput() {
cannam@220 4839 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@220 4840 ::capnp::bounded<0>() * ::capnp::POINTERS));
cannam@220 4841 }
cannam@220 4842
cannam@220 4843 inline bool ExtractorStaticData::SOPair::Reader::hasStatic() const {
cannam@220 4844 return !_reader.getPointerField(
cannam@220 4845 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
cannam@220 4846 }
cannam@220 4847 inline bool ExtractorStaticData::SOPair::Builder::hasStatic() {
cannam@220 4848 return !_builder.getPointerField(
cannam@220 4849 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
cannam@220 4850 }
cannam@220 4851 inline ::piper::StaticOutputDescriptor::Reader ExtractorStaticData::SOPair::Reader::getStatic() const {
cannam@220 4852 return ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::get(_reader.getPointerField(
cannam@220 4853 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@220 4854 }
cannam@220 4855 inline ::piper::StaticOutputDescriptor::Builder ExtractorStaticData::SOPair::Builder::getStatic() {
cannam@220 4856 return ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::get(_builder.getPointerField(
cannam@220 4857 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@220 4858 }
cannam@220 4859 #if !CAPNP_LITE
cannam@220 4860 inline ::piper::StaticOutputDescriptor::Pipeline ExtractorStaticData::SOPair::Pipeline::getStatic() {
cannam@220 4861 return ::piper::StaticOutputDescriptor::Pipeline(_typeless.getPointerField(1));
cannam@220 4862 }
cannam@220 4863 #endif // !CAPNP_LITE
cannam@220 4864 inline void ExtractorStaticData::SOPair::Builder::setStatic( ::piper::StaticOutputDescriptor::Reader value) {
cannam@220 4865 ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::set(_builder.getPointerField(
cannam@220 4866 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
cannam@220 4867 }
cannam@220 4868 inline ::piper::StaticOutputDescriptor::Builder ExtractorStaticData::SOPair::Builder::initStatic() {
cannam@220 4869 return ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::init(_builder.getPointerField(
cannam@220 4870 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@220 4871 }
cannam@220 4872 inline void ExtractorStaticData::SOPair::Builder::adoptStatic(
cannam@220 4873 ::capnp::Orphan< ::piper::StaticOutputDescriptor>&& value) {
cannam@220 4874 ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::adopt(_builder.getPointerField(
cannam@220 4875 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
cannam@220 4876 }
cannam@220 4877 inline ::capnp::Orphan< ::piper::StaticOutputDescriptor> ExtractorStaticData::SOPair::Builder::disownStatic() {
cannam@220 4878 return ::capnp::_::PointerHelpers< ::piper::StaticOutputDescriptor>::disown(_builder.getPointerField(
cannam@220 4879 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@220 4880 }
cannam@220 4881
c@106 4882 inline ::int32_t RealTime::Reader::getSec() const {
c@106 4883 return _reader.getDataField< ::int32_t>(
cannam@218 4884 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 4885 }
c@106 4886
c@106 4887 inline ::int32_t RealTime::Builder::getSec() {
c@106 4888 return _builder.getDataField< ::int32_t>(
cannam@218 4889 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 4890 }
c@106 4891 inline void RealTime::Builder::setSec( ::int32_t value) {
c@106 4892 _builder.setDataField< ::int32_t>(
cannam@218 4893 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 4894 }
c@106 4895
c@106 4896 inline ::int32_t RealTime::Reader::getNsec() const {
c@106 4897 return _reader.getDataField< ::int32_t>(
cannam@218 4898 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4899 }
c@106 4900
c@106 4901 inline ::int32_t RealTime::Builder::getNsec() {
c@106 4902 return _builder.getDataField< ::int32_t>(
cannam@218 4903 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 4904 }
c@106 4905 inline void RealTime::Builder::setNsec( ::int32_t value) {
c@106 4906 _builder.setDataField< ::int32_t>(
cannam@218 4907 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
c@106 4908 }
c@106 4909
c@106 4910 inline bool ProcessInput::Reader::hasInputBuffers() const {
cannam@218 4911 return !_reader.getPointerField(
cannam@218 4912 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 4913 }
c@106 4914 inline bool ProcessInput::Builder::hasInputBuffers() {
cannam@218 4915 return !_builder.getPointerField(
cannam@218 4916 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 4917 }
c@106 4918 inline ::capnp::List< ::capnp::List<float>>::Reader ProcessInput::Reader::getInputBuffers() const {
cannam@218 4919 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::get(_reader.getPointerField(
cannam@218 4920 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4921 }
c@106 4922 inline ::capnp::List< ::capnp::List<float>>::Builder ProcessInput::Builder::getInputBuffers() {
cannam@218 4923 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::get(_builder.getPointerField(
cannam@218 4924 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4925 }
c@106 4926 inline void ProcessInput::Builder::setInputBuffers( ::capnp::List< ::capnp::List<float>>::Reader value) {
cannam@218 4927 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::set(_builder.getPointerField(
cannam@218 4928 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 4929 }
c@106 4930 inline void ProcessInput::Builder::setInputBuffers(::kj::ArrayPtr<const ::capnp::List<float>::Reader> value) {
cannam@218 4931 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::set(_builder.getPointerField(
cannam@218 4932 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 4933 }
c@106 4934 inline ::capnp::List< ::capnp::List<float>>::Builder ProcessInput::Builder::initInputBuffers(unsigned int size) {
cannam@218 4935 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::init(_builder.getPointerField(
cannam@218 4936 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 4937 }
c@106 4938 inline void ProcessInput::Builder::adoptInputBuffers(
c@106 4939 ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>>&& value) {
cannam@218 4940 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::adopt(_builder.getPointerField(
cannam@218 4941 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 4942 }
c@106 4943 inline ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>> ProcessInput::Builder::disownInputBuffers() {
cannam@218 4944 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::disown(_builder.getPointerField(
cannam@218 4945 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 4946 }
c@106 4947
c@106 4948 inline bool ProcessInput::Reader::hasTimestamp() const {
cannam@218 4949 return !_reader.getPointerField(
cannam@218 4950 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 4951 }
c@106 4952 inline bool ProcessInput::Builder::hasTimestamp() {
cannam@218 4953 return !_builder.getPointerField(
cannam@218 4954 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 4955 }
c@106 4956 inline ::piper::RealTime::Reader ProcessInput::Reader::getTimestamp() const {
cannam@218 4957 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(_reader.getPointerField(
cannam@218 4958 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4959 }
c@106 4960 inline ::piper::RealTime::Builder ProcessInput::Builder::getTimestamp() {
cannam@218 4961 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(_builder.getPointerField(
cannam@218 4962 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4963 }
c@106 4964 #if !CAPNP_LITE
c@106 4965 inline ::piper::RealTime::Pipeline ProcessInput::Pipeline::getTimestamp() {
c@106 4966 return ::piper::RealTime::Pipeline(_typeless.getPointerField(1));
c@106 4967 }
c@106 4968 #endif // !CAPNP_LITE
c@106 4969 inline void ProcessInput::Builder::setTimestamp( ::piper::RealTime::Reader value) {
cannam@218 4970 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(_builder.getPointerField(
cannam@218 4971 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 4972 }
c@106 4973 inline ::piper::RealTime::Builder ProcessInput::Builder::initTimestamp() {
cannam@218 4974 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(_builder.getPointerField(
cannam@218 4975 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4976 }
c@106 4977 inline void ProcessInput::Builder::adoptTimestamp(
c@106 4978 ::capnp::Orphan< ::piper::RealTime>&& value) {
cannam@218 4979 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(_builder.getPointerField(
cannam@218 4980 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 4981 }
c@106 4982 inline ::capnp::Orphan< ::piper::RealTime> ProcessInput::Builder::disownTimestamp() {
cannam@218 4983 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(_builder.getPointerField(
cannam@218 4984 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 4985 }
c@106 4986
c@106 4987 inline bool Feature::Reader::getHasTimestamp() const {
c@106 4988 return _reader.getDataField<bool>(
cannam@218 4989 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 4990 }
c@106 4991
c@106 4992 inline bool Feature::Builder::getHasTimestamp() {
c@106 4993 return _builder.getDataField<bool>(
cannam@218 4994 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 4995 }
c@106 4996 inline void Feature::Builder::setHasTimestamp(bool value) {
c@106 4997 _builder.setDataField<bool>(
cannam@218 4998 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 4999 }
c@106 5000
c@106 5001 inline bool Feature::Reader::hasTimestamp() const {
cannam@218 5002 return !_reader.getPointerField(
cannam@218 5003 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5004 }
c@106 5005 inline bool Feature::Builder::hasTimestamp() {
cannam@218 5006 return !_builder.getPointerField(
cannam@218 5007 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5008 }
c@106 5009 inline ::piper::RealTime::Reader Feature::Reader::getTimestamp() const {
cannam@218 5010 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(_reader.getPointerField(
cannam@218 5011 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5012 }
c@106 5013 inline ::piper::RealTime::Builder Feature::Builder::getTimestamp() {
cannam@218 5014 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(_builder.getPointerField(
cannam@218 5015 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5016 }
c@106 5017 #if !CAPNP_LITE
c@106 5018 inline ::piper::RealTime::Pipeline Feature::Pipeline::getTimestamp() {
c@106 5019 return ::piper::RealTime::Pipeline(_typeless.getPointerField(0));
c@106 5020 }
c@106 5021 #endif // !CAPNP_LITE
c@106 5022 inline void Feature::Builder::setTimestamp( ::piper::RealTime::Reader value) {
cannam@218 5023 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(_builder.getPointerField(
cannam@218 5024 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5025 }
c@106 5026 inline ::piper::RealTime::Builder Feature::Builder::initTimestamp() {
cannam@218 5027 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(_builder.getPointerField(
cannam@218 5028 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5029 }
c@106 5030 inline void Feature::Builder::adoptTimestamp(
c@106 5031 ::capnp::Orphan< ::piper::RealTime>&& value) {
cannam@218 5032 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(_builder.getPointerField(
cannam@218 5033 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5034 }
c@106 5035 inline ::capnp::Orphan< ::piper::RealTime> Feature::Builder::disownTimestamp() {
cannam@218 5036 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(_builder.getPointerField(
cannam@218 5037 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5038 }
c@106 5039
c@106 5040 inline bool Feature::Reader::getHasDuration() const {
c@106 5041 return _reader.getDataField<bool>(
cannam@218 5042 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 5043 }
c@106 5044
c@106 5045 inline bool Feature::Builder::getHasDuration() {
c@106 5046 return _builder.getDataField<bool>(
cannam@218 5047 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
c@106 5048 }
c@106 5049 inline void Feature::Builder::setHasDuration(bool value) {
c@106 5050 _builder.setDataField<bool>(
cannam@218 5051 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
c@106 5052 }
c@106 5053
c@106 5054 inline bool Feature::Reader::hasDuration() const {
cannam@218 5055 return !_reader.getPointerField(
cannam@218 5056 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5057 }
c@106 5058 inline bool Feature::Builder::hasDuration() {
cannam@218 5059 return !_builder.getPointerField(
cannam@218 5060 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5061 }
c@106 5062 inline ::piper::RealTime::Reader Feature::Reader::getDuration() const {
cannam@218 5063 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(_reader.getPointerField(
cannam@218 5064 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5065 }
c@106 5066 inline ::piper::RealTime::Builder Feature::Builder::getDuration() {
cannam@218 5067 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(_builder.getPointerField(
cannam@218 5068 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5069 }
c@106 5070 #if !CAPNP_LITE
c@106 5071 inline ::piper::RealTime::Pipeline Feature::Pipeline::getDuration() {
c@106 5072 return ::piper::RealTime::Pipeline(_typeless.getPointerField(1));
c@106 5073 }
c@106 5074 #endif // !CAPNP_LITE
c@106 5075 inline void Feature::Builder::setDuration( ::piper::RealTime::Reader value) {
cannam@218 5076 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(_builder.getPointerField(
cannam@218 5077 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 5078 }
c@106 5079 inline ::piper::RealTime::Builder Feature::Builder::initDuration() {
cannam@218 5080 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(_builder.getPointerField(
cannam@218 5081 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5082 }
c@106 5083 inline void Feature::Builder::adoptDuration(
c@106 5084 ::capnp::Orphan< ::piper::RealTime>&& value) {
cannam@218 5085 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(_builder.getPointerField(
cannam@218 5086 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 5087 }
c@106 5088 inline ::capnp::Orphan< ::piper::RealTime> Feature::Builder::disownDuration() {
cannam@218 5089 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(_builder.getPointerField(
cannam@218 5090 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5091 }
c@106 5092
c@106 5093 inline bool Feature::Reader::hasLabel() const {
cannam@218 5094 return !_reader.getPointerField(
cannam@218 5095 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
c@106 5096 }
c@106 5097 inline bool Feature::Builder::hasLabel() {
cannam@218 5098 return !_builder.getPointerField(
cannam@218 5099 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
c@106 5100 }
c@106 5101 inline ::capnp::Text::Reader Feature::Reader::getLabel() const {
cannam@218 5102 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 5103 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 5104 }
c@106 5105 inline ::capnp::Text::Builder Feature::Builder::getLabel() {
cannam@218 5106 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 5107 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 5108 }
c@106 5109 inline void Feature::Builder::setLabel( ::capnp::Text::Reader value) {
cannam@218 5110 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 5111 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
c@106 5112 }
c@106 5113 inline ::capnp::Text::Builder Feature::Builder::initLabel(unsigned int size) {
cannam@218 5114 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 5115 ::capnp::bounded<2>() * ::capnp::POINTERS), size);
c@106 5116 }
c@106 5117 inline void Feature::Builder::adoptLabel(
c@106 5118 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 5119 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 5120 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
c@106 5121 }
c@106 5122 inline ::capnp::Orphan< ::capnp::Text> Feature::Builder::disownLabel() {
cannam@218 5123 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 5124 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 5125 }
c@106 5126
c@106 5127 inline bool Feature::Reader::hasFeatureValues() const {
cannam@218 5128 return !_reader.getPointerField(
cannam@218 5129 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
c@106 5130 }
c@106 5131 inline bool Feature::Builder::hasFeatureValues() {
cannam@218 5132 return !_builder.getPointerField(
cannam@218 5133 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
c@106 5134 }
c@106 5135 inline ::capnp::List<float>::Reader Feature::Reader::getFeatureValues() const {
cannam@218 5136 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::get(_reader.getPointerField(
cannam@218 5137 ::capnp::bounded<3>() * ::capnp::POINTERS),
c@106 5138 ::capnp::schemas::bp_d6a172208c9a1760 + 115);
c@106 5139 }
c@106 5140 inline ::capnp::List<float>::Builder Feature::Builder::getFeatureValues() {
cannam@218 5141 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::get(_builder.getPointerField(
cannam@218 5142 ::capnp::bounded<3>() * ::capnp::POINTERS),
c@106 5143 ::capnp::schemas::bp_d6a172208c9a1760 + 115);
c@106 5144 }
c@106 5145 inline void Feature::Builder::setFeatureValues( ::capnp::List<float>::Reader value) {
cannam@218 5146 ::capnp::_::PointerHelpers< ::capnp::List<float>>::set(_builder.getPointerField(
cannam@218 5147 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
c@106 5148 }
c@106 5149 inline void Feature::Builder::setFeatureValues(::kj::ArrayPtr<const float> value) {
cannam@218 5150 ::capnp::_::PointerHelpers< ::capnp::List<float>>::set(_builder.getPointerField(
cannam@218 5151 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
c@106 5152 }
c@106 5153 inline ::capnp::List<float>::Builder Feature::Builder::initFeatureValues(unsigned int size) {
cannam@218 5154 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::init(_builder.getPointerField(
cannam@218 5155 ::capnp::bounded<3>() * ::capnp::POINTERS), size);
c@106 5156 }
c@106 5157 inline void Feature::Builder::adoptFeatureValues(
c@106 5158 ::capnp::Orphan< ::capnp::List<float>>&& value) {
cannam@218 5159 ::capnp::_::PointerHelpers< ::capnp::List<float>>::adopt(_builder.getPointerField(
cannam@218 5160 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
c@106 5161 }
c@106 5162 inline ::capnp::Orphan< ::capnp::List<float>> Feature::Builder::disownFeatureValues() {
cannam@218 5163 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::disown(_builder.getPointerField(
cannam@218 5164 ::capnp::bounded<3>() * ::capnp::POINTERS));
c@106 5165 }
c@106 5166
c@106 5167 inline bool FeatureSet::Reader::hasFeaturePairs() const {
cannam@218 5168 return !_reader.getPointerField(
cannam@218 5169 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5170 }
c@106 5171 inline bool FeatureSet::Builder::hasFeaturePairs() {
cannam@218 5172 return !_builder.getPointerField(
cannam@218 5173 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5174 }
c@106 5175 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Reader FeatureSet::Reader::getFeaturePairs() const {
cannam@218 5176 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::get(_reader.getPointerField(
cannam@218 5177 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5178 }
c@106 5179 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder FeatureSet::Builder::getFeaturePairs() {
cannam@218 5180 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::get(_builder.getPointerField(
cannam@218 5181 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5182 }
c@106 5183 inline void FeatureSet::Builder::setFeaturePairs( ::capnp::List< ::piper::FeatureSet::FSPair>::Reader value) {
cannam@218 5184 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::set(_builder.getPointerField(
cannam@218 5185 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5186 }
c@106 5187 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder FeatureSet::Builder::initFeaturePairs(unsigned int size) {
cannam@218 5188 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::init(_builder.getPointerField(
cannam@218 5189 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 5190 }
c@106 5191 inline void FeatureSet::Builder::adoptFeaturePairs(
c@106 5192 ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>>&& value) {
cannam@218 5193 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::adopt(_builder.getPointerField(
cannam@218 5194 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5195 }
c@106 5196 inline ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>> FeatureSet::Builder::disownFeaturePairs() {
cannam@218 5197 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::disown(_builder.getPointerField(
cannam@218 5198 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5199 }
c@106 5200
c@106 5201 inline bool FeatureSet::FSPair::Reader::hasOutput() const {
cannam@218 5202 return !_reader.getPointerField(
cannam@218 5203 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5204 }
c@106 5205 inline bool FeatureSet::FSPair::Builder::hasOutput() {
cannam@218 5206 return !_builder.getPointerField(
cannam@218 5207 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5208 }
c@106 5209 inline ::capnp::Text::Reader FeatureSet::FSPair::Reader::getOutput() const {
cannam@218 5210 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 5211 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5212 }
c@106 5213 inline ::capnp::Text::Builder FeatureSet::FSPair::Builder::getOutput() {
cannam@218 5214 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 5215 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5216 }
c@106 5217 inline void FeatureSet::FSPair::Builder::setOutput( ::capnp::Text::Reader value) {
cannam@218 5218 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 5219 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5220 }
c@106 5221 inline ::capnp::Text::Builder FeatureSet::FSPair::Builder::initOutput(unsigned int size) {
cannam@218 5222 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 5223 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 5224 }
c@106 5225 inline void FeatureSet::FSPair::Builder::adoptOutput(
c@106 5226 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 5227 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 5228 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5229 }
c@106 5230 inline ::capnp::Orphan< ::capnp::Text> FeatureSet::FSPair::Builder::disownOutput() {
cannam@218 5231 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 5232 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5233 }
c@106 5234
c@106 5235 inline bool FeatureSet::FSPair::Reader::hasFeatures() const {
cannam@218 5236 return !_reader.getPointerField(
cannam@218 5237 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5238 }
c@106 5239 inline bool FeatureSet::FSPair::Builder::hasFeatures() {
cannam@218 5240 return !_builder.getPointerField(
cannam@218 5241 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5242 }
c@106 5243 inline ::capnp::List< ::piper::Feature>::Reader FeatureSet::FSPair::Reader::getFeatures() const {
cannam@218 5244 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::get(_reader.getPointerField(
cannam@218 5245 ::capnp::bounded<1>() * ::capnp::POINTERS),
c@106 5246 ::capnp::schemas::bp_ab2572c346316b24 + 52);
c@106 5247 }
c@106 5248 inline ::capnp::List< ::piper::Feature>::Builder FeatureSet::FSPair::Builder::getFeatures() {
cannam@218 5249 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::get(_builder.getPointerField(
cannam@218 5250 ::capnp::bounded<1>() * ::capnp::POINTERS),
c@106 5251 ::capnp::schemas::bp_ab2572c346316b24 + 52);
c@106 5252 }
c@106 5253 inline void FeatureSet::FSPair::Builder::setFeatures( ::capnp::List< ::piper::Feature>::Reader value) {
cannam@218 5254 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::set(_builder.getPointerField(
cannam@218 5255 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 5256 }
c@106 5257 inline ::capnp::List< ::piper::Feature>::Builder FeatureSet::FSPair::Builder::initFeatures(unsigned int size) {
cannam@218 5258 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::init(_builder.getPointerField(
cannam@218 5259 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
c@106 5260 }
c@106 5261 inline void FeatureSet::FSPair::Builder::adoptFeatures(
c@106 5262 ::capnp::Orphan< ::capnp::List< ::piper::Feature>>&& value) {
cannam@218 5263 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::adopt(_builder.getPointerField(
cannam@218 5264 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 5265 }
c@106 5266 inline ::capnp::Orphan< ::capnp::List< ::piper::Feature>> FeatureSet::FSPair::Builder::disownFeatures() {
cannam@218 5267 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::disown(_builder.getPointerField(
cannam@218 5268 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5269 }
c@106 5270
cannam@216 5271 inline ::int32_t Framing::Reader::getBlockSize() const {
cannam@216 5272 return _reader.getDataField< ::int32_t>(
cannam@218 5273 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
cannam@216 5274 }
cannam@216 5275
cannam@216 5276 inline ::int32_t Framing::Builder::getBlockSize() {
cannam@216 5277 return _builder.getDataField< ::int32_t>(
cannam@218 5278 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
cannam@216 5279 }
cannam@216 5280 inline void Framing::Builder::setBlockSize( ::int32_t value) {
cannam@216 5281 _builder.setDataField< ::int32_t>(
cannam@218 5282 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
cannam@216 5283 }
cannam@216 5284
cannam@185 5285 inline ::int32_t Framing::Reader::getStepSize() const {
cannam@185 5286 return _reader.getDataField< ::int32_t>(
cannam@218 5287 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
cannam@185 5288 }
cannam@185 5289
cannam@185 5290 inline ::int32_t Framing::Builder::getStepSize() {
cannam@185 5291 return _builder.getDataField< ::int32_t>(
cannam@218 5292 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
cannam@185 5293 }
cannam@185 5294 inline void Framing::Builder::setStepSize( ::int32_t value) {
cannam@185 5295 _builder.setDataField< ::int32_t>(
cannam@218 5296 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
cannam@185 5297 }
cannam@185 5298
c@106 5299 inline bool Configuration::Reader::hasParameterValues() const {
cannam@218 5300 return !_reader.getPointerField(
cannam@218 5301 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5302 }
c@106 5303 inline bool Configuration::Builder::hasParameterValues() {
cannam@218 5304 return !_builder.getPointerField(
cannam@218 5305 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5306 }
c@106 5307 inline ::capnp::List< ::piper::Configuration::PVPair>::Reader Configuration::Reader::getParameterValues() const {
cannam@218 5308 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::get(_reader.getPointerField(
cannam@218 5309 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5310 }
c@106 5311 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder Configuration::Builder::getParameterValues() {
cannam@218 5312 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::get(_builder.getPointerField(
cannam@218 5313 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5314 }
c@106 5315 inline void Configuration::Builder::setParameterValues( ::capnp::List< ::piper::Configuration::PVPair>::Reader value) {
cannam@218 5316 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::set(_builder.getPointerField(
cannam@218 5317 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5318 }
c@106 5319 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder Configuration::Builder::initParameterValues(unsigned int size) {
cannam@218 5320 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::init(_builder.getPointerField(
cannam@218 5321 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 5322 }
c@106 5323 inline void Configuration::Builder::adoptParameterValues(
c@106 5324 ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>>&& value) {
cannam@218 5325 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::adopt(_builder.getPointerField(
cannam@218 5326 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5327 }
c@106 5328 inline ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>> Configuration::Builder::disownParameterValues() {
cannam@218 5329 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::disown(_builder.getPointerField(
cannam@218 5330 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5331 }
c@106 5332
c@106 5333 inline bool Configuration::Reader::hasCurrentProgram() const {
cannam@218 5334 return !_reader.getPointerField(
cannam@218 5335 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5336 }
c@106 5337 inline bool Configuration::Builder::hasCurrentProgram() {
cannam@218 5338 return !_builder.getPointerField(
cannam@218 5339 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5340 }
c@106 5341 inline ::capnp::Text::Reader Configuration::Reader::getCurrentProgram() const {
cannam@218 5342 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 5343 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5344 }
c@106 5345 inline ::capnp::Text::Builder Configuration::Builder::getCurrentProgram() {
cannam@218 5346 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 5347 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5348 }
c@106 5349 inline void Configuration::Builder::setCurrentProgram( ::capnp::Text::Reader value) {
cannam@218 5350 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 5351 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 5352 }
c@106 5353 inline ::capnp::Text::Builder Configuration::Builder::initCurrentProgram(unsigned int size) {
cannam@218 5354 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 5355 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
c@106 5356 }
c@106 5357 inline void Configuration::Builder::adoptCurrentProgram(
c@106 5358 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 5359 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 5360 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 5361 }
c@106 5362 inline ::capnp::Orphan< ::capnp::Text> Configuration::Builder::disownCurrentProgram() {
cannam@218 5363 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 5364 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5365 }
c@106 5366
c@106 5367 inline ::int32_t Configuration::Reader::getChannelCount() const {
c@106 5368 return _reader.getDataField< ::int32_t>(
cannam@218 5369 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5370 }
c@106 5371
c@106 5372 inline ::int32_t Configuration::Builder::getChannelCount() {
c@106 5373 return _builder.getDataField< ::int32_t>(
cannam@218 5374 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5375 }
c@106 5376 inline void Configuration::Builder::setChannelCount( ::int32_t value) {
c@106 5377 _builder.setDataField< ::int32_t>(
cannam@218 5378 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5379 }
c@106 5380
cannam@185 5381 inline bool Configuration::Reader::hasFraming() const {
cannam@218 5382 return !_reader.getPointerField(
cannam@218 5383 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
cannam@185 5384 }
cannam@185 5385 inline bool Configuration::Builder::hasFraming() {
cannam@218 5386 return !_builder.getPointerField(
cannam@218 5387 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
cannam@185 5388 }
cannam@185 5389 inline ::piper::Framing::Reader Configuration::Reader::getFraming() const {
cannam@218 5390 return ::capnp::_::PointerHelpers< ::piper::Framing>::get(_reader.getPointerField(
cannam@218 5391 ::capnp::bounded<2>() * ::capnp::POINTERS));
cannam@185 5392 }
cannam@185 5393 inline ::piper::Framing::Builder Configuration::Builder::getFraming() {
cannam@218 5394 return ::capnp::_::PointerHelpers< ::piper::Framing>::get(_builder.getPointerField(
cannam@218 5395 ::capnp::bounded<2>() * ::capnp::POINTERS));
cannam@185 5396 }
cannam@185 5397 #if !CAPNP_LITE
cannam@185 5398 inline ::piper::Framing::Pipeline Configuration::Pipeline::getFraming() {
cannam@185 5399 return ::piper::Framing::Pipeline(_typeless.getPointerField(2));
cannam@185 5400 }
cannam@185 5401 #endif // !CAPNP_LITE
cannam@185 5402 inline void Configuration::Builder::setFraming( ::piper::Framing::Reader value) {
cannam@218 5403 ::capnp::_::PointerHelpers< ::piper::Framing>::set(_builder.getPointerField(
cannam@218 5404 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
cannam@185 5405 }
cannam@185 5406 inline ::piper::Framing::Builder Configuration::Builder::initFraming() {
cannam@218 5407 return ::capnp::_::PointerHelpers< ::piper::Framing>::init(_builder.getPointerField(
cannam@218 5408 ::capnp::bounded<2>() * ::capnp::POINTERS));
cannam@185 5409 }
cannam@185 5410 inline void Configuration::Builder::adoptFraming(
cannam@185 5411 ::capnp::Orphan< ::piper::Framing>&& value) {
cannam@218 5412 ::capnp::_::PointerHelpers< ::piper::Framing>::adopt(_builder.getPointerField(
cannam@218 5413 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
cannam@185 5414 }
cannam@185 5415 inline ::capnp::Orphan< ::piper::Framing> Configuration::Builder::disownFraming() {
cannam@218 5416 return ::capnp::_::PointerHelpers< ::piper::Framing>::disown(_builder.getPointerField(
cannam@218 5417 ::capnp::bounded<2>() * ::capnp::POINTERS));
c@106 5418 }
c@106 5419
c@106 5420 inline bool Configuration::PVPair::Reader::hasParameter() const {
cannam@218 5421 return !_reader.getPointerField(
cannam@218 5422 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5423 }
c@106 5424 inline bool Configuration::PVPair::Builder::hasParameter() {
cannam@218 5425 return !_builder.getPointerField(
cannam@218 5426 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5427 }
c@106 5428 inline ::capnp::Text::Reader Configuration::PVPair::Reader::getParameter() const {
cannam@218 5429 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 5430 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5431 }
c@106 5432 inline ::capnp::Text::Builder Configuration::PVPair::Builder::getParameter() {
cannam@218 5433 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 5434 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5435 }
c@106 5436 inline void Configuration::PVPair::Builder::setParameter( ::capnp::Text::Reader value) {
cannam@218 5437 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 5438 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5439 }
c@106 5440 inline ::capnp::Text::Builder Configuration::PVPair::Builder::initParameter(unsigned int size) {
cannam@218 5441 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 5442 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 5443 }
c@106 5444 inline void Configuration::PVPair::Builder::adoptParameter(
c@106 5445 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 5446 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 5447 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5448 }
c@106 5449 inline ::capnp::Orphan< ::capnp::Text> Configuration::PVPair::Builder::disownParameter() {
cannam@218 5450 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 5451 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5452 }
c@106 5453
c@106 5454 inline float Configuration::PVPair::Reader::getValue() const {
c@106 5455 return _reader.getDataField<float>(
cannam@218 5456 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5457 }
c@106 5458
c@106 5459 inline float Configuration::PVPair::Builder::getValue() {
c@106 5460 return _builder.getDataField<float>(
cannam@218 5461 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5462 }
c@106 5463 inline void Configuration::PVPair::Builder::setValue(float value) {
c@106 5464 _builder.setDataField<float>(
cannam@218 5465 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5466 }
c@106 5467
c@127 5468 inline bool ListRequest::Reader::hasFrom() const {
cannam@218 5469 return !_reader.getPointerField(
cannam@218 5470 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@127 5471 }
c@127 5472 inline bool ListRequest::Builder::hasFrom() {
cannam@218 5473 return !_builder.getPointerField(
cannam@218 5474 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@127 5475 }
c@127 5476 inline ::capnp::List< ::capnp::Text>::Reader ListRequest::Reader::getFrom() const {
cannam@218 5477 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_reader.getPointerField(
cannam@218 5478 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@127 5479 }
c@127 5480 inline ::capnp::List< ::capnp::Text>::Builder ListRequest::Builder::getFrom() {
cannam@218 5481 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(_builder.getPointerField(
cannam@218 5482 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@127 5483 }
c@127 5484 inline void ListRequest::Builder::setFrom( ::capnp::List< ::capnp::Text>::Reader value) {
cannam@218 5485 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 5486 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@127 5487 }
c@127 5488 inline void ListRequest::Builder::setFrom(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
cannam@218 5489 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(_builder.getPointerField(
cannam@218 5490 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@127 5491 }
c@127 5492 inline ::capnp::List< ::capnp::Text>::Builder ListRequest::Builder::initFrom(unsigned int size) {
cannam@218 5493 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(_builder.getPointerField(
cannam@218 5494 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@127 5495 }
c@127 5496 inline void ListRequest::Builder::adoptFrom(
c@127 5497 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
cannam@218 5498 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(_builder.getPointerField(
cannam@218 5499 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@127 5500 }
c@127 5501 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ListRequest::Builder::disownFrom() {
cannam@218 5502 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(_builder.getPointerField(
cannam@218 5503 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@127 5504 }
c@127 5505
c@106 5506 inline bool ListResponse::Reader::hasAvailable() const {
cannam@218 5507 return !_reader.getPointerField(
cannam@218 5508 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5509 }
c@106 5510 inline bool ListResponse::Builder::hasAvailable() {
cannam@218 5511 return !_builder.getPointerField(
cannam@218 5512 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5513 }
c@106 5514 inline ::capnp::List< ::piper::ExtractorStaticData>::Reader ListResponse::Reader::getAvailable() const {
cannam@218 5515 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::get(_reader.getPointerField(
cannam@218 5516 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5517 }
c@106 5518 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder ListResponse::Builder::getAvailable() {
cannam@218 5519 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::get(_builder.getPointerField(
cannam@218 5520 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5521 }
c@106 5522 inline void ListResponse::Builder::setAvailable( ::capnp::List< ::piper::ExtractorStaticData>::Reader value) {
cannam@218 5523 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::set(_builder.getPointerField(
cannam@218 5524 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5525 }
c@106 5526 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder ListResponse::Builder::initAvailable(unsigned int size) {
cannam@218 5527 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::init(_builder.getPointerField(
cannam@218 5528 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 5529 }
c@106 5530 inline void ListResponse::Builder::adoptAvailable(
c@106 5531 ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>>&& value) {
cannam@218 5532 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::adopt(_builder.getPointerField(
cannam@218 5533 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5534 }
c@106 5535 inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>> ListResponse::Builder::disownAvailable() {
cannam@218 5536 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::disown(_builder.getPointerField(
cannam@218 5537 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5538 }
c@106 5539
c@106 5540 inline bool LoadRequest::Reader::hasKey() const {
cannam@218 5541 return !_reader.getPointerField(
cannam@218 5542 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5543 }
c@106 5544 inline bool LoadRequest::Builder::hasKey() {
cannam@218 5545 return !_builder.getPointerField(
cannam@218 5546 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5547 }
c@106 5548 inline ::capnp::Text::Reader LoadRequest::Reader::getKey() const {
cannam@218 5549 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 5550 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5551 }
c@106 5552 inline ::capnp::Text::Builder LoadRequest::Builder::getKey() {
cannam@218 5553 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 5554 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5555 }
c@106 5556 inline void LoadRequest::Builder::setKey( ::capnp::Text::Reader value) {
cannam@218 5557 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 5558 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5559 }
c@106 5560 inline ::capnp::Text::Builder LoadRequest::Builder::initKey(unsigned int size) {
cannam@218 5561 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 5562 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 5563 }
c@106 5564 inline void LoadRequest::Builder::adoptKey(
c@106 5565 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 5566 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 5567 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5568 }
c@106 5569 inline ::capnp::Orphan< ::capnp::Text> LoadRequest::Builder::disownKey() {
cannam@218 5570 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 5571 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5572 }
c@106 5573
c@106 5574 inline float LoadRequest::Reader::getInputSampleRate() const {
c@106 5575 return _reader.getDataField<float>(
cannam@218 5576 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5577 }
c@106 5578
c@106 5579 inline float LoadRequest::Builder::getInputSampleRate() {
c@106 5580 return _builder.getDataField<float>(
cannam@218 5581 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5582 }
c@106 5583 inline void LoadRequest::Builder::setInputSampleRate(float value) {
c@106 5584 _builder.setDataField<float>(
cannam@218 5585 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5586 }
c@106 5587
c@106 5588 inline bool LoadRequest::Reader::hasAdapterFlags() const {
cannam@218 5589 return !_reader.getPointerField(
cannam@218 5590 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5591 }
c@106 5592 inline bool LoadRequest::Builder::hasAdapterFlags() {
cannam@218 5593 return !_builder.getPointerField(
cannam@218 5594 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5595 }
c@106 5596 inline ::capnp::List< ::piper::AdapterFlag>::Reader LoadRequest::Reader::getAdapterFlags() const {
cannam@218 5597 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::get(_reader.getPointerField(
cannam@218 5598 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5599 }
c@106 5600 inline ::capnp::List< ::piper::AdapterFlag>::Builder LoadRequest::Builder::getAdapterFlags() {
cannam@218 5601 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::get(_builder.getPointerField(
cannam@218 5602 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5603 }
c@106 5604 inline void LoadRequest::Builder::setAdapterFlags( ::capnp::List< ::piper::AdapterFlag>::Reader value) {
cannam@218 5605 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::set(_builder.getPointerField(
cannam@218 5606 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 5607 }
c@106 5608 inline void LoadRequest::Builder::setAdapterFlags(::kj::ArrayPtr<const ::piper::AdapterFlag> value) {
cannam@218 5609 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::set(_builder.getPointerField(
cannam@218 5610 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 5611 }
c@106 5612 inline ::capnp::List< ::piper::AdapterFlag>::Builder LoadRequest::Builder::initAdapterFlags(unsigned int size) {
cannam@218 5613 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::init(_builder.getPointerField(
cannam@218 5614 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
c@106 5615 }
c@106 5616 inline void LoadRequest::Builder::adoptAdapterFlags(
c@106 5617 ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>>&& value) {
cannam@218 5618 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::adopt(_builder.getPointerField(
cannam@218 5619 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 5620 }
c@106 5621 inline ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>> LoadRequest::Builder::disownAdapterFlags() {
cannam@218 5622 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::disown(_builder.getPointerField(
cannam@218 5623 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5624 }
c@106 5625
c@106 5626 inline ::int32_t LoadResponse::Reader::getHandle() const {
c@106 5627 return _reader.getDataField< ::int32_t>(
cannam@218 5628 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5629 }
c@106 5630
c@106 5631 inline ::int32_t LoadResponse::Builder::getHandle() {
c@106 5632 return _builder.getDataField< ::int32_t>(
cannam@218 5633 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5634 }
c@106 5635 inline void LoadResponse::Builder::setHandle( ::int32_t value) {
c@106 5636 _builder.setDataField< ::int32_t>(
cannam@218 5637 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5638 }
c@106 5639
c@106 5640 inline bool LoadResponse::Reader::hasStaticData() const {
cannam@218 5641 return !_reader.getPointerField(
cannam@218 5642 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5643 }
c@106 5644 inline bool LoadResponse::Builder::hasStaticData() {
cannam@218 5645 return !_builder.getPointerField(
cannam@218 5646 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5647 }
c@106 5648 inline ::piper::ExtractorStaticData::Reader LoadResponse::Reader::getStaticData() const {
cannam@218 5649 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::get(_reader.getPointerField(
cannam@218 5650 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5651 }
c@106 5652 inline ::piper::ExtractorStaticData::Builder LoadResponse::Builder::getStaticData() {
cannam@218 5653 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::get(_builder.getPointerField(
cannam@218 5654 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5655 }
c@106 5656 #if !CAPNP_LITE
c@106 5657 inline ::piper::ExtractorStaticData::Pipeline LoadResponse::Pipeline::getStaticData() {
c@106 5658 return ::piper::ExtractorStaticData::Pipeline(_typeless.getPointerField(0));
c@106 5659 }
c@106 5660 #endif // !CAPNP_LITE
c@106 5661 inline void LoadResponse::Builder::setStaticData( ::piper::ExtractorStaticData::Reader value) {
cannam@218 5662 ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::set(_builder.getPointerField(
cannam@218 5663 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5664 }
c@106 5665 inline ::piper::ExtractorStaticData::Builder LoadResponse::Builder::initStaticData() {
cannam@218 5666 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::init(_builder.getPointerField(
cannam@218 5667 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5668 }
c@106 5669 inline void LoadResponse::Builder::adoptStaticData(
c@106 5670 ::capnp::Orphan< ::piper::ExtractorStaticData>&& value) {
cannam@218 5671 ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::adopt(_builder.getPointerField(
cannam@218 5672 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5673 }
c@106 5674 inline ::capnp::Orphan< ::piper::ExtractorStaticData> LoadResponse::Builder::disownStaticData() {
cannam@218 5675 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::disown(_builder.getPointerField(
cannam@218 5676 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5677 }
c@106 5678
c@106 5679 inline bool LoadResponse::Reader::hasDefaultConfiguration() const {
cannam@218 5680 return !_reader.getPointerField(
cannam@218 5681 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5682 }
c@106 5683 inline bool LoadResponse::Builder::hasDefaultConfiguration() {
cannam@218 5684 return !_builder.getPointerField(
cannam@218 5685 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 5686 }
c@106 5687 inline ::piper::Configuration::Reader LoadResponse::Reader::getDefaultConfiguration() const {
cannam@218 5688 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(_reader.getPointerField(
cannam@218 5689 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5690 }
c@106 5691 inline ::piper::Configuration::Builder LoadResponse::Builder::getDefaultConfiguration() {
cannam@218 5692 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(_builder.getPointerField(
cannam@218 5693 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5694 }
c@106 5695 #if !CAPNP_LITE
c@106 5696 inline ::piper::Configuration::Pipeline LoadResponse::Pipeline::getDefaultConfiguration() {
c@106 5697 return ::piper::Configuration::Pipeline(_typeless.getPointerField(1));
c@106 5698 }
c@106 5699 #endif // !CAPNP_LITE
c@106 5700 inline void LoadResponse::Builder::setDefaultConfiguration( ::piper::Configuration::Reader value) {
cannam@218 5701 ::capnp::_::PointerHelpers< ::piper::Configuration>::set(_builder.getPointerField(
cannam@218 5702 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 5703 }
c@106 5704 inline ::piper::Configuration::Builder LoadResponse::Builder::initDefaultConfiguration() {
cannam@218 5705 return ::capnp::_::PointerHelpers< ::piper::Configuration>::init(_builder.getPointerField(
cannam@218 5706 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5707 }
c@106 5708 inline void LoadResponse::Builder::adoptDefaultConfiguration(
c@106 5709 ::capnp::Orphan< ::piper::Configuration>&& value) {
cannam@218 5710 ::capnp::_::PointerHelpers< ::piper::Configuration>::adopt(_builder.getPointerField(
cannam@218 5711 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 5712 }
c@106 5713 inline ::capnp::Orphan< ::piper::Configuration> LoadResponse::Builder::disownDefaultConfiguration() {
cannam@218 5714 return ::capnp::_::PointerHelpers< ::piper::Configuration>::disown(_builder.getPointerField(
cannam@218 5715 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 5716 }
c@106 5717
c@106 5718 inline ::int32_t ConfigurationRequest::Reader::getHandle() const {
c@106 5719 return _reader.getDataField< ::int32_t>(
cannam@218 5720 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5721 }
c@106 5722
c@106 5723 inline ::int32_t ConfigurationRequest::Builder::getHandle() {
c@106 5724 return _builder.getDataField< ::int32_t>(
cannam@218 5725 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5726 }
c@106 5727 inline void ConfigurationRequest::Builder::setHandle( ::int32_t value) {
c@106 5728 _builder.setDataField< ::int32_t>(
cannam@218 5729 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5730 }
c@106 5731
c@106 5732 inline bool ConfigurationRequest::Reader::hasConfiguration() const {
cannam@218 5733 return !_reader.getPointerField(
cannam@218 5734 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5735 }
c@106 5736 inline bool ConfigurationRequest::Builder::hasConfiguration() {
cannam@218 5737 return !_builder.getPointerField(
cannam@218 5738 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5739 }
c@106 5740 inline ::piper::Configuration::Reader ConfigurationRequest::Reader::getConfiguration() const {
cannam@218 5741 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(_reader.getPointerField(
cannam@218 5742 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5743 }
c@106 5744 inline ::piper::Configuration::Builder ConfigurationRequest::Builder::getConfiguration() {
cannam@218 5745 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(_builder.getPointerField(
cannam@218 5746 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5747 }
c@106 5748 #if !CAPNP_LITE
c@106 5749 inline ::piper::Configuration::Pipeline ConfigurationRequest::Pipeline::getConfiguration() {
c@106 5750 return ::piper::Configuration::Pipeline(_typeless.getPointerField(0));
c@106 5751 }
c@106 5752 #endif // !CAPNP_LITE
c@106 5753 inline void ConfigurationRequest::Builder::setConfiguration( ::piper::Configuration::Reader value) {
cannam@218 5754 ::capnp::_::PointerHelpers< ::piper::Configuration>::set(_builder.getPointerField(
cannam@218 5755 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5756 }
c@106 5757 inline ::piper::Configuration::Builder ConfigurationRequest::Builder::initConfiguration() {
cannam@218 5758 return ::capnp::_::PointerHelpers< ::piper::Configuration>::init(_builder.getPointerField(
cannam@218 5759 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5760 }
c@106 5761 inline void ConfigurationRequest::Builder::adoptConfiguration(
c@106 5762 ::capnp::Orphan< ::piper::Configuration>&& value) {
cannam@218 5763 ::capnp::_::PointerHelpers< ::piper::Configuration>::adopt(_builder.getPointerField(
cannam@218 5764 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5765 }
c@106 5766 inline ::capnp::Orphan< ::piper::Configuration> ConfigurationRequest::Builder::disownConfiguration() {
cannam@218 5767 return ::capnp::_::PointerHelpers< ::piper::Configuration>::disown(_builder.getPointerField(
cannam@218 5768 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5769 }
c@106 5770
c@106 5771 inline ::int32_t ConfigurationResponse::Reader::getHandle() const {
c@106 5772 return _reader.getDataField< ::int32_t>(
cannam@218 5773 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5774 }
c@106 5775
c@106 5776 inline ::int32_t ConfigurationResponse::Builder::getHandle() {
c@106 5777 return _builder.getDataField< ::int32_t>(
cannam@218 5778 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5779 }
c@106 5780 inline void ConfigurationResponse::Builder::setHandle( ::int32_t value) {
c@106 5781 _builder.setDataField< ::int32_t>(
cannam@218 5782 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5783 }
c@106 5784
c@106 5785 inline bool ConfigurationResponse::Reader::hasOutputs() const {
cannam@218 5786 return !_reader.getPointerField(
cannam@218 5787 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5788 }
c@106 5789 inline bool ConfigurationResponse::Builder::hasOutputs() {
cannam@218 5790 return !_builder.getPointerField(
cannam@218 5791 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5792 }
c@106 5793 inline ::capnp::List< ::piper::OutputDescriptor>::Reader ConfigurationResponse::Reader::getOutputs() const {
cannam@218 5794 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::get(_reader.getPointerField(
cannam@218 5795 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5796 }
c@106 5797 inline ::capnp::List< ::piper::OutputDescriptor>::Builder ConfigurationResponse::Builder::getOutputs() {
cannam@218 5798 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::get(_builder.getPointerField(
cannam@218 5799 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5800 }
c@106 5801 inline void ConfigurationResponse::Builder::setOutputs( ::capnp::List< ::piper::OutputDescriptor>::Reader value) {
cannam@218 5802 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::set(_builder.getPointerField(
cannam@218 5803 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5804 }
c@106 5805 inline ::capnp::List< ::piper::OutputDescriptor>::Builder ConfigurationResponse::Builder::initOutputs(unsigned int size) {
cannam@218 5806 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::init(_builder.getPointerField(
cannam@218 5807 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 5808 }
c@106 5809 inline void ConfigurationResponse::Builder::adoptOutputs(
c@106 5810 ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>>&& value) {
cannam@218 5811 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::adopt(_builder.getPointerField(
cannam@218 5812 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5813 }
c@106 5814 inline ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>> ConfigurationResponse::Builder::disownOutputs() {
cannam@218 5815 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::disown(_builder.getPointerField(
cannam@218 5816 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5817 }
c@106 5818
cannam@185 5819 inline bool ConfigurationResponse::Reader::hasFraming() const {
cannam@218 5820 return !_reader.getPointerField(
cannam@218 5821 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
cannam@185 5822 }
cannam@185 5823 inline bool ConfigurationResponse::Builder::hasFraming() {
cannam@218 5824 return !_builder.getPointerField(
cannam@218 5825 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
cannam@185 5826 }
cannam@185 5827 inline ::piper::Framing::Reader ConfigurationResponse::Reader::getFraming() const {
cannam@218 5828 return ::capnp::_::PointerHelpers< ::piper::Framing>::get(_reader.getPointerField(
cannam@218 5829 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@185 5830 }
cannam@185 5831 inline ::piper::Framing::Builder ConfigurationResponse::Builder::getFraming() {
cannam@218 5832 return ::capnp::_::PointerHelpers< ::piper::Framing>::get(_builder.getPointerField(
cannam@218 5833 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@185 5834 }
cannam@185 5835 #if !CAPNP_LITE
cannam@185 5836 inline ::piper::Framing::Pipeline ConfigurationResponse::Pipeline::getFraming() {
cannam@185 5837 return ::piper::Framing::Pipeline(_typeless.getPointerField(1));
cannam@185 5838 }
cannam@185 5839 #endif // !CAPNP_LITE
cannam@185 5840 inline void ConfigurationResponse::Builder::setFraming( ::piper::Framing::Reader value) {
cannam@218 5841 ::capnp::_::PointerHelpers< ::piper::Framing>::set(_builder.getPointerField(
cannam@218 5842 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
cannam@185 5843 }
cannam@185 5844 inline ::piper::Framing::Builder ConfigurationResponse::Builder::initFraming() {
cannam@218 5845 return ::capnp::_::PointerHelpers< ::piper::Framing>::init(_builder.getPointerField(
cannam@218 5846 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@185 5847 }
cannam@185 5848 inline void ConfigurationResponse::Builder::adoptFraming(
cannam@185 5849 ::capnp::Orphan< ::piper::Framing>&& value) {
cannam@218 5850 ::capnp::_::PointerHelpers< ::piper::Framing>::adopt(_builder.getPointerField(
cannam@218 5851 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
cannam@185 5852 }
cannam@185 5853 inline ::capnp::Orphan< ::piper::Framing> ConfigurationResponse::Builder::disownFraming() {
cannam@218 5854 return ::capnp::_::PointerHelpers< ::piper::Framing>::disown(_builder.getPointerField(
cannam@218 5855 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@185 5856 }
cannam@185 5857
c@106 5858 inline ::int32_t ProcessRequest::Reader::getHandle() const {
c@106 5859 return _reader.getDataField< ::int32_t>(
cannam@218 5860 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5861 }
c@106 5862
c@106 5863 inline ::int32_t ProcessRequest::Builder::getHandle() {
c@106 5864 return _builder.getDataField< ::int32_t>(
cannam@218 5865 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5866 }
c@106 5867 inline void ProcessRequest::Builder::setHandle( ::int32_t value) {
c@106 5868 _builder.setDataField< ::int32_t>(
cannam@218 5869 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5870 }
c@106 5871
c@106 5872 inline bool ProcessRequest::Reader::hasProcessInput() const {
cannam@218 5873 return !_reader.getPointerField(
cannam@218 5874 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5875 }
c@106 5876 inline bool ProcessRequest::Builder::hasProcessInput() {
cannam@218 5877 return !_builder.getPointerField(
cannam@218 5878 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5879 }
c@106 5880 inline ::piper::ProcessInput::Reader ProcessRequest::Reader::getProcessInput() const {
cannam@218 5881 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::get(_reader.getPointerField(
cannam@218 5882 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5883 }
c@106 5884 inline ::piper::ProcessInput::Builder ProcessRequest::Builder::getProcessInput() {
cannam@218 5885 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::get(_builder.getPointerField(
cannam@218 5886 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5887 }
c@106 5888 #if !CAPNP_LITE
c@106 5889 inline ::piper::ProcessInput::Pipeline ProcessRequest::Pipeline::getProcessInput() {
c@106 5890 return ::piper::ProcessInput::Pipeline(_typeless.getPointerField(0));
c@106 5891 }
c@106 5892 #endif // !CAPNP_LITE
c@106 5893 inline void ProcessRequest::Builder::setProcessInput( ::piper::ProcessInput::Reader value) {
cannam@218 5894 ::capnp::_::PointerHelpers< ::piper::ProcessInput>::set(_builder.getPointerField(
cannam@218 5895 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5896 }
c@106 5897 inline ::piper::ProcessInput::Builder ProcessRequest::Builder::initProcessInput() {
cannam@218 5898 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::init(_builder.getPointerField(
cannam@218 5899 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5900 }
c@106 5901 inline void ProcessRequest::Builder::adoptProcessInput(
c@106 5902 ::capnp::Orphan< ::piper::ProcessInput>&& value) {
cannam@218 5903 ::capnp::_::PointerHelpers< ::piper::ProcessInput>::adopt(_builder.getPointerField(
cannam@218 5904 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5905 }
c@106 5906 inline ::capnp::Orphan< ::piper::ProcessInput> ProcessRequest::Builder::disownProcessInput() {
cannam@218 5907 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::disown(_builder.getPointerField(
cannam@218 5908 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5909 }
c@106 5910
c@106 5911 inline ::int32_t ProcessResponse::Reader::getHandle() const {
c@106 5912 return _reader.getDataField< ::int32_t>(
cannam@218 5913 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5914 }
c@106 5915
c@106 5916 inline ::int32_t ProcessResponse::Builder::getHandle() {
c@106 5917 return _builder.getDataField< ::int32_t>(
cannam@218 5918 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5919 }
c@106 5920 inline void ProcessResponse::Builder::setHandle( ::int32_t value) {
c@106 5921 _builder.setDataField< ::int32_t>(
cannam@218 5922 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5923 }
c@106 5924
c@106 5925 inline bool ProcessResponse::Reader::hasFeatures() const {
cannam@218 5926 return !_reader.getPointerField(
cannam@218 5927 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5928 }
c@106 5929 inline bool ProcessResponse::Builder::hasFeatures() {
cannam@218 5930 return !_builder.getPointerField(
cannam@218 5931 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5932 }
c@106 5933 inline ::piper::FeatureSet::Reader ProcessResponse::Reader::getFeatures() const {
cannam@218 5934 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(_reader.getPointerField(
cannam@218 5935 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5936 }
c@106 5937 inline ::piper::FeatureSet::Builder ProcessResponse::Builder::getFeatures() {
cannam@218 5938 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(_builder.getPointerField(
cannam@218 5939 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5940 }
c@106 5941 #if !CAPNP_LITE
c@106 5942 inline ::piper::FeatureSet::Pipeline ProcessResponse::Pipeline::getFeatures() {
c@106 5943 return ::piper::FeatureSet::Pipeline(_typeless.getPointerField(0));
c@106 5944 }
c@106 5945 #endif // !CAPNP_LITE
c@106 5946 inline void ProcessResponse::Builder::setFeatures( ::piper::FeatureSet::Reader value) {
cannam@218 5947 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::set(_builder.getPointerField(
cannam@218 5948 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 5949 }
c@106 5950 inline ::piper::FeatureSet::Builder ProcessResponse::Builder::initFeatures() {
cannam@218 5951 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::init(_builder.getPointerField(
cannam@218 5952 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5953 }
c@106 5954 inline void ProcessResponse::Builder::adoptFeatures(
c@106 5955 ::capnp::Orphan< ::piper::FeatureSet>&& value) {
cannam@218 5956 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::adopt(_builder.getPointerField(
cannam@218 5957 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 5958 }
c@106 5959 inline ::capnp::Orphan< ::piper::FeatureSet> ProcessResponse::Builder::disownFeatures() {
cannam@218 5960 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::disown(_builder.getPointerField(
cannam@218 5961 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 5962 }
c@106 5963
c@106 5964 inline ::int32_t FinishRequest::Reader::getHandle() const {
c@106 5965 return _reader.getDataField< ::int32_t>(
cannam@218 5966 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5967 }
c@106 5968
c@106 5969 inline ::int32_t FinishRequest::Builder::getHandle() {
c@106 5970 return _builder.getDataField< ::int32_t>(
cannam@218 5971 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5972 }
c@106 5973 inline void FinishRequest::Builder::setHandle( ::int32_t value) {
c@106 5974 _builder.setDataField< ::int32_t>(
cannam@218 5975 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5976 }
c@106 5977
c@106 5978 inline ::int32_t FinishResponse::Reader::getHandle() const {
c@106 5979 return _reader.getDataField< ::int32_t>(
cannam@218 5980 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5981 }
c@106 5982
c@106 5983 inline ::int32_t FinishResponse::Builder::getHandle() {
c@106 5984 return _builder.getDataField< ::int32_t>(
cannam@218 5985 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 5986 }
c@106 5987 inline void FinishResponse::Builder::setHandle( ::int32_t value) {
c@106 5988 _builder.setDataField< ::int32_t>(
cannam@218 5989 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 5990 }
c@106 5991
c@106 5992 inline bool FinishResponse::Reader::hasFeatures() const {
cannam@218 5993 return !_reader.getPointerField(
cannam@218 5994 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5995 }
c@106 5996 inline bool FinishResponse::Builder::hasFeatures() {
cannam@218 5997 return !_builder.getPointerField(
cannam@218 5998 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 5999 }
c@106 6000 inline ::piper::FeatureSet::Reader FinishResponse::Reader::getFeatures() const {
cannam@218 6001 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(_reader.getPointerField(
cannam@218 6002 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6003 }
c@106 6004 inline ::piper::FeatureSet::Builder FinishResponse::Builder::getFeatures() {
cannam@218 6005 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(_builder.getPointerField(
cannam@218 6006 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6007 }
c@106 6008 #if !CAPNP_LITE
c@106 6009 inline ::piper::FeatureSet::Pipeline FinishResponse::Pipeline::getFeatures() {
c@106 6010 return ::piper::FeatureSet::Pipeline(_typeless.getPointerField(0));
c@106 6011 }
c@106 6012 #endif // !CAPNP_LITE
c@106 6013 inline void FinishResponse::Builder::setFeatures( ::piper::FeatureSet::Reader value) {
cannam@218 6014 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::set(_builder.getPointerField(
cannam@218 6015 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 6016 }
c@106 6017 inline ::piper::FeatureSet::Builder FinishResponse::Builder::initFeatures() {
cannam@218 6018 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::init(_builder.getPointerField(
cannam@218 6019 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6020 }
c@106 6021 inline void FinishResponse::Builder::adoptFeatures(
c@106 6022 ::capnp::Orphan< ::piper::FeatureSet>&& value) {
cannam@218 6023 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::adopt(_builder.getPointerField(
cannam@218 6024 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 6025 }
c@106 6026 inline ::capnp::Orphan< ::piper::FeatureSet> FinishResponse::Builder::disownFeatures() {
cannam@218 6027 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::disown(_builder.getPointerField(
cannam@218 6028 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6029 }
c@106 6030
c@106 6031 inline ::int32_t Error::Reader::getCode() const {
c@106 6032 return _reader.getDataField< ::int32_t>(
cannam@218 6033 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6034 }
c@106 6035
c@106 6036 inline ::int32_t Error::Builder::getCode() {
c@106 6037 return _builder.getDataField< ::int32_t>(
cannam@218 6038 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6039 }
c@106 6040 inline void Error::Builder::setCode( ::int32_t value) {
c@106 6041 _builder.setDataField< ::int32_t>(
cannam@218 6042 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 6043 }
c@106 6044
c@106 6045 inline bool Error::Reader::hasMessage() const {
cannam@218 6046 return !_reader.getPointerField(
cannam@218 6047 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 6048 }
c@106 6049 inline bool Error::Builder::hasMessage() {
cannam@218 6050 return !_builder.getPointerField(
cannam@218 6051 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 6052 }
c@106 6053 inline ::capnp::Text::Reader Error::Reader::getMessage() const {
cannam@218 6054 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 6055 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6056 }
c@106 6057 inline ::capnp::Text::Builder Error::Builder::getMessage() {
cannam@218 6058 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 6059 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6060 }
c@106 6061 inline void Error::Builder::setMessage( ::capnp::Text::Reader value) {
cannam@218 6062 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 6063 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 6064 }
c@106 6065 inline ::capnp::Text::Builder Error::Builder::initMessage(unsigned int size) {
cannam@218 6066 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 6067 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 6068 }
c@106 6069 inline void Error::Builder::adoptMessage(
c@106 6070 ::capnp::Orphan< ::capnp::Text>&& value) {
cannam@218 6071 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 6072 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 6073 }
c@106 6074 inline ::capnp::Orphan< ::capnp::Text> Error::Builder::disownMessage() {
cannam@218 6075 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 6076 ::capnp::bounded<0>() * ::capnp::POINTERS));
cannam@218 6077 }
cannam@218 6078
cannam@218 6079 inline typename RpcRequest::Id::Reader RpcRequest::Reader::getId() const {
cannam@218 6080 return typename RpcRequest::Id::Reader(_reader);
cannam@218 6081 }
cannam@218 6082 inline typename RpcRequest::Id::Builder RpcRequest::Builder::getId() {
cannam@218 6083 return typename RpcRequest::Id::Builder(_builder);
c@106 6084 }
c@106 6085 #if !CAPNP_LITE
cannam@218 6086 inline typename RpcRequest::Id::Pipeline RpcRequest::Pipeline::getId() {
cannam@218 6087 return typename RpcRequest::Id::Pipeline(_typeless.noop());
c@106 6088 }
c@106 6089 #endif // !CAPNP_LITE
cannam@218 6090 inline typename RpcRequest::Id::Builder RpcRequest::Builder::initId() {
cannam@218 6091 _builder.setDataField< ::uint32_t>(::capnp::bounded<0>() * ::capnp::ELEMENTS, 0);
cannam@218 6092 _builder.setDataField< ::uint16_t>(::capnp::bounded<2>() * ::capnp::ELEMENTS, 0);
cannam@218 6093 _builder.getPointerField(::capnp::bounded<0>() * ::capnp::POINTERS).clear();
cannam@218 6094 return typename RpcRequest::Id::Builder(_builder);
cannam@218 6095 }
cannam@218 6096 inline typename RpcRequest::Request::Reader RpcRequest::Reader::getRequest() const {
cannam@218 6097 return typename RpcRequest::Request::Reader(_reader);
cannam@218 6098 }
cannam@218 6099 inline typename RpcRequest::Request::Builder RpcRequest::Builder::getRequest() {
cannam@218 6100 return typename RpcRequest::Request::Builder(_builder);
c@106 6101 }
c@106 6102 #if !CAPNP_LITE
cannam@218 6103 inline typename RpcRequest::Request::Pipeline RpcRequest::Pipeline::getRequest() {
cannam@218 6104 return typename RpcRequest::Request::Pipeline(_typeless.noop());
c@106 6105 }
c@106 6106 #endif // !CAPNP_LITE
cannam@218 6107 inline typename RpcRequest::Request::Builder RpcRequest::Builder::initRequest() {
cannam@218 6108 _builder.setDataField< ::uint16_t>(::capnp::bounded<3>() * ::capnp::ELEMENTS, 0);
cannam@218 6109 _builder.getPointerField(::capnp::bounded<1>() * ::capnp::POINTERS).clear();
cannam@218 6110 return typename RpcRequest::Request::Builder(_builder);
c@106 6111 }
c@106 6112 inline ::piper::RpcRequest::Id::Which RpcRequest::Id::Reader::which() const {
cannam@218 6113 return _reader.getDataField<Which>(
cannam@218 6114 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 6115 }
c@106 6116 inline ::piper::RpcRequest::Id::Which RpcRequest::Id::Builder::which() {
cannam@218 6117 return _builder.getDataField<Which>(
cannam@218 6118 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 6119 }
c@106 6120
c@106 6121 inline bool RpcRequest::Id::Reader::isNumber() const {
c@106 6122 return which() == RpcRequest::Id::NUMBER;
c@106 6123 }
c@106 6124 inline bool RpcRequest::Id::Builder::isNumber() {
c@106 6125 return which() == RpcRequest::Id::NUMBER;
c@106 6126 }
c@106 6127 inline ::int32_t RpcRequest::Id::Reader::getNumber() const {
c@106 6128 KJ_IREQUIRE((which() == RpcRequest::Id::NUMBER),
c@106 6129 "Must check which() before get()ing a union member.");
c@106 6130 return _reader.getDataField< ::int32_t>(
cannam@218 6131 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6132 }
c@106 6133
c@106 6134 inline ::int32_t RpcRequest::Id::Builder::getNumber() {
c@106 6135 KJ_IREQUIRE((which() == RpcRequest::Id::NUMBER),
c@106 6136 "Must check which() before get()ing a union member.");
c@106 6137 return _builder.getDataField< ::int32_t>(
cannam@218 6138 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6139 }
c@106 6140 inline void RpcRequest::Id::Builder::setNumber( ::int32_t value) {
c@106 6141 _builder.setDataField<RpcRequest::Id::Which>(
cannam@218 6142 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcRequest::Id::NUMBER);
c@106 6143 _builder.setDataField< ::int32_t>(
cannam@218 6144 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 6145 }
c@106 6146
c@106 6147 inline bool RpcRequest::Id::Reader::isTag() const {
c@106 6148 return which() == RpcRequest::Id::TAG;
c@106 6149 }
c@106 6150 inline bool RpcRequest::Id::Builder::isTag() {
c@106 6151 return which() == RpcRequest::Id::TAG;
c@106 6152 }
c@106 6153 inline bool RpcRequest::Id::Reader::hasTag() const {
c@106 6154 if (which() != RpcRequest::Id::TAG) return false;
cannam@218 6155 return !_reader.getPointerField(
cannam@218 6156 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 6157 }
c@106 6158 inline bool RpcRequest::Id::Builder::hasTag() {
c@106 6159 if (which() != RpcRequest::Id::TAG) return false;
cannam@218 6160 return !_builder.getPointerField(
cannam@218 6161 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 6162 }
c@106 6163 inline ::capnp::Text::Reader RpcRequest::Id::Reader::getTag() const {
c@106 6164 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
c@106 6165 "Must check which() before get()ing a union member.");
cannam@218 6166 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 6167 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6168 }
c@106 6169 inline ::capnp::Text::Builder RpcRequest::Id::Builder::getTag() {
c@106 6170 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
c@106 6171 "Must check which() before get()ing a union member.");
cannam@218 6172 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 6173 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6174 }
c@106 6175 inline void RpcRequest::Id::Builder::setTag( ::capnp::Text::Reader value) {
c@106 6176 _builder.setDataField<RpcRequest::Id::Which>(
cannam@218 6177 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
cannam@218 6178 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 6179 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 6180 }
c@106 6181 inline ::capnp::Text::Builder RpcRequest::Id::Builder::initTag(unsigned int size) {
c@106 6182 _builder.setDataField<RpcRequest::Id::Which>(
cannam@218 6183 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
cannam@218 6184 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 6185 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 6186 }
c@106 6187 inline void RpcRequest::Id::Builder::adoptTag(
c@106 6188 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 6189 _builder.setDataField<RpcRequest::Id::Which>(
cannam@218 6190 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
cannam@218 6191 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 6192 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 6193 }
c@106 6194 inline ::capnp::Orphan< ::capnp::Text> RpcRequest::Id::Builder::disownTag() {
c@106 6195 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
c@106 6196 "Must check which() before get()ing a union member.");
cannam@218 6197 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 6198 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6199 }
c@106 6200
c@106 6201 inline bool RpcRequest::Id::Reader::isNone() const {
c@106 6202 return which() == RpcRequest::Id::NONE;
c@106 6203 }
c@106 6204 inline bool RpcRequest::Id::Builder::isNone() {
c@106 6205 return which() == RpcRequest::Id::NONE;
c@106 6206 }
c@106 6207 inline ::capnp::Void RpcRequest::Id::Reader::getNone() const {
c@106 6208 KJ_IREQUIRE((which() == RpcRequest::Id::NONE),
c@106 6209 "Must check which() before get()ing a union member.");
c@106 6210 return _reader.getDataField< ::capnp::Void>(
cannam@218 6211 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6212 }
c@106 6213
c@106 6214 inline ::capnp::Void RpcRequest::Id::Builder::getNone() {
c@106 6215 KJ_IREQUIRE((which() == RpcRequest::Id::NONE),
c@106 6216 "Must check which() before get()ing a union member.");
c@106 6217 return _builder.getDataField< ::capnp::Void>(
cannam@218 6218 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6219 }
c@106 6220 inline void RpcRequest::Id::Builder::setNone( ::capnp::Void value) {
c@106 6221 _builder.setDataField<RpcRequest::Id::Which>(
cannam@218 6222 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcRequest::Id::NONE);
c@106 6223 _builder.setDataField< ::capnp::Void>(
cannam@218 6224 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 6225 }
c@106 6226
c@106 6227 inline ::piper::RpcRequest::Request::Which RpcRequest::Request::Reader::which() const {
cannam@218 6228 return _reader.getDataField<Which>(
cannam@218 6229 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
c@106 6230 }
c@106 6231 inline ::piper::RpcRequest::Request::Which RpcRequest::Request::Builder::which() {
cannam@218 6232 return _builder.getDataField<Which>(
cannam@218 6233 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
c@106 6234 }
c@106 6235
c@106 6236 inline bool RpcRequest::Request::Reader::isList() const {
c@106 6237 return which() == RpcRequest::Request::LIST;
c@106 6238 }
c@106 6239 inline bool RpcRequest::Request::Builder::isList() {
c@106 6240 return which() == RpcRequest::Request::LIST;
c@106 6241 }
c@106 6242 inline bool RpcRequest::Request::Reader::hasList() const {
c@106 6243 if (which() != RpcRequest::Request::LIST) return false;
cannam@218 6244 return !_reader.getPointerField(
cannam@218 6245 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6246 }
c@106 6247 inline bool RpcRequest::Request::Builder::hasList() {
c@106 6248 if (which() != RpcRequest::Request::LIST) return false;
cannam@218 6249 return !_builder.getPointerField(
cannam@218 6250 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6251 }
c@106 6252 inline ::piper::ListRequest::Reader RpcRequest::Request::Reader::getList() const {
c@106 6253 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
c@106 6254 "Must check which() before get()ing a union member.");
cannam@218 6255 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::get(_reader.getPointerField(
cannam@218 6256 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6257 }
c@106 6258 inline ::piper::ListRequest::Builder RpcRequest::Request::Builder::getList() {
c@106 6259 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
c@106 6260 "Must check which() before get()ing a union member.");
cannam@218 6261 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::get(_builder.getPointerField(
cannam@218 6262 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6263 }
c@106 6264 inline void RpcRequest::Request::Builder::setList( ::piper::ListRequest::Reader value) {
c@106 6265 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6266 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
cannam@218 6267 ::capnp::_::PointerHelpers< ::piper::ListRequest>::set(_builder.getPointerField(
cannam@218 6268 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6269 }
c@106 6270 inline ::piper::ListRequest::Builder RpcRequest::Request::Builder::initList() {
c@106 6271 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6272 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
cannam@218 6273 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::init(_builder.getPointerField(
cannam@218 6274 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6275 }
c@106 6276 inline void RpcRequest::Request::Builder::adoptList(
c@106 6277 ::capnp::Orphan< ::piper::ListRequest>&& value) {
c@106 6278 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6279 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
cannam@218 6280 ::capnp::_::PointerHelpers< ::piper::ListRequest>::adopt(_builder.getPointerField(
cannam@218 6281 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6282 }
c@106 6283 inline ::capnp::Orphan< ::piper::ListRequest> RpcRequest::Request::Builder::disownList() {
c@106 6284 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
c@106 6285 "Must check which() before get()ing a union member.");
cannam@218 6286 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::disown(_builder.getPointerField(
cannam@218 6287 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6288 }
c@106 6289
c@106 6290 inline bool RpcRequest::Request::Reader::isLoad() const {
c@106 6291 return which() == RpcRequest::Request::LOAD;
c@106 6292 }
c@106 6293 inline bool RpcRequest::Request::Builder::isLoad() {
c@106 6294 return which() == RpcRequest::Request::LOAD;
c@106 6295 }
c@106 6296 inline bool RpcRequest::Request::Reader::hasLoad() const {
c@106 6297 if (which() != RpcRequest::Request::LOAD) return false;
cannam@218 6298 return !_reader.getPointerField(
cannam@218 6299 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6300 }
c@106 6301 inline bool RpcRequest::Request::Builder::hasLoad() {
c@106 6302 if (which() != RpcRequest::Request::LOAD) return false;
cannam@218 6303 return !_builder.getPointerField(
cannam@218 6304 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6305 }
c@106 6306 inline ::piper::LoadRequest::Reader RpcRequest::Request::Reader::getLoad() const {
c@106 6307 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
c@106 6308 "Must check which() before get()ing a union member.");
cannam@218 6309 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::get(_reader.getPointerField(
cannam@218 6310 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6311 }
c@106 6312 inline ::piper::LoadRequest::Builder RpcRequest::Request::Builder::getLoad() {
c@106 6313 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
c@106 6314 "Must check which() before get()ing a union member.");
cannam@218 6315 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::get(_builder.getPointerField(
cannam@218 6316 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6317 }
c@106 6318 inline void RpcRequest::Request::Builder::setLoad( ::piper::LoadRequest::Reader value) {
c@106 6319 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6320 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
cannam@218 6321 ::capnp::_::PointerHelpers< ::piper::LoadRequest>::set(_builder.getPointerField(
cannam@218 6322 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6323 }
c@106 6324 inline ::piper::LoadRequest::Builder RpcRequest::Request::Builder::initLoad() {
c@106 6325 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6326 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
cannam@218 6327 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::init(_builder.getPointerField(
cannam@218 6328 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6329 }
c@106 6330 inline void RpcRequest::Request::Builder::adoptLoad(
c@106 6331 ::capnp::Orphan< ::piper::LoadRequest>&& value) {
c@106 6332 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6333 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
cannam@218 6334 ::capnp::_::PointerHelpers< ::piper::LoadRequest>::adopt(_builder.getPointerField(
cannam@218 6335 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6336 }
c@106 6337 inline ::capnp::Orphan< ::piper::LoadRequest> RpcRequest::Request::Builder::disownLoad() {
c@106 6338 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
c@106 6339 "Must check which() before get()ing a union member.");
cannam@218 6340 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::disown(_builder.getPointerField(
cannam@218 6341 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6342 }
c@106 6343
c@106 6344 inline bool RpcRequest::Request::Reader::isConfigure() const {
c@106 6345 return which() == RpcRequest::Request::CONFIGURE;
c@106 6346 }
c@106 6347 inline bool RpcRequest::Request::Builder::isConfigure() {
c@106 6348 return which() == RpcRequest::Request::CONFIGURE;
c@106 6349 }
c@106 6350 inline bool RpcRequest::Request::Reader::hasConfigure() const {
c@106 6351 if (which() != RpcRequest::Request::CONFIGURE) return false;
cannam@218 6352 return !_reader.getPointerField(
cannam@218 6353 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6354 }
c@106 6355 inline bool RpcRequest::Request::Builder::hasConfigure() {
c@106 6356 if (which() != RpcRequest::Request::CONFIGURE) return false;
cannam@218 6357 return !_builder.getPointerField(
cannam@218 6358 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6359 }
c@106 6360 inline ::piper::ConfigurationRequest::Reader RpcRequest::Request::Reader::getConfigure() const {
c@106 6361 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
c@106 6362 "Must check which() before get()ing a union member.");
cannam@218 6363 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::get(_reader.getPointerField(
cannam@218 6364 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6365 }
c@106 6366 inline ::piper::ConfigurationRequest::Builder RpcRequest::Request::Builder::getConfigure() {
c@106 6367 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
c@106 6368 "Must check which() before get()ing a union member.");
cannam@218 6369 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::get(_builder.getPointerField(
cannam@218 6370 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6371 }
c@106 6372 inline void RpcRequest::Request::Builder::setConfigure( ::piper::ConfigurationRequest::Reader value) {
c@106 6373 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6374 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
cannam@218 6375 ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::set(_builder.getPointerField(
cannam@218 6376 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6377 }
c@106 6378 inline ::piper::ConfigurationRequest::Builder RpcRequest::Request::Builder::initConfigure() {
c@106 6379 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6380 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
cannam@218 6381 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::init(_builder.getPointerField(
cannam@218 6382 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6383 }
c@106 6384 inline void RpcRequest::Request::Builder::adoptConfigure(
c@106 6385 ::capnp::Orphan< ::piper::ConfigurationRequest>&& value) {
c@106 6386 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6387 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
cannam@218 6388 ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::adopt(_builder.getPointerField(
cannam@218 6389 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6390 }
c@106 6391 inline ::capnp::Orphan< ::piper::ConfigurationRequest> RpcRequest::Request::Builder::disownConfigure() {
c@106 6392 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
c@106 6393 "Must check which() before get()ing a union member.");
cannam@218 6394 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::disown(_builder.getPointerField(
cannam@218 6395 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6396 }
c@106 6397
c@106 6398 inline bool RpcRequest::Request::Reader::isProcess() const {
c@106 6399 return which() == RpcRequest::Request::PROCESS;
c@106 6400 }
c@106 6401 inline bool RpcRequest::Request::Builder::isProcess() {
c@106 6402 return which() == RpcRequest::Request::PROCESS;
c@106 6403 }
c@106 6404 inline bool RpcRequest::Request::Reader::hasProcess() const {
c@106 6405 if (which() != RpcRequest::Request::PROCESS) return false;
cannam@218 6406 return !_reader.getPointerField(
cannam@218 6407 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6408 }
c@106 6409 inline bool RpcRequest::Request::Builder::hasProcess() {
c@106 6410 if (which() != RpcRequest::Request::PROCESS) return false;
cannam@218 6411 return !_builder.getPointerField(
cannam@218 6412 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6413 }
c@106 6414 inline ::piper::ProcessRequest::Reader RpcRequest::Request::Reader::getProcess() const {
c@106 6415 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
c@106 6416 "Must check which() before get()ing a union member.");
cannam@218 6417 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::get(_reader.getPointerField(
cannam@218 6418 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6419 }
c@106 6420 inline ::piper::ProcessRequest::Builder RpcRequest::Request::Builder::getProcess() {
c@106 6421 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
c@106 6422 "Must check which() before get()ing a union member.");
cannam@218 6423 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::get(_builder.getPointerField(
cannam@218 6424 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6425 }
c@106 6426 inline void RpcRequest::Request::Builder::setProcess( ::piper::ProcessRequest::Reader value) {
c@106 6427 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6428 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
cannam@218 6429 ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::set(_builder.getPointerField(
cannam@218 6430 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6431 }
c@106 6432 inline ::piper::ProcessRequest::Builder RpcRequest::Request::Builder::initProcess() {
c@106 6433 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6434 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
cannam@218 6435 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::init(_builder.getPointerField(
cannam@218 6436 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6437 }
c@106 6438 inline void RpcRequest::Request::Builder::adoptProcess(
c@106 6439 ::capnp::Orphan< ::piper::ProcessRequest>&& value) {
c@106 6440 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6441 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
cannam@218 6442 ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::adopt(_builder.getPointerField(
cannam@218 6443 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6444 }
c@106 6445 inline ::capnp::Orphan< ::piper::ProcessRequest> RpcRequest::Request::Builder::disownProcess() {
c@106 6446 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
c@106 6447 "Must check which() before get()ing a union member.");
cannam@218 6448 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::disown(_builder.getPointerField(
cannam@218 6449 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6450 }
c@106 6451
c@106 6452 inline bool RpcRequest::Request::Reader::isFinish() const {
c@106 6453 return which() == RpcRequest::Request::FINISH;
c@106 6454 }
c@106 6455 inline bool RpcRequest::Request::Builder::isFinish() {
c@106 6456 return which() == RpcRequest::Request::FINISH;
c@106 6457 }
c@106 6458 inline bool RpcRequest::Request::Reader::hasFinish() const {
c@106 6459 if (which() != RpcRequest::Request::FINISH) return false;
cannam@218 6460 return !_reader.getPointerField(
cannam@218 6461 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6462 }
c@106 6463 inline bool RpcRequest::Request::Builder::hasFinish() {
c@106 6464 if (which() != RpcRequest::Request::FINISH) return false;
cannam@218 6465 return !_builder.getPointerField(
cannam@218 6466 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6467 }
c@106 6468 inline ::piper::FinishRequest::Reader RpcRequest::Request::Reader::getFinish() const {
c@106 6469 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
c@106 6470 "Must check which() before get()ing a union member.");
cannam@218 6471 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::get(_reader.getPointerField(
cannam@218 6472 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6473 }
c@106 6474 inline ::piper::FinishRequest::Builder RpcRequest::Request::Builder::getFinish() {
c@106 6475 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
c@106 6476 "Must check which() before get()ing a union member.");
cannam@218 6477 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::get(_builder.getPointerField(
cannam@218 6478 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6479 }
c@106 6480 inline void RpcRequest::Request::Builder::setFinish( ::piper::FinishRequest::Reader value) {
c@106 6481 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6482 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
cannam@218 6483 ::capnp::_::PointerHelpers< ::piper::FinishRequest>::set(_builder.getPointerField(
cannam@218 6484 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6485 }
c@106 6486 inline ::piper::FinishRequest::Builder RpcRequest::Request::Builder::initFinish() {
c@106 6487 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6488 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
cannam@218 6489 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::init(_builder.getPointerField(
cannam@218 6490 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6491 }
c@106 6492 inline void RpcRequest::Request::Builder::adoptFinish(
c@106 6493 ::capnp::Orphan< ::piper::FinishRequest>&& value) {
c@106 6494 _builder.setDataField<RpcRequest::Request::Which>(
cannam@218 6495 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
cannam@218 6496 ::capnp::_::PointerHelpers< ::piper::FinishRequest>::adopt(_builder.getPointerField(
cannam@218 6497 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6498 }
c@106 6499 inline ::capnp::Orphan< ::piper::FinishRequest> RpcRequest::Request::Builder::disownFinish() {
c@106 6500 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
c@106 6501 "Must check which() before get()ing a union member.");
cannam@218 6502 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::disown(_builder.getPointerField(
cannam@218 6503 ::capnp::bounded<1>() * ::capnp::POINTERS));
cannam@218 6504 }
cannam@218 6505
cannam@218 6506 inline typename RpcResponse::Id::Reader RpcResponse::Reader::getId() const {
cannam@218 6507 return typename RpcResponse::Id::Reader(_reader);
cannam@218 6508 }
cannam@218 6509 inline typename RpcResponse::Id::Builder RpcResponse::Builder::getId() {
cannam@218 6510 return typename RpcResponse::Id::Builder(_builder);
c@106 6511 }
c@106 6512 #if !CAPNP_LITE
cannam@218 6513 inline typename RpcResponse::Id::Pipeline RpcResponse::Pipeline::getId() {
cannam@218 6514 return typename RpcResponse::Id::Pipeline(_typeless.noop());
c@106 6515 }
c@106 6516 #endif // !CAPNP_LITE
cannam@218 6517 inline typename RpcResponse::Id::Builder RpcResponse::Builder::initId() {
cannam@218 6518 _builder.setDataField< ::uint32_t>(::capnp::bounded<0>() * ::capnp::ELEMENTS, 0);
cannam@218 6519 _builder.setDataField< ::uint16_t>(::capnp::bounded<2>() * ::capnp::ELEMENTS, 0);
cannam@218 6520 _builder.getPointerField(::capnp::bounded<0>() * ::capnp::POINTERS).clear();
cannam@218 6521 return typename RpcResponse::Id::Builder(_builder);
cannam@218 6522 }
cannam@218 6523 inline typename RpcResponse::Response::Reader RpcResponse::Reader::getResponse() const {
cannam@218 6524 return typename RpcResponse::Response::Reader(_reader);
cannam@218 6525 }
cannam@218 6526 inline typename RpcResponse::Response::Builder RpcResponse::Builder::getResponse() {
cannam@218 6527 return typename RpcResponse::Response::Builder(_builder);
c@106 6528 }
c@106 6529 #if !CAPNP_LITE
cannam@218 6530 inline typename RpcResponse::Response::Pipeline RpcResponse::Pipeline::getResponse() {
cannam@218 6531 return typename RpcResponse::Response::Pipeline(_typeless.noop());
c@106 6532 }
c@106 6533 #endif // !CAPNP_LITE
cannam@218 6534 inline typename RpcResponse::Response::Builder RpcResponse::Builder::initResponse() {
cannam@218 6535 _builder.setDataField< ::uint16_t>(::capnp::bounded<3>() * ::capnp::ELEMENTS, 0);
cannam@218 6536 _builder.getPointerField(::capnp::bounded<1>() * ::capnp::POINTERS).clear();
cannam@218 6537 return typename RpcResponse::Response::Builder(_builder);
c@106 6538 }
c@106 6539 inline ::piper::RpcResponse::Id::Which RpcResponse::Id::Reader::which() const {
cannam@218 6540 return _reader.getDataField<Which>(
cannam@218 6541 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 6542 }
c@106 6543 inline ::piper::RpcResponse::Id::Which RpcResponse::Id::Builder::which() {
cannam@218 6544 return _builder.getDataField<Which>(
cannam@218 6545 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
c@106 6546 }
c@106 6547
c@106 6548 inline bool RpcResponse::Id::Reader::isNumber() const {
c@106 6549 return which() == RpcResponse::Id::NUMBER;
c@106 6550 }
c@106 6551 inline bool RpcResponse::Id::Builder::isNumber() {
c@106 6552 return which() == RpcResponse::Id::NUMBER;
c@106 6553 }
c@106 6554 inline ::int32_t RpcResponse::Id::Reader::getNumber() const {
c@106 6555 KJ_IREQUIRE((which() == RpcResponse::Id::NUMBER),
c@106 6556 "Must check which() before get()ing a union member.");
c@106 6557 return _reader.getDataField< ::int32_t>(
cannam@218 6558 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6559 }
c@106 6560
c@106 6561 inline ::int32_t RpcResponse::Id::Builder::getNumber() {
c@106 6562 KJ_IREQUIRE((which() == RpcResponse::Id::NUMBER),
c@106 6563 "Must check which() before get()ing a union member.");
c@106 6564 return _builder.getDataField< ::int32_t>(
cannam@218 6565 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6566 }
c@106 6567 inline void RpcResponse::Id::Builder::setNumber( ::int32_t value) {
c@106 6568 _builder.setDataField<RpcResponse::Id::Which>(
cannam@218 6569 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcResponse::Id::NUMBER);
c@106 6570 _builder.setDataField< ::int32_t>(
cannam@218 6571 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 6572 }
c@106 6573
c@106 6574 inline bool RpcResponse::Id::Reader::isTag() const {
c@106 6575 return which() == RpcResponse::Id::TAG;
c@106 6576 }
c@106 6577 inline bool RpcResponse::Id::Builder::isTag() {
c@106 6578 return which() == RpcResponse::Id::TAG;
c@106 6579 }
c@106 6580 inline bool RpcResponse::Id::Reader::hasTag() const {
c@106 6581 if (which() != RpcResponse::Id::TAG) return false;
cannam@218 6582 return !_reader.getPointerField(
cannam@218 6583 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 6584 }
c@106 6585 inline bool RpcResponse::Id::Builder::hasTag() {
c@106 6586 if (which() != RpcResponse::Id::TAG) return false;
cannam@218 6587 return !_builder.getPointerField(
cannam@218 6588 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
c@106 6589 }
c@106 6590 inline ::capnp::Text::Reader RpcResponse::Id::Reader::getTag() const {
c@106 6591 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
c@106 6592 "Must check which() before get()ing a union member.");
cannam@218 6593 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
cannam@218 6594 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6595 }
c@106 6596 inline ::capnp::Text::Builder RpcResponse::Id::Builder::getTag() {
c@106 6597 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
c@106 6598 "Must check which() before get()ing a union member.");
cannam@218 6599 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
cannam@218 6600 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6601 }
c@106 6602 inline void RpcResponse::Id::Builder::setTag( ::capnp::Text::Reader value) {
c@106 6603 _builder.setDataField<RpcResponse::Id::Which>(
cannam@218 6604 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
cannam@218 6605 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
cannam@218 6606 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
c@106 6607 }
c@106 6608 inline ::capnp::Text::Builder RpcResponse::Id::Builder::initTag(unsigned int size) {
c@106 6609 _builder.setDataField<RpcResponse::Id::Which>(
cannam@218 6610 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
cannam@218 6611 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
cannam@218 6612 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
c@106 6613 }
c@106 6614 inline void RpcResponse::Id::Builder::adoptTag(
c@106 6615 ::capnp::Orphan< ::capnp::Text>&& value) {
c@106 6616 _builder.setDataField<RpcResponse::Id::Which>(
cannam@218 6617 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
cannam@218 6618 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
cannam@218 6619 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
c@106 6620 }
c@106 6621 inline ::capnp::Orphan< ::capnp::Text> RpcResponse::Id::Builder::disownTag() {
c@106 6622 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
c@106 6623 "Must check which() before get()ing a union member.");
cannam@218 6624 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
cannam@218 6625 ::capnp::bounded<0>() * ::capnp::POINTERS));
c@106 6626 }
c@106 6627
c@106 6628 inline bool RpcResponse::Id::Reader::isNone() const {
c@106 6629 return which() == RpcResponse::Id::NONE;
c@106 6630 }
c@106 6631 inline bool RpcResponse::Id::Builder::isNone() {
c@106 6632 return which() == RpcResponse::Id::NONE;
c@106 6633 }
c@106 6634 inline ::capnp::Void RpcResponse::Id::Reader::getNone() const {
c@106 6635 KJ_IREQUIRE((which() == RpcResponse::Id::NONE),
c@106 6636 "Must check which() before get()ing a union member.");
c@106 6637 return _reader.getDataField< ::capnp::Void>(
cannam@218 6638 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6639 }
c@106 6640
c@106 6641 inline ::capnp::Void RpcResponse::Id::Builder::getNone() {
c@106 6642 KJ_IREQUIRE((which() == RpcResponse::Id::NONE),
c@106 6643 "Must check which() before get()ing a union member.");
c@106 6644 return _builder.getDataField< ::capnp::Void>(
cannam@218 6645 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
c@106 6646 }
c@106 6647 inline void RpcResponse::Id::Builder::setNone( ::capnp::Void value) {
c@106 6648 _builder.setDataField<RpcResponse::Id::Which>(
cannam@218 6649 ::capnp::bounded<2>() * ::capnp::ELEMENTS, RpcResponse::Id::NONE);
c@106 6650 _builder.setDataField< ::capnp::Void>(
cannam@218 6651 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
c@106 6652 }
c@106 6653
c@106 6654 inline ::piper::RpcResponse::Response::Which RpcResponse::Response::Reader::which() const {
cannam@218 6655 return _reader.getDataField<Which>(
cannam@218 6656 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
c@106 6657 }
c@106 6658 inline ::piper::RpcResponse::Response::Which RpcResponse::Response::Builder::which() {
cannam@218 6659 return _builder.getDataField<Which>(
cannam@218 6660 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
c@106 6661 }
c@106 6662
c@106 6663 inline bool RpcResponse::Response::Reader::isError() const {
c@106 6664 return which() == RpcResponse::Response::ERROR;
c@106 6665 }
c@106 6666 inline bool RpcResponse::Response::Builder::isError() {
c@106 6667 return which() == RpcResponse::Response::ERROR;
c@106 6668 }
c@106 6669 inline bool RpcResponse::Response::Reader::hasError() const {
c@106 6670 if (which() != RpcResponse::Response::ERROR) return false;
cannam@218 6671 return !_reader.getPointerField(
cannam@218 6672 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6673 }
c@106 6674 inline bool RpcResponse::Response::Builder::hasError() {
c@106 6675 if (which() != RpcResponse::Response::ERROR) return false;
cannam@218 6676 return !_builder.getPointerField(
cannam@218 6677 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6678 }
c@106 6679 inline ::piper::Error::Reader RpcResponse::Response::Reader::getError() const {
c@106 6680 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
c@106 6681 "Must check which() before get()ing a union member.");
cannam@218 6682 return ::capnp::_::PointerHelpers< ::piper::Error>::get(_reader.getPointerField(
cannam@218 6683 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6684 }
c@106 6685 inline ::piper::Error::Builder RpcResponse::Response::Builder::getError() {
c@106 6686 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
c@106 6687 "Must check which() before get()ing a union member.");
cannam@218 6688 return ::capnp::_::PointerHelpers< ::piper::Error>::get(_builder.getPointerField(
cannam@218 6689 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6690 }
c@106 6691 inline void RpcResponse::Response::Builder::setError( ::piper::Error::Reader value) {
c@106 6692 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6693 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
cannam@218 6694 ::capnp::_::PointerHelpers< ::piper::Error>::set(_builder.getPointerField(
cannam@218 6695 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6696 }
c@106 6697 inline ::piper::Error::Builder RpcResponse::Response::Builder::initError() {
c@106 6698 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6699 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
cannam@218 6700 return ::capnp::_::PointerHelpers< ::piper::Error>::init(_builder.getPointerField(
cannam@218 6701 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6702 }
c@106 6703 inline void RpcResponse::Response::Builder::adoptError(
c@106 6704 ::capnp::Orphan< ::piper::Error>&& value) {
c@106 6705 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6706 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
cannam@218 6707 ::capnp::_::PointerHelpers< ::piper::Error>::adopt(_builder.getPointerField(
cannam@218 6708 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6709 }
c@106 6710 inline ::capnp::Orphan< ::piper::Error> RpcResponse::Response::Builder::disownError() {
c@106 6711 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
c@106 6712 "Must check which() before get()ing a union member.");
cannam@218 6713 return ::capnp::_::PointerHelpers< ::piper::Error>::disown(_builder.getPointerField(
cannam@218 6714 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6715 }
c@106 6716
c@106 6717 inline bool RpcResponse::Response::Reader::isList() const {
c@106 6718 return which() == RpcResponse::Response::LIST;
c@106 6719 }
c@106 6720 inline bool RpcResponse::Response::Builder::isList() {
c@106 6721 return which() == RpcResponse::Response::LIST;
c@106 6722 }
c@106 6723 inline bool RpcResponse::Response::Reader::hasList() const {
c@106 6724 if (which() != RpcResponse::Response::LIST) return false;
cannam@218 6725 return !_reader.getPointerField(
cannam@218 6726 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6727 }
c@106 6728 inline bool RpcResponse::Response::Builder::hasList() {
c@106 6729 if (which() != RpcResponse::Response::LIST) return false;
cannam@218 6730 return !_builder.getPointerField(
cannam@218 6731 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6732 }
c@106 6733 inline ::piper::ListResponse::Reader RpcResponse::Response::Reader::getList() const {
c@106 6734 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
c@106 6735 "Must check which() before get()ing a union member.");
cannam@218 6736 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::get(_reader.getPointerField(
cannam@218 6737 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6738 }
c@106 6739 inline ::piper::ListResponse::Builder RpcResponse::Response::Builder::getList() {
c@106 6740 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
c@106 6741 "Must check which() before get()ing a union member.");
cannam@218 6742 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::get(_builder.getPointerField(
cannam@218 6743 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6744 }
c@106 6745 inline void RpcResponse::Response::Builder::setList( ::piper::ListResponse::Reader value) {
c@106 6746 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6747 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
cannam@218 6748 ::capnp::_::PointerHelpers< ::piper::ListResponse>::set(_builder.getPointerField(
cannam@218 6749 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6750 }
c@106 6751 inline ::piper::ListResponse::Builder RpcResponse::Response::Builder::initList() {
c@106 6752 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6753 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
cannam@218 6754 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::init(_builder.getPointerField(
cannam@218 6755 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6756 }
c@106 6757 inline void RpcResponse::Response::Builder::adoptList(
c@106 6758 ::capnp::Orphan< ::piper::ListResponse>&& value) {
c@106 6759 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6760 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
cannam@218 6761 ::capnp::_::PointerHelpers< ::piper::ListResponse>::adopt(_builder.getPointerField(
cannam@218 6762 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6763 }
c@106 6764 inline ::capnp::Orphan< ::piper::ListResponse> RpcResponse::Response::Builder::disownList() {
c@106 6765 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
c@106 6766 "Must check which() before get()ing a union member.");
cannam@218 6767 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::disown(_builder.getPointerField(
cannam@218 6768 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6769 }
c@106 6770
c@106 6771 inline bool RpcResponse::Response::Reader::isLoad() const {
c@106 6772 return which() == RpcResponse::Response::LOAD;
c@106 6773 }
c@106 6774 inline bool RpcResponse::Response::Builder::isLoad() {
c@106 6775 return which() == RpcResponse::Response::LOAD;
c@106 6776 }
c@106 6777 inline bool RpcResponse::Response::Reader::hasLoad() const {
c@106 6778 if (which() != RpcResponse::Response::LOAD) return false;
cannam@218 6779 return !_reader.getPointerField(
cannam@218 6780 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6781 }
c@106 6782 inline bool RpcResponse::Response::Builder::hasLoad() {
c@106 6783 if (which() != RpcResponse::Response::LOAD) return false;
cannam@218 6784 return !_builder.getPointerField(
cannam@218 6785 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6786 }
c@106 6787 inline ::piper::LoadResponse::Reader RpcResponse::Response::Reader::getLoad() const {
c@106 6788 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
c@106 6789 "Must check which() before get()ing a union member.");
cannam@218 6790 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::get(_reader.getPointerField(
cannam@218 6791 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6792 }
c@106 6793 inline ::piper::LoadResponse::Builder RpcResponse::Response::Builder::getLoad() {
c@106 6794 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
c@106 6795 "Must check which() before get()ing a union member.");
cannam@218 6796 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::get(_builder.getPointerField(
cannam@218 6797 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6798 }
c@106 6799 inline void RpcResponse::Response::Builder::setLoad( ::piper::LoadResponse::Reader value) {
c@106 6800 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6801 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
cannam@218 6802 ::capnp::_::PointerHelpers< ::piper::LoadResponse>::set(_builder.getPointerField(
cannam@218 6803 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6804 }
c@106 6805 inline ::piper::LoadResponse::Builder RpcResponse::Response::Builder::initLoad() {
c@106 6806 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6807 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
cannam@218 6808 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::init(_builder.getPointerField(
cannam@218 6809 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6810 }
c@106 6811 inline void RpcResponse::Response::Builder::adoptLoad(
c@106 6812 ::capnp::Orphan< ::piper::LoadResponse>&& value) {
c@106 6813 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6814 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
cannam@218 6815 ::capnp::_::PointerHelpers< ::piper::LoadResponse>::adopt(_builder.getPointerField(
cannam@218 6816 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6817 }
c@106 6818 inline ::capnp::Orphan< ::piper::LoadResponse> RpcResponse::Response::Builder::disownLoad() {
c@106 6819 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
c@106 6820 "Must check which() before get()ing a union member.");
cannam@218 6821 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::disown(_builder.getPointerField(
cannam@218 6822 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6823 }
c@106 6824
c@106 6825 inline bool RpcResponse::Response::Reader::isConfigure() const {
c@106 6826 return which() == RpcResponse::Response::CONFIGURE;
c@106 6827 }
c@106 6828 inline bool RpcResponse::Response::Builder::isConfigure() {
c@106 6829 return which() == RpcResponse::Response::CONFIGURE;
c@106 6830 }
c@106 6831 inline bool RpcResponse::Response::Reader::hasConfigure() const {
c@106 6832 if (which() != RpcResponse::Response::CONFIGURE) return false;
cannam@218 6833 return !_reader.getPointerField(
cannam@218 6834 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6835 }
c@106 6836 inline bool RpcResponse::Response::Builder::hasConfigure() {
c@106 6837 if (which() != RpcResponse::Response::CONFIGURE) return false;
cannam@218 6838 return !_builder.getPointerField(
cannam@218 6839 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6840 }
c@106 6841 inline ::piper::ConfigurationResponse::Reader RpcResponse::Response::Reader::getConfigure() const {
c@106 6842 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
c@106 6843 "Must check which() before get()ing a union member.");
cannam@218 6844 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::get(_reader.getPointerField(
cannam@218 6845 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6846 }
c@106 6847 inline ::piper::ConfigurationResponse::Builder RpcResponse::Response::Builder::getConfigure() {
c@106 6848 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
c@106 6849 "Must check which() before get()ing a union member.");
cannam@218 6850 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::get(_builder.getPointerField(
cannam@218 6851 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6852 }
c@106 6853 inline void RpcResponse::Response::Builder::setConfigure( ::piper::ConfigurationResponse::Reader value) {
c@106 6854 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6855 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
cannam@218 6856 ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::set(_builder.getPointerField(
cannam@218 6857 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6858 }
c@106 6859 inline ::piper::ConfigurationResponse::Builder RpcResponse::Response::Builder::initConfigure() {
c@106 6860 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6861 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
cannam@218 6862 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::init(_builder.getPointerField(
cannam@218 6863 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6864 }
c@106 6865 inline void RpcResponse::Response::Builder::adoptConfigure(
c@106 6866 ::capnp::Orphan< ::piper::ConfigurationResponse>&& value) {
c@106 6867 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6868 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
cannam@218 6869 ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::adopt(_builder.getPointerField(
cannam@218 6870 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6871 }
c@106 6872 inline ::capnp::Orphan< ::piper::ConfigurationResponse> RpcResponse::Response::Builder::disownConfigure() {
c@106 6873 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
c@106 6874 "Must check which() before get()ing a union member.");
cannam@218 6875 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::disown(_builder.getPointerField(
cannam@218 6876 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6877 }
c@106 6878
c@106 6879 inline bool RpcResponse::Response::Reader::isProcess() const {
c@106 6880 return which() == RpcResponse::Response::PROCESS;
c@106 6881 }
c@106 6882 inline bool RpcResponse::Response::Builder::isProcess() {
c@106 6883 return which() == RpcResponse::Response::PROCESS;
c@106 6884 }
c@106 6885 inline bool RpcResponse::Response::Reader::hasProcess() const {
c@106 6886 if (which() != RpcResponse::Response::PROCESS) return false;
cannam@218 6887 return !_reader.getPointerField(
cannam@218 6888 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6889 }
c@106 6890 inline bool RpcResponse::Response::Builder::hasProcess() {
c@106 6891 if (which() != RpcResponse::Response::PROCESS) return false;
cannam@218 6892 return !_builder.getPointerField(
cannam@218 6893 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6894 }
c@106 6895 inline ::piper::ProcessResponse::Reader RpcResponse::Response::Reader::getProcess() const {
c@106 6896 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
c@106 6897 "Must check which() before get()ing a union member.");
cannam@218 6898 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::get(_reader.getPointerField(
cannam@218 6899 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6900 }
c@106 6901 inline ::piper::ProcessResponse::Builder RpcResponse::Response::Builder::getProcess() {
c@106 6902 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
c@106 6903 "Must check which() before get()ing a union member.");
cannam@218 6904 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::get(_builder.getPointerField(
cannam@218 6905 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6906 }
c@106 6907 inline void RpcResponse::Response::Builder::setProcess( ::piper::ProcessResponse::Reader value) {
c@106 6908 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6909 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
cannam@218 6910 ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::set(_builder.getPointerField(
cannam@218 6911 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6912 }
c@106 6913 inline ::piper::ProcessResponse::Builder RpcResponse::Response::Builder::initProcess() {
c@106 6914 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6915 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
cannam@218 6916 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::init(_builder.getPointerField(
cannam@218 6917 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6918 }
c@106 6919 inline void RpcResponse::Response::Builder::adoptProcess(
c@106 6920 ::capnp::Orphan< ::piper::ProcessResponse>&& value) {
c@106 6921 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6922 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
cannam@218 6923 ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::adopt(_builder.getPointerField(
cannam@218 6924 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6925 }
c@106 6926 inline ::capnp::Orphan< ::piper::ProcessResponse> RpcResponse::Response::Builder::disownProcess() {
c@106 6927 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
c@106 6928 "Must check which() before get()ing a union member.");
cannam@218 6929 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::disown(_builder.getPointerField(
cannam@218 6930 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6931 }
c@106 6932
c@106 6933 inline bool RpcResponse::Response::Reader::isFinish() const {
c@106 6934 return which() == RpcResponse::Response::FINISH;
c@106 6935 }
c@106 6936 inline bool RpcResponse::Response::Builder::isFinish() {
c@106 6937 return which() == RpcResponse::Response::FINISH;
c@106 6938 }
c@106 6939 inline bool RpcResponse::Response::Reader::hasFinish() const {
c@106 6940 if (which() != RpcResponse::Response::FINISH) return false;
cannam@218 6941 return !_reader.getPointerField(
cannam@218 6942 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6943 }
c@106 6944 inline bool RpcResponse::Response::Builder::hasFinish() {
c@106 6945 if (which() != RpcResponse::Response::FINISH) return false;
cannam@218 6946 return !_builder.getPointerField(
cannam@218 6947 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
c@106 6948 }
c@106 6949 inline ::piper::FinishResponse::Reader RpcResponse::Response::Reader::getFinish() const {
c@106 6950 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
c@106 6951 "Must check which() before get()ing a union member.");
cannam@218 6952 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::get(_reader.getPointerField(
cannam@218 6953 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6954 }
c@106 6955 inline ::piper::FinishResponse::Builder RpcResponse::Response::Builder::getFinish() {
c@106 6956 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
c@106 6957 "Must check which() before get()ing a union member.");
cannam@218 6958 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::get(_builder.getPointerField(
cannam@218 6959 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6960 }
c@106 6961 inline void RpcResponse::Response::Builder::setFinish( ::piper::FinishResponse::Reader value) {
c@106 6962 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6963 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
cannam@218 6964 ::capnp::_::PointerHelpers< ::piper::FinishResponse>::set(_builder.getPointerField(
cannam@218 6965 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
c@106 6966 }
c@106 6967 inline ::piper::FinishResponse::Builder RpcResponse::Response::Builder::initFinish() {
c@106 6968 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6969 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
cannam@218 6970 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::init(_builder.getPointerField(
cannam@218 6971 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6972 }
c@106 6973 inline void RpcResponse::Response::Builder::adoptFinish(
c@106 6974 ::capnp::Orphan< ::piper::FinishResponse>&& value) {
c@106 6975 _builder.setDataField<RpcResponse::Response::Which>(
cannam@218 6976 ::capnp::bounded<3>() * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
cannam@218 6977 ::capnp::_::PointerHelpers< ::piper::FinishResponse>::adopt(_builder.getPointerField(
cannam@218 6978 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
c@106 6979 }
c@106 6980 inline ::capnp::Orphan< ::piper::FinishResponse> RpcResponse::Response::Builder::disownFinish() {
c@106 6981 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
c@106 6982 "Must check which() before get()ing a union member.");
cannam@218 6983 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::disown(_builder.getPointerField(
cannam@218 6984 ::capnp::bounded<1>() * ::capnp::POINTERS));
c@106 6985 }
c@106 6986
c@106 6987 } // namespace
c@106 6988
c@106 6989 #endif // CAPNP_INCLUDED_c4b1c6c44c999206_