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