Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/pose.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/pose.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fpose_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
53  static const ::google::protobuf::internal::ParseTableField entries[];
54  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55  static const ::google::protobuf::internal::ParseTable schema[1];
56  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57  static const ::google::protobuf::internal::SerializationTable serialization_table[];
58  static const ::google::protobuf::uint32 offsets[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2fpose_2eproto
62 namespace ignition {
63 namespace msgs {
64 class Pose;
65 class PoseDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern PoseDefaultTypeInternal _Pose_default_instance_;
67 } // namespace msgs
68 } // namespace ignition
69 namespace google {
70 namespace protobuf {
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Pose* Arena::CreateMaybeMessage<::ignition::msgs::Pose>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace ignition {
75 namespace msgs {
76 
77 // ===================================================================
78 
79 class IGNITION_MSGS_VISIBLE Pose : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Pose) */ {
80  public:
81  Pose();
82  virtual ~Pose();
83 
84  Pose(const Pose& from);
85 
86  inline Pose& operator=(const Pose& from) {
87  CopyFrom(from);
88  return *this;
89  }
90  #if LANG_CXX11
91  Pose(Pose&& from) noexcept
92  : Pose() {
93  *this = ::std::move(from);
94  }
95 
96  inline Pose& operator=(Pose&& from) noexcept {
97  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98  if (this != &from) InternalSwap(&from);
99  } else {
100  CopyFrom(from);
101  }
102  return *this;
103  }
104  #endif
105  static const ::google::protobuf::Descriptor* descriptor();
106  static const Pose& default_instance();
107 
108  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  static inline const Pose* internal_default_instance() {
110  return reinterpret_cast<const Pose*>(
112  }
113  static constexpr int kIndexInFileMessages =
114  0;
115 
116  void Swap(Pose* other);
117  friend void swap(Pose& a, Pose& b) {
118  a.Swap(&b);
119  }
120 
121  // implements Message ----------------------------------------------
122 
123  inline Pose* New() const final {
124  return CreateMaybeMessage<Pose>(NULL);
125  }
126 
127  Pose* New(::google::protobuf::Arena* arena) const final {
128  return CreateMaybeMessage<Pose>(arena);
129  }
130  void CopyFrom(const ::google::protobuf::Message& from) final;
131  void MergeFrom(const ::google::protobuf::Message& from) final;
132  void CopyFrom(const Pose& from);
133  void MergeFrom(const Pose& from);
134  void Clear() final;
135  bool IsInitialized() const final;
136 
137  size_t ByteSizeLong() const final;
138  bool MergePartialFromCodedStream(
139  ::google::protobuf::io::CodedInputStream* input) final;
140  void SerializeWithCachedSizes(
141  ::google::protobuf::io::CodedOutputStream* output) const final;
142  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
143  bool deterministic, ::google::protobuf::uint8* target) const final;
144  int GetCachedSize() const final { return _cached_size_.Get(); }
145 
146  private:
147  void SharedCtor();
148  void SharedDtor();
149  void SetCachedSize(int size) const final;
150  void InternalSwap(Pose* other);
151  private:
152  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
153  return NULL;
154  }
155  inline void* MaybeArenaPtr() const {
156  return NULL;
157  }
158  public:
159 
160  ::google::protobuf::Metadata GetMetadata() const final;
161 
162  // nested types ----------------------------------------------------
163 
164  // accessors -------------------------------------------------------
165 
166  // string name = 2;
167  void clear_name();
168  static const int kNameFieldNumber = 2;
169  const ::std::string& name() const;
170  void set_name(const ::std::string& value);
171  #if LANG_CXX11
172  void set_name(::std::string&& value);
173  #endif
174  void set_name(const char* value);
175  void set_name(const char* value, size_t size);
176  ::std::string* mutable_name();
177  ::std::string* release_name();
178  void set_allocated_name(::std::string* name);
179 
180  // .ignition.msgs.Header header = 1;
181  bool has_header() const;
182  void clear_header();
183  static const int kHeaderFieldNumber = 1;
184  private:
185  const ::ignition::msgs::Header& _internal_header() const;
186  public:
187  const ::ignition::msgs::Header& header() const;
188  ::ignition::msgs::Header* release_header();
189  ::ignition::msgs::Header* mutable_header();
190  void set_allocated_header(::ignition::msgs::Header* header);
191 
192  // .ignition.msgs.Vector3d position = 4;
193  bool has_position() const;
194  void clear_position();
195  static const int kPositionFieldNumber = 4;
196  private:
197  const ::ignition::msgs::Vector3d& _internal_position() const;
198  public:
199  const ::ignition::msgs::Vector3d& position() const;
200  ::ignition::msgs::Vector3d* release_position();
201  ::ignition::msgs::Vector3d* mutable_position();
202  void set_allocated_position(::ignition::msgs::Vector3d* position);
203 
204  // .ignition.msgs.Quaternion orientation = 5;
205  bool has_orientation() const;
206  void clear_orientation();
207  static const int kOrientationFieldNumber = 5;
208  private:
209  const ::ignition::msgs::Quaternion& _internal_orientation() const;
210  public:
211  const ::ignition::msgs::Quaternion& orientation() const;
212  ::ignition::msgs::Quaternion* release_orientation();
213  ::ignition::msgs::Quaternion* mutable_orientation();
214  void set_allocated_orientation(::ignition::msgs::Quaternion* orientation);
215 
216  // uint32 id = 3;
217  void clear_id();
218  static const int kIdFieldNumber = 3;
219  ::google::protobuf::uint32 id() const;
220  void set_id(::google::protobuf::uint32 value);
221 
222  // @@protoc_insertion_point(class_scope:ignition.msgs.Pose)
223  private:
224 
225  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
226  ::google::protobuf::internal::ArenaStringPtr name_;
227  ::ignition::msgs::Header* header_;
228  ::ignition::msgs::Vector3d* position_;
229  ::ignition::msgs::Quaternion* orientation_;
230  ::google::protobuf::uint32 id_;
231  mutable ::google::protobuf::internal::CachedSize _cached_size_;
232  friend struct ::protobuf_ignition_2fmsgs_2fpose_2eproto::TableStruct;
233 };
234 // ===================================================================
235 
236 
237 // ===================================================================
238 
239 #ifdef __GNUC__
240  #pragma GCC diagnostic push
241  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
242 #endif // __GNUC__
243 // Pose
244 
245 // .ignition.msgs.Header header = 1;
246 inline bool Pose::has_header() const {
247  return this != internal_default_instance() && header_ != NULL;
248 }
249 inline const ::ignition::msgs::Header& Pose::_internal_header() const {
250  return *header_;
251 }
252 inline const ::ignition::msgs::Header& Pose::header() const {
253  const ::ignition::msgs::Header* p = header_;
254  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.header)
255  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
257 }
258 inline ::ignition::msgs::Header* Pose::release_header() {
259  // @@protoc_insertion_point(field_release:ignition.msgs.Pose.header)
260 
261  ::ignition::msgs::Header* temp = header_;
262  header_ = NULL;
263  return temp;
264 }
265 inline ::ignition::msgs::Header* Pose::mutable_header() {
266 
267  if (header_ == NULL) {
268  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
269  header_ = p;
270  }
271  // @@protoc_insertion_point(field_mutable:ignition.msgs.Pose.header)
272  return header_;
273 }
275  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
276  if (message_arena == NULL) {
277  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
278  }
279  if (header) {
280  ::google::protobuf::Arena* submessage_arena = NULL;
281  if (message_arena != submessage_arena) {
282  header = ::google::protobuf::internal::GetOwnedMessage(
283  message_arena, header, submessage_arena);
284  }
285 
286  } else {
287 
288  }
289  header_ = header;
290  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Pose.header)
291 }
292 
293 // string name = 2;
294 inline void Pose::clear_name() {
295  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
296 }
297 inline const ::std::string& Pose::name() const {
298  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.name)
299  return name_.GetNoArena();
300 }
301 inline void Pose::set_name(const ::std::string& value) {
302 
303  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
304  // @@protoc_insertion_point(field_set:ignition.msgs.Pose.name)
305 }
306 #if LANG_CXX11
307 inline void Pose::set_name(::std::string&& value) {
308 
309  name_.SetNoArena(
310  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
311  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Pose.name)
312 }
313 #endif
314 inline void Pose::set_name(const char* value) {
315  GOOGLE_DCHECK(value != NULL);
316 
317  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
318  // @@protoc_insertion_point(field_set_char:ignition.msgs.Pose.name)
319 }
320 inline void Pose::set_name(const char* value, size_t size) {
321 
322  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
323  ::std::string(reinterpret_cast<const char*>(value), size));
324  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Pose.name)
325 }
326 inline ::std::string* Pose::mutable_name() {
327 
328  // @@protoc_insertion_point(field_mutable:ignition.msgs.Pose.name)
329  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
330 }
331 inline ::std::string* Pose::release_name() {
332  // @@protoc_insertion_point(field_release:ignition.msgs.Pose.name)
333 
334  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
335 }
336 inline void Pose::set_allocated_name(::std::string* name) {
337  if (name != NULL) {
338 
339  } else {
340 
341  }
342  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
343  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Pose.name)
344 }
345 
346 // uint32 id = 3;
347 inline void Pose::clear_id() {
348  id_ = 0u;
349 }
350 inline ::google::protobuf::uint32 Pose::id() const {
351  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.id)
352  return id_;
353 }
354 inline void Pose::set_id(::google::protobuf::uint32 value) {
355 
356  id_ = value;
357  // @@protoc_insertion_point(field_set:ignition.msgs.Pose.id)
358 }
359 
360 // .ignition.msgs.Vector3d position = 4;
361 inline bool Pose::has_position() const {
362  return this != internal_default_instance() && position_ != NULL;
363 }
364 inline const ::ignition::msgs::Vector3d& Pose::_internal_position() const {
365  return *position_;
366 }
367 inline const ::ignition::msgs::Vector3d& Pose::position() const {
368  const ::ignition::msgs::Vector3d* p = position_;
369  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.position)
370  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
372 }
373 inline ::ignition::msgs::Vector3d* Pose::release_position() {
374  // @@protoc_insertion_point(field_release:ignition.msgs.Pose.position)
375 
376  ::ignition::msgs::Vector3d* temp = position_;
377  position_ = NULL;
378  return temp;
379 }
380 inline ::ignition::msgs::Vector3d* Pose::mutable_position() {
381 
382  if (position_ == NULL) {
383  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
384  position_ = p;
385  }
386  // @@protoc_insertion_point(field_mutable:ignition.msgs.Pose.position)
387  return position_;
388 }
390  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
391  if (message_arena == NULL) {
392  delete reinterpret_cast< ::google::protobuf::MessageLite*>(position_);
393  }
394  if (position) {
395  ::google::protobuf::Arena* submessage_arena = NULL;
396  if (message_arena != submessage_arena) {
397  position = ::google::protobuf::internal::GetOwnedMessage(
398  message_arena, position, submessage_arena);
399  }
400 
401  } else {
402 
403  }
404  position_ = position;
405  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Pose.position)
406 }
407 
408 // .ignition.msgs.Quaternion orientation = 5;
409 inline bool Pose::has_orientation() const {
410  return this != internal_default_instance() && orientation_ != NULL;
411 }
412 inline const ::ignition::msgs::Quaternion& Pose::_internal_orientation() const {
413  return *orientation_;
414 }
415 inline const ::ignition::msgs::Quaternion& Pose::orientation() const {
416  const ::ignition::msgs::Quaternion* p = orientation_;
417  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.orientation)
418  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Quaternion*>(
420 }
421 inline ::ignition::msgs::Quaternion* Pose::release_orientation() {
422  // @@protoc_insertion_point(field_release:ignition.msgs.Pose.orientation)
423 
424  ::ignition::msgs::Quaternion* temp = orientation_;
425  orientation_ = NULL;
426  return temp;
427 }
428 inline ::ignition::msgs::Quaternion* Pose::mutable_orientation() {
429 
430  if (orientation_ == NULL) {
431  auto* p = CreateMaybeMessage<::ignition::msgs::Quaternion>(GetArenaNoVirtual());
432  orientation_ = p;
433  }
434  // @@protoc_insertion_point(field_mutable:ignition.msgs.Pose.orientation)
435  return orientation_;
436 }
438  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
439  if (message_arena == NULL) {
440  delete reinterpret_cast< ::google::protobuf::MessageLite*>(orientation_);
441  }
442  if (orientation) {
443  ::google::protobuf::Arena* submessage_arena = NULL;
444  if (message_arena != submessage_arena) {
445  orientation = ::google::protobuf::internal::GetOwnedMessage(
446  message_arena, orientation, submessage_arena);
447  }
448 
449  } else {
450 
451  }
452  orientation_ = orientation;
453  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Pose.orientation)
454 }
455 
456 #ifdef __GNUC__
457  #pragma GCC diagnostic pop
458 #endif // __GNUC__
459 
464 // @@protoc_insertion_point(namespace_scope)
465 
466 } // namespace msgs
467 } // namespace ignition
468 
469 #ifdef _MSC_VER
470 #pragma warning(pop)
471 #endif
472 // @@protoc_insertion_point(global_scope)
473 
474 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_2eproto
STL class.
STL class.
T move(T... args)
void set_allocated_orientation(::ignition::msgs::Quaternion *orientation)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:437
::google::protobuf::uint32 id() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:350
Definition: build/ignition-msgs8/include/ignition/msgs/vector3d.pb.h:77
bool has_position() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:361
const ::ignition::msgs::Quaternion & orientation() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:415
std::unique_ptr< const Pose > ConstPoseUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:461
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:79
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:274
friend void swap(Pose &a, Pose &b)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:117
bool has_orientation() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:409
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:77
Pose & operator=(const Pose &from)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:86
const ::std::string & name() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:297
const ::ignition::msgs::Vector3d & position() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:367
void clear_name()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:294
void Swap(Pose *other)
void IGNITION_MSGS_VISIBLE AddDescriptors()
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
IGNITION_MSGS_VISIBLE QuaternionDefaultTypeInternal _Quaternion_default_instance_
Pose * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:127
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:258
::ignition::msgs::Quaternion * release_orientation()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:421
Pose * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:123
::ignition::msgs::Vector3d * release_position()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:373
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:252
::std::string * mutable_name()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:326
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:265
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
void set_allocated_position(::ignition::msgs::Vector3d *position)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:389
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:246
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:336
std::shared_ptr< Pose > PoseSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:462
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:52
static const Pose * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:109
::std::string * release_name()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:331
::ignition::msgs::Quaternion * mutable_orientation()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:428
std::shared_ptr< const Pose > ConstPoseSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:463
std::unique_ptr< Pose > PoseUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:460
void clear_id()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:347
void set_name(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:301
STL class.
::ignition::msgs::Vector3d * mutable_position()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:380
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
void set_id(::google::protobuf::uint32 value)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:354
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:50