Gazebo Msgs

API Reference

9.5.0
track_visual.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/track_visual.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2ftrack_5fvisual_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2ftrack_5fvisual_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "gz/msgs/vector3d.pb.h"
34 #include "gz/msgs/header.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2ftrack_5fvisual_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[1];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2ftrack_5fvisual_2eproto
50 namespace gz {
51 namespace msgs {
52 class TrackVisual;
53 class TrackVisualDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern TrackVisualDefaultTypeInternal _TrackVisual_default_instance_;
55 } // namespace msgs
56 } // namespace gz
57 namespace google {
58 namespace protobuf {
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::TrackVisual* Arena::CreateMaybeMessage<::gz::msgs::TrackVisual>(Arena*);
60 } // namespace protobuf
61 } // namespace google
62 namespace gz {
63 namespace msgs {
64 
65 // ===================================================================
66 
67 class GZ_MSGS_VISIBLE TrackVisual : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.TrackVisual) */ {
68  public:
69  TrackVisual();
70  virtual ~TrackVisual();
71 
72  TrackVisual(const TrackVisual& from);
73 
74  inline TrackVisual& operator=(const TrackVisual& from) {
75  CopyFrom(from);
76  return *this;
77  }
78  #if LANG_CXX11
79  TrackVisual(TrackVisual&& from) noexcept
80  : TrackVisual() {
81  *this = ::std::move(from);
82  }
83 
84  inline TrackVisual& operator=(TrackVisual&& from) noexcept {
85  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
86  if (this != &from) InternalSwap(&from);
87  } else {
88  CopyFrom(from);
89  }
90  return *this;
91  }
92  #endif
93  static const ::google::protobuf::Descriptor* descriptor();
94  static const TrackVisual& default_instance();
95 
96  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
97  static inline const TrackVisual* internal_default_instance() {
98  return reinterpret_cast<const TrackVisual*>(
100  }
101  static constexpr int kIndexInFileMessages =
102  0;
103 
104  void Swap(TrackVisual* other);
105  friend void swap(TrackVisual& a, TrackVisual& b) {
106  a.Swap(&b);
107  }
108 
109  // implements Message ----------------------------------------------
110 
111  inline TrackVisual* New() const final {
112  return CreateMaybeMessage<TrackVisual>(NULL);
113  }
114 
115  TrackVisual* New(::google::protobuf::Arena* arena) const final {
116  return CreateMaybeMessage<TrackVisual>(arena);
117  }
118  void CopyFrom(const ::google::protobuf::Message& from) final;
119  void MergeFrom(const ::google::protobuf::Message& from) final;
120  void CopyFrom(const TrackVisual& from);
121  void MergeFrom(const TrackVisual& from);
122  void Clear() final;
123  bool IsInitialized() const final;
124 
125  size_t ByteSizeLong() const final;
126  bool MergePartialFromCodedStream(
127  ::google::protobuf::io::CodedInputStream* input) final;
128  void SerializeWithCachedSizes(
129  ::google::protobuf::io::CodedOutputStream* output) const final;
130  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
131  bool deterministic, ::google::protobuf::uint8* target) const final;
132  int GetCachedSize() const final { return _cached_size_.Get(); }
133 
134  private:
135  void SharedCtor();
136  void SharedDtor();
137  void SetCachedSize(int size) const final;
138  void InternalSwap(TrackVisual* other);
139  private:
140  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
141  return NULL;
142  }
143  inline void* MaybeArenaPtr() const {
144  return NULL;
145  }
146  public:
147 
148  ::google::protobuf::Metadata GetMetadata() const final;
149 
150  // nested types ----------------------------------------------------
151 
152  // accessors -------------------------------------------------------
153 
154  // string name = 2;
155  void clear_name();
156  static const int kNameFieldNumber = 2;
157  const ::std::string& name() const;
158  void set_name(const ::std::string& value);
159  #if LANG_CXX11
160  void set_name(::std::string&& value);
161  #endif
162  void set_name(const char* value);
163  void set_name(const char* value, size_t size);
164  ::std::string* mutable_name();
165  ::std::string* release_name();
166  void set_allocated_name(::std::string* name);
167 
168  // .gz.msgs.Header header = 1;
169  bool has_header() const;
170  void clear_header();
171  static const int kHeaderFieldNumber = 1;
172  private:
173  const ::gz::msgs::Header& _internal_header() const;
174  public:
175  const ::gz::msgs::Header& header() const;
176  ::gz::msgs::Header* release_header();
177  ::gz::msgs::Header* mutable_header();
178  void set_allocated_header(::gz::msgs::Header* header);
179 
180  // .gz.msgs.Vector3d xyz = 9;
181  bool has_xyz() const;
182  void clear_xyz();
183  static const int kXyzFieldNumber = 9;
184  private:
185  const ::gz::msgs::Vector3d& _internal_xyz() const;
186  public:
187  const ::gz::msgs::Vector3d& xyz() const;
188  ::gz::msgs::Vector3d* release_xyz();
189  ::gz::msgs::Vector3d* mutable_xyz();
190  void set_allocated_xyz(::gz::msgs::Vector3d* xyz);
191 
192  // double min_dist = 5;
193  void clear_min_dist();
194  static const int kMinDistFieldNumber = 5;
195  double min_dist() const;
196  void set_min_dist(double value);
197 
198  // double max_dist = 6;
199  void clear_max_dist();
200  static const int kMaxDistFieldNumber = 6;
201  double max_dist() const;
202  void set_max_dist(double value);
203 
204  // uint32 id = 3;
205  void clear_id();
206  static const int kIdFieldNumber = 3;
207  ::google::protobuf::uint32 id() const;
208  void set_id(::google::protobuf::uint32 value);
209 
210  // bool inherit_orientation = 4;
211  void clear_inherit_orientation();
212  static const int kInheritOrientationFieldNumber = 4;
213  bool inherit_orientation() const;
214  void set_inherit_orientation(bool value);
215 
216  // bool static = 7;
217  void clear_static_();
218  static const int kStaticFieldNumber = 7;
219  bool static_() const;
220  void set_static_(bool value);
221 
222  // bool use_model_frame = 8;
223  void clear_use_model_frame();
224  static const int kUseModelFrameFieldNumber = 8;
225  bool use_model_frame() const;
226  void set_use_model_frame(bool value);
227 
228  // bool inherit_yaw = 10;
229  void clear_inherit_yaw();
230  static const int kInheritYawFieldNumber = 10;
231  bool inherit_yaw() const;
232  void set_inherit_yaw(bool value);
233 
234  // @@protoc_insertion_point(class_scope:gz.msgs.TrackVisual)
235  private:
236 
237  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
238  ::google::protobuf::internal::ArenaStringPtr name_;
239  ::gz::msgs::Header* header_;
240  ::gz::msgs::Vector3d* xyz_;
241  double min_dist_;
242  double max_dist_;
243  ::google::protobuf::uint32 id_;
244  bool inherit_orientation_;
245  bool static__;
246  bool use_model_frame_;
247  bool inherit_yaw_;
248  mutable ::google::protobuf::internal::CachedSize _cached_size_;
249  friend struct ::protobuf_gz_2fmsgs_2ftrack_5fvisual_2eproto::TableStruct;
250 };
251 // ===================================================================
252 
253 
254 // ===================================================================
255 
256 #ifdef __GNUC__
257  #pragma GCC diagnostic push
258  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
259 #endif // __GNUC__
260 // TrackVisual
261 
262 // .gz.msgs.Header header = 1;
263 inline bool TrackVisual::has_header() const {
264  return this != internal_default_instance() && header_ != NULL;
265 }
266 inline const ::gz::msgs::Header& TrackVisual::_internal_header() const {
267  return *header_;
268 }
269 inline const ::gz::msgs::Header& TrackVisual::header() const {
270  const ::gz::msgs::Header* p = header_;
271  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.header)
272  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
274 }
275 inline ::gz::msgs::Header* TrackVisual::release_header() {
276  // @@protoc_insertion_point(field_release:gz.msgs.TrackVisual.header)
277 
278  ::gz::msgs::Header* temp = header_;
279  header_ = NULL;
280  return temp;
281 }
282 inline ::gz::msgs::Header* TrackVisual::mutable_header() {
283 
284  if (header_ == NULL) {
285  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
286  header_ = p;
287  }
288  // @@protoc_insertion_point(field_mutable:gz.msgs.TrackVisual.header)
289  return header_;
290 }
292  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
293  if (message_arena == NULL) {
294  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
295  }
296  if (header) {
297  ::google::protobuf::Arena* submessage_arena = NULL;
298  if (message_arena != submessage_arena) {
299  header = ::google::protobuf::internal::GetOwnedMessage(
300  message_arena, header, submessage_arena);
301  }
302 
303  } else {
304 
305  }
306  header_ = header;
307  // @@protoc_insertion_point(field_set_allocated:gz.msgs.TrackVisual.header)
308 }
309 
310 // string name = 2;
311 inline void TrackVisual::clear_name() {
312  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
313 }
314 inline const ::std::string& TrackVisual::name() const {
315  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.name)
316  return name_.GetNoArena();
317 }
318 inline void TrackVisual::set_name(const ::std::string& value) {
319 
320  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
321  // @@protoc_insertion_point(field_set:gz.msgs.TrackVisual.name)
322 }
323 #if LANG_CXX11
324 inline void TrackVisual::set_name(::std::string&& value) {
325 
326  name_.SetNoArena(
327  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
328  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.TrackVisual.name)
329 }
330 #endif
331 inline void TrackVisual::set_name(const char* value) {
332  GOOGLE_DCHECK(value != NULL);
333 
334  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
335  // @@protoc_insertion_point(field_set_char:gz.msgs.TrackVisual.name)
336 }
337 inline void TrackVisual::set_name(const char* value, size_t size) {
338 
339  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
340  ::std::string(reinterpret_cast<const char*>(value), size));
341  // @@protoc_insertion_point(field_set_pointer:gz.msgs.TrackVisual.name)
342 }
343 inline ::std::string* TrackVisual::mutable_name() {
344 
345  // @@protoc_insertion_point(field_mutable:gz.msgs.TrackVisual.name)
346  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
347 }
348 inline ::std::string* TrackVisual::release_name() {
349  // @@protoc_insertion_point(field_release:gz.msgs.TrackVisual.name)
350 
351  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
352 }
354  if (name != NULL) {
355 
356  } else {
357 
358  }
359  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
360  // @@protoc_insertion_point(field_set_allocated:gz.msgs.TrackVisual.name)
361 }
362 
363 // uint32 id = 3;
364 inline void TrackVisual::clear_id() {
365  id_ = 0u;
366 }
367 inline ::google::protobuf::uint32 TrackVisual::id() const {
368  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.id)
369  return id_;
370 }
371 inline void TrackVisual::set_id(::google::protobuf::uint32 value) {
372 
373  id_ = value;
374  // @@protoc_insertion_point(field_set:gz.msgs.TrackVisual.id)
375 }
376 
377 // bool inherit_orientation = 4;
379  inherit_orientation_ = false;
380 }
381 inline bool TrackVisual::inherit_orientation() const {
382  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.inherit_orientation)
383  return inherit_orientation_;
384 }
385 inline void TrackVisual::set_inherit_orientation(bool value) {
386 
387  inherit_orientation_ = value;
388  // @@protoc_insertion_point(field_set:gz.msgs.TrackVisual.inherit_orientation)
389 }
390 
391 // double min_dist = 5;
393  min_dist_ = 0;
394 }
395 inline double TrackVisual::min_dist() const {
396  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.min_dist)
397  return min_dist_;
398 }
399 inline void TrackVisual::set_min_dist(double value) {
400 
401  min_dist_ = value;
402  // @@protoc_insertion_point(field_set:gz.msgs.TrackVisual.min_dist)
403 }
404 
405 // double max_dist = 6;
407  max_dist_ = 0;
408 }
409 inline double TrackVisual::max_dist() const {
410  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.max_dist)
411  return max_dist_;
412 }
413 inline void TrackVisual::set_max_dist(double value) {
414 
415  max_dist_ = value;
416  // @@protoc_insertion_point(field_set:gz.msgs.TrackVisual.max_dist)
417 }
418 
419 // bool static = 7;
421  static__ = false;
422 }
423 inline bool TrackVisual::static_() const {
424  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.static)
425  return static__;
426 }
427 inline void TrackVisual::set_static_(bool value) {
428 
429  static__ = value;
430  // @@protoc_insertion_point(field_set:gz.msgs.TrackVisual.static)
431 }
432 
433 // bool use_model_frame = 8;
435  use_model_frame_ = false;
436 }
437 inline bool TrackVisual::use_model_frame() const {
438  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.use_model_frame)
439  return use_model_frame_;
440 }
441 inline void TrackVisual::set_use_model_frame(bool value) {
442 
443  use_model_frame_ = value;
444  // @@protoc_insertion_point(field_set:gz.msgs.TrackVisual.use_model_frame)
445 }
446 
447 // .gz.msgs.Vector3d xyz = 9;
448 inline bool TrackVisual::has_xyz() const {
449  return this != internal_default_instance() && xyz_ != NULL;
450 }
451 inline const ::gz::msgs::Vector3d& TrackVisual::_internal_xyz() const {
452  return *xyz_;
453 }
454 inline const ::gz::msgs::Vector3d& TrackVisual::xyz() const {
455  const ::gz::msgs::Vector3d* p = xyz_;
456  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.xyz)
457  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
459 }
460 inline ::gz::msgs::Vector3d* TrackVisual::release_xyz() {
461  // @@protoc_insertion_point(field_release:gz.msgs.TrackVisual.xyz)
462 
463  ::gz::msgs::Vector3d* temp = xyz_;
464  xyz_ = NULL;
465  return temp;
466 }
467 inline ::gz::msgs::Vector3d* TrackVisual::mutable_xyz() {
468 
469  if (xyz_ == NULL) {
470  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
471  xyz_ = p;
472  }
473  // @@protoc_insertion_point(field_mutable:gz.msgs.TrackVisual.xyz)
474  return xyz_;
475 }
477  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
478  if (message_arena == NULL) {
479  delete reinterpret_cast< ::google::protobuf::MessageLite*>(xyz_);
480  }
481  if (xyz) {
482  ::google::protobuf::Arena* submessage_arena = NULL;
483  if (message_arena != submessage_arena) {
484  xyz = ::google::protobuf::internal::GetOwnedMessage(
485  message_arena, xyz, submessage_arena);
486  }
487 
488  } else {
489 
490  }
491  xyz_ = xyz;
492  // @@protoc_insertion_point(field_set_allocated:gz.msgs.TrackVisual.xyz)
493 }
494 
495 // bool inherit_yaw = 10;
497  inherit_yaw_ = false;
498 }
499 inline bool TrackVisual::inherit_yaw() const {
500  // @@protoc_insertion_point(field_get:gz.msgs.TrackVisual.inherit_yaw)
501  return inherit_yaw_;
502 }
503 inline void TrackVisual::set_inherit_yaw(bool value) {
504 
505  inherit_yaw_ = value;
506  // @@protoc_insertion_point(field_set:gz.msgs.TrackVisual.inherit_yaw)
507 }
508 
509 #ifdef __GNUC__
510  #pragma GCC diagnostic pop
511 #endif // __GNUC__
512 
513 // @@protoc_insertion_point(namespace_scope)
514 
515 } // namespace msgs
516 } // namespace gz
517 
518 // @@protoc_insertion_point(global_scope)
519 
520 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2ftrack_5fvisual_2eproto