Ignition Msgs

API Reference

5.8.1
gui_camera.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/gui_camera.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_5fcamera_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_5fcamera_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/pose.pb.h"
37 #ifndef _MSC_VER
38 #pragma GCC system_header
39 #else
40 #pragma warning(push)
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #endif
43 #ifdef __linux__
44 #include <sys/sysmacros.h>
45 #endif
46 #include <memory>
47 #include <ignition/msgs/Export.hh>
48 // @@protoc_insertion_point(includes)
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fgui_5fcamera_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
52 namespace internal {
53 class AnyMetadata;
54 } // namespace internal
55 PROTOBUF_NAMESPACE_CLOSE
56 
57 // Internal implementation detail -- do not use these members.
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67  static const uint32_t offsets[];
68 };
69 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgui_5fcamera_2eproto;
70 namespace ignition {
71 namespace msgs {
72 class GUICamera;
73 struct GUICameraDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern GUICameraDefaultTypeInternal _GUICamera_default_instance_;
75 } // namespace msgs
76 } // namespace ignition
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GUICamera* Arena::CreateMaybeMessage<::ignition::msgs::GUICamera>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace ignition {
81 namespace msgs {
82 
83 // ===================================================================
84 
85 class IGNITION_MSGS_VISIBLE GUICamera final :
86  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.GUICamera) */ {
87  public:
88  inline GUICamera() : GUICamera(nullptr) {}
89  ~GUICamera() override;
90  explicit constexpr GUICamera(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
91 
92  GUICamera(const GUICamera& from);
93  GUICamera(GUICamera&& from) noexcept
94  : GUICamera() {
95  *this = ::std::move(from);
96  }
97 
98  inline GUICamera& operator=(const GUICamera& from) {
99  CopyFrom(from);
100  return *this;
101  }
102  inline GUICamera& operator=(GUICamera&& from) noexcept {
103  if (this == &from) return *this;
104  if (GetOwningArena() == from.GetOwningArena()
105  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
106  && GetOwningArena() != nullptr
107  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
108  ) {
109  InternalSwap(&from);
110  } else {
111  CopyFrom(from);
112  }
113  return *this;
114  }
115 
116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
117  return GetDescriptor();
118  }
119  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
120  return default_instance().GetMetadata().descriptor;
121  }
122  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
123  return default_instance().GetMetadata().reflection;
124  }
125  static const GUICamera& default_instance() {
126  return *internal_default_instance();
127  }
128  static inline const GUICamera* internal_default_instance() {
129  return reinterpret_cast<const GUICamera*>(
131  }
132  static constexpr int kIndexInFileMessages =
133  0;
134 
135  friend void swap(GUICamera& a, GUICamera& b) {
136  a.Swap(&b);
137  }
138  inline void Swap(GUICamera* other) {
139  if (other == this) return;
140  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141  if (GetOwningArena() != nullptr &&
142  GetOwningArena() == other->GetOwningArena()) {
143  #else // PROTOBUF_FORCE_COPY_IN_SWAP
144  if (GetOwningArena() == other->GetOwningArena()) {
145  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
146  InternalSwap(other);
147  } else {
148  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
149  }
150  }
151  void UnsafeArenaSwap(GUICamera* other) {
152  if (other == this) return;
153  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154  InternalSwap(other);
155  }
156 
157  // implements Message ----------------------------------------------
158 
159  GUICamera* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
160  return CreateMaybeMessage<GUICamera>(arena);
161  }
162  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163  void CopyFrom(const GUICamera& from);
164  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165  void MergeFrom(const GUICamera& from);
166  private:
167  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
168  public:
169  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170  bool IsInitialized() const final;
171 
172  size_t ByteSizeLong() const final;
173  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
174  uint8_t* _InternalSerialize(
175  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176  int GetCachedSize() const final { return _cached_size_.Get(); }
177 
178  private:
179  void SharedCtor();
180  void SharedDtor();
181  void SetCachedSize(int size) const final;
182  void InternalSwap(GUICamera* other);
183 
184  private:
185  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187  return "ignition.msgs.GUICamera";
188  }
189  protected:
190  explicit GUICamera(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191  bool is_message_owned = false);
192  private:
193  static void ArenaDtor(void* object);
194  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
195  public:
196 
197  static const ClassData _class_data_;
198  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
199 
200  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
201 
202  // nested types ----------------------------------------------------
203 
204  // accessors -------------------------------------------------------
205 
206  enum : int {
207  kNameFieldNumber = 2,
208  kViewControllerFieldNumber = 3,
209  kProjectionTypeFieldNumber = 6,
210  kHeaderFieldNumber = 1,
211  kPoseFieldNumber = 4,
212  kTrackFieldNumber = 5,
213  };
214  // string name = 2;
215  void clear_name();
216  const std::string& name() const;
217  template <typename ArgT0 = const std::string&, typename... ArgT>
218  void set_name(ArgT0&& arg0, ArgT... args);
219  std::string* mutable_name();
220  PROTOBUF_NODISCARD std::string* release_name();
221  void set_allocated_name(std::string* name);
222  private:
223  const std::string& _internal_name() const;
224  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
225  std::string* _internal_mutable_name();
226  public:
227 
228  // string view_controller = 3;
229  void clear_view_controller();
230  const std::string& view_controller() const;
231  template <typename ArgT0 = const std::string&, typename... ArgT>
232  void set_view_controller(ArgT0&& arg0, ArgT... args);
233  std::string* mutable_view_controller();
234  PROTOBUF_NODISCARD std::string* release_view_controller();
235  void set_allocated_view_controller(std::string* view_controller);
236  private:
237  const std::string& _internal_view_controller() const;
238  inline PROTOBUF_ALWAYS_INLINE void _internal_set_view_controller(const std::string& value);
239  std::string* _internal_mutable_view_controller();
240  public:
241 
242  // string projection_type = 6;
243  void clear_projection_type();
244  const std::string& projection_type() const;
245  template <typename ArgT0 = const std::string&, typename... ArgT>
246  void set_projection_type(ArgT0&& arg0, ArgT... args);
247  std::string* mutable_projection_type();
248  PROTOBUF_NODISCARD std::string* release_projection_type();
249  void set_allocated_projection_type(std::string* projection_type);
250  private:
251  const std::string& _internal_projection_type() const;
252  inline PROTOBUF_ALWAYS_INLINE void _internal_set_projection_type(const std::string& value);
253  std::string* _internal_mutable_projection_type();
254  public:
255 
256  // .ignition.msgs.Header header = 1;
257  bool has_header() const;
258  private:
259  bool _internal_has_header() const;
260  public:
261  void clear_header();
262  const ::ignition::msgs::Header& header() const;
263  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
264  ::ignition::msgs::Header* mutable_header();
265  void set_allocated_header(::ignition::msgs::Header* header);
266  private:
267  const ::ignition::msgs::Header& _internal_header() const;
268  ::ignition::msgs::Header* _internal_mutable_header();
269  public:
270  void unsafe_arena_set_allocated_header(
271  ::ignition::msgs::Header* header);
272  ::ignition::msgs::Header* unsafe_arena_release_header();
273 
274  // .ignition.msgs.Pose pose = 4;
275  bool has_pose() const;
276  private:
277  bool _internal_has_pose() const;
278  public:
279  void clear_pose();
280  const ::ignition::msgs::Pose& pose() const;
281  PROTOBUF_NODISCARD ::ignition::msgs::Pose* release_pose();
282  ::ignition::msgs::Pose* mutable_pose();
283  void set_allocated_pose(::ignition::msgs::Pose* pose);
284  private:
285  const ::ignition::msgs::Pose& _internal_pose() const;
286  ::ignition::msgs::Pose* _internal_mutable_pose();
287  public:
288  void unsafe_arena_set_allocated_pose(
289  ::ignition::msgs::Pose* pose);
290  ::ignition::msgs::Pose* unsafe_arena_release_pose();
291 
292  // .ignition.msgs.TrackVisual track = 5;
293  bool has_track() const;
294  private:
295  bool _internal_has_track() const;
296  public:
297  void clear_track();
298  const ::ignition::msgs::TrackVisual& track() const;
299  PROTOBUF_NODISCARD ::ignition::msgs::TrackVisual* release_track();
300  ::ignition::msgs::TrackVisual* mutable_track();
301  void set_allocated_track(::ignition::msgs::TrackVisual* track);
302  private:
303  const ::ignition::msgs::TrackVisual& _internal_track() const;
304  ::ignition::msgs::TrackVisual* _internal_mutable_track();
305  public:
306  void unsafe_arena_set_allocated_track(
307  ::ignition::msgs::TrackVisual* track);
308  ::ignition::msgs::TrackVisual* unsafe_arena_release_track();
309 
310  // @@protoc_insertion_point(class_scope:ignition.msgs.GUICamera)
311  private:
312  class _Internal;
313 
314  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
315  typedef void InternalArenaConstructable_;
316  typedef void DestructorSkippable_;
317  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
318  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr view_controller_;
319  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr projection_type_;
320  ::ignition::msgs::Header* header_;
321  ::ignition::msgs::Pose* pose_;
323  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
324  friend struct ::TableStruct_ignition_2fmsgs_2fgui_5fcamera_2eproto;
325 };
326 // ===================================================================
327 
328 
329 // ===================================================================
330 
331 #ifdef __GNUC__
332  #pragma GCC diagnostic push
333  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
334 #endif // __GNUC__
335 // GUICamera
336 
337 // .ignition.msgs.Header header = 1;
338 inline bool GUICamera::_internal_has_header() const {
339  return this != internal_default_instance() && header_ != nullptr;
340 }
341 inline bool GUICamera::has_header() const {
342  return _internal_has_header();
343 }
344 inline const ::ignition::msgs::Header& GUICamera::_internal_header() const {
345  const ::ignition::msgs::Header* p = header_;
346  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
348 }
349 inline const ::ignition::msgs::Header& GUICamera::header() const {
350  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.header)
351  return _internal_header();
352 }
354  ::ignition::msgs::Header* header) {
355  if (GetArenaForAllocation() == nullptr) {
356  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
357  }
358  header_ = header;
359  if (header) {
360 
361  } else {
362 
363  }
364  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.GUICamera.header)
365 }
366 inline ::ignition::msgs::Header* GUICamera::release_header() {
367 
368  ::ignition::msgs::Header* temp = header_;
369  header_ = nullptr;
370 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
371  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
372  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
373  if (GetArenaForAllocation() == nullptr) { delete old; }
374 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
375  if (GetArenaForAllocation() != nullptr) {
376  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
377  }
378 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
379  return temp;
380 }
381 inline ::ignition::msgs::Header* GUICamera::unsafe_arena_release_header() {
382  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.header)
383 
384  ::ignition::msgs::Header* temp = header_;
385  header_ = nullptr;
386  return temp;
387 }
388 inline ::ignition::msgs::Header* GUICamera::_internal_mutable_header() {
389 
390  if (header_ == nullptr) {
391  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
392  header_ = p;
393  }
394  return header_;
395 }
396 inline ::ignition::msgs::Header* GUICamera::mutable_header() {
397  ::ignition::msgs::Header* _msg = _internal_mutable_header();
398  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.header)
399  return _msg;
400 }
402  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
403  if (message_arena == nullptr) {
404  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
405  }
406  if (header) {
407  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
408  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
409  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
410  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
411  if (message_arena != submessage_arena) {
412  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
413  message_arena, header, submessage_arena);
414  }
415 
416  } else {
417 
418  }
419  header_ = header;
420  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.header)
421 }
422 
423 // string name = 2;
424 inline void GUICamera::clear_name() {
425  name_.ClearToEmpty();
426 }
427 inline const std::string& GUICamera::name() const {
428  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.name)
429  return _internal_name();
430 }
431 template <typename ArgT0, typename... ArgT>
432 inline PROTOBUF_ALWAYS_INLINE
433 void GUICamera::set_name(ArgT0&& arg0, ArgT... args) {
434 
435  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
436  // @@protoc_insertion_point(field_set:ignition.msgs.GUICamera.name)
437 }
439  std::string* _s = _internal_mutable_name();
440  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.name)
441  return _s;
442 }
443 inline const std::string& GUICamera::_internal_name() const {
444  return name_.Get();
445 }
446 inline void GUICamera::_internal_set_name(const std::string& value) {
447 
448  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
449 }
450 inline std::string* GUICamera::_internal_mutable_name() {
451 
452  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
453 }
455  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.name)
456  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
457 }
459  if (name != nullptr) {
460 
461  } else {
462 
463  }
464  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
465  GetArenaForAllocation());
466 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
467  if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
468  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
469  }
470 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
471  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.name)
472 }
473 
474 // string view_controller = 3;
476  view_controller_.ClearToEmpty();
477 }
479  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.view_controller)
480  return _internal_view_controller();
481 }
482 template <typename ArgT0, typename... ArgT>
483 inline PROTOBUF_ALWAYS_INLINE
484 void GUICamera::set_view_controller(ArgT0&& arg0, ArgT... args) {
485 
486  view_controller_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
487  // @@protoc_insertion_point(field_set:ignition.msgs.GUICamera.view_controller)
488 }
490  std::string* _s = _internal_mutable_view_controller();
491  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.view_controller)
492  return _s;
493 }
494 inline const std::string& GUICamera::_internal_view_controller() const {
495  return view_controller_.Get();
496 }
497 inline void GUICamera::_internal_set_view_controller(const std::string& value) {
498 
499  view_controller_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
500 }
501 inline std::string* GUICamera::_internal_mutable_view_controller() {
502 
503  return view_controller_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
504 }
506  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.view_controller)
507  return view_controller_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
508 }
510  if (view_controller != nullptr) {
511 
512  } else {
513 
514  }
515  view_controller_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), view_controller,
516  GetArenaForAllocation());
517 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
518  if (view_controller_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
519  view_controller_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
520  }
521 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
522  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.view_controller)
523 }
524 
525 // .ignition.msgs.Pose pose = 4;
526 inline bool GUICamera::_internal_has_pose() const {
527  return this != internal_default_instance() && pose_ != nullptr;
528 }
529 inline bool GUICamera::has_pose() const {
530  return _internal_has_pose();
531 }
532 inline const ::ignition::msgs::Pose& GUICamera::_internal_pose() const {
533  const ::ignition::msgs::Pose* p = pose_;
534  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Pose&>(
536 }
537 inline const ::ignition::msgs::Pose& GUICamera::pose() const {
538  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.pose)
539  return _internal_pose();
540 }
542  ::ignition::msgs::Pose* pose) {
543  if (GetArenaForAllocation() == nullptr) {
544  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
545  }
546  pose_ = pose;
547  if (pose) {
548 
549  } else {
550 
551  }
552  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.GUICamera.pose)
553 }
554 inline ::ignition::msgs::Pose* GUICamera::release_pose() {
555 
556  ::ignition::msgs::Pose* temp = pose_;
557  pose_ = nullptr;
558 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
559  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
560  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
561  if (GetArenaForAllocation() == nullptr) { delete old; }
562 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
563  if (GetArenaForAllocation() != nullptr) {
564  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
565  }
566 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
567  return temp;
568 }
569 inline ::ignition::msgs::Pose* GUICamera::unsafe_arena_release_pose() {
570  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.pose)
571 
572  ::ignition::msgs::Pose* temp = pose_;
573  pose_ = nullptr;
574  return temp;
575 }
576 inline ::ignition::msgs::Pose* GUICamera::_internal_mutable_pose() {
577 
578  if (pose_ == nullptr) {
579  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaForAllocation());
580  pose_ = p;
581  }
582  return pose_;
583 }
584 inline ::ignition::msgs::Pose* GUICamera::mutable_pose() {
585  ::ignition::msgs::Pose* _msg = _internal_mutable_pose();
586  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.pose)
587  return _msg;
588 }
590  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
591  if (message_arena == nullptr) {
592  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
593  }
594  if (pose) {
595  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
596  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
597  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
598  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose));
599  if (message_arena != submessage_arena) {
600  pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
601  message_arena, pose, submessage_arena);
602  }
603 
604  } else {
605 
606  }
607  pose_ = pose;
608  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.pose)
609 }
610 
611 // .ignition.msgs.TrackVisual track = 5;
612 inline bool GUICamera::_internal_has_track() const {
613  return this != internal_default_instance() && track_ != nullptr;
614 }
615 inline bool GUICamera::has_track() const {
616  return _internal_has_track();
617 }
618 inline const ::ignition::msgs::TrackVisual& GUICamera::_internal_track() const {
619  const ::ignition::msgs::TrackVisual* p = track_;
620  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::TrackVisual&>(
622 }
623 inline const ::ignition::msgs::TrackVisual& GUICamera::track() const {
624  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.track)
625  return _internal_track();
626 }
628  ::ignition::msgs::TrackVisual* track) {
629  if (GetArenaForAllocation() == nullptr) {
630  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(track_);
631  }
632  track_ = track;
633  if (track) {
634 
635  } else {
636 
637  }
638  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.GUICamera.track)
639 }
640 inline ::ignition::msgs::TrackVisual* GUICamera::release_track() {
641 
642  ::ignition::msgs::TrackVisual* temp = track_;
643  track_ = nullptr;
644 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
645  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
646  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
647  if (GetArenaForAllocation() == nullptr) { delete old; }
648 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
649  if (GetArenaForAllocation() != nullptr) {
650  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
651  }
652 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
653  return temp;
654 }
655 inline ::ignition::msgs::TrackVisual* GUICamera::unsafe_arena_release_track() {
656  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.track)
657 
658  ::ignition::msgs::TrackVisual* temp = track_;
659  track_ = nullptr;
660  return temp;
661 }
662 inline ::ignition::msgs::TrackVisual* GUICamera::_internal_mutable_track() {
663 
664  if (track_ == nullptr) {
665  auto* p = CreateMaybeMessage<::ignition::msgs::TrackVisual>(GetArenaForAllocation());
666  track_ = p;
667  }
668  return track_;
669 }
670 inline ::ignition::msgs::TrackVisual* GUICamera::mutable_track() {
671  ::ignition::msgs::TrackVisual* _msg = _internal_mutable_track();
672  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.track)
673  return _msg;
674 }
676  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
677  if (message_arena == nullptr) {
678  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(track_);
679  }
680  if (track) {
681  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
682  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
683  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
684  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(track));
685  if (message_arena != submessage_arena) {
686  track = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
687  message_arena, track, submessage_arena);
688  }
689 
690  } else {
691 
692  }
693  track_ = track;
694  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.track)
695 }
696 
697 // string projection_type = 6;
699  projection_type_.ClearToEmpty();
700 }
702  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.projection_type)
703  return _internal_projection_type();
704 }
705 template <typename ArgT0, typename... ArgT>
706 inline PROTOBUF_ALWAYS_INLINE
707 void GUICamera::set_projection_type(ArgT0&& arg0, ArgT... args) {
708 
709  projection_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
710  // @@protoc_insertion_point(field_set:ignition.msgs.GUICamera.projection_type)
711 }
713  std::string* _s = _internal_mutable_projection_type();
714  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.projection_type)
715  return _s;
716 }
717 inline const std::string& GUICamera::_internal_projection_type() const {
718  return projection_type_.Get();
719 }
720 inline void GUICamera::_internal_set_projection_type(const std::string& value) {
721 
722  projection_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
723 }
724 inline std::string* GUICamera::_internal_mutable_projection_type() {
725 
726  return projection_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
727 }
729  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.projection_type)
730  return projection_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
731 }
733  if (projection_type != nullptr) {
734 
735  } else {
736 
737  }
738  projection_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), projection_type,
739  GetArenaForAllocation());
740 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
741  if (projection_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
742  projection_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
743  }
744 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
745  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.projection_type)
746 }
747 
748 #ifdef __GNUC__
749  #pragma GCC diagnostic pop
750 #endif // __GNUC__
751 
756 // @@protoc_insertion_point(namespace_scope)
757 
758 } // namespace msgs
759 } // namespace ignition
760 
761 #ifdef _MSC_VER
762 #pragma warning(pop)
763 #endif
764 // @@protoc_insertion_point(global_scope)
765 
766 #include <google/protobuf/port_undef.inc>
767 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_5fcamera_2eproto
Definition: gui_camera.pb.h:86
const ::ignition::msgs::Pose & pose() const
Definition: gui_camera.pb.h:537
GUICamera(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const GUICamera &from)
static const GUICamera * internal_default_instance()
Definition: gui_camera.pb.h:128
void set_allocated_projection_type(std::string *projection_type)
Definition: gui_camera.pb.h:732
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: gui_camera.pb.h:122
bool has_header() const
Definition: gui_camera.pb.h:341
::ignition::msgs::Pose * unsafe_arena_release_pose()
Definition: gui_camera.pb.h:569
GUICamera(GUICamera &&from) noexcept
Definition: gui_camera.pb.h:93
::ignition::msgs::Header * mutable_header()
Definition: gui_camera.pb.h:396
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::TrackVisual * mutable_track()
Definition: gui_camera.pb.h:670
PROTOBUF_NODISCARD std::string * release_name()
Definition: gui_camera.pb.h:454
void set_allocated_view_controller(std::string *view_controller)
Definition: gui_camera.pb.h:509
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: gui_camera.pb.h:541
bool has_track() const
Definition: gui_camera.pb.h:615
const std::string & name() const
Definition: gui_camera.pb.h:427
void set_view_controller(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: gui_camera.pb.h:116
PROTOBUF_NODISCARD std::string * release_view_controller()
Definition: gui_camera.pb.h:505
friend void swap(GUICamera &a, GUICamera &b)
Definition: gui_camera.pb.h:135
void clear_name()
Definition: gui_camera.pb.h:424
GUICamera & operator=(GUICamera &&from) noexcept
Definition: gui_camera.pb.h:102
std::string * mutable_view_controller()
Definition: gui_camera.pb.h:489
static const GUICamera & default_instance()
Definition: gui_camera.pb.h:125
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: gui_camera.pb.h:353
void UnsafeArenaSwap(GUICamera *other)
Definition: gui_camera.pb.h:151
void set_projection_type(ArgT0 &&arg0, ArgT... args)
void set_name(ArgT0 &&arg0, ArgT... args)
bool has_pose() const
Definition: gui_camera.pb.h:529
GUICamera * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: gui_camera.pb.h:159
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: gui_camera.pb.h:589
void Swap(GUICamera *other)
Definition: gui_camera.pb.h:138
const std::string & view_controller() const
Definition: gui_camera.pb.h:478
void set_allocated_header(::ignition::msgs::Header *header)
Definition: gui_camera.pb.h:401
void clear_projection_type()
Definition: gui_camera.pb.h:698
::ignition::msgs::Pose * mutable_pose()
Definition: gui_camera.pb.h:584
GUICamera & operator=(const GUICamera &from)
Definition: gui_camera.pb.h:98
std::string * mutable_projection_type()
Definition: gui_camera.pb.h:712
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: gui_camera.pb.h:366
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const std::string & projection_type() const
Definition: gui_camera.pb.h:701
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: gui_camera.pb.h:119
const ::ignition::msgs::TrackVisual & track() const
Definition: gui_camera.pb.h:623
const ::ignition::msgs::Header & header() const
Definition: gui_camera.pb.h:349
::ignition::msgs::TrackVisual * unsafe_arena_release_track()
Definition: gui_camera.pb.h:655
std::string * mutable_name()
Definition: gui_camera.pb.h:438
PROTOBUF_NODISCARD ::ignition::msgs::TrackVisual * release_track()
Definition: gui_camera.pb.h:640
constexpr GUICamera(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD ::ignition::msgs::Pose * release_pose()
Definition: gui_camera.pb.h:554
static const ClassData _class_data_
Definition: gui_camera.pb.h:197
void clear_view_controller()
Definition: gui_camera.pb.h:475
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: gui_camera.pb.h:381
void set_allocated_track(::ignition::msgs::TrackVisual *track)
Definition: gui_camera.pb.h:675
void set_allocated_name(std::string *name)
Definition: gui_camera.pb.h:458
PROTOBUF_NODISCARD std::string * release_projection_type()
Definition: gui_camera.pb.h:728
GUICamera()
Definition: gui_camera.pb.h:88
GUICamera(const GUICamera &from)
void unsafe_arena_set_allocated_track(::ignition::msgs::TrackVisual *track)
Definition: gui_camera.pb.h:627
void MergeFrom(const GUICamera &from)
Definition: header.pb.h:265
Definition: pose.pb.h:86
Definition: track_visual.pb.h:85
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgui_5fcamera_2eproto
std::unique_ptr< GUICamera > GUICameraUniquePtr
Definition: gui_camera.pb.h:752
std::unique_ptr< const GUICamera > ConstGUICameraUniquePtr
Definition: gui_camera.pb.h:753
IGNITION_MSGS_VISIBLE GUICameraDefaultTypeInternal _GUICamera_default_instance_
IGNITION_MSGS_VISIBLE TrackVisualDefaultTypeInternal _TrackVisual_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< GUICamera > GUICameraSharedPtr
Definition: gui_camera.pb.h:754
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::shared_ptr< const GUICamera > ConstGUICameraSharedPtr
Definition: gui_camera.pb.h:755
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
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)