|
@@ -46,7 +46,10 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
|
template <typename>
|
|
|
PROTOBUF_CONSTEXPR AgvStatu::AgvStatu(
|
|
|
::_pbi::ConstantInitialized): _impl_{
|
|
|
- /*decltype(_impl_.v_)*/ 0
|
|
|
+ /*decltype(_impl_.zcb_)*/ {}
|
|
|
+ ,/* _impl_._zcb_cached_byte_size_ = */ { 0 }
|
|
|
+
|
|
|
+ , /*decltype(_impl_.v_)*/ 0
|
|
|
|
|
|
, /*decltype(_impl_.w_)*/ 0
|
|
|
|
|
@@ -58,6 +61,8 @@ PROTOBUF_CONSTEXPR AgvStatu::AgvStatu(
|
|
|
|
|
|
, /*decltype(_impl_.lifter_other_)*/ 0
|
|
|
|
|
|
+ , /*decltype(_impl_.door_)*/ 0
|
|
|
+
|
|
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
|
|
struct AgvStatuDefaultTypeInternal {
|
|
|
PROTOBUF_CONSTEXPR AgvStatuDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
@@ -96,6 +101,12 @@ PROTOBUF_CONSTEXPR ToAgvCmd::ToAgvCmd(
|
|
|
|
|
|
, /*decltype(_impl_.d1_)*/ 0
|
|
|
|
|
|
+ , /*decltype(_impl_.y1_)*/ 0
|
|
|
+
|
|
|
+ , /*decltype(_impl_.y2_)*/ 0
|
|
|
+
|
|
|
+ , /*decltype(_impl_.cl_)*/ 0
|
|
|
+
|
|
|
, /*decltype(_impl_.end_)*/ 0
|
|
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
|
@@ -132,7 +143,9 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
|
template <typename>
|
|
|
PROTOBUF_CONSTEXPR PathNode::PathNode(
|
|
|
::_pbi::ConstantInitialized): _impl_{
|
|
|
- /*decltype(_impl_.id_)*/ {
|
|
|
+ /*decltype(_impl_._has_bits_)*/{}
|
|
|
+ , /*decltype(_impl_._cached_size_)*/{}
|
|
|
+ , /*decltype(_impl_.id_)*/ {
|
|
|
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
|
|
|
}
|
|
|
|
|
@@ -145,8 +158,7 @@ PROTOBUF_CONSTEXPR PathNode::PathNode(
|
|
|
, /*decltype(_impl_.w_)*/ 0
|
|
|
|
|
|
, /*decltype(_impl_.theta_)*/ 0
|
|
|
-
|
|
|
- , /*decltype(_impl_._cached_size_)*/{}} {}
|
|
|
+} {}
|
|
|
struct PathNodeDefaultTypeInternal {
|
|
|
PROTOBUF_CONSTEXPR PathNodeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
|
~PathNodeDefaultTypeInternal() {}
|
|
@@ -351,6 +363,8 @@ const ::uint32_t TableStruct_message_2eproto::offsets[] PROTOBUF_SECTION_VARIABL
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::AgvStatu, _impl_.clamp_other_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::AgvStatu, _impl_.lifter_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::AgvStatu, _impl_.lifter_other_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::NavMessage::AgvStatu, _impl_.zcb_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::NavMessage::AgvStatu, _impl_.door_),
|
|
|
~0u, // no _has_bits_
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
@@ -371,6 +385,9 @@ const ::uint32_t TableStruct_message_2eproto::offsets[] PROTOBUF_SECTION_VARIABL
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.l1_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.p1_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.d1_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.y1_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.y2_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.cl_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.end_),
|
|
|
~0u, // no _has_bits_
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::Pose2d, _internal_metadata_),
|
|
@@ -383,7 +400,7 @@ const ::uint32_t TableStruct_message_2eproto::offsets[] PROTOBUF_SECTION_VARIABL
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::Pose2d, _impl_.x_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::Pose2d, _impl_.y_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::Pose2d, _impl_.theta_),
|
|
|
- ~0u, // no _has_bits_
|
|
|
+ PROTOBUF_FIELD_OFFSET(::NavMessage::PathNode, _impl_._has_bits_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::PathNode, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
@@ -397,6 +414,12 @@ const ::uint32_t TableStruct_message_2eproto::offsets[] PROTOBUF_SECTION_VARIABL
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::PathNode, _impl_.w_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::PathNode, _impl_.theta_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::PathNode, _impl_.id_),
|
|
|
+ ~0u,
|
|
|
+ ~0u,
|
|
|
+ ~0u,
|
|
|
+ ~0u,
|
|
|
+ ~0u,
|
|
|
+ 0,
|
|
|
~0u, // no _has_bits_
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::Trajectory, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
@@ -508,16 +531,16 @@ static const ::_pbi::MigrationSchema
|
|
|
schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
{ 0, -1, -1, sizeof(::NavMessage::LidarOdomStatu)},
|
|
|
{ 13, -1, -1, sizeof(::NavMessage::AgvStatu)},
|
|
|
- { 27, -1, -1, sizeof(::NavMessage::ToAgvCmd)},
|
|
|
- { 48, -1, -1, sizeof(::NavMessage::Pose2d)},
|
|
|
- { 59, -1, -1, sizeof(::NavMessage::PathNode)},
|
|
|
- { 73, -1, -1, sizeof(::NavMessage::Trajectory)},
|
|
|
- { 82, 97, -1, sizeof(::NavMessage::NewAction)},
|
|
|
- { 104, -1, -1, sizeof(::NavMessage::NavCmd)},
|
|
|
- { 115, -1, -1, sizeof(::NavMessage::NavResponse)},
|
|
|
- { 125, -1, -1, sizeof(::NavMessage::ManualCmd)},
|
|
|
- { 136, 153, -1, sizeof(::NavMessage::NavStatu)},
|
|
|
- { 162, 174, -1, sizeof(::NavMessage::RobotStatu)},
|
|
|
+ { 29, -1, -1, sizeof(::NavMessage::ToAgvCmd)},
|
|
|
+ { 53, -1, -1, sizeof(::NavMessage::Pose2d)},
|
|
|
+ { 64, 78, -1, sizeof(::NavMessage::PathNode)},
|
|
|
+ { 84, -1, -1, sizeof(::NavMessage::Trajectory)},
|
|
|
+ { 93, 108, -1, sizeof(::NavMessage::NewAction)},
|
|
|
+ { 115, -1, -1, sizeof(::NavMessage::NavCmd)},
|
|
|
+ { 126, -1, -1, sizeof(::NavMessage::NavResponse)},
|
|
|
+ { 136, -1, -1, sizeof(::NavMessage::ManualCmd)},
|
|
|
+ { 147, 164, -1, sizeof(::NavMessage::NavStatu)},
|
|
|
+ { 173, 185, -1, sizeof(::NavMessage::RobotStatu)},
|
|
|
};
|
|
|
|
|
|
static const ::_pb::Message* const file_default_instances[] = {
|
|
@@ -537,49 +560,51 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|
|
const char descriptor_table_protodef_message_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
"\n\rmessage.proto\022\nNavMessage\"M\n\016LidarOdom"
|
|
|
"Statu\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\r\n\005theta\030\003 \001"
|
|
|
- "(\002\022\t\n\001v\030\004 \001(\002\022\013\n\003vth\030\005 \001(\002\"j\n\010AgvStatu\022\t"
|
|
|
- "\n\001v\030\001 \001(\002\022\t\n\001w\030\002 \001(\002\022\r\n\005clamp\030\003 \001(\005\022\023\n\013c"
|
|
|
- "lamp_other\030\004 \001(\005\022\016\n\006lifter\030\005 \001(\005\022\024\n\014lift"
|
|
|
- "er_other\030\006 \001(\005\"\247\001\n\010ToAgvCmd\022\n\n\002H1\030\001 \001(\005\022"
|
|
|
- "\n\n\002M1\030\002 \001(\005\022\n\n\002T1\030\003 \001(\005\022\n\n\002V1\030\004 \001(\002\022\n\n\002W"
|
|
|
- "1\030\005 \001(\002\022\n\n\002V2\030\006 \001(\002\022\n\n\002W2\030\007 \001(\002\022\n\n\002V3\030\010 "
|
|
|
- "\001(\002\022\n\n\002W3\030\t \001(\002\022\n\n\002L1\030\n \001(\002\022\n\n\002P1\030\013 \001(\005\022"
|
|
|
- "\n\n\002D1\030\014 \001(\002\022\013\n\003end\030\r \001(\005\"-\n\006Pose2d\022\t\n\001x\030"
|
|
|
- "\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\r\n\005theta\030\003 \001(\002\"Q\n\010PathN"
|
|
|
- "ode\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001l\030\003 \001(\002\022\t\n\001"
|
|
|
- "w\030\004 \001(\002\022\r\n\005theta\030\005 \001(\002\022\n\n\002id\030\006 \001(\t\"/\n\nTr"
|
|
|
- "ajectory\022!\n\005poses\030\001 \003(\0132\022.NavMessage.Pos"
|
|
|
- "e2d\"\345\001\n\tNewAction\022\014\n\004type\030\001 \001(\005\022\'\n\tspace"
|
|
|
- "Node\030\002 \001(\0132\024.NavMessage.PathNode\022&\n\010pass"
|
|
|
- "Node\030\003 \001(\0132\024.NavMessage.PathNode\022(\n\nstre"
|
|
|
- "etNode\030\004 \001(\0132\024.NavMessage.PathNode\022\'\n\tpa"
|
|
|
- "thNodes\030\005 \003(\0132\024.NavMessage.PathNode\022\021\n\tw"
|
|
|
- "heelbase\030\006 \001(\002\022\023\n\013changedMode\030\007 \001(\005\"P\n\006N"
|
|
|
- "avCmd\022\016\n\006action\030\001 \001(\005\022\013\n\003key\030\002 \001(\t\022)\n\nne"
|
|
|
- "wActions\030\005 \003(\0132\025.NavMessage.NewAction\"(\n"
|
|
|
- "\013NavResponse\022\013\n\003ret\030\001 \001(\005\022\014\n\004info\030\002 \001(\t\""
|
|
|
- "B\n\tManualCmd\022\013\n\003key\030\001 \001(\t\022\026\n\016operation_t"
|
|
|
- "ype\030\002 \001(\005\022\020\n\010velocity\030\003 \001(\002\"\366\001\n\010NavStatu"
|
|
|
- "\022\r\n\005statu\030\001 \001(\005\022\020\n\010main_agv\030\002 \001(\010\022\021\n\tmov"
|
|
|
- "e_mode\030\003 \001(\005\022(\n\004odom\030\004 \001(\0132\032.NavMessage."
|
|
|
- "LidarOdomStatu\022\013\n\003key\030\005 \001(\t\022-\n\rselected_"
|
|
|
- "traj\030\006 \001(\0132\026.NavMessage.Trajectory\022,\n\014pr"
|
|
|
- "edict_traj\030\007 \001(\0132\026.NavMessage.Trajectory"
|
|
|
- "\022\020\n\010in_space\030\010 \001(\010\022\020\n\010space_id\030\t \001(\t\"Y\n\n"
|
|
|
- "RobotStatu\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\r\n\005thet"
|
|
|
- "a\030\003 \001(\002\022&\n\010agvStatu\030\004 \001(\0132\024.NavMessage.A"
|
|
|
- "gvStatu2\302\001\n\nNavExcutor\0226\n\005Start\022\022.NavMes"
|
|
|
- "sage.NavCmd\032\027.NavMessage.NavResponse\"\000\0227"
|
|
|
- "\n\006Cancel\022\022.NavMessage.NavCmd\032\027.NavMessag"
|
|
|
- "e.NavResponse\"\000\022C\n\017ManualOperation\022\025.Nav"
|
|
|
- "Message.ManualCmd\032\027.NavMessage.NavRespon"
|
|
|
- "se\"\000b\006proto3"
|
|
|
+ "(\002\022\t\n\001v\030\004 \001(\002\022\013\n\003vth\030\005 \001(\002\"\205\001\n\010AgvStatu\022"
|
|
|
+ "\t\n\001v\030\001 \001(\002\022\t\n\001w\030\002 \001(\002\022\r\n\005clamp\030\003 \001(\005\022\023\n\013"
|
|
|
+ "clamp_other\030\004 \001(\005\022\016\n\006lifter\030\005 \001(\005\022\024\n\014lif"
|
|
|
+ "ter_other\030\006 \001(\005\022\013\n\003zcb\030\007 \003(\005\022\014\n\004door\030\010 \001"
|
|
|
+ "(\005\"\313\001\n\010ToAgvCmd\022\n\n\002H1\030\001 \001(\005\022\n\n\002M1\030\002 \001(\005\022"
|
|
|
+ "\n\n\002T1\030\003 \001(\005\022\n\n\002V1\030\004 \001(\002\022\n\n\002W1\030\005 \001(\002\022\n\n\002V"
|
|
|
+ "2\030\006 \001(\002\022\n\n\002W2\030\007 \001(\002\022\n\n\002V3\030\010 \001(\002\022\n\n\002W3\030\t "
|
|
|
+ "\001(\002\022\n\n\002L1\030\n \001(\002\022\n\n\002P1\030\013 \001(\005\022\n\n\002D1\030\014 \001(\002\022"
|
|
|
+ "\n\n\002Y1\030\r \001(\002\022\n\n\002Y2\030\016 \001(\002\022\n\n\002CL\030\017 \001(\005\022\013\n\003e"
|
|
|
+ "nd\030\020 \001(\005\"-\n\006Pose2d\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002"
|
|
|
+ "\022\r\n\005theta\030\003 \001(\002\"]\n\010PathNode\022\t\n\001x\030\001 \001(\002\022\t"
|
|
|
+ "\n\001y\030\002 \001(\002\022\t\n\001l\030\003 \001(\002\022\t\n\001w\030\004 \001(\002\022\r\n\005theta"
|
|
|
+ "\030\005 \001(\002\022\017\n\002id\030\006 \001(\tH\000\210\001\001B\005\n\003_id\"/\n\nTrajec"
|
|
|
+ "tory\022!\n\005poses\030\001 \003(\0132\022.NavMessage.Pose2d\""
|
|
|
+ "\345\001\n\tNewAction\022\014\n\004type\030\001 \001(\005\022\'\n\tspaceNode"
|
|
|
+ "\030\002 \001(\0132\024.NavMessage.PathNode\022&\n\010passNode"
|
|
|
+ "\030\003 \001(\0132\024.NavMessage.PathNode\022(\n\nstreetNo"
|
|
|
+ "de\030\004 \001(\0132\024.NavMessage.PathNode\022\'\n\tpathNo"
|
|
|
+ "des\030\005 \003(\0132\024.NavMessage.PathNode\022\021\n\twheel"
|
|
|
+ "base\030\006 \001(\002\022\023\n\013changedMode\030\007 \001(\005\"P\n\006NavCm"
|
|
|
+ "d\022\016\n\006action\030\001 \001(\005\022\013\n\003key\030\002 \001(\t\022)\n\nnewAct"
|
|
|
+ "ions\030\005 \003(\0132\025.NavMessage.NewAction\"(\n\013Nav"
|
|
|
+ "Response\022\013\n\003ret\030\001 \001(\005\022\014\n\004info\030\002 \001(\t\"B\n\tM"
|
|
|
+ "anualCmd\022\013\n\003key\030\001 \001(\t\022\026\n\016operation_type\030"
|
|
|
+ "\002 \001(\005\022\020\n\010velocity\030\003 \001(\002\"\366\001\n\010NavStatu\022\r\n\005"
|
|
|
+ "statu\030\001 \001(\005\022\020\n\010main_agv\030\002 \001(\010\022\021\n\tmove_mo"
|
|
|
+ "de\030\003 \001(\005\022(\n\004odom\030\004 \001(\0132\032.NavMessage.Lida"
|
|
|
+ "rOdomStatu\022\013\n\003key\030\005 \001(\t\022-\n\rselected_traj"
|
|
|
+ "\030\006 \001(\0132\026.NavMessage.Trajectory\022,\n\014predic"
|
|
|
+ "t_traj\030\007 \001(\0132\026.NavMessage.Trajectory\022\020\n\010"
|
|
|
+ "in_space\030\010 \001(\010\022\020\n\010space_id\030\t \001(\t\"Y\n\nRobo"
|
|
|
+ "tStatu\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\r\n\005theta\030\003 "
|
|
|
+ "\001(\002\022&\n\010agvStatu\030\004 \001(\0132\024.NavMessage.AgvSt"
|
|
|
+ "atu2\302\001\n\nNavExcutor\0226\n\005Start\022\022.NavMessage"
|
|
|
+ ".NavCmd\032\027.NavMessage.NavResponse\"\000\0227\n\006Ca"
|
|
|
+ "ncel\022\022.NavMessage.NavCmd\032\027.NavMessage.Na"
|
|
|
+ "vResponse\"\000\022C\n\017ManualOperation\022\025.NavMess"
|
|
|
+ "age.ManualCmd\032\027.NavMessage.NavResponse\"\000"
|
|
|
+ "b\006proto3"
|
|
|
};
|
|
|
static ::absl::once_flag descriptor_table_message_2eproto_once;
|
|
|
const ::_pbi::DescriptorTable descriptor_table_message_2eproto = {
|
|
|
false,
|
|
|
false,
|
|
|
- 1532,
|
|
|
+ 1608,
|
|
|
descriptor_table_protodef_message_2eproto,
|
|
|
"message.proto",
|
|
|
&descriptor_table_message_2eproto_once,
|
|
@@ -967,16 +992,42 @@ AgvStatu::AgvStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena)
|
|
|
// @@protoc_insertion_point(arena_constructor:NavMessage.AgvStatu)
|
|
|
}
|
|
|
AgvStatu::AgvStatu(const AgvStatu& from)
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
|
|
|
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
|
|
|
- from._internal_metadata_);
|
|
|
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
|
|
|
+ AgvStatu* const _this = this; (void)_this;
|
|
|
+ new (&_impl_) Impl_{
|
|
|
+ decltype(_impl_.zcb_) { from._impl_.zcb_ }
|
|
|
+ ,/* _impl_._zcb_cached_byte_size_ = */ { 0 }
|
|
|
+
|
|
|
+ , decltype(_impl_.v_) {}
|
|
|
+
|
|
|
+ , decltype(_impl_.w_) {}
|
|
|
+
|
|
|
+ , decltype(_impl_.clamp_) {}
|
|
|
+
|
|
|
+ , decltype(_impl_.clamp_other_) {}
|
|
|
+
|
|
|
+ , decltype(_impl_.lifter_) {}
|
|
|
+
|
|
|
+ , decltype(_impl_.lifter_other_) {}
|
|
|
+
|
|
|
+ , decltype(_impl_.door_) {}
|
|
|
+
|
|
|
+ , /*decltype(_impl_._cached_size_)*/{}};
|
|
|
+
|
|
|
+ _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
+ ::memcpy(&_impl_.v_, &from._impl_.v_,
|
|
|
+ static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.door_) -
|
|
|
+ reinterpret_cast<char*>(&_impl_.v_)) + sizeof(_impl_.door_));
|
|
|
// @@protoc_insertion_point(copy_constructor:NavMessage.AgvStatu)
|
|
|
}
|
|
|
|
|
|
inline void AgvStatu::SharedCtor(::_pb::Arena* arena) {
|
|
|
(void)arena;
|
|
|
new (&_impl_) Impl_{
|
|
|
- decltype(_impl_.v_) { 0 }
|
|
|
+ decltype(_impl_.zcb_) { arena }
|
|
|
+ ,/* _impl_._zcb_cached_byte_size_ = */ { 0 }
|
|
|
+
|
|
|
+ , decltype(_impl_.v_) { 0 }
|
|
|
|
|
|
, decltype(_impl_.w_) { 0 }
|
|
|
|
|
@@ -988,6 +1039,8 @@ inline void AgvStatu::SharedCtor(::_pb::Arena* arena) {
|
|
|
|
|
|
, decltype(_impl_.lifter_other_) { 0 }
|
|
|
|
|
|
+ , decltype(_impl_.door_) { 0 }
|
|
|
+
|
|
|
, /*decltype(_impl_._cached_size_)*/{}
|
|
|
};
|
|
|
}
|
|
@@ -1003,6 +1056,7 @@ AgvStatu::~AgvStatu() {
|
|
|
|
|
|
inline void AgvStatu::SharedDtor() {
|
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
|
+ _impl_.zcb_.~RepeatedField();
|
|
|
}
|
|
|
|
|
|
void AgvStatu::SetCachedSize(int size) const {
|
|
@@ -1015,9 +1069,10 @@ void AgvStatu::Clear() {
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
+ _internal_mutable_zcb()->Clear();
|
|
|
::memset(&_impl_.v_, 0, static_cast<::size_t>(
|
|
|
- reinterpret_cast<char*>(&_impl_.lifter_other_) -
|
|
|
- reinterpret_cast<char*>(&_impl_.v_)) + sizeof(_impl_.lifter_other_));
|
|
|
+ reinterpret_cast<char*>(&_impl_.door_) -
|
|
|
+ reinterpret_cast<char*>(&_impl_.v_)) + sizeof(_impl_.door_));
|
|
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
|
}
|
|
|
|
|
@@ -1081,6 +1136,27 @@ const char* AgvStatu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx)
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
continue;
|
|
|
+ // repeated int32 zcb = 7;
|
|
|
+ case 7:
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
|
|
|
+ ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_zcb(), ptr, ctx);
|
|
|
+ CHK_(ptr);
|
|
|
+ } else if (static_cast<::uint8_t>(tag) == 56) {
|
|
|
+ _internal_add_zcb(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
|
|
|
+ CHK_(ptr);
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ continue;
|
|
|
+ // int32 door = 8;
|
|
|
+ case 8:
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
|
|
|
+ _impl_.door_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
|
|
+ CHK_(ptr);
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ continue;
|
|
|
default:
|
|
|
goto handle_unusual;
|
|
|
} // switch
|
|
@@ -1160,6 +1236,22 @@ failure:
|
|
|
6, this->_internal_lifter_other(), target);
|
|
|
}
|
|
|
|
|
|
+ // repeated int32 zcb = 7;
|
|
|
+ {
|
|
|
+ int byte_size = _impl_._zcb_cached_byte_size_.Get();
|
|
|
+ if (byte_size > 0) {
|
|
|
+ target = stream->WriteInt32Packed(7, _internal_zcb(),
|
|
|
+ byte_size, target);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // int32 door = 8;
|
|
|
+ if (this->_internal_door() != 0) {
|
|
|
+ target = stream->EnsureSpace(target);
|
|
|
+ target = ::_pbi::WireFormatLite::WriteInt32ToArray(
|
|
|
+ 8, this->_internal_door(), target);
|
|
|
+ }
|
|
|
+
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
|
@@ -1176,6 +1268,20 @@ failure:
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
+ // repeated int32 zcb = 7;
|
|
|
+ {
|
|
|
+ std::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
|
|
|
+ this->_internal_zcb())
|
|
|
+ ;
|
|
|
+ _impl_._zcb_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
|
|
|
+ std::size_t tag_size = data_size == 0
|
|
|
+ ? 0
|
|
|
+ : 1 + ::_pbi::WireFormatLite::Int32Size(
|
|
|
+ static_cast<int32_t>(data_size))
|
|
|
+ ;
|
|
|
+ total_size += tag_size + data_size;
|
|
|
+ }
|
|
|
+
|
|
|
// float v = 1;
|
|
|
static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
float tmp_v = this->_internal_v();
|
|
@@ -1218,6 +1324,12 @@ failure:
|
|
|
this->_internal_lifter_other());
|
|
|
}
|
|
|
|
|
|
+ // int32 door = 8;
|
|
|
+ if (this->_internal_door() != 0) {
|
|
|
+ total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
|
+ this->_internal_door());
|
|
|
+ }
|
|
|
+
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
|
}
|
|
|
|
|
@@ -1236,6 +1348,7 @@ void AgvStatu::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTO
|
|
|
::uint32_t cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
+ _this->_impl_.zcb_.MergeFrom(from._impl_.zcb_);
|
|
|
static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
float tmp_v = from._internal_v();
|
|
|
::uint32_t raw_v;
|
|
@@ -1262,6 +1375,9 @@ void AgvStatu::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTO
|
|
|
if (from._internal_lifter_other() != 0) {
|
|
|
_this->_internal_set_lifter_other(from._internal_lifter_other());
|
|
|
}
|
|
|
+ if (from._internal_door() != 0) {
|
|
|
+ _this->_internal_set_door(from._internal_door());
|
|
|
+ }
|
|
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
}
|
|
|
|
|
@@ -1279,9 +1395,10 @@ bool AgvStatu::IsInitialized() const {
|
|
|
void AgvStatu::InternalSwap(AgvStatu* other) {
|
|
|
using std::swap;
|
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
|
+ _impl_.zcb_.InternalSwap(&other->_impl_.zcb_);
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
|
|
- PROTOBUF_FIELD_OFFSET(AgvStatu, _impl_.lifter_other_)
|
|
|
- + sizeof(AgvStatu::_impl_.lifter_other_)
|
|
|
+ PROTOBUF_FIELD_OFFSET(AgvStatu, _impl_.door_)
|
|
|
+ + sizeof(AgvStatu::_impl_.door_)
|
|
|
- PROTOBUF_FIELD_OFFSET(AgvStatu, _impl_.v_)>(
|
|
|
reinterpret_cast<char*>(&_impl_.v_),
|
|
|
reinterpret_cast<char*>(&other->_impl_.v_));
|
|
@@ -1337,6 +1454,12 @@ inline void ToAgvCmd::SharedCtor(::_pb::Arena* arena) {
|
|
|
|
|
|
, decltype(_impl_.d1_) { 0 }
|
|
|
|
|
|
+ , decltype(_impl_.y1_) { 0 }
|
|
|
+
|
|
|
+ , decltype(_impl_.y2_) { 0 }
|
|
|
+
|
|
|
+ , decltype(_impl_.cl_) { 0 }
|
|
|
+
|
|
|
, decltype(_impl_.end_) { 0 }
|
|
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{}
|
|
@@ -1486,9 +1609,36 @@ const char* ToAgvCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx)
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
continue;
|
|
|
- // int32 end = 13;
|
|
|
+ // float Y1 = 13;
|
|
|
case 13:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) {
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 109)) {
|
|
|
+ _impl_.y1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
|
|
|
+ ptr += sizeof(float);
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ continue;
|
|
|
+ // float Y2 = 14;
|
|
|
+ case 14:
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 117)) {
|
|
|
+ _impl_.y2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
|
|
|
+ ptr += sizeof(float);
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ continue;
|
|
|
+ // int32 CL = 15;
|
|
|
+ case 15:
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) {
|
|
|
+ _impl_.cl_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
|
|
+ CHK_(ptr);
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ continue;
|
|
|
+ // int32 end = 16;
|
|
|
+ case 16:
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) {
|
|
|
_impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
|
|
CHK_(ptr);
|
|
|
} else {
|
|
@@ -1640,11 +1790,40 @@ failure:
|
|
|
12, this->_internal_d1(), target);
|
|
|
}
|
|
|
|
|
|
- // int32 end = 13;
|
|
|
+ // float Y1 = 13;
|
|
|
+ static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
+ float tmp_y1 = this->_internal_y1();
|
|
|
+ ::uint32_t raw_y1;
|
|
|
+ memcpy(&raw_y1, &tmp_y1, sizeof(tmp_y1));
|
|
|
+ if (raw_y1 != 0) {
|
|
|
+ target = stream->EnsureSpace(target);
|
|
|
+ target = ::_pbi::WireFormatLite::WriteFloatToArray(
|
|
|
+ 13, this->_internal_y1(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // float Y2 = 14;
|
|
|
+ static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
+ float tmp_y2 = this->_internal_y2();
|
|
|
+ ::uint32_t raw_y2;
|
|
|
+ memcpy(&raw_y2, &tmp_y2, sizeof(tmp_y2));
|
|
|
+ if (raw_y2 != 0) {
|
|
|
+ target = stream->EnsureSpace(target);
|
|
|
+ target = ::_pbi::WireFormatLite::WriteFloatToArray(
|
|
|
+ 14, this->_internal_y2(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // int32 CL = 15;
|
|
|
+ if (this->_internal_cl() != 0) {
|
|
|
+ target = stream->EnsureSpace(target);
|
|
|
+ target = ::_pbi::WireFormatLite::WriteInt32ToArray(
|
|
|
+ 15, this->_internal_cl(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // int32 end = 16;
|
|
|
if (this->_internal_end() != 0) {
|
|
|
target = stream->EnsureSpace(target);
|
|
|
target = ::_pbi::WireFormatLite::WriteInt32ToArray(
|
|
|
- 13, this->_internal_end(), target);
|
|
|
+ 16, this->_internal_end(), target);
|
|
|
}
|
|
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
@@ -1759,10 +1938,34 @@ failure:
|
|
|
total_size += 5;
|
|
|
}
|
|
|
|
|
|
- // int32 end = 13;
|
|
|
- if (this->_internal_end() != 0) {
|
|
|
+ // float Y1 = 13;
|
|
|
+ static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
+ float tmp_y1 = this->_internal_y1();
|
|
|
+ ::uint32_t raw_y1;
|
|
|
+ memcpy(&raw_y1, &tmp_y1, sizeof(tmp_y1));
|
|
|
+ if (raw_y1 != 0) {
|
|
|
+ total_size += 5;
|
|
|
+ }
|
|
|
+
|
|
|
+ // float Y2 = 14;
|
|
|
+ static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
+ float tmp_y2 = this->_internal_y2();
|
|
|
+ ::uint32_t raw_y2;
|
|
|
+ memcpy(&raw_y2, &tmp_y2, sizeof(tmp_y2));
|
|
|
+ if (raw_y2 != 0) {
|
|
|
+ total_size += 5;
|
|
|
+ }
|
|
|
+
|
|
|
+ // int32 CL = 15;
|
|
|
+ if (this->_internal_cl() != 0) {
|
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
|
- this->_internal_end());
|
|
|
+ this->_internal_cl());
|
|
|
+ }
|
|
|
+
|
|
|
+ // int32 end = 16;
|
|
|
+ if (this->_internal_end() != 0) {
|
|
|
+ total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
|
|
|
+ this->_internal_end());
|
|
|
}
|
|
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
@@ -1851,6 +2054,23 @@ void ToAgvCmd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTO
|
|
|
if (raw_d1 != 0) {
|
|
|
_this->_internal_set_d1(from._internal_d1());
|
|
|
}
|
|
|
+ static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
+ float tmp_y1 = from._internal_y1();
|
|
|
+ ::uint32_t raw_y1;
|
|
|
+ memcpy(&raw_y1, &tmp_y1, sizeof(tmp_y1));
|
|
|
+ if (raw_y1 != 0) {
|
|
|
+ _this->_internal_set_y1(from._internal_y1());
|
|
|
+ }
|
|
|
+ static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
+ float tmp_y2 = from._internal_y2();
|
|
|
+ ::uint32_t raw_y2;
|
|
|
+ memcpy(&raw_y2, &tmp_y2, sizeof(tmp_y2));
|
|
|
+ if (raw_y2 != 0) {
|
|
|
+ _this->_internal_set_y2(from._internal_y2());
|
|
|
+ }
|
|
|
+ if (from._internal_cl() != 0) {
|
|
|
+ _this->_internal_set_cl(from._internal_cl());
|
|
|
+ }
|
|
|
if (from._internal_end() != 0) {
|
|
|
_this->_internal_set_end(from._internal_end());
|
|
|
}
|
|
@@ -2155,6 +2375,12 @@ void Pose2d::InternalSwap(Pose2d* other) {
|
|
|
|
|
|
class PathNode::_Internal {
|
|
|
public:
|
|
|
+ using HasBits = decltype(std::declval<PathNode>()._impl_._has_bits_);
|
|
|
+ static constexpr ::int32_t kHasBitsOffset =
|
|
|
+ 8 * PROTOBUF_FIELD_OFFSET(PathNode, _impl_._has_bits_);
|
|
|
+ static void set_has_id(HasBits* has_bits) {
|
|
|
+ (*has_bits)[0] |= 1u;
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
PathNode::PathNode(::PROTOBUF_NAMESPACE_ID::Arena* arena)
|
|
@@ -2166,7 +2392,9 @@ PathNode::PathNode(const PathNode& from)
|
|
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
|
|
PathNode* const _this = this; (void)_this;
|
|
|
new (&_impl_) Impl_{
|
|
|
- decltype(_impl_.id_) {}
|
|
|
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
|
|
|
+ , /*decltype(_impl_._cached_size_)*/{}
|
|
|
+ , decltype(_impl_.id_) {}
|
|
|
|
|
|
, decltype(_impl_.x_) {}
|
|
|
|
|
@@ -2177,15 +2405,14 @@ PathNode::PathNode(const PathNode& from)
|
|
|
, decltype(_impl_.w_) {}
|
|
|
|
|
|
, decltype(_impl_.theta_) {}
|
|
|
-
|
|
|
- , /*decltype(_impl_._cached_size_)*/{}};
|
|
|
+ };
|
|
|
|
|
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
_impl_.id_.InitDefault();
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
_impl_.id_.Set("", GetArenaForAllocation());
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
- if (!from._internal_id().empty()) {
|
|
|
+ if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
|
|
|
_this->_impl_.id_.Set(from._internal_id(), _this->GetArenaForAllocation());
|
|
|
}
|
|
|
::memcpy(&_impl_.x_, &from._impl_.x_,
|
|
@@ -2197,7 +2424,9 @@ PathNode::PathNode(const PathNode& from)
|
|
|
inline void PathNode::SharedCtor(::_pb::Arena* arena) {
|
|
|
(void)arena;
|
|
|
new (&_impl_) Impl_{
|
|
|
- decltype(_impl_.id_) {}
|
|
|
+ decltype(_impl_._has_bits_){}
|
|
|
+ , /*decltype(_impl_._cached_size_)*/{}
|
|
|
+ , decltype(_impl_.id_) {}
|
|
|
|
|
|
, decltype(_impl_.x_) { 0 }
|
|
|
|
|
@@ -2209,7 +2438,6 @@ inline void PathNode::SharedCtor(::_pb::Arena* arena) {
|
|
|
|
|
|
, decltype(_impl_.theta_) { 0 }
|
|
|
|
|
|
- , /*decltype(_impl_._cached_size_)*/{}
|
|
|
};
|
|
|
_impl_.id_.InitDefault();
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
@@ -2241,15 +2469,20 @@ void PathNode::Clear() {
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
- _impl_.id_.ClearToEmpty();
|
|
|
+ cached_has_bits = _impl_._has_bits_[0];
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
+ _impl_.id_.ClearNonDefaultToEmpty();
|
|
|
+ }
|
|
|
::memset(&_impl_.x_, 0, static_cast<::size_t>(
|
|
|
reinterpret_cast<char*>(&_impl_.theta_) -
|
|
|
reinterpret_cast<char*>(&_impl_.x_)) + sizeof(_impl_.theta_));
|
|
|
+ _impl_._has_bits_.Clear();
|
|
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
|
}
|
|
|
|
|
|
const char* PathNode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
|
|
+ _Internal::HasBits has_bits{};
|
|
|
while (!ctx->Done(&ptr)) {
|
|
|
::uint32_t tag;
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag);
|
|
@@ -2299,7 +2532,7 @@ const char* PathNode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx)
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
continue;
|
|
|
- // string id = 6;
|
|
|
+ // optional string id = 6;
|
|
|
case 6:
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
|
|
|
auto str = _internal_mutable_id();
|
|
@@ -2326,6 +2559,7 @@ const char* PathNode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx)
|
|
|
CHK_(ptr != nullptr);
|
|
|
} // while
|
|
|
message_done:
|
|
|
+ _impl_._has_bits_.Or(has_bits);
|
|
|
return ptr;
|
|
|
failure:
|
|
|
ptr = nullptr;
|
|
@@ -2394,8 +2628,9 @@ failure:
|
|
|
5, this->_internal_theta(), target);
|
|
|
}
|
|
|
|
|
|
- // string id = 6;
|
|
|
- if (!this->_internal_id().empty()) {
|
|
|
+ cached_has_bits = _impl_._has_bits_[0];
|
|
|
+ // optional string id = 6;
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
const std::string& _s = this->_internal_id();
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
|
|
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavMessage.PathNode.id");
|
|
@@ -2418,8 +2653,9 @@ failure:
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
- // string id = 6;
|
|
|
- if (!this->_internal_id().empty()) {
|
|
|
+ // optional string id = 6;
|
|
|
+ cached_has_bits = _impl_._has_bits_[0];
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
|
|
this->_internal_id());
|
|
|
}
|
|
@@ -2487,7 +2723,7 @@ void PathNode::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTO
|
|
|
::uint32_t cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
- if (!from._internal_id().empty()) {
|
|
|
+ if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
|
|
|
_this->_internal_set_id(from._internal_id());
|
|
|
}
|
|
|
static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
@@ -2544,6 +2780,7 @@ void PathNode::InternalSwap(PathNode* other) {
|
|
|
auto* lhs_arena = GetArenaForAllocation();
|
|
|
auto* rhs_arena = other->GetArenaForAllocation();
|
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
|
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, lhs_arena,
|
|
|
&other->_impl_.id_, rhs_arena);
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|