Ignition Msgs

API Reference

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