ADD: updated messages
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: Control.proto
|
// source: Control.proto
|
||||||
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#include "Control.pb.h"
|
#include "Control.pb.h"
|
||||||
|
|
||||||
@@ -127,9 +128,6 @@ const ::_pbi::DescriptorTable descriptor_table_Control_2eproto = {
|
|||||||
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_Control_2eproto_getter() {
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_Control_2eproto_getter() {
|
||||||
return &descriptor_table_Control_2eproto;
|
return &descriptor_table_Control_2eproto;
|
||||||
}
|
}
|
||||||
// Force running AddDescriptors() at dynamic initialization time.
|
|
||||||
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
|
||||||
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_Control_2eproto(&descriptor_table_Control_2eproto);
|
|
||||||
namespace messages {
|
namespace messages {
|
||||||
namespace control {
|
namespace control {
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -139,18 +137,8 @@ class control::_Internal {
|
|||||||
using HasBits = decltype(std::declval<control>()._impl_._has_bits_);
|
using HasBits = decltype(std::declval<control>()._impl_._has_bits_);
|
||||||
static constexpr ::int32_t kHasBitsOffset =
|
static constexpr ::int32_t kHasBitsOffset =
|
||||||
8 * PROTOBUF_FIELD_OFFSET(control, _impl_._has_bits_);
|
8 * PROTOBUF_FIELD_OFFSET(control, _impl_._has_bits_);
|
||||||
static const ::messages::track::Identifier& identifier(const control* msg);
|
|
||||||
static void set_has_identifier(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 1u;
|
|
||||||
}
|
|
||||||
static void set_has_timestamp(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 2u;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::messages::track::Identifier& control::_Internal::identifier(const control* msg) {
|
|
||||||
return *msg->_impl_.identifier_;
|
|
||||||
}
|
|
||||||
void control::clear_identifier() {
|
void control::clear_identifier() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
if (_impl_.identifier_ != nullptr) _impl_.identifier_->Clear();
|
if (_impl_.identifier_ != nullptr) _impl_.identifier_->Clear();
|
||||||
@@ -178,8 +166,8 @@ control::control(
|
|||||||
from._internal_metadata_);
|
from._internal_metadata_);
|
||||||
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
||||||
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
||||||
_impl_.identifier_ = (cached_has_bits & 0x00000001u)
|
_impl_.identifier_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(
|
||||||
? CreateMaybeMessage<::messages::track::Identifier>(arena, *from._impl_.identifier_)
|
arena, *from._impl_.identifier_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
||||||
offsetof(Impl_, timestamp_),
|
offsetof(Impl_, timestamp_),
|
||||||
@@ -220,12 +208,15 @@ inline void control::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
control::GetClassData() const {
|
control::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
control::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(control, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(control, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&control::MergeImpl,
|
||||||
|
&control::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -269,6 +260,9 @@ const ::_pbi::TcParseTable<2, 4, 1, 37, 2> control::_table_ = {
|
|||||||
offsetof(decltype(_table_), aux_entries),
|
offsetof(decltype(_table_), aux_entries),
|
||||||
&_control_default_instance_._instance,
|
&_control_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::control::control>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
// optional uint64 timestamp = 4;
|
// optional uint64 timestamp = 4;
|
||||||
{::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(control, _impl_.timestamp_), 1>(),
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(control, _impl_.timestamp_), 1>(),
|
||||||
@@ -317,8 +311,7 @@ const ::_pbi::TcParseTable<2, 4, 1, 37, 2> control::_table_ = {
|
|||||||
// .messages.track.Identifier Identifier = 1;
|
// .messages.track.Identifier Identifier = 1;
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
1, _Internal::identifier(this),
|
1, *_impl_.identifier_, _impl_.identifier_->GetCachedSize(), target, stream);
|
||||||
_Internal::identifier(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// uint32 type = 2;
|
// uint32 type = 2;
|
||||||
@@ -391,9 +384,10 @@ const ::_pbi::TcParseTable<2, 4, 1, 37, 2> control::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void control::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void control::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<control*>(&to_msg);
|
auto* const _this = static_cast<control*>(&to_msg);
|
||||||
auto& from = static_cast<const control&>(from_msg);
|
auto& from = static_cast<const control&>(from_msg);
|
||||||
|
::google::protobuf::Arena* arena = _this->GetArena();
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.control.control)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.control.control)
|
||||||
ABSL_DCHECK_NE(&from, _this);
|
ABSL_DCHECK_NE(&from, _this);
|
||||||
::uint32_t cached_has_bits = 0;
|
::uint32_t cached_has_bits = 0;
|
||||||
@@ -405,17 +399,22 @@ void control::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pro
|
|||||||
cached_has_bits = from._impl_._has_bits_[0];
|
cached_has_bits = from._impl_._has_bits_[0];
|
||||||
if (cached_has_bits & 0x00000003u) {
|
if (cached_has_bits & 0x00000003u) {
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
_this->_internal_mutable_identifier()->::messages::track::Identifier::MergeFrom(
|
ABSL_DCHECK(from._impl_.identifier_ != nullptr);
|
||||||
from._internal_identifier());
|
if (_this->_impl_.identifier_ == nullptr) {
|
||||||
|
_this->_impl_.identifier_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(arena, *from._impl_.identifier_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.identifier_->MergeFrom(*from._impl_.identifier_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (cached_has_bits & 0x00000002u) {
|
if (cached_has_bits & 0x00000002u) {
|
||||||
_this->_impl_.timestamp_ = from._impl_.timestamp_;
|
_this->_impl_.timestamp_ = from._impl_.timestamp_;
|
||||||
}
|
}
|
||||||
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
||||||
}
|
}
|
||||||
if (from._internal_type() != 0) {
|
if (from._internal_type() != 0) {
|
||||||
_this->_internal_set_type(from._internal_type());
|
_this->_impl_.type_ = from._impl_.type_;
|
||||||
}
|
}
|
||||||
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -446,8 +445,8 @@ void control::InternalSwap(control* PROTOBUF_RESTRICT other) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata control::GetMetadata() const {
|
::google::protobuf::Metadata control::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_Control_2eproto_getter,
|
||||||
&descriptor_table_Control_2eproto_getter, &descriptor_table_Control_2eproto_once,
|
&descriptor_table_Control_2eproto_once,
|
||||||
file_level_metadata_Control_2eproto[0]);
|
file_level_metadata_Control_2eproto[0]);
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -458,4 +457,8 @@ namespace protobuf {
|
|||||||
} // namespace protobuf
|
} // namespace protobuf
|
||||||
} // namespace google
|
} // namespace google
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
||||||
|
static ::std::false_type _static_init_ PROTOBUF_UNUSED =
|
||||||
|
(::_pbi::AddDescriptors(&descriptor_table_Control_2eproto),
|
||||||
|
::std::false_type{});
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: Control.proto
|
// source: Control.proto
|
||||||
// Protobuf C++ Version: 4.24.0-main
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_Control_2eproto_2epb_2eh
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_Control_2eproto_2epb_2eh
|
||||||
#define GOOGLE_PROTOBUF_INCLUDED_Control_2eproto_2epb_2eh
|
#define GOOGLE_PROTOBUF_INCLUDED_Control_2eproto_2epb_2eh
|
||||||
@@ -11,17 +11,11 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "google/protobuf/port_def.inc"
|
#include "google/protobuf/port_def.inc"
|
||||||
#if PROTOBUF_VERSION < 4025000
|
#if PROTOBUF_VERSION != 4026000
|
||||||
#error "This file was generated by a newer version of protoc which is"
|
#error "Protobuf C++ gencode is built with an incompatible version of"
|
||||||
#error "incompatible with your Protocol Buffer headers. Please update"
|
#error "Protobuf C++ headers/runtime. See"
|
||||||
#error "your headers."
|
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
|
||||||
#endif // PROTOBUF_VERSION
|
#endif
|
||||||
|
|
||||||
#if 4025000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#error "This file was generated by an older version of protoc which is"
|
|
||||||
#error "incompatible with your Protocol Buffer headers. Please"
|
|
||||||
#error "regenerate this file with a newer version of protoc."
|
|
||||||
#endif // PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
#include "google/protobuf/io/coded_stream.h"
|
#include "google/protobuf/io/coded_stream.h"
|
||||||
#include "google/protobuf/arena.h"
|
#include "google/protobuf/arena.h"
|
||||||
@@ -76,21 +70,18 @@ namespace control {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class control final :
|
class control final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.control.control) */ {
|
/* @@protoc_insertion_point(class_definition:messages.control.control) */ {
|
||||||
public:
|
public:
|
||||||
inline control() : control(nullptr) {}
|
inline control() : control(nullptr) {}
|
||||||
~control() override;
|
~control() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR control(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR control(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline control(const control& from)
|
|
||||||
: control(nullptr, from) {}
|
|
||||||
control(control&& from) noexcept
|
|
||||||
: control() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline control(const control& from) : control(nullptr, from) {}
|
||||||
|
inline control(control&& from) noexcept
|
||||||
|
: control(nullptr, std::move(from)) {}
|
||||||
inline control& operator=(const control& from) {
|
inline control& operator=(const control& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -134,17 +125,12 @@ class control final :
|
|||||||
return reinterpret_cast<const control*>(
|
return reinterpret_cast<const control*>(
|
||||||
&_control_default_instance_);
|
&_control_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 0;
|
||||||
0;
|
friend void swap(control& a, control& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(control& a, control& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(control* other) {
|
inline void Swap(control* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -162,16 +148,18 @@ class control final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
control* New(::google::protobuf::Arena* arena = nullptr) const final {
|
control* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<control>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<control>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const control& from);
|
void CopyFrom(const control& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const control& from) {
|
void MergeFrom(const control& from) { control::MergeImpl(*this, from); }
|
||||||
control::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -179,31 +167,33 @@ class control final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(control* other);
|
void InternalSwap(control* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.control.control"; }
|
||||||
return "messages.control.control";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit control(::google::protobuf::Arena* arena);
|
explicit control(::google::protobuf::Arena* arena);
|
||||||
control(::google::protobuf::Arena* arena, const control& from);
|
control(::google::protobuf::Arena* arena, const control& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
control(::google::protobuf::Arena* arena, control&& from) noexcept
|
||||||
|
: control(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kDataFieldNumber = 3,
|
kDataFieldNumber = 3,
|
||||||
kIdentifierFieldNumber = 1,
|
kIdentifierFieldNumber = 1,
|
||||||
@@ -265,7 +255,6 @@ class control final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.control.control)
|
// @@protoc_insertion_point(class_scope:messages.control.control)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
2, 4, 1,
|
2, 4, 1,
|
||||||
@@ -278,7 +267,6 @@ class control final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -371,14 +359,14 @@ inline ::messages::track::Identifier* control::unsafe_arena_release_identifier()
|
|||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* control::_internal_mutable_identifier() {
|
inline ::messages::track::Identifier* control::_internal_mutable_identifier() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000001u;
|
|
||||||
if (_impl_.identifier_ == nullptr) {
|
if (_impl_.identifier_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::messages::track::Identifier>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::messages::track::Identifier>(GetArena());
|
||||||
_impl_.identifier_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
_impl_.identifier_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.identifier_;
|
return _impl_.identifier_;
|
||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* control::mutable_identifier() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::messages::track::Identifier* control::mutable_identifier() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000001u;
|
||||||
::messages::track::Identifier* _msg = _internal_mutable_identifier();
|
::messages::track::Identifier* _msg = _internal_mutable_identifier();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.control.control.Identifier)
|
// @@protoc_insertion_point(field_mutable:messages.control.control.Identifier)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -423,7 +411,6 @@ inline ::uint32_t control::_internal_type() const {
|
|||||||
}
|
}
|
||||||
inline void control::_internal_set_type(::uint32_t value) {
|
inline void control::_internal_set_type(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.type_ = value;
|
_impl_.type_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -441,7 +428,6 @@ template <typename Arg_, typename... Args_>
|
|||||||
inline PROTOBUF_ALWAYS_INLINE void control::set_data(Arg_&& arg,
|
inline PROTOBUF_ALWAYS_INLINE void control::set_data(Arg_&& arg,
|
||||||
Args_... args) {
|
Args_... args) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.data_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
_impl_.data_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
||||||
// @@protoc_insertion_point(field_set:messages.control.control.data)
|
// @@protoc_insertion_point(field_set:messages.control.control.data)
|
||||||
}
|
}
|
||||||
@@ -456,12 +442,10 @@ inline const std::string& control::_internal_data() const {
|
|||||||
}
|
}
|
||||||
inline void control::_internal_set_data(const std::string& value) {
|
inline void control::_internal_set_data(const std::string& value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.data_.Set(value, GetArena());
|
_impl_.data_.Set(value, GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* control::_internal_mutable_data() {
|
inline std::string* control::_internal_mutable_data() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
return _impl_.data_.Mutable( GetArena());
|
return _impl_.data_.Mutable( GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* control::release_data() {
|
inline std::string* control::release_data() {
|
||||||
@@ -496,6 +480,7 @@ inline ::uint64_t control::timestamp() const {
|
|||||||
}
|
}
|
||||||
inline void control::set_timestamp(::uint64_t value) {
|
inline void control::set_timestamp(::uint64_t value) {
|
||||||
_internal_set_timestamp(value);
|
_internal_set_timestamp(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000002u;
|
||||||
// @@protoc_insertion_point(field_set:messages.control.control.timestamp)
|
// @@protoc_insertion_point(field_set:messages.control.control.timestamp)
|
||||||
}
|
}
|
||||||
inline ::uint64_t control::_internal_timestamp() const {
|
inline ::uint64_t control::_internal_timestamp() const {
|
||||||
@@ -504,7 +489,6 @@ inline ::uint64_t control::_internal_timestamp() const {
|
|||||||
}
|
}
|
||||||
inline void control::_internal_set_timestamp(::uint64_t value) {
|
inline void control::_internal_set_timestamp(::uint64_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000002u;
|
|
||||||
_impl_.timestamp_ = value;
|
_impl_.timestamp_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: GeocentricPosition.proto
|
// source: GeocentricPosition.proto
|
||||||
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#include "GeocentricPosition.pb.h"
|
#include "GeocentricPosition.pb.h"
|
||||||
|
|
||||||
@@ -113,9 +114,6 @@ const ::_pbi::DescriptorTable descriptor_table_GeocentricPosition_2eproto = {
|
|||||||
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_GeocentricPosition_2eproto_getter() {
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_GeocentricPosition_2eproto_getter() {
|
||||||
return &descriptor_table_GeocentricPosition_2eproto;
|
return &descriptor_table_GeocentricPosition_2eproto;
|
||||||
}
|
}
|
||||||
// Force running AddDescriptors() at dynamic initialization time.
|
|
||||||
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
|
||||||
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_GeocentricPosition_2eproto(&descriptor_table_GeocentricPosition_2eproto);
|
|
||||||
namespace messages {
|
namespace messages {
|
||||||
namespace track {
|
namespace track {
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -160,12 +158,15 @@ inline void EntityGeocentricPosition::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
EntityGeocentricPosition::GetClassData() const {
|
EntityGeocentricPosition::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
EntityGeocentricPosition::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(EntityGeocentricPosition, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(EntityGeocentricPosition, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&EntityGeocentricPosition::MergeImpl,
|
||||||
|
&EntityGeocentricPosition::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -203,6 +204,9 @@ const ::_pbi::TcParseTable<2, 3, 0, 0, 2> EntityGeocentricPosition::_table_ = {
|
|||||||
offsetof(decltype(_table_), field_names), // no aux_entries
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
||||||
&_EntityGeocentricPosition_default_instance_._instance,
|
&_EntityGeocentricPosition_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::track::EntityGeocentricPosition>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
{::_pbi::TcParser::MiniParse, {}},
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
// double X = 1;
|
// double X = 1;
|
||||||
@@ -326,7 +330,7 @@ const ::_pbi::TcParseTable<2, 3, 0, 0, 2> EntityGeocentricPosition::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void EntityGeocentricPosition::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void EntityGeocentricPosition::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<EntityGeocentricPosition*>(&to_msg);
|
auto* const _this = static_cast<EntityGeocentricPosition*>(&to_msg);
|
||||||
auto& from = static_cast<const EntityGeocentricPosition&>(from_msg);
|
auto& from = static_cast<const EntityGeocentricPosition&>(from_msg);
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.track.EntityGeocentricPosition)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.track.EntityGeocentricPosition)
|
||||||
@@ -340,7 +344,7 @@ void EntityGeocentricPosition::MergeImpl(::google::protobuf::Message& to_msg, co
|
|||||||
::uint64_t raw_x;
|
::uint64_t raw_x;
|
||||||
memcpy(&raw_x, &tmp_x, sizeof(tmp_x));
|
memcpy(&raw_x, &tmp_x, sizeof(tmp_x));
|
||||||
if (raw_x != 0) {
|
if (raw_x != 0) {
|
||||||
_this->_internal_set_x(from._internal_x());
|
_this->_impl_.x_ = from._impl_.x_;
|
||||||
}
|
}
|
||||||
static_assert(sizeof(::uint64_t) == sizeof(double),
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
||||||
"Code assumes ::uint64_t and double are the same size.");
|
"Code assumes ::uint64_t and double are the same size.");
|
||||||
@@ -348,7 +352,7 @@ void EntityGeocentricPosition::MergeImpl(::google::protobuf::Message& to_msg, co
|
|||||||
::uint64_t raw_y;
|
::uint64_t raw_y;
|
||||||
memcpy(&raw_y, &tmp_y, sizeof(tmp_y));
|
memcpy(&raw_y, &tmp_y, sizeof(tmp_y));
|
||||||
if (raw_y != 0) {
|
if (raw_y != 0) {
|
||||||
_this->_internal_set_y(from._internal_y());
|
_this->_impl_.y_ = from._impl_.y_;
|
||||||
}
|
}
|
||||||
static_assert(sizeof(::uint64_t) == sizeof(double),
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
||||||
"Code assumes ::uint64_t and double are the same size.");
|
"Code assumes ::uint64_t and double are the same size.");
|
||||||
@@ -356,7 +360,7 @@ void EntityGeocentricPosition::MergeImpl(::google::protobuf::Message& to_msg, co
|
|||||||
::uint64_t raw_z;
|
::uint64_t raw_z;
|
||||||
memcpy(&raw_z, &tmp_z, sizeof(tmp_z));
|
memcpy(&raw_z, &tmp_z, sizeof(tmp_z));
|
||||||
if (raw_z != 0) {
|
if (raw_z != 0) {
|
||||||
_this->_internal_set_z(from._internal_z());
|
_this->_impl_.z_ = from._impl_.z_;
|
||||||
}
|
}
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
@@ -384,8 +388,8 @@ void EntityGeocentricPosition::InternalSwap(EntityGeocentricPosition* PROTOBUF_R
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata EntityGeocentricPosition::GetMetadata() const {
|
::google::protobuf::Metadata EntityGeocentricPosition::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_GeocentricPosition_2eproto_getter,
|
||||||
&descriptor_table_GeocentricPosition_2eproto_getter, &descriptor_table_GeocentricPosition_2eproto_once,
|
&descriptor_table_GeocentricPosition_2eproto_once,
|
||||||
file_level_metadata_GeocentricPosition_2eproto[0]);
|
file_level_metadata_GeocentricPosition_2eproto[0]);
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -396,4 +400,8 @@ namespace protobuf {
|
|||||||
} // namespace protobuf
|
} // namespace protobuf
|
||||||
} // namespace google
|
} // namespace google
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
||||||
|
static ::std::false_type _static_init_ PROTOBUF_UNUSED =
|
||||||
|
(::_pbi::AddDescriptors(&descriptor_table_GeocentricPosition_2eproto),
|
||||||
|
::std::false_type{});
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: GeocentricPosition.proto
|
// source: GeocentricPosition.proto
|
||||||
// Protobuf C++ Version: 4.24.0-main
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_GeocentricPosition_2eproto_2epb_2eh
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_GeocentricPosition_2eproto_2epb_2eh
|
||||||
#define GOOGLE_PROTOBUF_INCLUDED_GeocentricPosition_2eproto_2epb_2eh
|
#define GOOGLE_PROTOBUF_INCLUDED_GeocentricPosition_2eproto_2epb_2eh
|
||||||
@@ -11,17 +11,11 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "google/protobuf/port_def.inc"
|
#include "google/protobuf/port_def.inc"
|
||||||
#if PROTOBUF_VERSION < 4025000
|
#if PROTOBUF_VERSION != 4026000
|
||||||
#error "This file was generated by a newer version of protoc which is"
|
#error "Protobuf C++ gencode is built with an incompatible version of"
|
||||||
#error "incompatible with your Protocol Buffer headers. Please update"
|
#error "Protobuf C++ headers/runtime. See"
|
||||||
#error "your headers."
|
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
|
||||||
#endif // PROTOBUF_VERSION
|
#endif
|
||||||
|
|
||||||
#if 4025000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#error "This file was generated by an older version of protoc which is"
|
|
||||||
#error "incompatible with your Protocol Buffer headers. Please"
|
|
||||||
#error "regenerate this file with a newer version of protoc."
|
|
||||||
#endif // PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
#include "google/protobuf/io/coded_stream.h"
|
#include "google/protobuf/io/coded_stream.h"
|
||||||
#include "google/protobuf/arena.h"
|
#include "google/protobuf/arena.h"
|
||||||
@@ -75,21 +69,18 @@ namespace track {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class EntityGeocentricPosition final :
|
class EntityGeocentricPosition final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.track.EntityGeocentricPosition) */ {
|
/* @@protoc_insertion_point(class_definition:messages.track.EntityGeocentricPosition) */ {
|
||||||
public:
|
public:
|
||||||
inline EntityGeocentricPosition() : EntityGeocentricPosition(nullptr) {}
|
inline EntityGeocentricPosition() : EntityGeocentricPosition(nullptr) {}
|
||||||
~EntityGeocentricPosition() override;
|
~EntityGeocentricPosition() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR EntityGeocentricPosition(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR EntityGeocentricPosition(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline EntityGeocentricPosition(const EntityGeocentricPosition& from)
|
|
||||||
: EntityGeocentricPosition(nullptr, from) {}
|
|
||||||
EntityGeocentricPosition(EntityGeocentricPosition&& from) noexcept
|
|
||||||
: EntityGeocentricPosition() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline EntityGeocentricPosition(const EntityGeocentricPosition& from) : EntityGeocentricPosition(nullptr, from) {}
|
||||||
|
inline EntityGeocentricPosition(EntityGeocentricPosition&& from) noexcept
|
||||||
|
: EntityGeocentricPosition(nullptr, std::move(from)) {}
|
||||||
inline EntityGeocentricPosition& operator=(const EntityGeocentricPosition& from) {
|
inline EntityGeocentricPosition& operator=(const EntityGeocentricPosition& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -133,17 +124,12 @@ class EntityGeocentricPosition final :
|
|||||||
return reinterpret_cast<const EntityGeocentricPosition*>(
|
return reinterpret_cast<const EntityGeocentricPosition*>(
|
||||||
&_EntityGeocentricPosition_default_instance_);
|
&_EntityGeocentricPosition_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 0;
|
||||||
0;
|
friend void swap(EntityGeocentricPosition& a, EntityGeocentricPosition& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(EntityGeocentricPosition& a, EntityGeocentricPosition& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(EntityGeocentricPosition* other) {
|
inline void Swap(EntityGeocentricPosition* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -161,16 +147,18 @@ class EntityGeocentricPosition final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
EntityGeocentricPosition* New(::google::protobuf::Arena* arena = nullptr) const final {
|
EntityGeocentricPosition* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<EntityGeocentricPosition>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<EntityGeocentricPosition>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const EntityGeocentricPosition& from);
|
void CopyFrom(const EntityGeocentricPosition& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const EntityGeocentricPosition& from) {
|
void MergeFrom(const EntityGeocentricPosition& from) { EntityGeocentricPosition::MergeImpl(*this, from); }
|
||||||
EntityGeocentricPosition::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -178,31 +166,33 @@ class EntityGeocentricPosition final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(EntityGeocentricPosition* other);
|
void InternalSwap(EntityGeocentricPosition* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.track.EntityGeocentricPosition"; }
|
||||||
return "messages.track.EntityGeocentricPosition";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit EntityGeocentricPosition(::google::protobuf::Arena* arena);
|
explicit EntityGeocentricPosition(::google::protobuf::Arena* arena);
|
||||||
EntityGeocentricPosition(::google::protobuf::Arena* arena, const EntityGeocentricPosition& from);
|
EntityGeocentricPosition(::google::protobuf::Arena* arena, const EntityGeocentricPosition& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
EntityGeocentricPosition(::google::protobuf::Arena* arena, EntityGeocentricPosition&& from) noexcept
|
||||||
|
: EntityGeocentricPosition(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kXFieldNumber = 1,
|
kXFieldNumber = 1,
|
||||||
kYFieldNumber = 2,
|
kYFieldNumber = 2,
|
||||||
@@ -241,7 +231,6 @@ class EntityGeocentricPosition final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.track.EntityGeocentricPosition)
|
// @@protoc_insertion_point(class_scope:messages.track.EntityGeocentricPosition)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
2, 3, 0,
|
2, 3, 0,
|
||||||
@@ -254,7 +243,6 @@ class EntityGeocentricPosition final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -306,7 +294,6 @@ inline double EntityGeocentricPosition::_internal_x() const {
|
|||||||
}
|
}
|
||||||
inline void EntityGeocentricPosition::_internal_set_x(double value) {
|
inline void EntityGeocentricPosition::_internal_set_x(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.x_ = value;
|
_impl_.x_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -329,7 +316,6 @@ inline double EntityGeocentricPosition::_internal_y() const {
|
|||||||
}
|
}
|
||||||
inline void EntityGeocentricPosition::_internal_set_y(double value) {
|
inline void EntityGeocentricPosition::_internal_set_y(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.y_ = value;
|
_impl_.y_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -352,7 +338,6 @@ inline double EntityGeocentricPosition::_internal_z() const {
|
|||||||
}
|
}
|
||||||
inline void EntityGeocentricPosition::_internal_set_z(double value) {
|
inline void EntityGeocentricPosition::_internal_set_z(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.z_ = value;
|
_impl_.z_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: Identifier.proto
|
// source: Identifier.proto
|
||||||
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#include "Identifier.pb.h"
|
#include "Identifier.pb.h"
|
||||||
|
|
||||||
@@ -113,9 +114,6 @@ const ::_pbi::DescriptorTable descriptor_table_Identifier_2eproto = {
|
|||||||
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_Identifier_2eproto_getter() {
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_Identifier_2eproto_getter() {
|
||||||
return &descriptor_table_Identifier_2eproto;
|
return &descriptor_table_Identifier_2eproto;
|
||||||
}
|
}
|
||||||
// Force running AddDescriptors() at dynamic initialization time.
|
|
||||||
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
|
||||||
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_Identifier_2eproto(&descriptor_table_Identifier_2eproto);
|
|
||||||
namespace messages {
|
namespace messages {
|
||||||
namespace track {
|
namespace track {
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -171,12 +169,15 @@ inline void Identifier::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
Identifier::GetClassData() const {
|
Identifier::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
Identifier::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(Identifier, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(Identifier, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&Identifier::MergeImpl,
|
||||||
|
&Identifier::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -213,6 +214,9 @@ const ::_pbi::TcParseTable<1, 2, 0, 38, 2> Identifier::_table_ = {
|
|||||||
offsetof(decltype(_table_), field_names), // no aux_entries
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
||||||
&_Identifier_default_instance_._instance,
|
&_Identifier_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::track::Identifier>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
// string uuid = 2;
|
// string uuid = 2;
|
||||||
{::_pbi::TcParser::FastUS1,
|
{::_pbi::TcParser::FastUS1,
|
||||||
@@ -292,7 +296,7 @@ const ::_pbi::TcParseTable<1, 2, 0, 38, 2> Identifier::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Identifier::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void Identifier::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<Identifier*>(&to_msg);
|
auto* const _this = static_cast<Identifier*>(&to_msg);
|
||||||
auto& from = static_cast<const Identifier&>(from_msg);
|
auto& from = static_cast<const Identifier&>(from_msg);
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.track.Identifier)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.track.Identifier)
|
||||||
@@ -304,7 +308,7 @@ void Identifier::MergeImpl(::google::protobuf::Message& to_msg, const ::google::
|
|||||||
_this->_internal_set_uuid(from._internal_uuid());
|
_this->_internal_set_uuid(from._internal_uuid());
|
||||||
}
|
}
|
||||||
if (from._internal_external() != 0) {
|
if (from._internal_external() != 0) {
|
||||||
_this->_internal_set_external(from._internal_external());
|
_this->_impl_.external_ = from._impl_.external_;
|
||||||
}
|
}
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
@@ -330,8 +334,8 @@ void Identifier::InternalSwap(Identifier* PROTOBUF_RESTRICT other) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata Identifier::GetMetadata() const {
|
::google::protobuf::Metadata Identifier::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_Identifier_2eproto_getter,
|
||||||
&descriptor_table_Identifier_2eproto_getter, &descriptor_table_Identifier_2eproto_once,
|
&descriptor_table_Identifier_2eproto_once,
|
||||||
file_level_metadata_Identifier_2eproto[0]);
|
file_level_metadata_Identifier_2eproto[0]);
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -342,4 +346,8 @@ namespace protobuf {
|
|||||||
} // namespace protobuf
|
} // namespace protobuf
|
||||||
} // namespace google
|
} // namespace google
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
||||||
|
static ::std::false_type _static_init_ PROTOBUF_UNUSED =
|
||||||
|
(::_pbi::AddDescriptors(&descriptor_table_Identifier_2eproto),
|
||||||
|
::std::false_type{});
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: Identifier.proto
|
// source: Identifier.proto
|
||||||
// Protobuf C++ Version: 4.24.0-main
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_Identifier_2eproto_2epb_2eh
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_Identifier_2eproto_2epb_2eh
|
||||||
#define GOOGLE_PROTOBUF_INCLUDED_Identifier_2eproto_2epb_2eh
|
#define GOOGLE_PROTOBUF_INCLUDED_Identifier_2eproto_2epb_2eh
|
||||||
@@ -11,17 +11,11 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "google/protobuf/port_def.inc"
|
#include "google/protobuf/port_def.inc"
|
||||||
#if PROTOBUF_VERSION < 4025000
|
#if PROTOBUF_VERSION != 4026000
|
||||||
#error "This file was generated by a newer version of protoc which is"
|
#error "Protobuf C++ gencode is built with an incompatible version of"
|
||||||
#error "incompatible with your Protocol Buffer headers. Please update"
|
#error "Protobuf C++ headers/runtime. See"
|
||||||
#error "your headers."
|
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
|
||||||
#endif // PROTOBUF_VERSION
|
#endif
|
||||||
|
|
||||||
#if 4025000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#error "This file was generated by an older version of protoc which is"
|
|
||||||
#error "incompatible with your Protocol Buffer headers. Please"
|
|
||||||
#error "regenerate this file with a newer version of protoc."
|
|
||||||
#endif // PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
#include "google/protobuf/io/coded_stream.h"
|
#include "google/protobuf/io/coded_stream.h"
|
||||||
#include "google/protobuf/arena.h"
|
#include "google/protobuf/arena.h"
|
||||||
@@ -75,21 +69,18 @@ namespace track {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class Identifier final :
|
class Identifier final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.track.Identifier) */ {
|
/* @@protoc_insertion_point(class_definition:messages.track.Identifier) */ {
|
||||||
public:
|
public:
|
||||||
inline Identifier() : Identifier(nullptr) {}
|
inline Identifier() : Identifier(nullptr) {}
|
||||||
~Identifier() override;
|
~Identifier() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR Identifier(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR Identifier(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline Identifier(const Identifier& from)
|
|
||||||
: Identifier(nullptr, from) {}
|
|
||||||
Identifier(Identifier&& from) noexcept
|
|
||||||
: Identifier() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline Identifier(const Identifier& from) : Identifier(nullptr, from) {}
|
||||||
|
inline Identifier(Identifier&& from) noexcept
|
||||||
|
: Identifier(nullptr, std::move(from)) {}
|
||||||
inline Identifier& operator=(const Identifier& from) {
|
inline Identifier& operator=(const Identifier& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -133,17 +124,12 @@ class Identifier final :
|
|||||||
return reinterpret_cast<const Identifier*>(
|
return reinterpret_cast<const Identifier*>(
|
||||||
&_Identifier_default_instance_);
|
&_Identifier_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 0;
|
||||||
0;
|
friend void swap(Identifier& a, Identifier& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(Identifier& a, Identifier& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(Identifier* other) {
|
inline void Swap(Identifier* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -161,16 +147,18 @@ class Identifier final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
Identifier* New(::google::protobuf::Arena* arena = nullptr) const final {
|
Identifier* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<Identifier>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<Identifier>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const Identifier& from);
|
void CopyFrom(const Identifier& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const Identifier& from) {
|
void MergeFrom(const Identifier& from) { Identifier::MergeImpl(*this, from); }
|
||||||
Identifier::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -178,31 +166,33 @@ class Identifier final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(Identifier* other);
|
void InternalSwap(Identifier* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.track.Identifier"; }
|
||||||
return "messages.track.Identifier";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit Identifier(::google::protobuf::Arena* arena);
|
explicit Identifier(::google::protobuf::Arena* arena);
|
||||||
Identifier(::google::protobuf::Arena* arena, const Identifier& from);
|
Identifier(::google::protobuf::Arena* arena, const Identifier& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
Identifier(::google::protobuf::Arena* arena, Identifier&& from) noexcept
|
||||||
|
: Identifier(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kUuidFieldNumber = 2,
|
kUuidFieldNumber = 2,
|
||||||
kExternalFieldNumber = 1,
|
kExternalFieldNumber = 1,
|
||||||
@@ -236,7 +226,6 @@ class Identifier final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.track.Identifier)
|
// @@protoc_insertion_point(class_scope:messages.track.Identifier)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
1, 2, 0,
|
1, 2, 0,
|
||||||
@@ -249,7 +238,6 @@ class Identifier final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -300,7 +288,6 @@ inline bool Identifier::_internal_external() const {
|
|||||||
}
|
}
|
||||||
inline void Identifier::_internal_set_external(bool value) {
|
inline void Identifier::_internal_set_external(bool value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.external_ = value;
|
_impl_.external_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -318,7 +305,6 @@ template <typename Arg_, typename... Args_>
|
|||||||
inline PROTOBUF_ALWAYS_INLINE void Identifier::set_uuid(Arg_&& arg,
|
inline PROTOBUF_ALWAYS_INLINE void Identifier::set_uuid(Arg_&& arg,
|
||||||
Args_... args) {
|
Args_... args) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.uuid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
_impl_.uuid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
||||||
// @@protoc_insertion_point(field_set:messages.track.Identifier.uuid)
|
// @@protoc_insertion_point(field_set:messages.track.Identifier.uuid)
|
||||||
}
|
}
|
||||||
@@ -333,12 +319,10 @@ inline const std::string& Identifier::_internal_uuid() const {
|
|||||||
}
|
}
|
||||||
inline void Identifier::_internal_set_uuid(const std::string& value) {
|
inline void Identifier::_internal_set_uuid(const std::string& value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.uuid_.Set(value, GetArena());
|
_impl_.uuid_.Set(value, GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* Identifier::_internal_mutable_uuid() {
|
inline std::string* Identifier::_internal_mutable_uuid() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
return _impl_.uuid_.Mutable( GetArena());
|
return _impl_.uuid_.Mutable( GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* Identifier::release_uuid() {
|
inline std::string* Identifier::release_uuid() {
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: SimTrack.proto
|
// source: SimTrack.proto
|
||||||
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#include "SimTrack.pb.h"
|
#include "SimTrack.pb.h"
|
||||||
|
|
||||||
@@ -234,9 +235,6 @@ const ::_pbi::DescriptorTable descriptor_table_SimTrack_2eproto = {
|
|||||||
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_SimTrack_2eproto_getter() {
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_SimTrack_2eproto_getter() {
|
||||||
return &descriptor_table_SimTrack_2eproto;
|
return &descriptor_table_SimTrack_2eproto;
|
||||||
}
|
}
|
||||||
// Force running AddDescriptors() at dynamic initialization time.
|
|
||||||
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
|
||||||
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_SimTrack_2eproto(&descriptor_table_SimTrack_2eproto);
|
|
||||||
namespace messages {
|
namespace messages {
|
||||||
namespace SimTrack {
|
namespace SimTrack {
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -246,43 +244,8 @@ class SimTrack::_Internal {
|
|||||||
using HasBits = decltype(std::declval<SimTrack>()._impl_._has_bits_);
|
using HasBits = decltype(std::declval<SimTrack>()._impl_._has_bits_);
|
||||||
static constexpr ::int32_t kHasBitsOffset =
|
static constexpr ::int32_t kHasBitsOffset =
|
||||||
8 * PROTOBUF_FIELD_OFFSET(SimTrack, _impl_._has_bits_);
|
8 * PROTOBUF_FIELD_OFFSET(SimTrack, _impl_._has_bits_);
|
||||||
static const ::messages::track::Identifier& entityidentifier(const SimTrack* msg);
|
|
||||||
static void set_has_entityidentifier(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 1u;
|
|
||||||
}
|
|
||||||
static void set_has_contactsourcetype(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 8u;
|
|
||||||
}
|
|
||||||
static const ::messages::track::EntityGeocentricPosition& geocentricposition(const SimTrack* msg);
|
|
||||||
static void set_has_geocentricposition(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 2u;
|
|
||||||
}
|
|
||||||
static void set_has_contactspeed(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 4u;
|
|
||||||
}
|
|
||||||
static void set_has_contactcourse(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 32u;
|
|
||||||
}
|
|
||||||
static void set_has_conactpitch(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 64u;
|
|
||||||
}
|
|
||||||
static void set_has_contactkind(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 16u;
|
|
||||||
}
|
|
||||||
static void set_has_contactside(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 256u;
|
|
||||||
}
|
|
||||||
static void set_has_contactrcs(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 128u;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::messages::track::Identifier& SimTrack::_Internal::entityidentifier(const SimTrack* msg) {
|
|
||||||
return *msg->_impl_.entityidentifier_;
|
|
||||||
}
|
|
||||||
const ::messages::track::EntityGeocentricPosition& SimTrack::_Internal::geocentricposition(const SimTrack* msg) {
|
|
||||||
return *msg->_impl_.geocentricposition_;
|
|
||||||
}
|
|
||||||
void SimTrack::clear_entityidentifier() {
|
void SimTrack::clear_entityidentifier() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
if (_impl_.entityidentifier_ != nullptr) _impl_.entityidentifier_->Clear();
|
if (_impl_.entityidentifier_ != nullptr) _impl_.entityidentifier_->Clear();
|
||||||
@@ -316,11 +279,11 @@ SimTrack::SimTrack(
|
|||||||
from._internal_metadata_);
|
from._internal_metadata_);
|
||||||
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
||||||
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
||||||
_impl_.entityidentifier_ = (cached_has_bits & 0x00000001u)
|
_impl_.entityidentifier_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(
|
||||||
? CreateMaybeMessage<::messages::track::Identifier>(arena, *from._impl_.entityidentifier_)
|
arena, *from._impl_.entityidentifier_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
_impl_.geocentricposition_ = (cached_has_bits & 0x00000002u)
|
_impl_.geocentricposition_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::messages::track::EntityGeocentricPosition>(
|
||||||
? CreateMaybeMessage<::messages::track::EntityGeocentricPosition>(arena, *from._impl_.geocentricposition_)
|
arena, *from._impl_.geocentricposition_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
||||||
offsetof(Impl_, contactspeed_),
|
offsetof(Impl_, contactspeed_),
|
||||||
@@ -363,12 +326,15 @@ inline void SimTrack::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
SimTrack::GetClassData() const {
|
SimTrack::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
SimTrack::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(SimTrack, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(SimTrack, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&SimTrack::MergeImpl,
|
||||||
|
&SimTrack::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -423,6 +389,9 @@ const ::_pbi::TcParseTable<4, 11, 3, 55, 2> SimTrack::_table_ = {
|
|||||||
offsetof(decltype(_table_), aux_entries),
|
offsetof(decltype(_table_), aux_entries),
|
||||||
&_SimTrack_default_instance_._instance,
|
&_SimTrack_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::SimTrack::SimTrack>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
{::_pbi::TcParser::MiniParse, {}},
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
// .messages.track.Identifier EntityIdentifier = 1;
|
// .messages.track.Identifier EntityIdentifier = 1;
|
||||||
@@ -520,8 +489,7 @@ const ::_pbi::TcParseTable<4, 11, 3, 55, 2> SimTrack::_table_ = {
|
|||||||
// .messages.track.Identifier EntityIdentifier = 1;
|
// .messages.track.Identifier EntityIdentifier = 1;
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
1, _Internal::entityidentifier(this),
|
1, *_impl_.entityidentifier_, _impl_.entityidentifier_->GetCachedSize(), target, stream);
|
||||||
_Internal::entityidentifier(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// string ConatactName = 2;
|
// string ConatactName = 2;
|
||||||
@@ -542,8 +510,7 @@ const ::_pbi::TcParseTable<4, 11, 3, 55, 2> SimTrack::_table_ = {
|
|||||||
// optional .messages.track.EntityGeocentricPosition GeocentricPosition = 4;
|
// optional .messages.track.EntityGeocentricPosition GeocentricPosition = 4;
|
||||||
if (cached_has_bits & 0x00000002u) {
|
if (cached_has_bits & 0x00000002u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
4, _Internal::geocentricposition(this),
|
4, *_impl_.geocentricposition_, _impl_.geocentricposition_->GetCachedSize(), target, stream);
|
||||||
_Internal::geocentricposition(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// optional double ContactSpeed = 5;
|
// optional double ContactSpeed = 5;
|
||||||
@@ -682,9 +649,10 @@ const ::_pbi::TcParseTable<4, 11, 3, 55, 2> SimTrack::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SimTrack::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void SimTrack::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<SimTrack*>(&to_msg);
|
auto* const _this = static_cast<SimTrack*>(&to_msg);
|
||||||
auto& from = static_cast<const SimTrack&>(from_msg);
|
auto& from = static_cast<const SimTrack&>(from_msg);
|
||||||
|
::google::protobuf::Arena* arena = _this->GetArena();
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.SimTrack.SimTrack)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.SimTrack.SimTrack)
|
||||||
ABSL_DCHECK_NE(&from, _this);
|
ABSL_DCHECK_NE(&from, _this);
|
||||||
::uint32_t cached_has_bits = 0;
|
::uint32_t cached_has_bits = 0;
|
||||||
@@ -698,12 +666,22 @@ void SimTrack::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pr
|
|||||||
cached_has_bits = from._impl_._has_bits_[0];
|
cached_has_bits = from._impl_._has_bits_[0];
|
||||||
if (cached_has_bits & 0x000000ffu) {
|
if (cached_has_bits & 0x000000ffu) {
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
_this->_internal_mutable_entityidentifier()->::messages::track::Identifier::MergeFrom(
|
ABSL_DCHECK(from._impl_.entityidentifier_ != nullptr);
|
||||||
from._internal_entityidentifier());
|
if (_this->_impl_.entityidentifier_ == nullptr) {
|
||||||
|
_this->_impl_.entityidentifier_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(arena, *from._impl_.entityidentifier_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.entityidentifier_->MergeFrom(*from._impl_.entityidentifier_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (cached_has_bits & 0x00000002u) {
|
if (cached_has_bits & 0x00000002u) {
|
||||||
_this->_internal_mutable_geocentricposition()->::messages::track::EntityGeocentricPosition::MergeFrom(
|
ABSL_DCHECK(from._impl_.geocentricposition_ != nullptr);
|
||||||
from._internal_geocentricposition());
|
if (_this->_impl_.geocentricposition_ == nullptr) {
|
||||||
|
_this->_impl_.geocentricposition_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::messages::track::EntityGeocentricPosition>(arena, *from._impl_.geocentricposition_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.geocentricposition_->MergeFrom(*from._impl_.geocentricposition_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (cached_has_bits & 0x00000004u) {
|
if (cached_has_bits & 0x00000004u) {
|
||||||
_this->_impl_.contactspeed_ = from._impl_.contactspeed_;
|
_this->_impl_.contactspeed_ = from._impl_.contactspeed_;
|
||||||
@@ -723,11 +701,11 @@ void SimTrack::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pr
|
|||||||
if (cached_has_bits & 0x00000080u) {
|
if (cached_has_bits & 0x00000080u) {
|
||||||
_this->_impl_.contactrcs_ = from._impl_.contactrcs_;
|
_this->_impl_.contactrcs_ = from._impl_.contactrcs_;
|
||||||
}
|
}
|
||||||
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
||||||
}
|
}
|
||||||
if (cached_has_bits & 0x00000100u) {
|
if (cached_has_bits & 0x00000100u) {
|
||||||
_this->_internal_set_contactside(from._internal_contactside());
|
_this->_impl_.contactside_ = from._impl_.contactside_;
|
||||||
}
|
}
|
||||||
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -759,8 +737,8 @@ void SimTrack::InternalSwap(SimTrack* PROTOBUF_RESTRICT other) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata SimTrack::GetMetadata() const {
|
::google::protobuf::Metadata SimTrack::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_SimTrack_2eproto_getter,
|
||||||
&descriptor_table_SimTrack_2eproto_getter, &descriptor_table_SimTrack_2eproto_once,
|
&descriptor_table_SimTrack_2eproto_once,
|
||||||
file_level_metadata_SimTrack_2eproto[0]);
|
file_level_metadata_SimTrack_2eproto[0]);
|
||||||
}
|
}
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -770,33 +748,8 @@ class Emission::_Internal {
|
|||||||
using HasBits = decltype(std::declval<Emission>()._impl_._has_bits_);
|
using HasBits = decltype(std::declval<Emission>()._impl_._has_bits_);
|
||||||
static constexpr ::int32_t kHasBitsOffset =
|
static constexpr ::int32_t kHasBitsOffset =
|
||||||
8 * PROTOBUF_FIELD_OFFSET(Emission, _impl_._has_bits_);
|
8 * PROTOBUF_FIELD_OFFSET(Emission, _impl_._has_bits_);
|
||||||
static const ::messages::track::Identifier& identifier(const Emission* msg);
|
|
||||||
static void set_has_identifier(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 1u;
|
|
||||||
}
|
|
||||||
static void set_has_bandwidth(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 2u;
|
|
||||||
}
|
|
||||||
static void set_has_pulsewidth(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 4u;
|
|
||||||
}
|
|
||||||
static void set_has_pulserepitition(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 8u;
|
|
||||||
}
|
|
||||||
static void set_has_radiatedpower(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 16u;
|
|
||||||
}
|
|
||||||
static void set_has_numberofbeams(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 32u;
|
|
||||||
}
|
|
||||||
static void set_has_searchinterval(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 64u;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::messages::track::Identifier& Emission::_Internal::identifier(const Emission* msg) {
|
|
||||||
return *msg->_impl_.identifier_;
|
|
||||||
}
|
|
||||||
void Emission::clear_identifier() {
|
void Emission::clear_identifier() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
if (_impl_.identifier_ != nullptr) _impl_.identifier_->Clear();
|
if (_impl_.identifier_ != nullptr) _impl_.identifier_->Clear();
|
||||||
@@ -824,8 +777,8 @@ Emission::Emission(
|
|||||||
from._internal_metadata_);
|
from._internal_metadata_);
|
||||||
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
||||||
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
||||||
_impl_.identifier_ = (cached_has_bits & 0x00000001u)
|
_impl_.identifier_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(
|
||||||
? CreateMaybeMessage<::messages::track::Identifier>(arena, *from._impl_.identifier_)
|
arena, *from._impl_.identifier_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
||||||
offsetof(Impl_, frequency_),
|
offsetof(Impl_, frequency_),
|
||||||
@@ -866,12 +819,15 @@ inline void Emission::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
Emission::GetClassData() const {
|
Emission::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
Emission::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(Emission, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(Emission, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&Emission::MergeImpl,
|
||||||
|
&Emission::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -921,6 +877,9 @@ const ::_pbi::TcParseTable<4, 10, 1, 47, 2> Emission::_table_ = {
|
|||||||
offsetof(decltype(_table_), aux_entries),
|
offsetof(decltype(_table_), aux_entries),
|
||||||
&_Emission_default_instance_._instance,
|
&_Emission_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::SimTrack::Emission>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
{::_pbi::TcParser::MiniParse, {}},
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
// .messages.track.Identifier Identifier = 1;
|
// .messages.track.Identifier Identifier = 1;
|
||||||
@@ -1011,8 +970,7 @@ const ::_pbi::TcParseTable<4, 10, 1, 47, 2> Emission::_table_ = {
|
|||||||
// .messages.track.Identifier Identifier = 1;
|
// .messages.track.Identifier Identifier = 1;
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
1, _Internal::identifier(this),
|
1, *_impl_.identifier_, _impl_.identifier_->GetCachedSize(), target, stream);
|
||||||
_Internal::identifier(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// string name = 2;
|
// string name = 2;
|
||||||
@@ -1181,9 +1139,10 @@ const ::_pbi::TcParseTable<4, 10, 1, 47, 2> Emission::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Emission::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void Emission::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<Emission*>(&to_msg);
|
auto* const _this = static_cast<Emission*>(&to_msg);
|
||||||
auto& from = static_cast<const Emission&>(from_msg);
|
auto& from = static_cast<const Emission&>(from_msg);
|
||||||
|
::google::protobuf::Arena* arena = _this->GetArena();
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.SimTrack.Emission)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.SimTrack.Emission)
|
||||||
ABSL_DCHECK_NE(&from, _this);
|
ABSL_DCHECK_NE(&from, _this);
|
||||||
::uint32_t cached_has_bits = 0;
|
::uint32_t cached_has_bits = 0;
|
||||||
@@ -1192,9 +1151,15 @@ void Emission::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pr
|
|||||||
if (!from._internal_name().empty()) {
|
if (!from._internal_name().empty()) {
|
||||||
_this->_internal_set_name(from._internal_name());
|
_this->_internal_set_name(from._internal_name());
|
||||||
}
|
}
|
||||||
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
|
cached_has_bits = from._impl_._has_bits_[0];
|
||||||
_this->_internal_mutable_identifier()->::messages::track::Identifier::MergeFrom(
|
if (cached_has_bits & 0x00000001u) {
|
||||||
from._internal_identifier());
|
ABSL_DCHECK(from._impl_.identifier_ != nullptr);
|
||||||
|
if (_this->_impl_.identifier_ == nullptr) {
|
||||||
|
_this->_impl_.identifier_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(arena, *from._impl_.identifier_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.identifier_->MergeFrom(*from._impl_.identifier_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
static_assert(sizeof(::uint64_t) == sizeof(double),
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
||||||
"Code assumes ::uint64_t and double are the same size.");
|
"Code assumes ::uint64_t and double are the same size.");
|
||||||
@@ -1202,7 +1167,7 @@ void Emission::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pr
|
|||||||
::uint64_t raw_frequency;
|
::uint64_t raw_frequency;
|
||||||
memcpy(&raw_frequency, &tmp_frequency, sizeof(tmp_frequency));
|
memcpy(&raw_frequency, &tmp_frequency, sizeof(tmp_frequency));
|
||||||
if (raw_frequency != 0) {
|
if (raw_frequency != 0) {
|
||||||
_this->_internal_set_frequency(from._internal_frequency());
|
_this->_impl_.frequency_ = from._impl_.frequency_;
|
||||||
}
|
}
|
||||||
static_assert(sizeof(::uint64_t) == sizeof(double),
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
||||||
"Code assumes ::uint64_t and double are the same size.");
|
"Code assumes ::uint64_t and double are the same size.");
|
||||||
@@ -1210,9 +1175,8 @@ void Emission::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pr
|
|||||||
::uint64_t raw_range;
|
::uint64_t raw_range;
|
||||||
memcpy(&raw_range, &tmp_range, sizeof(tmp_range));
|
memcpy(&raw_range, &tmp_range, sizeof(tmp_range));
|
||||||
if (raw_range != 0) {
|
if (raw_range != 0) {
|
||||||
_this->_internal_set_range(from._internal_range());
|
_this->_impl_.range_ = from._impl_.range_;
|
||||||
}
|
}
|
||||||
cached_has_bits = from._impl_._has_bits_[0];
|
|
||||||
if (cached_has_bits & 0x0000007eu) {
|
if (cached_has_bits & 0x0000007eu) {
|
||||||
if (cached_has_bits & 0x00000002u) {
|
if (cached_has_bits & 0x00000002u) {
|
||||||
_this->_impl_.bandwidth_ = from._impl_.bandwidth_;
|
_this->_impl_.bandwidth_ = from._impl_.bandwidth_;
|
||||||
@@ -1232,8 +1196,8 @@ void Emission::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pr
|
|||||||
if (cached_has_bits & 0x00000040u) {
|
if (cached_has_bits & 0x00000040u) {
|
||||||
_this->_impl_.searchinterval_ = from._impl_.searchinterval_;
|
_this->_impl_.searchinterval_ = from._impl_.searchinterval_;
|
||||||
}
|
}
|
||||||
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
||||||
}
|
}
|
||||||
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1264,8 +1228,8 @@ void Emission::InternalSwap(Emission* PROTOBUF_RESTRICT other) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata Emission::GetMetadata() const {
|
::google::protobuf::Metadata Emission::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_SimTrack_2eproto_getter,
|
||||||
&descriptor_table_SimTrack_2eproto_getter, &descriptor_table_SimTrack_2eproto_once,
|
&descriptor_table_SimTrack_2eproto_once,
|
||||||
file_level_metadata_SimTrack_2eproto[1]);
|
file_level_metadata_SimTrack_2eproto[1]);
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -1276,4 +1240,8 @@ namespace protobuf {
|
|||||||
} // namespace protobuf
|
} // namespace protobuf
|
||||||
} // namespace google
|
} // namespace google
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
||||||
|
static ::std::false_type _static_init_ PROTOBUF_UNUSED =
|
||||||
|
(::_pbi::AddDescriptors(&descriptor_table_SimTrack_2eproto),
|
||||||
|
::std::false_type{});
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: SimTrack.proto
|
// source: SimTrack.proto
|
||||||
// Protobuf C++ Version: 4.24.0-main
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_SimTrack_2eproto_2epb_2eh
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_SimTrack_2eproto_2epb_2eh
|
||||||
#define GOOGLE_PROTOBUF_INCLUDED_SimTrack_2eproto_2epb_2eh
|
#define GOOGLE_PROTOBUF_INCLUDED_SimTrack_2eproto_2epb_2eh
|
||||||
@@ -11,17 +11,11 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "google/protobuf/port_def.inc"
|
#include "google/protobuf/port_def.inc"
|
||||||
#if PROTOBUF_VERSION < 4025000
|
#if PROTOBUF_VERSION != 4026000
|
||||||
#error "This file was generated by a newer version of protoc which is"
|
#error "Protobuf C++ gencode is built with an incompatible version of"
|
||||||
#error "incompatible with your Protocol Buffer headers. Please update"
|
#error "Protobuf C++ headers/runtime. See"
|
||||||
#error "your headers."
|
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
|
||||||
#endif // PROTOBUF_VERSION
|
#endif
|
||||||
|
|
||||||
#if 4025000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#error "This file was generated by an older version of protoc which is"
|
|
||||||
#error "incompatible with your Protocol Buffer headers. Please"
|
|
||||||
#error "regenerate this file with a newer version of protoc."
|
|
||||||
#endif // PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
#include "google/protobuf/io/coded_stream.h"
|
#include "google/protobuf/io/coded_stream.h"
|
||||||
#include "google/protobuf/arena.h"
|
#include "google/protobuf/arena.h"
|
||||||
@@ -82,21 +76,18 @@ namespace SimTrack {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class Emission final :
|
class Emission final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.SimTrack.Emission) */ {
|
/* @@protoc_insertion_point(class_definition:messages.SimTrack.Emission) */ {
|
||||||
public:
|
public:
|
||||||
inline Emission() : Emission(nullptr) {}
|
inline Emission() : Emission(nullptr) {}
|
||||||
~Emission() override;
|
~Emission() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR Emission(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR Emission(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline Emission(const Emission& from)
|
|
||||||
: Emission(nullptr, from) {}
|
|
||||||
Emission(Emission&& from) noexcept
|
|
||||||
: Emission() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline Emission(const Emission& from) : Emission(nullptr, from) {}
|
||||||
|
inline Emission(Emission&& from) noexcept
|
||||||
|
: Emission(nullptr, std::move(from)) {}
|
||||||
inline Emission& operator=(const Emission& from) {
|
inline Emission& operator=(const Emission& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -140,17 +131,12 @@ class Emission final :
|
|||||||
return reinterpret_cast<const Emission*>(
|
return reinterpret_cast<const Emission*>(
|
||||||
&_Emission_default_instance_);
|
&_Emission_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 1;
|
||||||
1;
|
friend void swap(Emission& a, Emission& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(Emission& a, Emission& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(Emission* other) {
|
inline void Swap(Emission* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -168,16 +154,18 @@ class Emission final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
Emission* New(::google::protobuf::Arena* arena = nullptr) const final {
|
Emission* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<Emission>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<Emission>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const Emission& from);
|
void CopyFrom(const Emission& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const Emission& from) {
|
void MergeFrom(const Emission& from) { Emission::MergeImpl(*this, from); }
|
||||||
Emission::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -185,31 +173,33 @@ class Emission final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(Emission* other);
|
void InternalSwap(Emission* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.SimTrack.Emission"; }
|
||||||
return "messages.SimTrack.Emission";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit Emission(::google::protobuf::Arena* arena);
|
explicit Emission(::google::protobuf::Arena* arena);
|
||||||
Emission(::google::protobuf::Arena* arena, const Emission& from);
|
Emission(::google::protobuf::Arena* arena, const Emission& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
Emission(::google::protobuf::Arena* arena, Emission&& from) noexcept
|
||||||
|
: Emission(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kNameFieldNumber = 2,
|
kNameFieldNumber = 2,
|
||||||
kIdentifierFieldNumber = 1,
|
kIdentifierFieldNumber = 1,
|
||||||
@@ -342,7 +332,6 @@ class Emission final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.SimTrack.Emission)
|
// @@protoc_insertion_point(class_scope:messages.SimTrack.Emission)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
4, 10, 1,
|
4, 10, 1,
|
||||||
@@ -355,7 +344,6 @@ class Emission final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -378,23 +366,21 @@ class Emission final :
|
|||||||
};
|
};
|
||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
friend struct ::TableStruct_SimTrack_2eproto;
|
friend struct ::TableStruct_SimTrack_2eproto;
|
||||||
};// -------------------------------------------------------------------
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class SimTrack final :
|
class SimTrack final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.SimTrack.SimTrack) */ {
|
/* @@protoc_insertion_point(class_definition:messages.SimTrack.SimTrack) */ {
|
||||||
public:
|
public:
|
||||||
inline SimTrack() : SimTrack(nullptr) {}
|
inline SimTrack() : SimTrack(nullptr) {}
|
||||||
~SimTrack() override;
|
~SimTrack() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR SimTrack(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR SimTrack(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline SimTrack(const SimTrack& from)
|
|
||||||
: SimTrack(nullptr, from) {}
|
|
||||||
SimTrack(SimTrack&& from) noexcept
|
|
||||||
: SimTrack() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline SimTrack(const SimTrack& from) : SimTrack(nullptr, from) {}
|
||||||
|
inline SimTrack(SimTrack&& from) noexcept
|
||||||
|
: SimTrack(nullptr, std::move(from)) {}
|
||||||
inline SimTrack& operator=(const SimTrack& from) {
|
inline SimTrack& operator=(const SimTrack& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -438,17 +424,12 @@ class SimTrack final :
|
|||||||
return reinterpret_cast<const SimTrack*>(
|
return reinterpret_cast<const SimTrack*>(
|
||||||
&_SimTrack_default_instance_);
|
&_SimTrack_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 0;
|
||||||
0;
|
friend void swap(SimTrack& a, SimTrack& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(SimTrack& a, SimTrack& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(SimTrack* other) {
|
inline void Swap(SimTrack* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -466,16 +447,18 @@ class SimTrack final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
SimTrack* New(::google::protobuf::Arena* arena = nullptr) const final {
|
SimTrack* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<SimTrack>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<SimTrack>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const SimTrack& from);
|
void CopyFrom(const SimTrack& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const SimTrack& from) {
|
void MergeFrom(const SimTrack& from) { SimTrack::MergeImpl(*this, from); }
|
||||||
SimTrack::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -483,31 +466,33 @@ class SimTrack final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(SimTrack* other);
|
void InternalSwap(SimTrack* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.SimTrack.SimTrack"; }
|
||||||
return "messages.SimTrack.SimTrack";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit SimTrack(::google::protobuf::Arena* arena);
|
explicit SimTrack(::google::protobuf::Arena* arena);
|
||||||
SimTrack(::google::protobuf::Arena* arena, const SimTrack& from);
|
SimTrack(::google::protobuf::Arena* arena, const SimTrack& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
SimTrack(::google::protobuf::Arena* arena, SimTrack&& from) noexcept
|
||||||
|
: SimTrack(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kContactEmissionsFieldNumber = 11,
|
kContactEmissionsFieldNumber = 11,
|
||||||
kConatactNameFieldNumber = 2,
|
kConatactNameFieldNumber = 2,
|
||||||
@@ -529,16 +514,15 @@ class SimTrack final :
|
|||||||
public:
|
public:
|
||||||
void clear_contactemissions() ;
|
void clear_contactemissions() ;
|
||||||
::messages::SimTrack::Emission* mutable_contactemissions(int index);
|
::messages::SimTrack::Emission* mutable_contactemissions(int index);
|
||||||
::google::protobuf::RepeatedPtrField< ::messages::SimTrack::Emission >*
|
::google::protobuf::RepeatedPtrField<::messages::SimTrack::Emission>* mutable_contactemissions();
|
||||||
mutable_contactemissions();
|
|
||||||
private:
|
private:
|
||||||
const ::google::protobuf::RepeatedPtrField<::messages::SimTrack::Emission>& _internal_contactemissions() const;
|
const ::google::protobuf::RepeatedPtrField<::messages::SimTrack::Emission>& _internal_contactemissions() const;
|
||||||
::google::protobuf::RepeatedPtrField<::messages::SimTrack::Emission>* _internal_mutable_contactemissions();
|
::google::protobuf::RepeatedPtrField<::messages::SimTrack::Emission>* _internal_mutable_contactemissions();
|
||||||
public:
|
public:
|
||||||
const ::messages::SimTrack::Emission& contactemissions(int index) const;
|
const ::messages::SimTrack::Emission& contactemissions(int index) const;
|
||||||
::messages::SimTrack::Emission* add_contactemissions();
|
::messages::SimTrack::Emission* add_contactemissions();
|
||||||
const ::google::protobuf::RepeatedPtrField< ::messages::SimTrack::Emission >&
|
const ::google::protobuf::RepeatedPtrField<::messages::SimTrack::Emission>& contactemissions() const;
|
||||||
contactemissions() const;
|
|
||||||
// string ConatactName = 2;
|
// string ConatactName = 2;
|
||||||
void clear_conatactname() ;
|
void clear_conatactname() ;
|
||||||
const std::string& conatactname() const;
|
const std::string& conatactname() const;
|
||||||
@@ -665,7 +649,6 @@ class SimTrack final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.SimTrack.SimTrack)
|
// @@protoc_insertion_point(class_scope:messages.SimTrack.SimTrack)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
4, 11, 3,
|
4, 11, 3,
|
||||||
@@ -678,7 +661,6 @@ class SimTrack final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -778,14 +760,14 @@ inline ::messages::track::Identifier* SimTrack::unsafe_arena_release_entityident
|
|||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* SimTrack::_internal_mutable_entityidentifier() {
|
inline ::messages::track::Identifier* SimTrack::_internal_mutable_entityidentifier() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000001u;
|
|
||||||
if (_impl_.entityidentifier_ == nullptr) {
|
if (_impl_.entityidentifier_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::messages::track::Identifier>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::messages::track::Identifier>(GetArena());
|
||||||
_impl_.entityidentifier_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
_impl_.entityidentifier_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.entityidentifier_;
|
return _impl_.entityidentifier_;
|
||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* SimTrack::mutable_entityidentifier() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::messages::track::Identifier* SimTrack::mutable_entityidentifier() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000001u;
|
||||||
::messages::track::Identifier* _msg = _internal_mutable_entityidentifier();
|
::messages::track::Identifier* _msg = _internal_mutable_entityidentifier();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.SimTrack.SimTrack.EntityIdentifier)
|
// @@protoc_insertion_point(field_mutable:messages.SimTrack.SimTrack.EntityIdentifier)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -825,7 +807,6 @@ template <typename Arg_, typename... Args_>
|
|||||||
inline PROTOBUF_ALWAYS_INLINE void SimTrack::set_conatactname(Arg_&& arg,
|
inline PROTOBUF_ALWAYS_INLINE void SimTrack::set_conatactname(Arg_&& arg,
|
||||||
Args_... args) {
|
Args_... args) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.conatactname_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
_impl_.conatactname_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ConatactName)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ConatactName)
|
||||||
}
|
}
|
||||||
@@ -840,12 +821,10 @@ inline const std::string& SimTrack::_internal_conatactname() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::_internal_set_conatactname(const std::string& value) {
|
inline void SimTrack::_internal_set_conatactname(const std::string& value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.conatactname_.Set(value, GetArena());
|
_impl_.conatactname_.Set(value, GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* SimTrack::_internal_mutable_conatactname() {
|
inline std::string* SimTrack::_internal_mutable_conatactname() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
return _impl_.conatactname_.Mutable( GetArena());
|
return _impl_.conatactname_.Mutable( GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* SimTrack::release_conatactname() {
|
inline std::string* SimTrack::release_conatactname() {
|
||||||
@@ -880,6 +859,7 @@ inline ::uint32_t SimTrack::contactsourcetype() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::set_contactsourcetype(::uint32_t value) {
|
inline void SimTrack::set_contactsourcetype(::uint32_t value) {
|
||||||
_internal_set_contactsourcetype(value);
|
_internal_set_contactsourcetype(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000008u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactSourceType)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactSourceType)
|
||||||
}
|
}
|
||||||
inline ::uint32_t SimTrack::_internal_contactsourcetype() const {
|
inline ::uint32_t SimTrack::_internal_contactsourcetype() const {
|
||||||
@@ -888,7 +868,6 @@ inline ::uint32_t SimTrack::_internal_contactsourcetype() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::_internal_set_contactsourcetype(::uint32_t value) {
|
inline void SimTrack::_internal_set_contactsourcetype(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000008u;
|
|
||||||
_impl_.contactsourcetype_ = value;
|
_impl_.contactsourcetype_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -950,14 +929,14 @@ inline ::messages::track::EntityGeocentricPosition* SimTrack::unsafe_arena_relea
|
|||||||
}
|
}
|
||||||
inline ::messages::track::EntityGeocentricPosition* SimTrack::_internal_mutable_geocentricposition() {
|
inline ::messages::track::EntityGeocentricPosition* SimTrack::_internal_mutable_geocentricposition() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000002u;
|
|
||||||
if (_impl_.geocentricposition_ == nullptr) {
|
if (_impl_.geocentricposition_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::messages::track::EntityGeocentricPosition>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::messages::track::EntityGeocentricPosition>(GetArena());
|
||||||
_impl_.geocentricposition_ = reinterpret_cast<::messages::track::EntityGeocentricPosition*>(p);
|
_impl_.geocentricposition_ = reinterpret_cast<::messages::track::EntityGeocentricPosition*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.geocentricposition_;
|
return _impl_.geocentricposition_;
|
||||||
}
|
}
|
||||||
inline ::messages::track::EntityGeocentricPosition* SimTrack::mutable_geocentricposition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::messages::track::EntityGeocentricPosition* SimTrack::mutable_geocentricposition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000002u;
|
||||||
::messages::track::EntityGeocentricPosition* _msg = _internal_mutable_geocentricposition();
|
::messages::track::EntityGeocentricPosition* _msg = _internal_mutable_geocentricposition();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.SimTrack.SimTrack.GeocentricPosition)
|
// @@protoc_insertion_point(field_mutable:messages.SimTrack.SimTrack.GeocentricPosition)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -999,6 +978,7 @@ inline double SimTrack::contactspeed() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::set_contactspeed(double value) {
|
inline void SimTrack::set_contactspeed(double value) {
|
||||||
_internal_set_contactspeed(value);
|
_internal_set_contactspeed(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000004u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactSpeed)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactSpeed)
|
||||||
}
|
}
|
||||||
inline double SimTrack::_internal_contactspeed() const {
|
inline double SimTrack::_internal_contactspeed() const {
|
||||||
@@ -1007,7 +987,6 @@ inline double SimTrack::_internal_contactspeed() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::_internal_set_contactspeed(double value) {
|
inline void SimTrack::_internal_set_contactspeed(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000004u;
|
|
||||||
_impl_.contactspeed_ = value;
|
_impl_.contactspeed_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1027,6 +1006,7 @@ inline double SimTrack::contactcourse() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::set_contactcourse(double value) {
|
inline void SimTrack::set_contactcourse(double value) {
|
||||||
_internal_set_contactcourse(value);
|
_internal_set_contactcourse(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000020u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactCourse)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactCourse)
|
||||||
}
|
}
|
||||||
inline double SimTrack::_internal_contactcourse() const {
|
inline double SimTrack::_internal_contactcourse() const {
|
||||||
@@ -1035,7 +1015,6 @@ inline double SimTrack::_internal_contactcourse() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::_internal_set_contactcourse(double value) {
|
inline void SimTrack::_internal_set_contactcourse(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000020u;
|
|
||||||
_impl_.contactcourse_ = value;
|
_impl_.contactcourse_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1055,6 +1034,7 @@ inline double SimTrack::conactpitch() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::set_conactpitch(double value) {
|
inline void SimTrack::set_conactpitch(double value) {
|
||||||
_internal_set_conactpitch(value);
|
_internal_set_conactpitch(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000040u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ConactPitch)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ConactPitch)
|
||||||
}
|
}
|
||||||
inline double SimTrack::_internal_conactpitch() const {
|
inline double SimTrack::_internal_conactpitch() const {
|
||||||
@@ -1063,7 +1043,6 @@ inline double SimTrack::_internal_conactpitch() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::_internal_set_conactpitch(double value) {
|
inline void SimTrack::_internal_set_conactpitch(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000040u;
|
|
||||||
_impl_.conactpitch_ = value;
|
_impl_.conactpitch_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1083,6 +1062,7 @@ inline ::uint32_t SimTrack::contactkind() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::set_contactkind(::uint32_t value) {
|
inline void SimTrack::set_contactkind(::uint32_t value) {
|
||||||
_internal_set_contactkind(value);
|
_internal_set_contactkind(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000010u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactKind)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactKind)
|
||||||
}
|
}
|
||||||
inline ::uint32_t SimTrack::_internal_contactkind() const {
|
inline ::uint32_t SimTrack::_internal_contactkind() const {
|
||||||
@@ -1091,7 +1071,6 @@ inline ::uint32_t SimTrack::_internal_contactkind() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::_internal_set_contactkind(::uint32_t value) {
|
inline void SimTrack::_internal_set_contactkind(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000010u;
|
|
||||||
_impl_.contactkind_ = value;
|
_impl_.contactkind_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1111,6 +1090,7 @@ inline ::uint32_t SimTrack::contactside() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::set_contactside(::uint32_t value) {
|
inline void SimTrack::set_contactside(::uint32_t value) {
|
||||||
_internal_set_contactside(value);
|
_internal_set_contactside(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000100u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactSide)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactSide)
|
||||||
}
|
}
|
||||||
inline ::uint32_t SimTrack::_internal_contactside() const {
|
inline ::uint32_t SimTrack::_internal_contactside() const {
|
||||||
@@ -1119,7 +1099,6 @@ inline ::uint32_t SimTrack::_internal_contactside() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::_internal_set_contactside(::uint32_t value) {
|
inline void SimTrack::_internal_set_contactside(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000100u;
|
|
||||||
_impl_.contactside_ = value;
|
_impl_.contactside_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1139,6 +1118,7 @@ inline double SimTrack::contactrcs() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::set_contactrcs(double value) {
|
inline void SimTrack::set_contactrcs(double value) {
|
||||||
_internal_set_contactrcs(value);
|
_internal_set_contactrcs(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000080u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactRCS)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.SimTrack.ContactRCS)
|
||||||
}
|
}
|
||||||
inline double SimTrack::_internal_contactrcs() const {
|
inline double SimTrack::_internal_contactrcs() const {
|
||||||
@@ -1147,7 +1127,6 @@ inline double SimTrack::_internal_contactrcs() const {
|
|||||||
}
|
}
|
||||||
inline void SimTrack::_internal_set_contactrcs(double value) {
|
inline void SimTrack::_internal_set_contactrcs(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000080u;
|
|
||||||
_impl_.contactrcs_ = value;
|
_impl_.contactrcs_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1262,14 +1241,14 @@ inline ::messages::track::Identifier* Emission::unsafe_arena_release_identifier(
|
|||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* Emission::_internal_mutable_identifier() {
|
inline ::messages::track::Identifier* Emission::_internal_mutable_identifier() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000001u;
|
|
||||||
if (_impl_.identifier_ == nullptr) {
|
if (_impl_.identifier_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::messages::track::Identifier>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::messages::track::Identifier>(GetArena());
|
||||||
_impl_.identifier_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
_impl_.identifier_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.identifier_;
|
return _impl_.identifier_;
|
||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* Emission::mutable_identifier() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::messages::track::Identifier* Emission::mutable_identifier() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000001u;
|
||||||
::messages::track::Identifier* _msg = _internal_mutable_identifier();
|
::messages::track::Identifier* _msg = _internal_mutable_identifier();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.SimTrack.Emission.Identifier)
|
// @@protoc_insertion_point(field_mutable:messages.SimTrack.Emission.Identifier)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -1309,7 +1288,6 @@ template <typename Arg_, typename... Args_>
|
|||||||
inline PROTOBUF_ALWAYS_INLINE void Emission::set_name(Arg_&& arg,
|
inline PROTOBUF_ALWAYS_INLINE void Emission::set_name(Arg_&& arg,
|
||||||
Args_... args) {
|
Args_... args) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.name)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.name)
|
||||||
}
|
}
|
||||||
@@ -1324,12 +1302,10 @@ inline const std::string& Emission::_internal_name() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_name(const std::string& value) {
|
inline void Emission::_internal_set_name(const std::string& value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.name_.Set(value, GetArena());
|
_impl_.name_.Set(value, GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* Emission::_internal_mutable_name() {
|
inline std::string* Emission::_internal_mutable_name() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
return _impl_.name_.Mutable( GetArena());
|
return _impl_.name_.Mutable( GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* Emission::release_name() {
|
inline std::string* Emission::release_name() {
|
||||||
@@ -1367,7 +1343,6 @@ inline double Emission::_internal_frequency() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_frequency(double value) {
|
inline void Emission::_internal_set_frequency(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.frequency_ = value;
|
_impl_.frequency_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1390,7 +1365,6 @@ inline double Emission::_internal_range() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_range(double value) {
|
inline void Emission::_internal_set_range(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.range_ = value;
|
_impl_.range_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1410,6 +1384,7 @@ inline ::uint32_t Emission::bandwidth() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::set_bandwidth(::uint32_t value) {
|
inline void Emission::set_bandwidth(::uint32_t value) {
|
||||||
_internal_set_bandwidth(value);
|
_internal_set_bandwidth(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000002u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.Bandwidth)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.Bandwidth)
|
||||||
}
|
}
|
||||||
inline ::uint32_t Emission::_internal_bandwidth() const {
|
inline ::uint32_t Emission::_internal_bandwidth() const {
|
||||||
@@ -1418,7 +1393,6 @@ inline ::uint32_t Emission::_internal_bandwidth() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_bandwidth(::uint32_t value) {
|
inline void Emission::_internal_set_bandwidth(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000002u;
|
|
||||||
_impl_.bandwidth_ = value;
|
_impl_.bandwidth_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1438,6 +1412,7 @@ inline ::uint32_t Emission::pulsewidth() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::set_pulsewidth(::uint32_t value) {
|
inline void Emission::set_pulsewidth(::uint32_t value) {
|
||||||
_internal_set_pulsewidth(value);
|
_internal_set_pulsewidth(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000004u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.pulseWidth)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.pulseWidth)
|
||||||
}
|
}
|
||||||
inline ::uint32_t Emission::_internal_pulsewidth() const {
|
inline ::uint32_t Emission::_internal_pulsewidth() const {
|
||||||
@@ -1446,7 +1421,6 @@ inline ::uint32_t Emission::_internal_pulsewidth() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_pulsewidth(::uint32_t value) {
|
inline void Emission::_internal_set_pulsewidth(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000004u;
|
|
||||||
_impl_.pulsewidth_ = value;
|
_impl_.pulsewidth_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1466,6 +1440,7 @@ inline ::uint32_t Emission::pulserepitition() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::set_pulserepitition(::uint32_t value) {
|
inline void Emission::set_pulserepitition(::uint32_t value) {
|
||||||
_internal_set_pulserepitition(value);
|
_internal_set_pulserepitition(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000008u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.pulseRepitition)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.pulseRepitition)
|
||||||
}
|
}
|
||||||
inline ::uint32_t Emission::_internal_pulserepitition() const {
|
inline ::uint32_t Emission::_internal_pulserepitition() const {
|
||||||
@@ -1474,7 +1449,6 @@ inline ::uint32_t Emission::_internal_pulserepitition() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_pulserepitition(::uint32_t value) {
|
inline void Emission::_internal_set_pulserepitition(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000008u;
|
|
||||||
_impl_.pulserepitition_ = value;
|
_impl_.pulserepitition_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1494,6 +1468,7 @@ inline ::uint32_t Emission::radiatedpower() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::set_radiatedpower(::uint32_t value) {
|
inline void Emission::set_radiatedpower(::uint32_t value) {
|
||||||
_internal_set_radiatedpower(value);
|
_internal_set_radiatedpower(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000010u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.radiatedPower)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.radiatedPower)
|
||||||
}
|
}
|
||||||
inline ::uint32_t Emission::_internal_radiatedpower() const {
|
inline ::uint32_t Emission::_internal_radiatedpower() const {
|
||||||
@@ -1502,7 +1477,6 @@ inline ::uint32_t Emission::_internal_radiatedpower() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_radiatedpower(::uint32_t value) {
|
inline void Emission::_internal_set_radiatedpower(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000010u;
|
|
||||||
_impl_.radiatedpower_ = value;
|
_impl_.radiatedpower_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1522,6 +1496,7 @@ inline ::uint32_t Emission::numberofbeams() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::set_numberofbeams(::uint32_t value) {
|
inline void Emission::set_numberofbeams(::uint32_t value) {
|
||||||
_internal_set_numberofbeams(value);
|
_internal_set_numberofbeams(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000020u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.numberOfBeams)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.numberOfBeams)
|
||||||
}
|
}
|
||||||
inline ::uint32_t Emission::_internal_numberofbeams() const {
|
inline ::uint32_t Emission::_internal_numberofbeams() const {
|
||||||
@@ -1530,7 +1505,6 @@ inline ::uint32_t Emission::_internal_numberofbeams() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_numberofbeams(::uint32_t value) {
|
inline void Emission::_internal_set_numberofbeams(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000020u;
|
|
||||||
_impl_.numberofbeams_ = value;
|
_impl_.numberofbeams_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1550,6 +1524,7 @@ inline ::uint32_t Emission::searchinterval() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::set_searchinterval(::uint32_t value) {
|
inline void Emission::set_searchinterval(::uint32_t value) {
|
||||||
_internal_set_searchinterval(value);
|
_internal_set_searchinterval(value);
|
||||||
|
_impl_._has_bits_[0] |= 0x00000040u;
|
||||||
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.searchInterval)
|
// @@protoc_insertion_point(field_set:messages.SimTrack.Emission.searchInterval)
|
||||||
}
|
}
|
||||||
inline ::uint32_t Emission::_internal_searchinterval() const {
|
inline ::uint32_t Emission::_internal_searchinterval() const {
|
||||||
@@ -1558,7 +1533,6 @@ inline ::uint32_t Emission::_internal_searchinterval() const {
|
|||||||
}
|
}
|
||||||
inline void Emission::_internal_set_searchinterval(::uint32_t value) {
|
inline void Emission::_internal_set_searchinterval(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000040u;
|
|
||||||
_impl_.searchinterval_ = value;
|
_impl_.searchinterval_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: SystemStateUpdate.proto
|
// source: SystemStateUpdate.proto
|
||||||
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#include "SystemStateUpdate.pb.h"
|
#include "SystemStateUpdate.pb.h"
|
||||||
|
|
||||||
@@ -222,9 +223,6 @@ const ::_pbi::DescriptorTable descriptor_table_SystemStateUpdate_2eproto = {
|
|||||||
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_SystemStateUpdate_2eproto_getter() {
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_SystemStateUpdate_2eproto_getter() {
|
||||||
return &descriptor_table_SystemStateUpdate_2eproto;
|
return &descriptor_table_SystemStateUpdate_2eproto;
|
||||||
}
|
}
|
||||||
// Force running AddDescriptors() at dynamic initialization time.
|
|
||||||
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
|
||||||
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_SystemStateUpdate_2eproto(&descriptor_table_SystemStateUpdate_2eproto);
|
|
||||||
namespace messages {
|
namespace messages {
|
||||||
namespace data {
|
namespace data {
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -234,15 +232,8 @@ class SystemStateUpdate::_Internal {
|
|||||||
using HasBits = decltype(std::declval<SystemStateUpdate>()._impl_._has_bits_);
|
using HasBits = decltype(std::declval<SystemStateUpdate>()._impl_._has_bits_);
|
||||||
static constexpr ::int32_t kHasBitsOffset =
|
static constexpr ::int32_t kHasBitsOffset =
|
||||||
8 * PROTOBUF_FIELD_OFFSET(SystemStateUpdate, _impl_._has_bits_);
|
8 * PROTOBUF_FIELD_OFFSET(SystemStateUpdate, _impl_._has_bits_);
|
||||||
static const ::messages::track::Identifier& ownid(const SystemStateUpdate* msg);
|
|
||||||
static void set_has_ownid(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 1u;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::messages::track::Identifier& SystemStateUpdate::_Internal::ownid(const SystemStateUpdate* msg) {
|
|
||||||
return *msg->_impl_.ownid_;
|
|
||||||
}
|
|
||||||
void SystemStateUpdate::clear_ownid() {
|
void SystemStateUpdate::clear_ownid() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
if (_impl_.ownid_ != nullptr) _impl_.ownid_->Clear();
|
if (_impl_.ownid_ != nullptr) _impl_.ownid_->Clear();
|
||||||
@@ -271,8 +262,8 @@ SystemStateUpdate::SystemStateUpdate(
|
|||||||
from._internal_metadata_);
|
from._internal_metadata_);
|
||||||
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
||||||
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
||||||
_impl_.ownid_ = (cached_has_bits & 0x00000001u)
|
_impl_.ownid_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(
|
||||||
? CreateMaybeMessage<::messages::track::Identifier>(arena, *from._impl_.ownid_)
|
arena, *from._impl_.ownid_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
|
|
||||||
// @@protoc_insertion_point(copy_constructor:messages.data.SystemStateUpdate)
|
// @@protoc_insertion_point(copy_constructor:messages.data.SystemStateUpdate)
|
||||||
@@ -301,12 +292,15 @@ inline void SystemStateUpdate::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
SystemStateUpdate::GetClassData() const {
|
SystemStateUpdate::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
SystemStateUpdate::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(SystemStateUpdate, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(SystemStateUpdate, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&SystemStateUpdate::MergeImpl,
|
||||||
|
&SystemStateUpdate::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -349,6 +343,9 @@ const ::_pbi::TcParseTable<2, 3, 3, 0, 2> SystemStateUpdate::_table_ = {
|
|||||||
offsetof(decltype(_table_), aux_entries),
|
offsetof(decltype(_table_), aux_entries),
|
||||||
&_SystemStateUpdate_default_instance_._instance,
|
&_SystemStateUpdate_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::data::SystemStateUpdate>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
{::_pbi::TcParser::MiniParse, {}},
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
// .messages.track.Identifier OwnID = 1;
|
// .messages.track.Identifier OwnID = 1;
|
||||||
@@ -391,8 +388,7 @@ const ::_pbi::TcParseTable<2, 3, 3, 0, 2> SystemStateUpdate::_table_ = {
|
|||||||
// .messages.track.Identifier OwnID = 1;
|
// .messages.track.Identifier OwnID = 1;
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
1, _Internal::ownid(this),
|
1, *_impl_.ownid_, _impl_.ownid_->GetCachedSize(), target, stream);
|
||||||
_Internal::ownid(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// repeated .messages.data.Sensor sensors = 2;
|
// repeated .messages.data.Sensor sensors = 2;
|
||||||
@@ -451,9 +447,10 @@ const ::_pbi::TcParseTable<2, 3, 3, 0, 2> SystemStateUpdate::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SystemStateUpdate::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void SystemStateUpdate::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<SystemStateUpdate*>(&to_msg);
|
auto* const _this = static_cast<SystemStateUpdate*>(&to_msg);
|
||||||
auto& from = static_cast<const SystemStateUpdate&>(from_msg);
|
auto& from = static_cast<const SystemStateUpdate&>(from_msg);
|
||||||
|
::google::protobuf::Arena* arena = _this->GetArena();
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.data.SystemStateUpdate)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.data.SystemStateUpdate)
|
||||||
ABSL_DCHECK_NE(&from, _this);
|
ABSL_DCHECK_NE(&from, _this);
|
||||||
::uint32_t cached_has_bits = 0;
|
::uint32_t cached_has_bits = 0;
|
||||||
@@ -463,10 +460,17 @@ void SystemStateUpdate::MergeImpl(::google::protobuf::Message& to_msg, const ::g
|
|||||||
from._internal_sensors());
|
from._internal_sensors());
|
||||||
_this->_internal_mutable_effectors()->MergeFrom(
|
_this->_internal_mutable_effectors()->MergeFrom(
|
||||||
from._internal_effectors());
|
from._internal_effectors());
|
||||||
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
|
cached_has_bits = from._impl_._has_bits_[0];
|
||||||
_this->_internal_mutable_ownid()->::messages::track::Identifier::MergeFrom(
|
if (cached_has_bits & 0x00000001u) {
|
||||||
from._internal_ownid());
|
ABSL_DCHECK(from._impl_.ownid_ != nullptr);
|
||||||
|
if (_this->_impl_.ownid_ == nullptr) {
|
||||||
|
_this->_impl_.ownid_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(arena, *from._impl_.ownid_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.ownid_->MergeFrom(*from._impl_.ownid_);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -491,8 +495,8 @@ void SystemStateUpdate::InternalSwap(SystemStateUpdate* PROTOBUF_RESTRICT other)
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata SystemStateUpdate::GetMetadata() const {
|
::google::protobuf::Metadata SystemStateUpdate::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_SystemStateUpdate_2eproto_getter,
|
||||||
&descriptor_table_SystemStateUpdate_2eproto_getter, &descriptor_table_SystemStateUpdate_2eproto_once,
|
&descriptor_table_SystemStateUpdate_2eproto_once,
|
||||||
file_level_metadata_SystemStateUpdate_2eproto[0]);
|
file_level_metadata_SystemStateUpdate_2eproto[0]);
|
||||||
}
|
}
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -502,15 +506,8 @@ class Sensor::_Internal {
|
|||||||
using HasBits = decltype(std::declval<Sensor>()._impl_._has_bits_);
|
using HasBits = decltype(std::declval<Sensor>()._impl_._has_bits_);
|
||||||
static constexpr ::int32_t kHasBitsOffset =
|
static constexpr ::int32_t kHasBitsOffset =
|
||||||
8 * PROTOBUF_FIELD_OFFSET(Sensor, _impl_._has_bits_);
|
8 * PROTOBUF_FIELD_OFFSET(Sensor, _impl_._has_bits_);
|
||||||
static const ::messages::track::Identifier& id(const Sensor* msg);
|
|
||||||
static void set_has_id(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 1u;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::messages::track::Identifier& Sensor::_Internal::id(const Sensor* msg) {
|
|
||||||
return *msg->_impl_.id_;
|
|
||||||
}
|
|
||||||
void Sensor::clear_id() {
|
void Sensor::clear_id() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
if (_impl_.id_ != nullptr) _impl_.id_->Clear();
|
if (_impl_.id_ != nullptr) _impl_.id_->Clear();
|
||||||
@@ -538,8 +535,8 @@ Sensor::Sensor(
|
|||||||
from._internal_metadata_);
|
from._internal_metadata_);
|
||||||
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
||||||
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
||||||
_impl_.id_ = (cached_has_bits & 0x00000001u)
|
_impl_.id_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(
|
||||||
? CreateMaybeMessage<::messages::track::Identifier>(arena, *from._impl_.id_)
|
arena, *from._impl_.id_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
||||||
offsetof(Impl_, range_),
|
offsetof(Impl_, range_),
|
||||||
@@ -580,12 +577,15 @@ inline void Sensor::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
Sensor::GetClassData() const {
|
Sensor::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
Sensor::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(Sensor, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(Sensor, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&Sensor::MergeImpl,
|
||||||
|
&Sensor::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -630,6 +630,9 @@ const ::_pbi::TcParseTable<3, 5, 1, 33, 2> Sensor::_table_ = {
|
|||||||
offsetof(decltype(_table_), aux_entries),
|
offsetof(decltype(_table_), aux_entries),
|
||||||
&_Sensor_default_instance_._instance,
|
&_Sensor_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::data::Sensor>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
{::_pbi::TcParser::MiniParse, {}},
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
// .messages.track.Identifier ID = 1;
|
// .messages.track.Identifier ID = 1;
|
||||||
@@ -687,8 +690,7 @@ const ::_pbi::TcParseTable<3, 5, 1, 33, 2> Sensor::_table_ = {
|
|||||||
// .messages.track.Identifier ID = 1;
|
// .messages.track.Identifier ID = 1;
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
1, _Internal::id(this),
|
1, *_impl_.id_, _impl_.id_->GetCachedSize(), target, stream);
|
||||||
_Internal::id(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// string name = 2;
|
// string name = 2;
|
||||||
@@ -781,9 +783,10 @@ const ::_pbi::TcParseTable<3, 5, 1, 33, 2> Sensor::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Sensor::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void Sensor::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<Sensor*>(&to_msg);
|
auto* const _this = static_cast<Sensor*>(&to_msg);
|
||||||
auto& from = static_cast<const Sensor&>(from_msg);
|
auto& from = static_cast<const Sensor&>(from_msg);
|
||||||
|
::google::protobuf::Arena* arena = _this->GetArena();
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.data.Sensor)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.data.Sensor)
|
||||||
ABSL_DCHECK_NE(&from, _this);
|
ABSL_DCHECK_NE(&from, _this);
|
||||||
::uint32_t cached_has_bits = 0;
|
::uint32_t cached_has_bits = 0;
|
||||||
@@ -792,9 +795,15 @@ void Sensor::MergeImpl(::google::protobuf::Message& to_msg, const ::google::prot
|
|||||||
if (!from._internal_name().empty()) {
|
if (!from._internal_name().empty()) {
|
||||||
_this->_internal_set_name(from._internal_name());
|
_this->_internal_set_name(from._internal_name());
|
||||||
}
|
}
|
||||||
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
|
cached_has_bits = from._impl_._has_bits_[0];
|
||||||
_this->_internal_mutable_id()->::messages::track::Identifier::MergeFrom(
|
if (cached_has_bits & 0x00000001u) {
|
||||||
from._internal_id());
|
ABSL_DCHECK(from._impl_.id_ != nullptr);
|
||||||
|
if (_this->_impl_.id_ == nullptr) {
|
||||||
|
_this->_impl_.id_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(arena, *from._impl_.id_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.id_->MergeFrom(*from._impl_.id_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
static_assert(sizeof(::uint64_t) == sizeof(double),
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
||||||
"Code assumes ::uint64_t and double are the same size.");
|
"Code assumes ::uint64_t and double are the same size.");
|
||||||
@@ -802,14 +811,15 @@ void Sensor::MergeImpl(::google::protobuf::Message& to_msg, const ::google::prot
|
|||||||
::uint64_t raw_range;
|
::uint64_t raw_range;
|
||||||
memcpy(&raw_range, &tmp_range, sizeof(tmp_range));
|
memcpy(&raw_range, &tmp_range, sizeof(tmp_range));
|
||||||
if (raw_range != 0) {
|
if (raw_range != 0) {
|
||||||
_this->_internal_set_range(from._internal_range());
|
_this->_impl_.range_ = from._impl_.range_;
|
||||||
}
|
}
|
||||||
if (from._internal_kind() != 0) {
|
if (from._internal_kind() != 0) {
|
||||||
_this->_internal_set_kind(from._internal_kind());
|
_this->_impl_.kind_ = from._impl_.kind_;
|
||||||
}
|
}
|
||||||
if (from._internal_status() != 0) {
|
if (from._internal_status() != 0) {
|
||||||
_this->_internal_set_status(from._internal_status());
|
_this->_impl_.status_ = from._impl_.status_;
|
||||||
}
|
}
|
||||||
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -840,8 +850,8 @@ void Sensor::InternalSwap(Sensor* PROTOBUF_RESTRICT other) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata Sensor::GetMetadata() const {
|
::google::protobuf::Metadata Sensor::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_SystemStateUpdate_2eproto_getter,
|
||||||
&descriptor_table_SystemStateUpdate_2eproto_getter, &descriptor_table_SystemStateUpdate_2eproto_once,
|
&descriptor_table_SystemStateUpdate_2eproto_once,
|
||||||
file_level_metadata_SystemStateUpdate_2eproto[1]);
|
file_level_metadata_SystemStateUpdate_2eproto[1]);
|
||||||
}
|
}
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -851,15 +861,8 @@ class Effector::_Internal {
|
|||||||
using HasBits = decltype(std::declval<Effector>()._impl_._has_bits_);
|
using HasBits = decltype(std::declval<Effector>()._impl_._has_bits_);
|
||||||
static constexpr ::int32_t kHasBitsOffset =
|
static constexpr ::int32_t kHasBitsOffset =
|
||||||
8 * PROTOBUF_FIELD_OFFSET(Effector, _impl_._has_bits_);
|
8 * PROTOBUF_FIELD_OFFSET(Effector, _impl_._has_bits_);
|
||||||
static const ::messages::track::Identifier& id(const Effector* msg);
|
|
||||||
static void set_has_id(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 1u;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::messages::track::Identifier& Effector::_Internal::id(const Effector* msg) {
|
|
||||||
return *msg->_impl_.id_;
|
|
||||||
}
|
|
||||||
void Effector::clear_id() {
|
void Effector::clear_id() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
if (_impl_.id_ != nullptr) _impl_.id_->Clear();
|
if (_impl_.id_ != nullptr) _impl_.id_->Clear();
|
||||||
@@ -887,8 +890,8 @@ Effector::Effector(
|
|||||||
from._internal_metadata_);
|
from._internal_metadata_);
|
||||||
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
||||||
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
||||||
_impl_.id_ = (cached_has_bits & 0x00000001u)
|
_impl_.id_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(
|
||||||
? CreateMaybeMessage<::messages::track::Identifier>(arena, *from._impl_.id_)
|
arena, *from._impl_.id_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
||||||
offsetof(Impl_, range_),
|
offsetof(Impl_, range_),
|
||||||
@@ -929,12 +932,15 @@ inline void Effector::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
Effector::GetClassData() const {
|
Effector::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
Effector::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(Effector, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(Effector, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&Effector::MergeImpl,
|
||||||
|
&Effector::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -979,6 +985,9 @@ const ::_pbi::TcParseTable<3, 6, 1, 35, 2> Effector::_table_ = {
|
|||||||
offsetof(decltype(_table_), aux_entries),
|
offsetof(decltype(_table_), aux_entries),
|
||||||
&_Effector_default_instance_._instance,
|
&_Effector_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::data::Effector>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
{::_pbi::TcParser::MiniParse, {}},
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
// .messages.track.Identifier ID = 1;
|
// .messages.track.Identifier ID = 1;
|
||||||
@@ -1041,8 +1050,7 @@ const ::_pbi::TcParseTable<3, 6, 1, 35, 2> Effector::_table_ = {
|
|||||||
// .messages.track.Identifier ID = 1;
|
// .messages.track.Identifier ID = 1;
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
1, _Internal::id(this),
|
1, *_impl_.id_, _impl_.id_->GetCachedSize(), target, stream);
|
||||||
_Internal::id(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// string name = 2;
|
// string name = 2;
|
||||||
@@ -1148,9 +1156,10 @@ const ::_pbi::TcParseTable<3, 6, 1, 35, 2> Effector::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Effector::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void Effector::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<Effector*>(&to_msg);
|
auto* const _this = static_cast<Effector*>(&to_msg);
|
||||||
auto& from = static_cast<const Effector&>(from_msg);
|
auto& from = static_cast<const Effector&>(from_msg);
|
||||||
|
::google::protobuf::Arena* arena = _this->GetArena();
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.data.Effector)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.data.Effector)
|
||||||
ABSL_DCHECK_NE(&from, _this);
|
ABSL_DCHECK_NE(&from, _this);
|
||||||
::uint32_t cached_has_bits = 0;
|
::uint32_t cached_has_bits = 0;
|
||||||
@@ -1159,9 +1168,15 @@ void Effector::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pr
|
|||||||
if (!from._internal_name().empty()) {
|
if (!from._internal_name().empty()) {
|
||||||
_this->_internal_set_name(from._internal_name());
|
_this->_internal_set_name(from._internal_name());
|
||||||
}
|
}
|
||||||
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
|
cached_has_bits = from._impl_._has_bits_[0];
|
||||||
_this->_internal_mutable_id()->::messages::track::Identifier::MergeFrom(
|
if (cached_has_bits & 0x00000001u) {
|
||||||
from._internal_id());
|
ABSL_DCHECK(from._impl_.id_ != nullptr);
|
||||||
|
if (_this->_impl_.id_ == nullptr) {
|
||||||
|
_this->_impl_.id_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(arena, *from._impl_.id_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.id_->MergeFrom(*from._impl_.id_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
static_assert(sizeof(::uint64_t) == sizeof(double),
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
||||||
"Code assumes ::uint64_t and double are the same size.");
|
"Code assumes ::uint64_t and double are the same size.");
|
||||||
@@ -1169,17 +1184,18 @@ void Effector::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pr
|
|||||||
::uint64_t raw_range;
|
::uint64_t raw_range;
|
||||||
memcpy(&raw_range, &tmp_range, sizeof(tmp_range));
|
memcpy(&raw_range, &tmp_range, sizeof(tmp_range));
|
||||||
if (raw_range != 0) {
|
if (raw_range != 0) {
|
||||||
_this->_internal_set_range(from._internal_range());
|
_this->_impl_.range_ = from._impl_.range_;
|
||||||
}
|
}
|
||||||
if (from._internal_ammunition() != 0) {
|
if (from._internal_ammunition() != 0) {
|
||||||
_this->_internal_set_ammunition(from._internal_ammunition());
|
_this->_impl_.ammunition_ = from._impl_.ammunition_;
|
||||||
}
|
}
|
||||||
if (from._internal_maxammunition() != 0) {
|
if (from._internal_maxammunition() != 0) {
|
||||||
_this->_internal_set_maxammunition(from._internal_maxammunition());
|
_this->_impl_.maxammunition_ = from._impl_.maxammunition_;
|
||||||
}
|
}
|
||||||
if (from._internal_status() != 0) {
|
if (from._internal_status() != 0) {
|
||||||
_this->_internal_set_status(from._internal_status());
|
_this->_impl_.status_ = from._impl_.status_;
|
||||||
}
|
}
|
||||||
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1210,8 +1226,8 @@ void Effector::InternalSwap(Effector* PROTOBUF_RESTRICT other) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata Effector::GetMetadata() const {
|
::google::protobuf::Metadata Effector::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_SystemStateUpdate_2eproto_getter,
|
||||||
&descriptor_table_SystemStateUpdate_2eproto_getter, &descriptor_table_SystemStateUpdate_2eproto_once,
|
&descriptor_table_SystemStateUpdate_2eproto_once,
|
||||||
file_level_metadata_SystemStateUpdate_2eproto[2]);
|
file_level_metadata_SystemStateUpdate_2eproto[2]);
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -1222,4 +1238,8 @@ namespace protobuf {
|
|||||||
} // namespace protobuf
|
} // namespace protobuf
|
||||||
} // namespace google
|
} // namespace google
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
||||||
|
static ::std::false_type _static_init_ PROTOBUF_UNUSED =
|
||||||
|
(::_pbi::AddDescriptors(&descriptor_table_SystemStateUpdate_2eproto),
|
||||||
|
::std::false_type{});
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: SystemStateUpdate.proto
|
// source: SystemStateUpdate.proto
|
||||||
// Protobuf C++ Version: 4.24.0-main
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_SystemStateUpdate_2eproto_2epb_2eh
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_SystemStateUpdate_2eproto_2epb_2eh
|
||||||
#define GOOGLE_PROTOBUF_INCLUDED_SystemStateUpdate_2eproto_2epb_2eh
|
#define GOOGLE_PROTOBUF_INCLUDED_SystemStateUpdate_2eproto_2epb_2eh
|
||||||
@@ -11,17 +11,11 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "google/protobuf/port_def.inc"
|
#include "google/protobuf/port_def.inc"
|
||||||
#if PROTOBUF_VERSION < 4025000
|
#if PROTOBUF_VERSION != 4026000
|
||||||
#error "This file was generated by a newer version of protoc which is"
|
#error "Protobuf C++ gencode is built with an incompatible version of"
|
||||||
#error "incompatible with your Protocol Buffer headers. Please update"
|
#error "Protobuf C++ headers/runtime. See"
|
||||||
#error "your headers."
|
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
|
||||||
#endif // PROTOBUF_VERSION
|
#endif
|
||||||
|
|
||||||
#if 4025000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#error "This file was generated by an older version of protoc which is"
|
|
||||||
#error "incompatible with your Protocol Buffer headers. Please"
|
|
||||||
#error "regenerate this file with a newer version of protoc."
|
|
||||||
#endif // PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
#include "google/protobuf/io/coded_stream.h"
|
#include "google/protobuf/io/coded_stream.h"
|
||||||
#include "google/protobuf/arena.h"
|
#include "google/protobuf/arena.h"
|
||||||
@@ -82,21 +76,18 @@ namespace data {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class Sensor final :
|
class Sensor final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.data.Sensor) */ {
|
/* @@protoc_insertion_point(class_definition:messages.data.Sensor) */ {
|
||||||
public:
|
public:
|
||||||
inline Sensor() : Sensor(nullptr) {}
|
inline Sensor() : Sensor(nullptr) {}
|
||||||
~Sensor() override;
|
~Sensor() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR Sensor(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR Sensor(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline Sensor(const Sensor& from)
|
|
||||||
: Sensor(nullptr, from) {}
|
|
||||||
Sensor(Sensor&& from) noexcept
|
|
||||||
: Sensor() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline Sensor(const Sensor& from) : Sensor(nullptr, from) {}
|
||||||
|
inline Sensor(Sensor&& from) noexcept
|
||||||
|
: Sensor(nullptr, std::move(from)) {}
|
||||||
inline Sensor& operator=(const Sensor& from) {
|
inline Sensor& operator=(const Sensor& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -140,17 +131,12 @@ class Sensor final :
|
|||||||
return reinterpret_cast<const Sensor*>(
|
return reinterpret_cast<const Sensor*>(
|
||||||
&_Sensor_default_instance_);
|
&_Sensor_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 1;
|
||||||
1;
|
friend void swap(Sensor& a, Sensor& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(Sensor& a, Sensor& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(Sensor* other) {
|
inline void Swap(Sensor* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -168,16 +154,18 @@ class Sensor final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
Sensor* New(::google::protobuf::Arena* arena = nullptr) const final {
|
Sensor* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<Sensor>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<Sensor>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const Sensor& from);
|
void CopyFrom(const Sensor& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const Sensor& from) {
|
void MergeFrom(const Sensor& from) { Sensor::MergeImpl(*this, from); }
|
||||||
Sensor::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -185,31 +173,33 @@ class Sensor final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(Sensor* other);
|
void InternalSwap(Sensor* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.data.Sensor"; }
|
||||||
return "messages.data.Sensor";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit Sensor(::google::protobuf::Arena* arena);
|
explicit Sensor(::google::protobuf::Arena* arena);
|
||||||
Sensor(::google::protobuf::Arena* arena, const Sensor& from);
|
Sensor(::google::protobuf::Arena* arena, const Sensor& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
Sensor(::google::protobuf::Arena* arena, Sensor&& from) noexcept
|
||||||
|
: Sensor(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kNameFieldNumber = 2,
|
kNameFieldNumber = 2,
|
||||||
kIDFieldNumber = 1,
|
kIDFieldNumber = 1,
|
||||||
@@ -281,7 +271,6 @@ class Sensor final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.data.Sensor)
|
// @@protoc_insertion_point(class_scope:messages.data.Sensor)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
3, 5, 1,
|
3, 5, 1,
|
||||||
@@ -294,7 +283,6 @@ class Sensor final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -312,23 +300,21 @@ class Sensor final :
|
|||||||
};
|
};
|
||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
friend struct ::TableStruct_SystemStateUpdate_2eproto;
|
friend struct ::TableStruct_SystemStateUpdate_2eproto;
|
||||||
};// -------------------------------------------------------------------
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class Effector final :
|
class Effector final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.data.Effector) */ {
|
/* @@protoc_insertion_point(class_definition:messages.data.Effector) */ {
|
||||||
public:
|
public:
|
||||||
inline Effector() : Effector(nullptr) {}
|
inline Effector() : Effector(nullptr) {}
|
||||||
~Effector() override;
|
~Effector() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR Effector(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR Effector(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline Effector(const Effector& from)
|
|
||||||
: Effector(nullptr, from) {}
|
|
||||||
Effector(Effector&& from) noexcept
|
|
||||||
: Effector() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline Effector(const Effector& from) : Effector(nullptr, from) {}
|
||||||
|
inline Effector(Effector&& from) noexcept
|
||||||
|
: Effector(nullptr, std::move(from)) {}
|
||||||
inline Effector& operator=(const Effector& from) {
|
inline Effector& operator=(const Effector& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -372,17 +358,12 @@ class Effector final :
|
|||||||
return reinterpret_cast<const Effector*>(
|
return reinterpret_cast<const Effector*>(
|
||||||
&_Effector_default_instance_);
|
&_Effector_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 2;
|
||||||
2;
|
friend void swap(Effector& a, Effector& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(Effector& a, Effector& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(Effector* other) {
|
inline void Swap(Effector* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -400,16 +381,18 @@ class Effector final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
Effector* New(::google::protobuf::Arena* arena = nullptr) const final {
|
Effector* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<Effector>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<Effector>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const Effector& from);
|
void CopyFrom(const Effector& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const Effector& from) {
|
void MergeFrom(const Effector& from) { Effector::MergeImpl(*this, from); }
|
||||||
Effector::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -417,31 +400,33 @@ class Effector final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(Effector* other);
|
void InternalSwap(Effector* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.data.Effector"; }
|
||||||
return "messages.data.Effector";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit Effector(::google::protobuf::Arena* arena);
|
explicit Effector(::google::protobuf::Arena* arena);
|
||||||
Effector(::google::protobuf::Arena* arena, const Effector& from);
|
Effector(::google::protobuf::Arena* arena, const Effector& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
Effector(::google::protobuf::Arena* arena, Effector&& from) noexcept
|
||||||
|
: Effector(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kNameFieldNumber = 2,
|
kNameFieldNumber = 2,
|
||||||
kIDFieldNumber = 1,
|
kIDFieldNumber = 1,
|
||||||
@@ -524,7 +509,6 @@ class Effector final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.data.Effector)
|
// @@protoc_insertion_point(class_scope:messages.data.Effector)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
3, 6, 1,
|
3, 6, 1,
|
||||||
@@ -537,7 +521,6 @@ class Effector final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -556,23 +539,21 @@ class Effector final :
|
|||||||
};
|
};
|
||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
friend struct ::TableStruct_SystemStateUpdate_2eproto;
|
friend struct ::TableStruct_SystemStateUpdate_2eproto;
|
||||||
};// -------------------------------------------------------------------
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class SystemStateUpdate final :
|
class SystemStateUpdate final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.data.SystemStateUpdate) */ {
|
/* @@protoc_insertion_point(class_definition:messages.data.SystemStateUpdate) */ {
|
||||||
public:
|
public:
|
||||||
inline SystemStateUpdate() : SystemStateUpdate(nullptr) {}
|
inline SystemStateUpdate() : SystemStateUpdate(nullptr) {}
|
||||||
~SystemStateUpdate() override;
|
~SystemStateUpdate() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR SystemStateUpdate(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR SystemStateUpdate(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline SystemStateUpdate(const SystemStateUpdate& from)
|
|
||||||
: SystemStateUpdate(nullptr, from) {}
|
|
||||||
SystemStateUpdate(SystemStateUpdate&& from) noexcept
|
|
||||||
: SystemStateUpdate() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline SystemStateUpdate(const SystemStateUpdate& from) : SystemStateUpdate(nullptr, from) {}
|
||||||
|
inline SystemStateUpdate(SystemStateUpdate&& from) noexcept
|
||||||
|
: SystemStateUpdate(nullptr, std::move(from)) {}
|
||||||
inline SystemStateUpdate& operator=(const SystemStateUpdate& from) {
|
inline SystemStateUpdate& operator=(const SystemStateUpdate& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -616,17 +597,12 @@ class SystemStateUpdate final :
|
|||||||
return reinterpret_cast<const SystemStateUpdate*>(
|
return reinterpret_cast<const SystemStateUpdate*>(
|
||||||
&_SystemStateUpdate_default_instance_);
|
&_SystemStateUpdate_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 0;
|
||||||
0;
|
friend void swap(SystemStateUpdate& a, SystemStateUpdate& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(SystemStateUpdate& a, SystemStateUpdate& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(SystemStateUpdate* other) {
|
inline void Swap(SystemStateUpdate* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -644,16 +620,18 @@ class SystemStateUpdate final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
SystemStateUpdate* New(::google::protobuf::Arena* arena = nullptr) const final {
|
SystemStateUpdate* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<SystemStateUpdate>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<SystemStateUpdate>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const SystemStateUpdate& from);
|
void CopyFrom(const SystemStateUpdate& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const SystemStateUpdate& from) {
|
void MergeFrom(const SystemStateUpdate& from) { SystemStateUpdate::MergeImpl(*this, from); }
|
||||||
SystemStateUpdate::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -661,31 +639,33 @@ class SystemStateUpdate final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(SystemStateUpdate* other);
|
void InternalSwap(SystemStateUpdate* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.data.SystemStateUpdate"; }
|
||||||
return "messages.data.SystemStateUpdate";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit SystemStateUpdate(::google::protobuf::Arena* arena);
|
explicit SystemStateUpdate(::google::protobuf::Arena* arena);
|
||||||
SystemStateUpdate(::google::protobuf::Arena* arena, const SystemStateUpdate& from);
|
SystemStateUpdate(::google::protobuf::Arena* arena, const SystemStateUpdate& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
SystemStateUpdate(::google::protobuf::Arena* arena, SystemStateUpdate&& from) noexcept
|
||||||
|
: SystemStateUpdate(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kSensorsFieldNumber = 2,
|
kSensorsFieldNumber = 2,
|
||||||
kEffectorsFieldNumber = 3,
|
kEffectorsFieldNumber = 3,
|
||||||
@@ -699,16 +679,15 @@ class SystemStateUpdate final :
|
|||||||
public:
|
public:
|
||||||
void clear_sensors() ;
|
void clear_sensors() ;
|
||||||
::messages::data::Sensor* mutable_sensors(int index);
|
::messages::data::Sensor* mutable_sensors(int index);
|
||||||
::google::protobuf::RepeatedPtrField< ::messages::data::Sensor >*
|
::google::protobuf::RepeatedPtrField<::messages::data::Sensor>* mutable_sensors();
|
||||||
mutable_sensors();
|
|
||||||
private:
|
private:
|
||||||
const ::google::protobuf::RepeatedPtrField<::messages::data::Sensor>& _internal_sensors() const;
|
const ::google::protobuf::RepeatedPtrField<::messages::data::Sensor>& _internal_sensors() const;
|
||||||
::google::protobuf::RepeatedPtrField<::messages::data::Sensor>* _internal_mutable_sensors();
|
::google::protobuf::RepeatedPtrField<::messages::data::Sensor>* _internal_mutable_sensors();
|
||||||
public:
|
public:
|
||||||
const ::messages::data::Sensor& sensors(int index) const;
|
const ::messages::data::Sensor& sensors(int index) const;
|
||||||
::messages::data::Sensor* add_sensors();
|
::messages::data::Sensor* add_sensors();
|
||||||
const ::google::protobuf::RepeatedPtrField< ::messages::data::Sensor >&
|
const ::google::protobuf::RepeatedPtrField<::messages::data::Sensor>& sensors() const;
|
||||||
sensors() const;
|
|
||||||
// repeated .messages.data.Effector effectors = 3;
|
// repeated .messages.data.Effector effectors = 3;
|
||||||
int effectors_size() const;
|
int effectors_size() const;
|
||||||
private:
|
private:
|
||||||
@@ -717,16 +696,15 @@ class SystemStateUpdate final :
|
|||||||
public:
|
public:
|
||||||
void clear_effectors() ;
|
void clear_effectors() ;
|
||||||
::messages::data::Effector* mutable_effectors(int index);
|
::messages::data::Effector* mutable_effectors(int index);
|
||||||
::google::protobuf::RepeatedPtrField< ::messages::data::Effector >*
|
::google::protobuf::RepeatedPtrField<::messages::data::Effector>* mutable_effectors();
|
||||||
mutable_effectors();
|
|
||||||
private:
|
private:
|
||||||
const ::google::protobuf::RepeatedPtrField<::messages::data::Effector>& _internal_effectors() const;
|
const ::google::protobuf::RepeatedPtrField<::messages::data::Effector>& _internal_effectors() const;
|
||||||
::google::protobuf::RepeatedPtrField<::messages::data::Effector>* _internal_mutable_effectors();
|
::google::protobuf::RepeatedPtrField<::messages::data::Effector>* _internal_mutable_effectors();
|
||||||
public:
|
public:
|
||||||
const ::messages::data::Effector& effectors(int index) const;
|
const ::messages::data::Effector& effectors(int index) const;
|
||||||
::messages::data::Effector* add_effectors();
|
::messages::data::Effector* add_effectors();
|
||||||
const ::google::protobuf::RepeatedPtrField< ::messages::data::Effector >&
|
const ::google::protobuf::RepeatedPtrField<::messages::data::Effector>& effectors() const;
|
||||||
effectors() const;
|
|
||||||
// .messages.track.Identifier OwnID = 1;
|
// .messages.track.Identifier OwnID = 1;
|
||||||
bool has_ownid() const;
|
bool has_ownid() const;
|
||||||
void clear_ownid() ;
|
void clear_ownid() ;
|
||||||
@@ -745,7 +723,6 @@ class SystemStateUpdate final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.data.SystemStateUpdate)
|
// @@protoc_insertion_point(class_scope:messages.data.SystemStateUpdate)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
2, 3, 3,
|
2, 3, 3,
|
||||||
@@ -758,7 +735,6 @@ class SystemStateUpdate final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -850,14 +826,14 @@ inline ::messages::track::Identifier* SystemStateUpdate::unsafe_arena_release_ow
|
|||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* SystemStateUpdate::_internal_mutable_ownid() {
|
inline ::messages::track::Identifier* SystemStateUpdate::_internal_mutable_ownid() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000001u;
|
|
||||||
if (_impl_.ownid_ == nullptr) {
|
if (_impl_.ownid_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::messages::track::Identifier>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::messages::track::Identifier>(GetArena());
|
||||||
_impl_.ownid_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
_impl_.ownid_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.ownid_;
|
return _impl_.ownid_;
|
||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* SystemStateUpdate::mutable_ownid() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::messages::track::Identifier* SystemStateUpdate::mutable_ownid() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000001u;
|
||||||
::messages::track::Identifier* _msg = _internal_mutable_ownid();
|
::messages::track::Identifier* _msg = _internal_mutable_ownid();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.data.SystemStateUpdate.OwnID)
|
// @@protoc_insertion_point(field_mutable:messages.data.SystemStateUpdate.OwnID)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -1043,14 +1019,14 @@ inline ::messages::track::Identifier* Sensor::unsafe_arena_release_id() {
|
|||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* Sensor::_internal_mutable_id() {
|
inline ::messages::track::Identifier* Sensor::_internal_mutable_id() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000001u;
|
|
||||||
if (_impl_.id_ == nullptr) {
|
if (_impl_.id_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::messages::track::Identifier>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::messages::track::Identifier>(GetArena());
|
||||||
_impl_.id_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
_impl_.id_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.id_;
|
return _impl_.id_;
|
||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* Sensor::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::messages::track::Identifier* Sensor::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000001u;
|
||||||
::messages::track::Identifier* _msg = _internal_mutable_id();
|
::messages::track::Identifier* _msg = _internal_mutable_id();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.data.Sensor.ID)
|
// @@protoc_insertion_point(field_mutable:messages.data.Sensor.ID)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -1090,7 +1066,6 @@ template <typename Arg_, typename... Args_>
|
|||||||
inline PROTOBUF_ALWAYS_INLINE void Sensor::set_name(Arg_&& arg,
|
inline PROTOBUF_ALWAYS_INLINE void Sensor::set_name(Arg_&& arg,
|
||||||
Args_... args) {
|
Args_... args) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
||||||
// @@protoc_insertion_point(field_set:messages.data.Sensor.name)
|
// @@protoc_insertion_point(field_set:messages.data.Sensor.name)
|
||||||
}
|
}
|
||||||
@@ -1105,12 +1080,10 @@ inline const std::string& Sensor::_internal_name() const {
|
|||||||
}
|
}
|
||||||
inline void Sensor::_internal_set_name(const std::string& value) {
|
inline void Sensor::_internal_set_name(const std::string& value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.name_.Set(value, GetArena());
|
_impl_.name_.Set(value, GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* Sensor::_internal_mutable_name() {
|
inline std::string* Sensor::_internal_mutable_name() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
return _impl_.name_.Mutable( GetArena());
|
return _impl_.name_.Mutable( GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* Sensor::release_name() {
|
inline std::string* Sensor::release_name() {
|
||||||
@@ -1148,7 +1121,6 @@ inline double Sensor::_internal_range() const {
|
|||||||
}
|
}
|
||||||
inline void Sensor::_internal_set_range(double value) {
|
inline void Sensor::_internal_set_range(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.range_ = value;
|
_impl_.range_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1171,7 +1143,6 @@ inline ::uint32_t Sensor::_internal_kind() const {
|
|||||||
}
|
}
|
||||||
inline void Sensor::_internal_set_kind(::uint32_t value) {
|
inline void Sensor::_internal_set_kind(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.kind_ = value;
|
_impl_.kind_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1194,7 +1165,6 @@ inline ::uint32_t Sensor::_internal_status() const {
|
|||||||
}
|
}
|
||||||
inline void Sensor::_internal_set_status(::uint32_t value) {
|
inline void Sensor::_internal_set_status(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.status_ = value;
|
_impl_.status_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1260,14 +1230,14 @@ inline ::messages::track::Identifier* Effector::unsafe_arena_release_id() {
|
|||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* Effector::_internal_mutable_id() {
|
inline ::messages::track::Identifier* Effector::_internal_mutable_id() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000001u;
|
|
||||||
if (_impl_.id_ == nullptr) {
|
if (_impl_.id_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::messages::track::Identifier>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::messages::track::Identifier>(GetArena());
|
||||||
_impl_.id_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
_impl_.id_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.id_;
|
return _impl_.id_;
|
||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* Effector::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::messages::track::Identifier* Effector::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000001u;
|
||||||
::messages::track::Identifier* _msg = _internal_mutable_id();
|
::messages::track::Identifier* _msg = _internal_mutable_id();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.data.Effector.ID)
|
// @@protoc_insertion_point(field_mutable:messages.data.Effector.ID)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -1307,7 +1277,6 @@ template <typename Arg_, typename... Args_>
|
|||||||
inline PROTOBUF_ALWAYS_INLINE void Effector::set_name(Arg_&& arg,
|
inline PROTOBUF_ALWAYS_INLINE void Effector::set_name(Arg_&& arg,
|
||||||
Args_... args) {
|
Args_... args) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
||||||
// @@protoc_insertion_point(field_set:messages.data.Effector.name)
|
// @@protoc_insertion_point(field_set:messages.data.Effector.name)
|
||||||
}
|
}
|
||||||
@@ -1322,12 +1291,10 @@ inline const std::string& Effector::_internal_name() const {
|
|||||||
}
|
}
|
||||||
inline void Effector::_internal_set_name(const std::string& value) {
|
inline void Effector::_internal_set_name(const std::string& value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.name_.Set(value, GetArena());
|
_impl_.name_.Set(value, GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* Effector::_internal_mutable_name() {
|
inline std::string* Effector::_internal_mutable_name() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
return _impl_.name_.Mutable( GetArena());
|
return _impl_.name_.Mutable( GetArena());
|
||||||
}
|
}
|
||||||
inline std::string* Effector::release_name() {
|
inline std::string* Effector::release_name() {
|
||||||
@@ -1365,7 +1332,6 @@ inline double Effector::_internal_range() const {
|
|||||||
}
|
}
|
||||||
inline void Effector::_internal_set_range(double value) {
|
inline void Effector::_internal_set_range(double value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.range_ = value;
|
_impl_.range_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1388,7 +1354,6 @@ inline ::int32_t Effector::_internal_ammunition() const {
|
|||||||
}
|
}
|
||||||
inline void Effector::_internal_set_ammunition(::int32_t value) {
|
inline void Effector::_internal_set_ammunition(::int32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.ammunition_ = value;
|
_impl_.ammunition_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1411,7 +1376,6 @@ inline ::int32_t Effector::_internal_maxammunition() const {
|
|||||||
}
|
}
|
||||||
inline void Effector::_internal_set_maxammunition(::int32_t value) {
|
inline void Effector::_internal_set_maxammunition(::int32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.maxammunition_ = value;
|
_impl_.maxammunition_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1434,7 +1398,6 @@ inline ::uint32_t Effector::_internal_status() const {
|
|||||||
}
|
}
|
||||||
inline void Effector::_internal_set_status(::uint32_t value) {
|
inline void Effector::_internal_set_status(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.status_ = value;
|
_impl_.status_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: TracklistUpdate.proto
|
// source: TracklistUpdate.proto
|
||||||
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#include "TracklistUpdate.pb.h"
|
#include "TracklistUpdate.pb.h"
|
||||||
|
|
||||||
@@ -130,9 +131,6 @@ const ::_pbi::DescriptorTable descriptor_table_TracklistUpdate_2eproto = {
|
|||||||
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_TracklistUpdate_2eproto_getter() {
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_TracklistUpdate_2eproto_getter() {
|
||||||
return &descriptor_table_TracklistUpdate_2eproto;
|
return &descriptor_table_TracklistUpdate_2eproto;
|
||||||
}
|
}
|
||||||
// Force running AddDescriptors() at dynamic initialization time.
|
|
||||||
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
|
||||||
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_TracklistUpdate_2eproto(&descriptor_table_TracklistUpdate_2eproto);
|
|
||||||
namespace messages {
|
namespace messages {
|
||||||
namespace data {
|
namespace data {
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -142,22 +140,8 @@ class TracklistUpdate::_Internal {
|
|||||||
using HasBits = decltype(std::declval<TracklistUpdate>()._impl_._has_bits_);
|
using HasBits = decltype(std::declval<TracklistUpdate>()._impl_._has_bits_);
|
||||||
static constexpr ::int32_t kHasBitsOffset =
|
static constexpr ::int32_t kHasBitsOffset =
|
||||||
8 * PROTOBUF_FIELD_OFFSET(TracklistUpdate, _impl_._has_bits_);
|
8 * PROTOBUF_FIELD_OFFSET(TracklistUpdate, _impl_._has_bits_);
|
||||||
static const ::messages::track::Identifier& ownid(const TracklistUpdate* msg);
|
|
||||||
static void set_has_ownid(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 1u;
|
|
||||||
}
|
|
||||||
static const ::google::protobuf::Timestamp& timestamp(const TracklistUpdate* msg);
|
|
||||||
static void set_has_timestamp(HasBits* has_bits) {
|
|
||||||
(*has_bits)[0] |= 2u;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::messages::track::Identifier& TracklistUpdate::_Internal::ownid(const TracklistUpdate* msg) {
|
|
||||||
return *msg->_impl_.ownid_;
|
|
||||||
}
|
|
||||||
const ::google::protobuf::Timestamp& TracklistUpdate::_Internal::timestamp(const TracklistUpdate* msg) {
|
|
||||||
return *msg->_impl_.timestamp_;
|
|
||||||
}
|
|
||||||
void TracklistUpdate::clear_ownid() {
|
void TracklistUpdate::clear_ownid() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
if (_impl_.ownid_ != nullptr) _impl_.ownid_->Clear();
|
if (_impl_.ownid_ != nullptr) _impl_.ownid_->Clear();
|
||||||
@@ -194,11 +178,11 @@ TracklistUpdate::TracklistUpdate(
|
|||||||
from._internal_metadata_);
|
from._internal_metadata_);
|
||||||
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
|
||||||
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
||||||
_impl_.ownid_ = (cached_has_bits & 0x00000001u)
|
_impl_.ownid_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(
|
||||||
? CreateMaybeMessage<::messages::track::Identifier>(arena, *from._impl_.ownid_)
|
arena, *from._impl_.ownid_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
_impl_.timestamp_ = (cached_has_bits & 0x00000002u)
|
_impl_.timestamp_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(
|
||||||
? CreateMaybeMessage<::google::protobuf::Timestamp>(arena, *from._impl_.timestamp_)
|
arena, *from._impl_.timestamp_)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
_impl_.trackscount_ = from._impl_.trackscount_;
|
_impl_.trackscount_ = from._impl_.trackscount_;
|
||||||
|
|
||||||
@@ -233,12 +217,15 @@ inline void TracklistUpdate::SharedDtor() {
|
|||||||
|
|
||||||
const ::google::protobuf::MessageLite::ClassData*
|
const ::google::protobuf::MessageLite::ClassData*
|
||||||
TracklistUpdate::GetClassData() const {
|
TracklistUpdate::GetClassData() const {
|
||||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||||
_data_ = {
|
ClassDataFull _data_ = {
|
||||||
TracklistUpdate::MergeImpl,
|
{
|
||||||
nullptr, // OnDemandRegisterArenaDtor
|
nullptr, // OnDemandRegisterArenaDtor
|
||||||
&::google::protobuf::Message::kDescriptorMethods,
|
|
||||||
PROTOBUF_FIELD_OFFSET(TracklistUpdate, _impl_._cached_size_),
|
PROTOBUF_FIELD_OFFSET(TracklistUpdate, _impl_._cached_size_),
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
&TracklistUpdate::MergeImpl,
|
||||||
|
&TracklistUpdate::kDescriptorMethods,
|
||||||
};
|
};
|
||||||
return &_data_;
|
return &_data_;
|
||||||
}
|
}
|
||||||
@@ -287,6 +274,9 @@ const ::_pbi::TcParseTable<2, 4, 3, 0, 2> TracklistUpdate::_table_ = {
|
|||||||
offsetof(decltype(_table_), aux_entries),
|
offsetof(decltype(_table_), aux_entries),
|
||||||
&_TracklistUpdate_default_instance_._instance,
|
&_TracklistUpdate_default_instance_._instance,
|
||||||
::_pbi::TcParser::GenericFallback, // fallback
|
::_pbi::TcParser::GenericFallback, // fallback
|
||||||
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
|
::_pbi::TcParser::GetTable<::messages::data::TracklistUpdate>(), // to_prefetch
|
||||||
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
// repeated .messages.SimTrack.SimTrack tracks = 4;
|
// repeated .messages.SimTrack.SimTrack tracks = 4;
|
||||||
{::_pbi::TcParser::FastMtR1,
|
{::_pbi::TcParser::FastMtR1,
|
||||||
@@ -334,15 +324,13 @@ const ::_pbi::TcParseTable<2, 4, 3, 0, 2> TracklistUpdate::_table_ = {
|
|||||||
// .messages.track.Identifier OwnID = 1;
|
// .messages.track.Identifier OwnID = 1;
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
1, _Internal::ownid(this),
|
1, *_impl_.ownid_, _impl_.ownid_->GetCachedSize(), target, stream);
|
||||||
_Internal::ownid(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// .google.protobuf.Timestamp timestamp = 2;
|
// .google.protobuf.Timestamp timestamp = 2;
|
||||||
if (cached_has_bits & 0x00000002u) {
|
if (cached_has_bits & 0x00000002u) {
|
||||||
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||||
2, _Internal::timestamp(this),
|
2, *_impl_.timestamp_, _impl_.timestamp_->GetCachedSize(), target, stream);
|
||||||
_Internal::timestamp(this).GetCachedSize(), target, stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// uint32 TracksCount = 3;
|
// uint32 TracksCount = 3;
|
||||||
@@ -408,9 +396,10 @@ const ::_pbi::TcParseTable<2, 4, 3, 0, 2> TracklistUpdate::_table_ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void TracklistUpdate::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
void TracklistUpdate::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||||
auto* const _this = static_cast<TracklistUpdate*>(&to_msg);
|
auto* const _this = static_cast<TracklistUpdate*>(&to_msg);
|
||||||
auto& from = static_cast<const TracklistUpdate&>(from_msg);
|
auto& from = static_cast<const TracklistUpdate&>(from_msg);
|
||||||
|
::google::protobuf::Arena* arena = _this->GetArena();
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:messages.data.TracklistUpdate)
|
// @@protoc_insertion_point(class_specific_merge_from_start:messages.data.TracklistUpdate)
|
||||||
ABSL_DCHECK_NE(&from, _this);
|
ABSL_DCHECK_NE(&from, _this);
|
||||||
::uint32_t cached_has_bits = 0;
|
::uint32_t cached_has_bits = 0;
|
||||||
@@ -421,17 +410,28 @@ void TracklistUpdate::MergeImpl(::google::protobuf::Message& to_msg, const ::goo
|
|||||||
cached_has_bits = from._impl_._has_bits_[0];
|
cached_has_bits = from._impl_._has_bits_[0];
|
||||||
if (cached_has_bits & 0x00000003u) {
|
if (cached_has_bits & 0x00000003u) {
|
||||||
if (cached_has_bits & 0x00000001u) {
|
if (cached_has_bits & 0x00000001u) {
|
||||||
_this->_internal_mutable_ownid()->::messages::track::Identifier::MergeFrom(
|
ABSL_DCHECK(from._impl_.ownid_ != nullptr);
|
||||||
from._internal_ownid());
|
if (_this->_impl_.ownid_ == nullptr) {
|
||||||
|
_this->_impl_.ownid_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::messages::track::Identifier>(arena, *from._impl_.ownid_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.ownid_->MergeFrom(*from._impl_.ownid_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (cached_has_bits & 0x00000002u) {
|
if (cached_has_bits & 0x00000002u) {
|
||||||
_this->_internal_mutable_timestamp()->::google::protobuf::Timestamp::MergeFrom(
|
ABSL_DCHECK(from._impl_.timestamp_ != nullptr);
|
||||||
from._internal_timestamp());
|
if (_this->_impl_.timestamp_ == nullptr) {
|
||||||
|
_this->_impl_.timestamp_ =
|
||||||
|
::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.timestamp_);
|
||||||
|
} else {
|
||||||
|
_this->_impl_.timestamp_->MergeFrom(*from._impl_.timestamp_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (from._internal_trackscount() != 0) {
|
if (from._internal_trackscount() != 0) {
|
||||||
_this->_internal_set_trackscount(from._internal_trackscount());
|
_this->_impl_.trackscount_ = from._impl_.trackscount_;
|
||||||
}
|
}
|
||||||
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
||||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -460,8 +460,8 @@ void TracklistUpdate::InternalSwap(TracklistUpdate* PROTOBUF_RESTRICT other) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::google::protobuf::Metadata TracklistUpdate::GetMetadata() const {
|
::google::protobuf::Metadata TracklistUpdate::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(&descriptor_table_TracklistUpdate_2eproto_getter,
|
||||||
&descriptor_table_TracklistUpdate_2eproto_getter, &descriptor_table_TracklistUpdate_2eproto_once,
|
&descriptor_table_TracklistUpdate_2eproto_once,
|
||||||
file_level_metadata_TracklistUpdate_2eproto[0]);
|
file_level_metadata_TracklistUpdate_2eproto[0]);
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -472,4 +472,8 @@ namespace protobuf {
|
|||||||
} // namespace protobuf
|
} // namespace protobuf
|
||||||
} // namespace google
|
} // namespace google
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
||||||
|
static ::std::false_type _static_init_ PROTOBUF_UNUSED =
|
||||||
|
(::_pbi::AddDescriptors(&descriptor_table_TracklistUpdate_2eproto),
|
||||||
|
::std::false_type{});
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
// source: TracklistUpdate.proto
|
// source: TracklistUpdate.proto
|
||||||
// Protobuf C++ Version: 4.24.0-main
|
// Protobuf C++ Version: 4.26.0-dev
|
||||||
|
|
||||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_TracklistUpdate_2eproto_2epb_2eh
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_TracklistUpdate_2eproto_2epb_2eh
|
||||||
#define GOOGLE_PROTOBUF_INCLUDED_TracklistUpdate_2eproto_2epb_2eh
|
#define GOOGLE_PROTOBUF_INCLUDED_TracklistUpdate_2eproto_2epb_2eh
|
||||||
@@ -11,17 +11,11 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "google/protobuf/port_def.inc"
|
#include "google/protobuf/port_def.inc"
|
||||||
#if PROTOBUF_VERSION < 4025000
|
#if PROTOBUF_VERSION != 4026000
|
||||||
#error "This file was generated by a newer version of protoc which is"
|
#error "Protobuf C++ gencode is built with an incompatible version of"
|
||||||
#error "incompatible with your Protocol Buffer headers. Please update"
|
#error "Protobuf C++ headers/runtime. See"
|
||||||
#error "your headers."
|
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
|
||||||
#endif // PROTOBUF_VERSION
|
#endif
|
||||||
|
|
||||||
#if 4025000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#error "This file was generated by an older version of protoc which is"
|
|
||||||
#error "incompatible with your Protocol Buffer headers. Please"
|
|
||||||
#error "regenerate this file with a newer version of protoc."
|
|
||||||
#endif // PROTOBUF_MIN_PROTOC_VERSION
|
|
||||||
#include "google/protobuf/port_undef.inc"
|
#include "google/protobuf/port_undef.inc"
|
||||||
#include "google/protobuf/io/coded_stream.h"
|
#include "google/protobuf/io/coded_stream.h"
|
||||||
#include "google/protobuf/arena.h"
|
#include "google/protobuf/arena.h"
|
||||||
@@ -78,21 +72,18 @@ namespace data {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class TracklistUpdate final :
|
class TracklistUpdate final : public ::google::protobuf::Message
|
||||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.data.TracklistUpdate) */ {
|
/* @@protoc_insertion_point(class_definition:messages.data.TracklistUpdate) */ {
|
||||||
public:
|
public:
|
||||||
inline TracklistUpdate() : TracklistUpdate(nullptr) {}
|
inline TracklistUpdate() : TracklistUpdate(nullptr) {}
|
||||||
~TracklistUpdate() override;
|
~TracklistUpdate() override;
|
||||||
template <typename = void>
|
template <typename = void>
|
||||||
explicit PROTOBUF_CONSTEXPR TracklistUpdate(::google::protobuf::internal::ConstantInitialized);
|
explicit PROTOBUF_CONSTEXPR TracklistUpdate(
|
||||||
|
::google::protobuf::internal::ConstantInitialized);
|
||||||
inline TracklistUpdate(const TracklistUpdate& from)
|
|
||||||
: TracklistUpdate(nullptr, from) {}
|
|
||||||
TracklistUpdate(TracklistUpdate&& from) noexcept
|
|
||||||
: TracklistUpdate() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
inline TracklistUpdate(const TracklistUpdate& from) : TracklistUpdate(nullptr, from) {}
|
||||||
|
inline TracklistUpdate(TracklistUpdate&& from) noexcept
|
||||||
|
: TracklistUpdate(nullptr, std::move(from)) {}
|
||||||
inline TracklistUpdate& operator=(const TracklistUpdate& from) {
|
inline TracklistUpdate& operator=(const TracklistUpdate& from) {
|
||||||
CopyFrom(from);
|
CopyFrom(from);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -136,17 +127,12 @@ class TracklistUpdate final :
|
|||||||
return reinterpret_cast<const TracklistUpdate*>(
|
return reinterpret_cast<const TracklistUpdate*>(
|
||||||
&_TracklistUpdate_default_instance_);
|
&_TracklistUpdate_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages = 0;
|
||||||
0;
|
friend void swap(TracklistUpdate& a, TracklistUpdate& b) { a.Swap(&b); }
|
||||||
|
|
||||||
friend void swap(TracklistUpdate& a, TracklistUpdate& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(TracklistUpdate* other) {
|
inline void Swap(TracklistUpdate* other) {
|
||||||
if (other == this) return;
|
if (other == this) return;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() != nullptr &&
|
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||||
GetArena() == other->GetArena()) {
|
|
||||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
if (GetArena() == other->GetArena()) {
|
if (GetArena() == other->GetArena()) {
|
||||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
@@ -164,16 +150,18 @@ class TracklistUpdate final :
|
|||||||
// implements Message ----------------------------------------------
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
TracklistUpdate* New(::google::protobuf::Arena* arena = nullptr) const final {
|
TracklistUpdate* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||||
return CreateMaybeMessage<TracklistUpdate>(arena);
|
return ::google::protobuf::Message::DefaultConstruct<TracklistUpdate>(arena);
|
||||||
}
|
}
|
||||||
using ::google::protobuf::Message::CopyFrom;
|
using ::google::protobuf::Message::CopyFrom;
|
||||||
void CopyFrom(const TracklistUpdate& from);
|
void CopyFrom(const TracklistUpdate& from);
|
||||||
using ::google::protobuf::Message::MergeFrom;
|
using ::google::protobuf::Message::MergeFrom;
|
||||||
void MergeFrom( const TracklistUpdate& from) {
|
void MergeFrom(const TracklistUpdate& from) { TracklistUpdate::MergeImpl(*this, from); }
|
||||||
TracklistUpdate::MergeImpl(*this, from);
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
static void MergeImpl(
|
||||||
|
::google::protobuf::MessageLite& to_msg,
|
||||||
|
const ::google::protobuf::MessageLite& from_msg);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
bool IsInitialized() const final;
|
bool IsInitialized() const final;
|
||||||
@@ -181,31 +169,33 @@ class TracklistUpdate final :
|
|||||||
::size_t ByteSizeLong() const final;
|
::size_t ByteSizeLong() const final;
|
||||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||||
::uint8_t* _InternalSerialize(
|
::uint8_t* _InternalSerialize(
|
||||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
::uint8_t* target,
|
||||||
|
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SharedCtor(::google::protobuf::Arena* arena);
|
void SharedCtor(::google::protobuf::Arena* arena);
|
||||||
void SharedDtor();
|
void SharedDtor();
|
||||||
void InternalSwap(TracklistUpdate* other);
|
void InternalSwap(TracklistUpdate* other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class ::google::protobuf::internal::AnyMetadata;
|
friend class ::google::protobuf::internal::AnyMetadata;
|
||||||
static ::absl::string_view FullMessageName() {
|
static ::absl::string_view FullMessageName() { return "messages.data.TracklistUpdate"; }
|
||||||
return "messages.data.TracklistUpdate";
|
|
||||||
}
|
|
||||||
protected:
|
protected:
|
||||||
explicit TracklistUpdate(::google::protobuf::Arena* arena);
|
explicit TracklistUpdate(::google::protobuf::Arena* arena);
|
||||||
TracklistUpdate(::google::protobuf::Arena* arena, const TracklistUpdate& from);
|
TracklistUpdate(::google::protobuf::Arena* arena, const TracklistUpdate& from);
|
||||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
TracklistUpdate(::google::protobuf::Arena* arena, TracklistUpdate&& from) noexcept
|
||||||
|
: TracklistUpdate(arena) {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||||
|
const final;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
::google::protobuf::Metadata GetMetadata() const final;
|
::google::protobuf::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
// nested types ----------------------------------------------------
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
// accessors -------------------------------------------------------
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
enum : int {
|
enum : int {
|
||||||
kTracksFieldNumber = 4,
|
kTracksFieldNumber = 4,
|
||||||
kOwnIDFieldNumber = 1,
|
kOwnIDFieldNumber = 1,
|
||||||
@@ -220,16 +210,15 @@ class TracklistUpdate final :
|
|||||||
public:
|
public:
|
||||||
void clear_tracks() ;
|
void clear_tracks() ;
|
||||||
::messages::SimTrack::SimTrack* mutable_tracks(int index);
|
::messages::SimTrack::SimTrack* mutable_tracks(int index);
|
||||||
::google::protobuf::RepeatedPtrField< ::messages::SimTrack::SimTrack >*
|
::google::protobuf::RepeatedPtrField<::messages::SimTrack::SimTrack>* mutable_tracks();
|
||||||
mutable_tracks();
|
|
||||||
private:
|
private:
|
||||||
const ::google::protobuf::RepeatedPtrField<::messages::SimTrack::SimTrack>& _internal_tracks() const;
|
const ::google::protobuf::RepeatedPtrField<::messages::SimTrack::SimTrack>& _internal_tracks() const;
|
||||||
::google::protobuf::RepeatedPtrField<::messages::SimTrack::SimTrack>* _internal_mutable_tracks();
|
::google::protobuf::RepeatedPtrField<::messages::SimTrack::SimTrack>* _internal_mutable_tracks();
|
||||||
public:
|
public:
|
||||||
const ::messages::SimTrack::SimTrack& tracks(int index) const;
|
const ::messages::SimTrack::SimTrack& tracks(int index) const;
|
||||||
::messages::SimTrack::SimTrack* add_tracks();
|
::messages::SimTrack::SimTrack* add_tracks();
|
||||||
const ::google::protobuf::RepeatedPtrField< ::messages::SimTrack::SimTrack >&
|
const ::google::protobuf::RepeatedPtrField<::messages::SimTrack::SimTrack>& tracks() const;
|
||||||
tracks() const;
|
|
||||||
// .messages.track.Identifier OwnID = 1;
|
// .messages.track.Identifier OwnID = 1;
|
||||||
bool has_ownid() const;
|
bool has_ownid() const;
|
||||||
void clear_ownid() ;
|
void clear_ownid() ;
|
||||||
@@ -273,7 +262,6 @@ class TracklistUpdate final :
|
|||||||
// @@protoc_insertion_point(class_scope:messages.data.TracklistUpdate)
|
// @@protoc_insertion_point(class_scope:messages.data.TracklistUpdate)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
|
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<
|
static const ::google::protobuf::internal::TcParseTable<
|
||||||
2, 4, 3,
|
2, 4, 3,
|
||||||
@@ -286,7 +274,6 @@ class TracklistUpdate final :
|
|||||||
using InternalArenaConstructable_ = void;
|
using InternalArenaConstructable_ = void;
|
||||||
using DestructorSkippable_ = void;
|
using DestructorSkippable_ = void;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
|
|
||||||
inline explicit constexpr Impl_(
|
inline explicit constexpr Impl_(
|
||||||
::google::protobuf::internal::ConstantInitialized) noexcept;
|
::google::protobuf::internal::ConstantInitialized) noexcept;
|
||||||
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
|
||||||
@@ -379,14 +366,14 @@ inline ::messages::track::Identifier* TracklistUpdate::unsafe_arena_release_owni
|
|||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* TracklistUpdate::_internal_mutable_ownid() {
|
inline ::messages::track::Identifier* TracklistUpdate::_internal_mutable_ownid() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000001u;
|
|
||||||
if (_impl_.ownid_ == nullptr) {
|
if (_impl_.ownid_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::messages::track::Identifier>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::messages::track::Identifier>(GetArena());
|
||||||
_impl_.ownid_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
_impl_.ownid_ = reinterpret_cast<::messages::track::Identifier*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.ownid_;
|
return _impl_.ownid_;
|
||||||
}
|
}
|
||||||
inline ::messages::track::Identifier* TracklistUpdate::mutable_ownid() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::messages::track::Identifier* TracklistUpdate::mutable_ownid() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000001u;
|
||||||
::messages::track::Identifier* _msg = _internal_mutable_ownid();
|
::messages::track::Identifier* _msg = _internal_mutable_ownid();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.data.TracklistUpdate.OwnID)
|
// @@protoc_insertion_point(field_mutable:messages.data.TracklistUpdate.OwnID)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -470,14 +457,14 @@ inline ::google::protobuf::Timestamp* TracklistUpdate::unsafe_arena_release_time
|
|||||||
}
|
}
|
||||||
inline ::google::protobuf::Timestamp* TracklistUpdate::_internal_mutable_timestamp() {
|
inline ::google::protobuf::Timestamp* TracklistUpdate::_internal_mutable_timestamp() {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
_impl_._has_bits_[0] |= 0x00000002u;
|
|
||||||
if (_impl_.timestamp_ == nullptr) {
|
if (_impl_.timestamp_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArena());
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena());
|
||||||
_impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p);
|
_impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p);
|
||||||
}
|
}
|
||||||
return _impl_.timestamp_;
|
return _impl_.timestamp_;
|
||||||
}
|
}
|
||||||
inline ::google::protobuf::Timestamp* TracklistUpdate::mutable_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
inline ::google::protobuf::Timestamp* TracklistUpdate::mutable_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
_impl_._has_bits_[0] |= 0x00000002u;
|
||||||
::google::protobuf::Timestamp* _msg = _internal_mutable_timestamp();
|
::google::protobuf::Timestamp* _msg = _internal_mutable_timestamp();
|
||||||
// @@protoc_insertion_point(field_mutable:messages.data.TracklistUpdate.timestamp)
|
// @@protoc_insertion_point(field_mutable:messages.data.TracklistUpdate.timestamp)
|
||||||
return _msg;
|
return _msg;
|
||||||
@@ -522,7 +509,6 @@ inline ::uint32_t TracklistUpdate::_internal_trackscount() const {
|
|||||||
}
|
}
|
||||||
inline void TracklistUpdate::_internal_set_trackscount(::uint32_t value) {
|
inline void TracklistUpdate::_internal_set_trackscount(::uint32_t value) {
|
||||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||||
;
|
|
||||||
_impl_.trackscount_ = value;
|
_impl_.trackscount_ = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Submodule libs/whisper-com updated: f46706aec7...8f163b5791
Reference in New Issue
Block a user