mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 08:52:05 +08:00
2473 lines
72 KiB
C++
2473 lines
72 KiB
C++
// Generated by Cap'n Proto compiler, DO NOT EDIT
|
|
// source: custom.capnp
|
|
|
|
#pragma once
|
|
|
|
#include <capnp/generated-header-support.h>
|
|
#include <kj/windows-sanity.h>
|
|
|
|
#ifndef CAPNP_VERSION
|
|
#error "CAPNP_VERSION is not defined, is capnp/generated-header-support.h missing?"
|
|
#elif CAPNP_VERSION != 1000002
|
|
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
|
|
#endif
|
|
|
|
|
|
CAPNP_BEGIN_HEADER
|
|
|
|
namespace capnp {
|
|
namespace schemas {
|
|
|
|
CAPNP_DECLARE_SCHEMA(81c2f05a394cf4af);
|
|
CAPNP_DECLARE_SCHEMA(aedffd8f31e7b55d);
|
|
CAPNP_DECLARE_SCHEMA(f35cc4560bbf6ec2);
|
|
CAPNP_DECLARE_SCHEMA(da96579883444c35);
|
|
CAPNP_DECLARE_SCHEMA(c086b8bddee7502c);
|
|
enum class Status_c086b8bddee7502c: uint16_t {
|
|
UNINITIALIZED,
|
|
UNCALIBRATED,
|
|
VALID,
|
|
};
|
|
CAPNP_DECLARE_ENUM(Status, c086b8bddee7502c);
|
|
CAPNP_DECLARE_SCHEMA(80ae746ee2596b11);
|
|
CAPNP_DECLARE_SCHEMA(ab5928774e6e64fc);
|
|
enum class TurnDirection_ab5928774e6e64fc: uint16_t {
|
|
NONE,
|
|
LEFT,
|
|
RIGHT,
|
|
};
|
|
CAPNP_DECLARE_ENUM(TurnDirection, ab5928774e6e64fc);
|
|
CAPNP_DECLARE_SCHEMA(a4a367d950d0f9d3);
|
|
enum class ManeuverType_a4a367d950d0f9d3: uint16_t {
|
|
NONE,
|
|
TURN,
|
|
LANE_CHANGE,
|
|
};
|
|
CAPNP_DECLARE_ENUM(ManeuverType, a4a367d950d0f9d3);
|
|
CAPNP_DECLARE_SCHEMA(a5cd762cd951a455);
|
|
CAPNP_DECLARE_SCHEMA(f98d843bfd7004a3);
|
|
CAPNP_DECLARE_SCHEMA(b86e6369214c01c8);
|
|
CAPNP_DECLARE_SCHEMA(f416ec09499d9d19);
|
|
CAPNP_DECLARE_SCHEMA(a1680744031fdb2d);
|
|
CAPNP_DECLARE_SCHEMA(cb9fd56c7057593a);
|
|
CAPNP_DECLARE_SCHEMA(c2243c65e0340384);
|
|
CAPNP_DECLARE_SCHEMA(9ccdc8676701b412);
|
|
CAPNP_DECLARE_SCHEMA(cd96dafb67a082d0);
|
|
CAPNP_DECLARE_SCHEMA(b057204d7deadf3f);
|
|
CAPNP_DECLARE_SCHEMA(bd443b539493bc68);
|
|
CAPNP_DECLARE_SCHEMA(fc6241ed8877b611);
|
|
CAPNP_DECLARE_SCHEMA(a30662f84033036c);
|
|
CAPNP_DECLARE_SCHEMA(c86a3d38d13eb3ef);
|
|
CAPNP_DECLARE_SCHEMA(a4f1eb3323f5f582);
|
|
|
|
} // namespace schemas
|
|
} // namespace capnp
|
|
|
|
namespace cereal {
|
|
|
|
struct ControlsStateExt {
|
|
ControlsStateExt() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(81c2f05a394cf4af, 1, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CarStateExt {
|
|
CarStateExt() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(aedffd8f31e7b55d, 1, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct ModelExt {
|
|
ModelExt() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(f35cc4560bbf6ec2, 1, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct LiveGPS {
|
|
LiveGPS() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
typedef ::capnp::schemas::Status_c086b8bddee7502c Status;
|
|
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(da96579883444c35, 8, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct MaaControl {
|
|
MaaControl() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
typedef ::capnp::schemas::TurnDirection_ab5928774e6e64fc TurnDirection;
|
|
|
|
typedef ::capnp::schemas::ManeuverType_a4a367d950d0f9d3 ManeuverType;
|
|
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(80ae746ee2596b11, 4, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct DashyState {
|
|
DashyState() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(a5cd762cd951a455, 0, 1)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct NavInstructionExt {
|
|
NavInstructionExt() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(f98d843bfd7004a3, 1, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved7 {
|
|
CustomReserved7() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(b86e6369214c01c8, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved8 {
|
|
CustomReserved8() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(f416ec09499d9d19, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved9 {
|
|
CustomReserved9() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(a1680744031fdb2d, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved10 {
|
|
CustomReserved10() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(cb9fd56c7057593a, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved11 {
|
|
CustomReserved11() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(c2243c65e0340384, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved12 {
|
|
CustomReserved12() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(9ccdc8676701b412, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved13 {
|
|
CustomReserved13() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(cd96dafb67a082d0, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved14 {
|
|
CustomReserved14() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(b057204d7deadf3f, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved15 {
|
|
CustomReserved15() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(bd443b539493bc68, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved16 {
|
|
CustomReserved16() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(fc6241ed8877b611, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved17 {
|
|
CustomReserved17() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(a30662f84033036c, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved18 {
|
|
CustomReserved18() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(c86a3d38d13eb3ef, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved19 {
|
|
CustomReserved19() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(a4f1eb3323f5f582, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
// =======================================================================================
|
|
|
|
class ControlsStateExt::Reader {
|
|
public:
|
|
typedef ControlsStateExt Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline bool getAlkaActive() const;
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class ControlsStateExt::Builder {
|
|
public:
|
|
typedef ControlsStateExt Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline bool getAlkaActive();
|
|
inline void setAlkaActive(bool value);
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class ControlsStateExt::Pipeline {
|
|
public:
|
|
typedef ControlsStateExt Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CarStateExt::Reader {
|
|
public:
|
|
typedef CarStateExt Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline bool getLkasOn() const;
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CarStateExt::Builder {
|
|
public:
|
|
typedef CarStateExt Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline bool getLkasOn();
|
|
inline void setLkasOn(bool value);
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CarStateExt::Pipeline {
|
|
public:
|
|
typedef CarStateExt Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class ModelExt::Reader {
|
|
public:
|
|
typedef ModelExt Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline bool getLeftEdgeDetected() const;
|
|
|
|
inline bool getRightEdgeDetected() const;
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class ModelExt::Builder {
|
|
public:
|
|
typedef ModelExt Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline bool getLeftEdgeDetected();
|
|
inline void setLeftEdgeDetected(bool value);
|
|
|
|
inline bool getRightEdgeDetected();
|
|
inline void setRightEdgeDetected(bool value);
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class ModelExt::Pipeline {
|
|
public:
|
|
typedef ModelExt Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class LiveGPS::Reader {
|
|
public:
|
|
typedef LiveGPS Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline double getLatitude() const;
|
|
|
|
inline double getLongitude() const;
|
|
|
|
inline double getAltitude() const;
|
|
|
|
inline float getSpeed() const;
|
|
|
|
inline float getBearingDeg() const;
|
|
|
|
inline float getHorizontalAccuracy() const;
|
|
|
|
inline float getVerticalAccuracy() const;
|
|
|
|
inline bool getGpsOK() const;
|
|
|
|
inline ::cereal::LiveGPS::Status getStatus() const;
|
|
|
|
inline ::int64_t getUnixTimestampMillis() const;
|
|
|
|
inline ::uint64_t getLastGpsTimestamp() const;
|
|
|
|
inline bool getLivePoseOk() const;
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class LiveGPS::Builder {
|
|
public:
|
|
typedef LiveGPS Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline double getLatitude();
|
|
inline void setLatitude(double value);
|
|
|
|
inline double getLongitude();
|
|
inline void setLongitude(double value);
|
|
|
|
inline double getAltitude();
|
|
inline void setAltitude(double value);
|
|
|
|
inline float getSpeed();
|
|
inline void setSpeed(float value);
|
|
|
|
inline float getBearingDeg();
|
|
inline void setBearingDeg(float value);
|
|
|
|
inline float getHorizontalAccuracy();
|
|
inline void setHorizontalAccuracy(float value);
|
|
|
|
inline float getVerticalAccuracy();
|
|
inline void setVerticalAccuracy(float value);
|
|
|
|
inline bool getGpsOK();
|
|
inline void setGpsOK(bool value);
|
|
|
|
inline ::cereal::LiveGPS::Status getStatus();
|
|
inline void setStatus( ::cereal::LiveGPS::Status value);
|
|
|
|
inline ::int64_t getUnixTimestampMillis();
|
|
inline void setUnixTimestampMillis( ::int64_t value);
|
|
|
|
inline ::uint64_t getLastGpsTimestamp();
|
|
inline void setLastGpsTimestamp( ::uint64_t value);
|
|
|
|
inline bool getLivePoseOk();
|
|
inline void setLivePoseOk(bool value);
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class LiveGPS::Pipeline {
|
|
public:
|
|
typedef LiveGPS Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class MaaControl::Reader {
|
|
public:
|
|
typedef MaaControl Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline float getCurvature() const;
|
|
|
|
inline bool getCurvatureValid() const;
|
|
|
|
inline float getTurnSpeedLimit() const;
|
|
|
|
inline float getTurnDistance() const;
|
|
|
|
inline ::cereal::MaaControl::TurnDirection getTurnDirection() const;
|
|
|
|
inline bool getTurnValid() const;
|
|
|
|
inline ::cereal::MaaControl::ManeuverType getManeuverType() const;
|
|
|
|
inline float getTurnAngle() const;
|
|
|
|
inline float getTurnCurvature() const;
|
|
|
|
inline bool getDesireActive() const;
|
|
|
|
inline ::uint8_t getTurnState() const;
|
|
|
|
inline float getTurnProgress() const;
|
|
|
|
inline bool getDriverAcknowledged() const;
|
|
|
|
inline bool getSpeedLimitActive() const;
|
|
|
|
inline bool getBlockLaneChange() const;
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class MaaControl::Builder {
|
|
public:
|
|
typedef MaaControl Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline float getCurvature();
|
|
inline void setCurvature(float value);
|
|
|
|
inline bool getCurvatureValid();
|
|
inline void setCurvatureValid(bool value);
|
|
|
|
inline float getTurnSpeedLimit();
|
|
inline void setTurnSpeedLimit(float value);
|
|
|
|
inline float getTurnDistance();
|
|
inline void setTurnDistance(float value);
|
|
|
|
inline ::cereal::MaaControl::TurnDirection getTurnDirection();
|
|
inline void setTurnDirection( ::cereal::MaaControl::TurnDirection value);
|
|
|
|
inline bool getTurnValid();
|
|
inline void setTurnValid(bool value);
|
|
|
|
inline ::cereal::MaaControl::ManeuverType getManeuverType();
|
|
inline void setManeuverType( ::cereal::MaaControl::ManeuverType value);
|
|
|
|
inline float getTurnAngle();
|
|
inline void setTurnAngle(float value);
|
|
|
|
inline float getTurnCurvature();
|
|
inline void setTurnCurvature(float value);
|
|
|
|
inline bool getDesireActive();
|
|
inline void setDesireActive(bool value);
|
|
|
|
inline ::uint8_t getTurnState();
|
|
inline void setTurnState( ::uint8_t value);
|
|
|
|
inline float getTurnProgress();
|
|
inline void setTurnProgress(float value);
|
|
|
|
inline bool getDriverAcknowledged();
|
|
inline void setDriverAcknowledged(bool value);
|
|
|
|
inline bool getSpeedLimitActive();
|
|
inline void setSpeedLimitActive(bool value);
|
|
|
|
inline bool getBlockLaneChange();
|
|
inline void setBlockLaneChange(bool value);
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class MaaControl::Pipeline {
|
|
public:
|
|
typedef MaaControl Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class DashyState::Reader {
|
|
public:
|
|
typedef DashyState Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline bool hasJson() const;
|
|
inline ::capnp::Data::Reader getJson() const;
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class DashyState::Builder {
|
|
public:
|
|
typedef DashyState Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline bool hasJson();
|
|
inline ::capnp::Data::Builder getJson();
|
|
inline void setJson( ::capnp::Data::Reader value);
|
|
inline ::capnp::Data::Builder initJson(unsigned int size);
|
|
inline void adoptJson(::capnp::Orphan< ::capnp::Data>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Data> disownJson();
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class DashyState::Pipeline {
|
|
public:
|
|
typedef DashyState Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class NavInstructionExt::Reader {
|
|
public:
|
|
typedef NavInstructionExt Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline float getTurnAngle() const;
|
|
|
|
inline float getTurnCurvature() const;
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class NavInstructionExt::Builder {
|
|
public:
|
|
typedef NavInstructionExt Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
inline float getTurnAngle();
|
|
inline void setTurnAngle(float value);
|
|
|
|
inline float getTurnCurvature();
|
|
inline void setTurnCurvature(float value);
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class NavInstructionExt::Pipeline {
|
|
public:
|
|
typedef NavInstructionExt Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved7::Reader {
|
|
public:
|
|
typedef CustomReserved7 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved7::Builder {
|
|
public:
|
|
typedef CustomReserved7 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved7::Pipeline {
|
|
public:
|
|
typedef CustomReserved7 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved8::Reader {
|
|
public:
|
|
typedef CustomReserved8 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved8::Builder {
|
|
public:
|
|
typedef CustomReserved8 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved8::Pipeline {
|
|
public:
|
|
typedef CustomReserved8 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved9::Reader {
|
|
public:
|
|
typedef CustomReserved9 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved9::Builder {
|
|
public:
|
|
typedef CustomReserved9 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved9::Pipeline {
|
|
public:
|
|
typedef CustomReserved9 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved10::Reader {
|
|
public:
|
|
typedef CustomReserved10 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved10::Builder {
|
|
public:
|
|
typedef CustomReserved10 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved10::Pipeline {
|
|
public:
|
|
typedef CustomReserved10 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved11::Reader {
|
|
public:
|
|
typedef CustomReserved11 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved11::Builder {
|
|
public:
|
|
typedef CustomReserved11 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved11::Pipeline {
|
|
public:
|
|
typedef CustomReserved11 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved12::Reader {
|
|
public:
|
|
typedef CustomReserved12 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved12::Builder {
|
|
public:
|
|
typedef CustomReserved12 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved12::Pipeline {
|
|
public:
|
|
typedef CustomReserved12 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved13::Reader {
|
|
public:
|
|
typedef CustomReserved13 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved13::Builder {
|
|
public:
|
|
typedef CustomReserved13 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved13::Pipeline {
|
|
public:
|
|
typedef CustomReserved13 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved14::Reader {
|
|
public:
|
|
typedef CustomReserved14 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved14::Builder {
|
|
public:
|
|
typedef CustomReserved14 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved14::Pipeline {
|
|
public:
|
|
typedef CustomReserved14 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved15::Reader {
|
|
public:
|
|
typedef CustomReserved15 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved15::Builder {
|
|
public:
|
|
typedef CustomReserved15 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved15::Pipeline {
|
|
public:
|
|
typedef CustomReserved15 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved16::Reader {
|
|
public:
|
|
typedef CustomReserved16 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved16::Builder {
|
|
public:
|
|
typedef CustomReserved16 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved16::Pipeline {
|
|
public:
|
|
typedef CustomReserved16 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved17::Reader {
|
|
public:
|
|
typedef CustomReserved17 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved17::Builder {
|
|
public:
|
|
typedef CustomReserved17 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved17::Pipeline {
|
|
public:
|
|
typedef CustomReserved17 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved18::Reader {
|
|
public:
|
|
typedef CustomReserved18 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved18::Builder {
|
|
public:
|
|
typedef CustomReserved18 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved18::Pipeline {
|
|
public:
|
|
typedef CustomReserved18 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
class CustomReserved19::Reader {
|
|
public:
|
|
typedef CustomReserved19 Reads;
|
|
|
|
Reader() = default;
|
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
|
|
inline ::capnp::MessageSize totalSize() const {
|
|
return _reader.totalSize().asPublic();
|
|
}
|
|
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const {
|
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
|
}
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructReader _reader;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::List;
|
|
friend class ::capnp::MessageBuilder;
|
|
friend class ::capnp::Orphanage;
|
|
};
|
|
|
|
class CustomReserved19::Builder {
|
|
public:
|
|
typedef CustomReserved19 Builds;
|
|
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
|
// You can explicitly initialize to nullptr instead.
|
|
inline Builder(decltype(nullptr)) {}
|
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
|
inline Reader asReader() const { return *this; }
|
|
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
|
#if !CAPNP_LITE
|
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
|
#endif // !CAPNP_LITE
|
|
|
|
private:
|
|
::capnp::_::StructBuilder _builder;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
friend class ::capnp::Orphanage;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::_::PointerHelpers;
|
|
};
|
|
|
|
#if !CAPNP_LITE
|
|
class CustomReserved19::Pipeline {
|
|
public:
|
|
typedef CustomReserved19 Pipelines;
|
|
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
|
: _typeless(kj::mv(typeless)) {}
|
|
|
|
private:
|
|
::capnp::AnyPointer::Pipeline _typeless;
|
|
friend class ::capnp::PipelineHook;
|
|
template <typename, ::capnp::Kind>
|
|
friend struct ::capnp::ToDynamic_;
|
|
};
|
|
#endif // !CAPNP_LITE
|
|
|
|
// =======================================================================================
|
|
|
|
inline bool ControlsStateExt::Reader::getAlkaActive() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool ControlsStateExt::Builder::getAlkaActive() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void ControlsStateExt::Builder::setAlkaActive(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool CarStateExt::Reader::getLkasOn() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool CarStateExt::Builder::getLkasOn() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarStateExt::Builder::setLkasOn(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool ModelExt::Reader::getLeftEdgeDetected() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool ModelExt::Builder::getLeftEdgeDetected() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void ModelExt::Builder::setLeftEdgeDetected(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool ModelExt::Reader::getRightEdgeDetected() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool ModelExt::Builder::getRightEdgeDetected() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void ModelExt::Builder::setRightEdgeDetected(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline double LiveGPS::Reader::getLatitude() const {
|
|
return _reader.getDataField<double>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline double LiveGPS::Builder::getLatitude() {
|
|
return _builder.getDataField<double>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setLatitude(double value) {
|
|
_builder.setDataField<double>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline double LiveGPS::Reader::getLongitude() const {
|
|
return _reader.getDataField<double>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline double LiveGPS::Builder::getLongitude() {
|
|
return _builder.getDataField<double>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setLongitude(double value) {
|
|
_builder.setDataField<double>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline double LiveGPS::Reader::getAltitude() const {
|
|
return _reader.getDataField<double>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline double LiveGPS::Builder::getAltitude() {
|
|
return _builder.getDataField<double>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setAltitude(double value) {
|
|
_builder.setDataField<double>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float LiveGPS::Reader::getSpeed() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float LiveGPS::Builder::getSpeed() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setSpeed(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float LiveGPS::Reader::getBearingDeg() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float LiveGPS::Builder::getBearingDeg() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setBearingDeg(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float LiveGPS::Reader::getHorizontalAccuracy() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float LiveGPS::Builder::getHorizontalAccuracy() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setHorizontalAccuracy(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float LiveGPS::Reader::getVerticalAccuracy() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<9>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float LiveGPS::Builder::getVerticalAccuracy() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<9>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setVerticalAccuracy(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<9>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool LiveGPS::Reader::getGpsOK() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<320>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool LiveGPS::Builder::getGpsOK() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<320>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setGpsOK(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<320>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::cereal::LiveGPS::Status LiveGPS::Reader::getStatus() const {
|
|
return _reader.getDataField< ::cereal::LiveGPS::Status>(
|
|
::capnp::bounded<21>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::cereal::LiveGPS::Status LiveGPS::Builder::getStatus() {
|
|
return _builder.getDataField< ::cereal::LiveGPS::Status>(
|
|
::capnp::bounded<21>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setStatus( ::cereal::LiveGPS::Status value) {
|
|
_builder.setDataField< ::cereal::LiveGPS::Status>(
|
|
::capnp::bounded<21>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int64_t LiveGPS::Reader::getUnixTimestampMillis() const {
|
|
return _reader.getDataField< ::int64_t>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int64_t LiveGPS::Builder::getUnixTimestampMillis() {
|
|
return _builder.getDataField< ::int64_t>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setUnixTimestampMillis( ::int64_t value) {
|
|
_builder.setDataField< ::int64_t>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::uint64_t LiveGPS::Reader::getLastGpsTimestamp() const {
|
|
return _reader.getDataField< ::uint64_t>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::uint64_t LiveGPS::Builder::getLastGpsTimestamp() {
|
|
return _builder.getDataField< ::uint64_t>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setLastGpsTimestamp( ::uint64_t value) {
|
|
_builder.setDataField< ::uint64_t>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool LiveGPS::Reader::getLivePoseOk() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<321>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool LiveGPS::Builder::getLivePoseOk() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<321>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void LiveGPS::Builder::setLivePoseOk(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<321>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float MaaControl::Reader::getCurvature() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float MaaControl::Builder::getCurvature() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setCurvature(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool MaaControl::Reader::getCurvatureValid() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<32>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool MaaControl::Builder::getCurvatureValid() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<32>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setCurvatureValid(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<32>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float MaaControl::Reader::getTurnSpeedLimit() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float MaaControl::Builder::getTurnSpeedLimit() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setTurnSpeedLimit(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float MaaControl::Reader::getTurnDistance() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float MaaControl::Builder::getTurnDistance() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setTurnDistance(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::cereal::MaaControl::TurnDirection MaaControl::Reader::getTurnDirection() const {
|
|
return _reader.getDataField< ::cereal::MaaControl::TurnDirection>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::cereal::MaaControl::TurnDirection MaaControl::Builder::getTurnDirection() {
|
|
return _builder.getDataField< ::cereal::MaaControl::TurnDirection>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setTurnDirection( ::cereal::MaaControl::TurnDirection value) {
|
|
_builder.setDataField< ::cereal::MaaControl::TurnDirection>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool MaaControl::Reader::getTurnValid() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<33>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool MaaControl::Builder::getTurnValid() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<33>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setTurnValid(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<33>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::cereal::MaaControl::ManeuverType MaaControl::Reader::getManeuverType() const {
|
|
return _reader.getDataField< ::cereal::MaaControl::ManeuverType>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::cereal::MaaControl::ManeuverType MaaControl::Builder::getManeuverType() {
|
|
return _builder.getDataField< ::cereal::MaaControl::ManeuverType>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setManeuverType( ::cereal::MaaControl::ManeuverType value) {
|
|
_builder.setDataField< ::cereal::MaaControl::ManeuverType>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float MaaControl::Reader::getTurnAngle() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float MaaControl::Builder::getTurnAngle() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setTurnAngle(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float MaaControl::Reader::getTurnCurvature() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float MaaControl::Builder::getTurnCurvature() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setTurnCurvature(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool MaaControl::Reader::getDesireActive() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<34>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool MaaControl::Builder::getDesireActive() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<34>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setDesireActive(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<34>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::uint8_t MaaControl::Reader::getTurnState() const {
|
|
return _reader.getDataField< ::uint8_t>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::uint8_t MaaControl::Builder::getTurnState() {
|
|
return _builder.getDataField< ::uint8_t>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setTurnState( ::uint8_t value) {
|
|
_builder.setDataField< ::uint8_t>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float MaaControl::Reader::getTurnProgress() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float MaaControl::Builder::getTurnProgress() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setTurnProgress(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool MaaControl::Reader::getDriverAcknowledged() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<35>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool MaaControl::Builder::getDriverAcknowledged() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<35>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setDriverAcknowledged(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<35>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool MaaControl::Reader::getSpeedLimitActive() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<36>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool MaaControl::Builder::getSpeedLimitActive() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<36>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setSpeedLimitActive(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<36>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool MaaControl::Reader::getBlockLaneChange() const {
|
|
return _reader.getDataField<bool>(
|
|
::capnp::bounded<37>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline bool MaaControl::Builder::getBlockLaneChange() {
|
|
return _builder.getDataField<bool>(
|
|
::capnp::bounded<37>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void MaaControl::Builder::setBlockLaneChange(bool value) {
|
|
_builder.setDataField<bool>(
|
|
::capnp::bounded<37>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool DashyState::Reader::hasJson() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool DashyState::Builder::hasJson() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Data::Reader DashyState::Reader::getJson() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Data::Builder DashyState::Builder::getJson() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
|
}
|
|
inline void DashyState::Builder::setJson( ::capnp::Data::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Data::Builder DashyState::Builder::initJson(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void DashyState::Builder::adoptJson(
|
|
::capnp::Orphan< ::capnp::Data>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Data> DashyState::Builder::disownJson() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline float NavInstructionExt::Reader::getTurnAngle() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float NavInstructionExt::Builder::getTurnAngle() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void NavInstructionExt::Builder::setTurnAngle(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float NavInstructionExt::Reader::getTurnCurvature() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float NavInstructionExt::Builder::getTurnCurvature() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void NavInstructionExt::Builder::setTurnCurvature(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
} // namespace
|
|
|
|
CAPNP_END_HEADER
|
|
|