2551 lines
80 KiB
C++
2551 lines
80 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(80ae746ee2596b11);
|
|
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 CarrotMan {
|
|
CarrotMan() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(81c2f05a394cf4af, 10, 9)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved1 {
|
|
CustomReserved1() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(aedffd8f31e7b55d, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved2 {
|
|
CustomReserved2() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(f35cc4560bbf6ec2, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved3 {
|
|
CustomReserved3() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(da96579883444c35, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved4 {
|
|
CustomReserved4() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(80ae746ee2596b11, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved5 {
|
|
CustomReserved5() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(a5cd762cd951a455, 0, 0)
|
|
#if !CAPNP_LITE
|
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
|
#endif // !CAPNP_LITE
|
|
};
|
|
};
|
|
|
|
struct CustomReserved6 {
|
|
CustomReserved6() = delete;
|
|
|
|
class Reader;
|
|
class Builder;
|
|
class Pipeline;
|
|
|
|
struct _capnpPrivate {
|
|
CAPNP_DECLARE_STRUCT_HEADER(f98d843bfd7004a3, 0, 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 CarrotMan::Reader {
|
|
public:
|
|
typedef CarrotMan 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 ::int32_t getActiveCarrot() const;
|
|
|
|
inline ::int32_t getNRoadLimitSpeed() const;
|
|
|
|
inline bool hasRemote() const;
|
|
inline ::capnp::Text::Reader getRemote() const;
|
|
|
|
inline ::int32_t getXSpdType() const;
|
|
|
|
inline ::int32_t getXSpdLimit() const;
|
|
|
|
inline ::int32_t getXSpdDist() const;
|
|
|
|
inline ::int32_t getXSpdCountDown() const;
|
|
|
|
inline ::int32_t getXTurnInfo() const;
|
|
|
|
inline ::int32_t getXDistToTurn() const;
|
|
|
|
inline ::int32_t getXTurnCountDown() const;
|
|
|
|
inline bool hasAtcType() const;
|
|
inline ::capnp::Text::Reader getAtcType() const;
|
|
|
|
inline ::int32_t getVTurnSpeed() const;
|
|
|
|
inline bool hasSzPosRoadName() const;
|
|
inline ::capnp::Text::Reader getSzPosRoadName() const;
|
|
|
|
inline bool hasSzTBTMainText() const;
|
|
inline ::capnp::Text::Reader getSzTBTMainText() const;
|
|
|
|
inline ::int32_t getDesiredSpeed() const;
|
|
|
|
inline bool hasDesiredSource() const;
|
|
inline ::capnp::Text::Reader getDesiredSource() const;
|
|
|
|
inline ::int32_t getCarrotCmdIndex() const;
|
|
|
|
inline bool hasCarrotCmd() const;
|
|
inline ::capnp::Text::Reader getCarrotCmd() const;
|
|
|
|
inline bool hasCarrotArg() const;
|
|
inline ::capnp::Text::Reader getCarrotArg() const;
|
|
|
|
inline float getXPosLat() const;
|
|
|
|
inline float getXPosLon() const;
|
|
|
|
inline float getXPosAngle() const;
|
|
|
|
inline float getXPosSpeed() const;
|
|
|
|
inline ::int32_t getTrafficState() const;
|
|
|
|
inline ::int32_t getNGoPosDist() const;
|
|
|
|
inline ::int32_t getNGoPosTime() const;
|
|
|
|
inline bool hasSzSdiDescr() const;
|
|
inline ::capnp::Text::Reader getSzSdiDescr() const;
|
|
|
|
inline bool hasNaviPaths() const;
|
|
inline ::capnp::Text::Reader getNaviPaths() const;
|
|
|
|
inline ::int32_t getLeftSec() 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 CarrotMan::Builder {
|
|
public:
|
|
typedef CarrotMan 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 ::int32_t getActiveCarrot();
|
|
inline void setActiveCarrot( ::int32_t value);
|
|
|
|
inline ::int32_t getNRoadLimitSpeed();
|
|
inline void setNRoadLimitSpeed( ::int32_t value);
|
|
|
|
inline bool hasRemote();
|
|
inline ::capnp::Text::Builder getRemote();
|
|
inline void setRemote( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initRemote(unsigned int size);
|
|
inline void adoptRemote(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownRemote();
|
|
|
|
inline ::int32_t getXSpdType();
|
|
inline void setXSpdType( ::int32_t value);
|
|
|
|
inline ::int32_t getXSpdLimit();
|
|
inline void setXSpdLimit( ::int32_t value);
|
|
|
|
inline ::int32_t getXSpdDist();
|
|
inline void setXSpdDist( ::int32_t value);
|
|
|
|
inline ::int32_t getXSpdCountDown();
|
|
inline void setXSpdCountDown( ::int32_t value);
|
|
|
|
inline ::int32_t getXTurnInfo();
|
|
inline void setXTurnInfo( ::int32_t value);
|
|
|
|
inline ::int32_t getXDistToTurn();
|
|
inline void setXDistToTurn( ::int32_t value);
|
|
|
|
inline ::int32_t getXTurnCountDown();
|
|
inline void setXTurnCountDown( ::int32_t value);
|
|
|
|
inline bool hasAtcType();
|
|
inline ::capnp::Text::Builder getAtcType();
|
|
inline void setAtcType( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initAtcType(unsigned int size);
|
|
inline void adoptAtcType(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownAtcType();
|
|
|
|
inline ::int32_t getVTurnSpeed();
|
|
inline void setVTurnSpeed( ::int32_t value);
|
|
|
|
inline bool hasSzPosRoadName();
|
|
inline ::capnp::Text::Builder getSzPosRoadName();
|
|
inline void setSzPosRoadName( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initSzPosRoadName(unsigned int size);
|
|
inline void adoptSzPosRoadName(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownSzPosRoadName();
|
|
|
|
inline bool hasSzTBTMainText();
|
|
inline ::capnp::Text::Builder getSzTBTMainText();
|
|
inline void setSzTBTMainText( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initSzTBTMainText(unsigned int size);
|
|
inline void adoptSzTBTMainText(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownSzTBTMainText();
|
|
|
|
inline ::int32_t getDesiredSpeed();
|
|
inline void setDesiredSpeed( ::int32_t value);
|
|
|
|
inline bool hasDesiredSource();
|
|
inline ::capnp::Text::Builder getDesiredSource();
|
|
inline void setDesiredSource( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initDesiredSource(unsigned int size);
|
|
inline void adoptDesiredSource(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownDesiredSource();
|
|
|
|
inline ::int32_t getCarrotCmdIndex();
|
|
inline void setCarrotCmdIndex( ::int32_t value);
|
|
|
|
inline bool hasCarrotCmd();
|
|
inline ::capnp::Text::Builder getCarrotCmd();
|
|
inline void setCarrotCmd( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initCarrotCmd(unsigned int size);
|
|
inline void adoptCarrotCmd(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownCarrotCmd();
|
|
|
|
inline bool hasCarrotArg();
|
|
inline ::capnp::Text::Builder getCarrotArg();
|
|
inline void setCarrotArg( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initCarrotArg(unsigned int size);
|
|
inline void adoptCarrotArg(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownCarrotArg();
|
|
|
|
inline float getXPosLat();
|
|
inline void setXPosLat(float value);
|
|
|
|
inline float getXPosLon();
|
|
inline void setXPosLon(float value);
|
|
|
|
inline float getXPosAngle();
|
|
inline void setXPosAngle(float value);
|
|
|
|
inline float getXPosSpeed();
|
|
inline void setXPosSpeed(float value);
|
|
|
|
inline ::int32_t getTrafficState();
|
|
inline void setTrafficState( ::int32_t value);
|
|
|
|
inline ::int32_t getNGoPosDist();
|
|
inline void setNGoPosDist( ::int32_t value);
|
|
|
|
inline ::int32_t getNGoPosTime();
|
|
inline void setNGoPosTime( ::int32_t value);
|
|
|
|
inline bool hasSzSdiDescr();
|
|
inline ::capnp::Text::Builder getSzSdiDescr();
|
|
inline void setSzSdiDescr( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initSzSdiDescr(unsigned int size);
|
|
inline void adoptSzSdiDescr(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownSzSdiDescr();
|
|
|
|
inline bool hasNaviPaths();
|
|
inline ::capnp::Text::Builder getNaviPaths();
|
|
inline void setNaviPaths( ::capnp::Text::Reader value);
|
|
inline ::capnp::Text::Builder initNaviPaths(unsigned int size);
|
|
inline void adoptNaviPaths(::capnp::Orphan< ::capnp::Text>&& value);
|
|
inline ::capnp::Orphan< ::capnp::Text> disownNaviPaths();
|
|
|
|
inline ::int32_t getLeftSec();
|
|
inline void setLeftSec( ::int32_t 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 CarrotMan::Pipeline {
|
|
public:
|
|
typedef CarrotMan 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 CustomReserved1::Reader {
|
|
public:
|
|
typedef CustomReserved1 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 CustomReserved1::Builder {
|
|
public:
|
|
typedef CustomReserved1 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 CustomReserved1::Pipeline {
|
|
public:
|
|
typedef CustomReserved1 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 CustomReserved2::Reader {
|
|
public:
|
|
typedef CustomReserved2 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 CustomReserved2::Builder {
|
|
public:
|
|
typedef CustomReserved2 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 CustomReserved2::Pipeline {
|
|
public:
|
|
typedef CustomReserved2 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 CustomReserved3::Reader {
|
|
public:
|
|
typedef CustomReserved3 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 CustomReserved3::Builder {
|
|
public:
|
|
typedef CustomReserved3 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 CustomReserved3::Pipeline {
|
|
public:
|
|
typedef CustomReserved3 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 CustomReserved4::Reader {
|
|
public:
|
|
typedef CustomReserved4 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 CustomReserved4::Builder {
|
|
public:
|
|
typedef CustomReserved4 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 CustomReserved4::Pipeline {
|
|
public:
|
|
typedef CustomReserved4 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 CustomReserved5::Reader {
|
|
public:
|
|
typedef CustomReserved5 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 CustomReserved5::Builder {
|
|
public:
|
|
typedef CustomReserved5 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 CustomReserved5::Pipeline {
|
|
public:
|
|
typedef CustomReserved5 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 CustomReserved6::Reader {
|
|
public:
|
|
typedef CustomReserved6 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 CustomReserved6::Builder {
|
|
public:
|
|
typedef CustomReserved6 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 CustomReserved6::Pipeline {
|
|
public:
|
|
typedef CustomReserved6 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 ::int32_t CarrotMan::Reader::getActiveCarrot() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getActiveCarrot() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setActiveCarrot( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getNRoadLimitSpeed() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getNRoadLimitSpeed() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setNRoadLimitSpeed( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasRemote() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasRemote() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getRemote() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getRemote() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setRemote( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initRemote(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptRemote(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownRemote() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getXSpdType() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getXSpdType() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXSpdType( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getXSpdLimit() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getXSpdLimit() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXSpdLimit( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<3>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getXSpdDist() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<4>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getXSpdDist() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<4>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXSpdDist( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<4>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getXSpdCountDown() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getXSpdCountDown() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXSpdCountDown( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<5>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getXTurnInfo() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getXTurnInfo() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXTurnInfo( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<6>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getXDistToTurn() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getXDistToTurn() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXDistToTurn( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<7>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getXTurnCountDown() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getXTurnCountDown() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXTurnCountDown( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<8>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasAtcType() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasAtcType() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getAtcType() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<1>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getAtcType() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<1>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setAtcType( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<1>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initAtcType(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<1>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptAtcType(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownAtcType() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<1>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getVTurnSpeed() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<9>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getVTurnSpeed() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<9>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setVTurnSpeed( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<9>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasSzPosRoadName() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasSzPosRoadName() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getSzPosRoadName() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<2>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getSzPosRoadName() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<2>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setSzPosRoadName( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<2>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initSzPosRoadName(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<2>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptSzPosRoadName(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownSzPosRoadName() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<2>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasSzTBTMainText() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasSzTBTMainText() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getSzTBTMainText() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<3>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getSzTBTMainText() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<3>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setSzTBTMainText( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<3>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initSzTBTMainText(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<3>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptSzTBTMainText(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownSzTBTMainText() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<3>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getDesiredSpeed() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<10>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getDesiredSpeed() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<10>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setDesiredSpeed( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<10>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasDesiredSource() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasDesiredSource() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getDesiredSource() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<4>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getDesiredSource() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<4>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setDesiredSource( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<4>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initDesiredSource(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<4>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptDesiredSource(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<4>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownDesiredSource() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<4>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getCarrotCmdIndex() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<11>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getCarrotCmdIndex() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<11>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setCarrotCmdIndex( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<11>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasCarrotCmd() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasCarrotCmd() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getCarrotCmd() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<5>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getCarrotCmd() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<5>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setCarrotCmd( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<5>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initCarrotCmd(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<5>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptCarrotCmd(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownCarrotCmd() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<5>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasCarrotArg() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasCarrotArg() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getCarrotArg() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<6>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getCarrotArg() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<6>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setCarrotArg( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<6>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initCarrotArg(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<6>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptCarrotArg(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<6>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownCarrotArg() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<6>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline float CarrotMan::Reader::getXPosLat() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<12>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float CarrotMan::Builder::getXPosLat() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<12>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXPosLat(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<12>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float CarrotMan::Reader::getXPosLon() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<13>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float CarrotMan::Builder::getXPosLon() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<13>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXPosLon(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<13>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float CarrotMan::Reader::getXPosAngle() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<14>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float CarrotMan::Builder::getXPosAngle() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<14>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXPosAngle(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<14>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline float CarrotMan::Reader::getXPosSpeed() const {
|
|
return _reader.getDataField<float>(
|
|
::capnp::bounded<15>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline float CarrotMan::Builder::getXPosSpeed() {
|
|
return _builder.getDataField<float>(
|
|
::capnp::bounded<15>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setXPosSpeed(float value) {
|
|
_builder.setDataField<float>(
|
|
::capnp::bounded<15>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getTrafficState() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<16>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getTrafficState() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<16>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setTrafficState( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<16>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getNGoPosDist() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<17>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getNGoPosDist() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<17>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setNGoPosDist( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<17>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getNGoPosTime() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<18>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getNGoPosTime() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<18>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setNGoPosTime( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<18>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasSzSdiDescr() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<7>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasSzSdiDescr() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<7>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getSzSdiDescr() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<7>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getSzSdiDescr() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<7>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setSzSdiDescr( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<7>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initSzSdiDescr(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<7>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptSzSdiDescr(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<7>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownSzSdiDescr() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<7>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline bool CarrotMan::Reader::hasNaviPaths() const {
|
|
return !_reader.getPointerField(
|
|
::capnp::bounded<8>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline bool CarrotMan::Builder::hasNaviPaths() {
|
|
return !_builder.getPointerField(
|
|
::capnp::bounded<8>() * ::capnp::POINTERS).isNull();
|
|
}
|
|
inline ::capnp::Text::Reader CarrotMan::Reader::getNaviPaths() const {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
|
|
::capnp::bounded<8>() * ::capnp::POINTERS));
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::getNaviPaths() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
|
|
::capnp::bounded<8>() * ::capnp::POINTERS));
|
|
}
|
|
inline void CarrotMan::Builder::setNaviPaths( ::capnp::Text::Reader value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
|
|
::capnp::bounded<8>() * ::capnp::POINTERS), value);
|
|
}
|
|
inline ::capnp::Text::Builder CarrotMan::Builder::initNaviPaths(unsigned int size) {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
|
|
::capnp::bounded<8>() * ::capnp::POINTERS), size);
|
|
}
|
|
inline void CarrotMan::Builder::adoptNaviPaths(
|
|
::capnp::Orphan< ::capnp::Text>&& value) {
|
|
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
|
|
::capnp::bounded<8>() * ::capnp::POINTERS), kj::mv(value));
|
|
}
|
|
inline ::capnp::Orphan< ::capnp::Text> CarrotMan::Builder::disownNaviPaths() {
|
|
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
|
|
::capnp::bounded<8>() * ::capnp::POINTERS));
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Reader::getLeftSec() const {
|
|
return _reader.getDataField< ::int32_t>(
|
|
::capnp::bounded<19>() * ::capnp::ELEMENTS);
|
|
}
|
|
|
|
inline ::int32_t CarrotMan::Builder::getLeftSec() {
|
|
return _builder.getDataField< ::int32_t>(
|
|
::capnp::bounded<19>() * ::capnp::ELEMENTS);
|
|
}
|
|
inline void CarrotMan::Builder::setLeftSec( ::int32_t value) {
|
|
_builder.setDataField< ::int32_t>(
|
|
::capnp::bounded<19>() * ::capnp::ELEMENTS, value);
|
|
}
|
|
|
|
} // namespace
|
|
|
|
CAPNP_END_HEADER
|
|
|