4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5fwith_5fcovariance_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5fwith_5fcovariance_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
38 #pragma GCC system_header
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #include <sys/sysmacros.h>
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fpose_5fwith_5fcovariance_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
55 PROTOBUF_NAMESPACE_CLOSE
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
65 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
72 class PoseWithCovariance;
73 class PoseWithCovarianceDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PoseWithCovariance* Arena::CreateMaybeMessage<::ignition::msgs::PoseWithCovariance>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
85 class IGNITION_MSGS_VISIBLE PoseWithCovariance PROTOBUF_FINAL :
86 public ::PROTOBUF_NAMESPACE_ID::Message {
93 : PoseWithCovariance() {
94 *
this = ::std::move(from);
97 inline PoseWithCovariance&
operator=(
const PoseWithCovariance& from) {
101 inline PoseWithCovariance&
operator=(PoseWithCovariance&& from) noexcept {
102 if (GetArena() == from.GetArena()) {
103 if (
this != &from) InternalSwap(&from);
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
111 return GetDescriptor();
114 return GetMetadataStatic().descriptor;
117 return GetMetadataStatic().reflection;
123 return reinterpret_cast<const PoseWithCovariance*
>(
126 static constexpr
int kIndexInFileMessages =
129 friend void swap(PoseWithCovariance& a, PoseWithCovariance& b) {
132 inline void Swap(PoseWithCovariance* other) {
133 if (other ==
this)
return;
134 if (GetArena() == other->GetArena()) {
137 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
141 if (other ==
this)
return;
142 GOOGLE_DCHECK(GetArena() == other->GetArena());
148 inline PoseWithCovariance*
New() const final {
149 return CreateMaybeMessage<PoseWithCovariance>(
nullptr);
152 PoseWithCovariance*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
153 return CreateMaybeMessage<PoseWithCovariance>(arena);
155 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
159 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
160 bool IsInitialized() const final;
162 size_t ByteSizeLong() const final;
163 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
164 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
165 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
166 int GetCachedSize() const final {
return _cached_size_.Get(); }
169 inline void SharedCtor();
170 inline void SharedDtor();
171 void SetCachedSize(
int size)
const final;
172 void InternalSwap(PoseWithCovariance* other);
173 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
174 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
175 return "ignition.msgs.PoseWithCovariance";
180 static void ArenaDtor(
void*
object);
181 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
186 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
198 kPoseFieldNumber = 1,
199 kCovarianceFieldNumber = 2,
204 bool _internal_has_pose()
const;
207 const ::ignition::msgs::Pose&
pose()
const;
212 const ::ignition::msgs::Pose& _internal_pose()
const;
213 ::ignition::msgs::Pose* _internal_mutable_pose();
216 ::ignition::msgs::Pose* pose);
222 bool _internal_has_covariance()
const;
230 const ::ignition::msgs::Float_V& _internal_covariance()
const;
231 ::ignition::msgs::Float_V* _internal_mutable_covariance();
234 ::ignition::msgs::Float_V* covariance);
241 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
242 typedef void InternalArenaConstructable_;
243 typedef void DestructorSkippable_;
244 ::ignition::msgs::Pose* pose_;
245 ::ignition::msgs::Float_V* covariance_;
246 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
247 friend struct ::TableStruct_ignition_2fmsgs_2fpose_5fwith_5fcovariance_2eproto;
255 #pragma GCC diagnostic push
256 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
261 inline bool PoseWithCovariance::_internal_has_pose()
const {
262 return this != internal_default_instance() && pose_ !=
nullptr;
264 inline bool PoseWithCovariance::has_pose()
const {
265 return _internal_has_pose();
267 inline const ::ignition::msgs::Pose& PoseWithCovariance::_internal_pose()
const {
268 const ::ignition::msgs::Pose* p = pose_;
269 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Pose*
>(
272 inline const ::ignition::msgs::Pose& PoseWithCovariance::pose()
const {
274 return _internal_pose();
276 inline void PoseWithCovariance::unsafe_arena_set_allocated_pose(
277 ::ignition::msgs::Pose* pose) {
278 if (GetArena() ==
nullptr) {
279 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
289 inline ::ignition::msgs::Pose* PoseWithCovariance::release_pose() {
290 auto temp = unsafe_arena_release_pose();
291 if (GetArena() !=
nullptr) {
292 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
296 inline ::ignition::msgs::Pose* PoseWithCovariance::unsafe_arena_release_pose() {
299 ::ignition::msgs::Pose* temp = pose_;
303 inline ::ignition::msgs::Pose* PoseWithCovariance::_internal_mutable_pose() {
305 if (pose_ ==
nullptr) {
306 auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
311 inline ::ignition::msgs::Pose* PoseWithCovariance::mutable_pose() {
313 return _internal_mutable_pose();
315 inline void PoseWithCovariance::set_allocated_pose(::ignition::msgs::Pose* pose) {
316 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
317 if (message_arena ==
nullptr) {
318 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
321 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
322 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose)->GetArena();
323 if (message_arena != submessage_arena) {
324 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
325 message_arena, pose, submessage_arena);
336 inline bool PoseWithCovariance::_internal_has_covariance()
const {
337 return this != internal_default_instance() && covariance_ !=
nullptr;
339 inline bool PoseWithCovariance::has_covariance()
const {
340 return _internal_has_covariance();
342 inline const ::ignition::msgs::Float_V& PoseWithCovariance::_internal_covariance()
const {
343 const ::ignition::msgs::Float_V* p = covariance_;
344 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Float_V*
>(
347 inline const ::ignition::msgs::Float_V& PoseWithCovariance::covariance()
const {
349 return _internal_covariance();
351 inline void PoseWithCovariance::unsafe_arena_set_allocated_covariance(
352 ::ignition::msgs::Float_V* covariance) {
353 if (GetArena() ==
nullptr) {
354 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(covariance_);
356 covariance_ = covariance;
364 inline ::ignition::msgs::Float_V* PoseWithCovariance::release_covariance() {
365 auto temp = unsafe_arena_release_covariance();
366 if (GetArena() !=
nullptr) {
367 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
371 inline ::ignition::msgs::Float_V* PoseWithCovariance::unsafe_arena_release_covariance() {
374 ::ignition::msgs::Float_V* temp = covariance_;
375 covariance_ =
nullptr;
378 inline ::ignition::msgs::Float_V* PoseWithCovariance::_internal_mutable_covariance() {
380 if (covariance_ ==
nullptr) {
381 auto* p = CreateMaybeMessage<::ignition::msgs::Float_V>(GetArena());
386 inline ::ignition::msgs::Float_V* PoseWithCovariance::mutable_covariance() {
388 return _internal_mutable_covariance();
390 inline void PoseWithCovariance::set_allocated_covariance(::ignition::msgs::Float_V* covariance) {
391 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
392 if (message_arena ==
nullptr) {
393 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(covariance_);
396 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
397 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(covariance)->GetArena();
398 if (message_arena != submessage_arena) {
399 covariance = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
400 message_arena, covariance, submessage_arena);
406 covariance_ = covariance;
411 #pragma GCC diagnostic pop
428 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_5fwith_5fcovariance_2eproto
static void InitAsDefaultInstance()
static const PoseWithCovariance * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:122
PoseWithCovariance & operator=(PoseWithCovariance &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:101
bool has_covariance() const
::ignition::msgs::Pose * release_pose()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:116
::ignition::msgs::Float_V * unsafe_arena_release_covariance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:110
::ignition::msgs::Float_V * mutable_covariance()
static const PoseWithCovariance & default_instance()
PoseWithCovariance(const PoseWithCovariance &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::ignition::msgs::Float_V & covariance() const
void CopyFrom(const PoseWithCovariance &from)
void set_allocated_covariance(::ignition::msgs::Float_V *covariance)
friend void swap(PoseWithCovariance &a, PoseWithCovariance &b)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:129
::ignition::msgs::Float_V * release_covariance()
void Swap(PoseWithCovariance *other)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:132
void set_allocated_pose(::ignition::msgs::Pose *pose)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
virtual ~PoseWithCovariance()
void MergeFrom(const PoseWithCovariance &from)
PoseWithCovariance(PoseWithCovariance &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:92
const ::ignition::msgs::Pose & pose() const
::ignition::msgs::Pose * unsafe_arena_release_pose()
PoseWithCovariance * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:148
::ignition::msgs::Pose * mutable_pose()
PoseWithCovariance & operator=(const PoseWithCovariance &from)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:97
PoseWithCovariance()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:88
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:113
void unsafe_arena_set_allocated_covariance(::ignition::msgs::Float_V *covariance)
void UnsafeArenaSwap(PoseWithCovariance *other)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:140
PoseWithCovariance * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:152
PoseWithCovariance(::PROTOBUF_NAMESPACE_ID::Arena *arena)
std::shared_ptr< const PoseWithCovariance > ConstPoseWithCovarianceSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:417
std::shared_ptr< PoseWithCovariance > PoseWithCovarianceSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:416
std::unique_ptr< PoseWithCovariance > PoseWithCovarianceUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:414
std::unique_ptr< const PoseWithCovariance > ConstPoseWithCovarianceUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:415
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
IGNITION_MSGS_VISIBLE PoseWithCovarianceDefaultTypeInternal _PoseWithCovariance_default_instance_
IGNITION_MSGS_VISIBLE Float_VDefaultTypeInternal _Float_V_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/pose_with_covariance.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)