Gazebo Msgs

API Reference

9.5.1
gui_camera.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/gui_camera.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fgui_5fcamera_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fgui_5fcamera_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/pose.pb.h"
34 #include "gz/msgs/track_visual.pb.h"
35 #include "gz/msgs/header.pb.h"
36 // @@protoc_insertion_point(includes)
37 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fgui_5fcamera_2eproto GZ_MSGS_VISIBLE
38 
40 // Internal implementation detail -- do not use these members.
41 struct GZ_MSGS_VISIBLE TableStruct {
42  static const ::google::protobuf::internal::ParseTableField entries[];
43  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
44  static const ::google::protobuf::internal::ParseTable schema[1];
45  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
46  static const ::google::protobuf::internal::SerializationTable serialization_table[];
47  static const ::google::protobuf::uint32 offsets[];
48 };
49 void GZ_MSGS_VISIBLE AddDescriptors();
50 } // namespace protobuf_gz_2fmsgs_2fgui_5fcamera_2eproto
51 namespace gz {
52 namespace msgs {
53 class GUICamera;
54 class GUICameraDefaultTypeInternal;
55 GZ_MSGS_VISIBLE extern GUICameraDefaultTypeInternal _GUICamera_default_instance_;
56 } // namespace msgs
57 } // namespace gz
58 namespace google {
59 namespace protobuf {
60 template<> GZ_MSGS_VISIBLE ::gz::msgs::GUICamera* Arena::CreateMaybeMessage<::gz::msgs::GUICamera>(Arena*);
61 } // namespace protobuf
62 } // namespace google
63 namespace gz {
64 namespace msgs {
65 
66 // ===================================================================
67 
68 class GZ_MSGS_VISIBLE GUICamera : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.GUICamera) */ {
69  public:
70  GUICamera();
71  virtual ~GUICamera();
72 
73  GUICamera(const GUICamera& from);
74 
75  inline GUICamera& operator=(const GUICamera& from) {
76  CopyFrom(from);
77  return *this;
78  }
79  #if LANG_CXX11
80  GUICamera(GUICamera&& from) noexcept
81  : GUICamera() {
82  *this = ::std::move(from);
83  }
84 
85  inline GUICamera& operator=(GUICamera&& from) noexcept {
86  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
87  if (this != &from) InternalSwap(&from);
88  } else {
89  CopyFrom(from);
90  }
91  return *this;
92  }
93  #endif
94  static const ::google::protobuf::Descriptor* descriptor();
95  static const GUICamera& default_instance();
96 
97  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
98  static inline const GUICamera* internal_default_instance() {
99  return reinterpret_cast<const GUICamera*>(
101  }
102  static constexpr int kIndexInFileMessages =
103  0;
104 
105  void Swap(GUICamera* other);
106  friend void swap(GUICamera& a, GUICamera& b) {
107  a.Swap(&b);
108  }
109 
110  // implements Message ----------------------------------------------
111 
112  inline GUICamera* New() const final {
113  return CreateMaybeMessage<GUICamera>(NULL);
114  }
115 
116  GUICamera* New(::google::protobuf::Arena* arena) const final {
117  return CreateMaybeMessage<GUICamera>(arena);
118  }
119  void CopyFrom(const ::google::protobuf::Message& from) final;
120  void MergeFrom(const ::google::protobuf::Message& from) final;
121  void CopyFrom(const GUICamera& from);
122  void MergeFrom(const GUICamera& from);
123  void Clear() final;
124  bool IsInitialized() const final;
125 
126  size_t ByteSizeLong() const final;
127  bool MergePartialFromCodedStream(
128  ::google::protobuf::io::CodedInputStream* input) final;
129  void SerializeWithCachedSizes(
130  ::google::protobuf::io::CodedOutputStream* output) const final;
131  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
132  bool deterministic, ::google::protobuf::uint8* target) const final;
133  int GetCachedSize() const final { return _cached_size_.Get(); }
134 
135  private:
136  void SharedCtor();
137  void SharedDtor();
138  void SetCachedSize(int size) const final;
139  void InternalSwap(GUICamera* other);
140  private:
141  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
142  return NULL;
143  }
144  inline void* MaybeArenaPtr() const {
145  return NULL;
146  }
147  public:
148 
149  ::google::protobuf::Metadata GetMetadata() const final;
150 
151  // nested types ----------------------------------------------------
152 
153  // accessors -------------------------------------------------------
154 
155  // string name = 2;
156  void clear_name();
157  static const int kNameFieldNumber = 2;
158  const ::std::string& name() const;
159  void set_name(const ::std::string& value);
160  #if LANG_CXX11
161  void set_name(::std::string&& value);
162  #endif
163  void set_name(const char* value);
164  void set_name(const char* value, size_t size);
165  ::std::string* mutable_name();
166  ::std::string* release_name();
167  void set_allocated_name(::std::string* name);
168 
169  // string view_controller = 3;
170  void clear_view_controller();
171  static const int kViewControllerFieldNumber = 3;
172  const ::std::string& view_controller() const;
173  void set_view_controller(const ::std::string& value);
174  #if LANG_CXX11
175  void set_view_controller(::std::string&& value);
176  #endif
177  void set_view_controller(const char* value);
178  void set_view_controller(const char* value, size_t size);
179  ::std::string* mutable_view_controller();
180  ::std::string* release_view_controller();
181  void set_allocated_view_controller(::std::string* view_controller);
182 
183  // string projection_type = 6;
184  void clear_projection_type();
185  static const int kProjectionTypeFieldNumber = 6;
186  const ::std::string& projection_type() const;
187  void set_projection_type(const ::std::string& value);
188  #if LANG_CXX11
189  void set_projection_type(::std::string&& value);
190  #endif
191  void set_projection_type(const char* value);
192  void set_projection_type(const char* value, size_t size);
193  ::std::string* mutable_projection_type();
194  ::std::string* release_projection_type();
195  void set_allocated_projection_type(::std::string* projection_type);
196 
197  // .gz.msgs.Header header = 1;
198  bool has_header() const;
199  void clear_header();
200  static const int kHeaderFieldNumber = 1;
201  private:
202  const ::gz::msgs::Header& _internal_header() const;
203  public:
204  const ::gz::msgs::Header& header() const;
205  ::gz::msgs::Header* release_header();
206  ::gz::msgs::Header* mutable_header();
207  void set_allocated_header(::gz::msgs::Header* header);
208 
209  // .gz.msgs.Pose pose = 4;
210  bool has_pose() const;
211  void clear_pose();
212  static const int kPoseFieldNumber = 4;
213  private:
214  const ::gz::msgs::Pose& _internal_pose() const;
215  public:
216  const ::gz::msgs::Pose& pose() const;
217  ::gz::msgs::Pose* release_pose();
218  ::gz::msgs::Pose* mutable_pose();
219  void set_allocated_pose(::gz::msgs::Pose* pose);
220 
221  // .gz.msgs.TrackVisual track = 5;
222  bool has_track() const;
223  void clear_track();
224  static const int kTrackFieldNumber = 5;
225  private:
226  const ::gz::msgs::TrackVisual& _internal_track() const;
227  public:
228  const ::gz::msgs::TrackVisual& track() const;
229  ::gz::msgs::TrackVisual* release_track();
230  ::gz::msgs::TrackVisual* mutable_track();
231  void set_allocated_track(::gz::msgs::TrackVisual* track);
232 
233  // @@protoc_insertion_point(class_scope:gz.msgs.GUICamera)
234  private:
235 
236  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
237  ::google::protobuf::internal::ArenaStringPtr name_;
238  ::google::protobuf::internal::ArenaStringPtr view_controller_;
239  ::google::protobuf::internal::ArenaStringPtr projection_type_;
240  ::gz::msgs::Header* header_;
241  ::gz::msgs::Pose* pose_;
242  ::gz::msgs::TrackVisual* track_;
243  mutable ::google::protobuf::internal::CachedSize _cached_size_;
244  friend struct ::protobuf_gz_2fmsgs_2fgui_5fcamera_2eproto::TableStruct;
245 };
246 // ===================================================================
247 
248 
249 // ===================================================================
250 
251 #ifdef __GNUC__
252  #pragma GCC diagnostic push
253  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
254 #endif // __GNUC__
255 // GUICamera
256 
257 // .gz.msgs.Header header = 1;
258 inline bool GUICamera::has_header() const {
259  return this != internal_default_instance() && header_ != NULL;
260 }
261 inline const ::gz::msgs::Header& GUICamera::_internal_header() const {
262  return *header_;
263 }
264 inline const ::gz::msgs::Header& GUICamera::header() const {
265  const ::gz::msgs::Header* p = header_;
266  // @@protoc_insertion_point(field_get:gz.msgs.GUICamera.header)
267  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
269 }
270 inline ::gz::msgs::Header* GUICamera::release_header() {
271  // @@protoc_insertion_point(field_release:gz.msgs.GUICamera.header)
272 
273  ::gz::msgs::Header* temp = header_;
274  header_ = NULL;
275  return temp;
276 }
277 inline ::gz::msgs::Header* GUICamera::mutable_header() {
278 
279  if (header_ == NULL) {
280  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
281  header_ = p;
282  }
283  // @@protoc_insertion_point(field_mutable:gz.msgs.GUICamera.header)
284  return header_;
285 }
287  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
288  if (message_arena == NULL) {
289  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
290  }
291  if (header) {
292  ::google::protobuf::Arena* submessage_arena = NULL;
293  if (message_arena != submessage_arena) {
294  header = ::google::protobuf::internal::GetOwnedMessage(
295  message_arena, header, submessage_arena);
296  }
297 
298  } else {
299 
300  }
301  header_ = header;
302  // @@protoc_insertion_point(field_set_allocated:gz.msgs.GUICamera.header)
303 }
304 
305 // string name = 2;
306 inline void GUICamera::clear_name() {
307  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
308 }
309 inline const ::std::string& GUICamera::name() const {
310  // @@protoc_insertion_point(field_get:gz.msgs.GUICamera.name)
311  return name_.GetNoArena();
312 }
313 inline void GUICamera::set_name(const ::std::string& value) {
314 
315  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
316  // @@protoc_insertion_point(field_set:gz.msgs.GUICamera.name)
317 }
318 #if LANG_CXX11
319 inline void GUICamera::set_name(::std::string&& value) {
320 
321  name_.SetNoArena(
322  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
323  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.GUICamera.name)
324 }
325 #endif
326 inline void GUICamera::set_name(const char* value) {
327  GOOGLE_DCHECK(value != NULL);
328 
329  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
330  // @@protoc_insertion_point(field_set_char:gz.msgs.GUICamera.name)
331 }
332 inline void GUICamera::set_name(const char* value, size_t size) {
333 
334  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
335  ::std::string(reinterpret_cast<const char*>(value), size));
336  // @@protoc_insertion_point(field_set_pointer:gz.msgs.GUICamera.name)
337 }
338 inline ::std::string* GUICamera::mutable_name() {
339 
340  // @@protoc_insertion_point(field_mutable:gz.msgs.GUICamera.name)
341  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
342 }
343 inline ::std::string* GUICamera::release_name() {
344  // @@protoc_insertion_point(field_release:gz.msgs.GUICamera.name)
345 
346  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
347 }
349  if (name != NULL) {
350 
351  } else {
352 
353  }
354  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
355  // @@protoc_insertion_point(field_set_allocated:gz.msgs.GUICamera.name)
356 }
357 
358 // string view_controller = 3;
360  view_controller_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
361 }
362 inline const ::std::string& GUICamera::view_controller() const {
363  // @@protoc_insertion_point(field_get:gz.msgs.GUICamera.view_controller)
364  return view_controller_.GetNoArena();
365 }
366 inline void GUICamera::set_view_controller(const ::std::string& value) {
367 
368  view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
369  // @@protoc_insertion_point(field_set:gz.msgs.GUICamera.view_controller)
370 }
371 #if LANG_CXX11
372 inline void GUICamera::set_view_controller(::std::string&& value) {
373 
374  view_controller_.SetNoArena(
375  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
376  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.GUICamera.view_controller)
377 }
378 #endif
379 inline void GUICamera::set_view_controller(const char* value) {
380  GOOGLE_DCHECK(value != NULL);
381 
382  view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
383  // @@protoc_insertion_point(field_set_char:gz.msgs.GUICamera.view_controller)
384 }
385 inline void GUICamera::set_view_controller(const char* value, size_t size) {
386 
387  view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
388  ::std::string(reinterpret_cast<const char*>(value), size));
389  // @@protoc_insertion_point(field_set_pointer:gz.msgs.GUICamera.view_controller)
390 }
391 inline ::std::string* GUICamera::mutable_view_controller() {
392 
393  // @@protoc_insertion_point(field_mutable:gz.msgs.GUICamera.view_controller)
394  return view_controller_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
395 }
396 inline ::std::string* GUICamera::release_view_controller() {
397  // @@protoc_insertion_point(field_release:gz.msgs.GUICamera.view_controller)
398 
399  return view_controller_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
400 }
401 inline void GUICamera::set_allocated_view_controller(::std::string* view_controller) {
402  if (view_controller != NULL) {
403 
404  } else {
405 
406  }
407  view_controller_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), view_controller);
408  // @@protoc_insertion_point(field_set_allocated:gz.msgs.GUICamera.view_controller)
409 }
410 
411 // .gz.msgs.Pose pose = 4;
412 inline bool GUICamera::has_pose() const {
413  return this != internal_default_instance() && pose_ != NULL;
414 }
415 inline const ::gz::msgs::Pose& GUICamera::_internal_pose() const {
416  return *pose_;
417 }
418 inline const ::gz::msgs::Pose& GUICamera::pose() const {
419  const ::gz::msgs::Pose* p = pose_;
420  // @@protoc_insertion_point(field_get:gz.msgs.GUICamera.pose)
421  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
423 }
424 inline ::gz::msgs::Pose* GUICamera::release_pose() {
425  // @@protoc_insertion_point(field_release:gz.msgs.GUICamera.pose)
426 
427  ::gz::msgs::Pose* temp = pose_;
428  pose_ = NULL;
429  return temp;
430 }
431 inline ::gz::msgs::Pose* GUICamera::mutable_pose() {
432 
433  if (pose_ == NULL) {
434  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
435  pose_ = p;
436  }
437  // @@protoc_insertion_point(field_mutable:gz.msgs.GUICamera.pose)
438  return pose_;
439 }
441  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
442  if (message_arena == NULL) {
443  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
444  }
445  if (pose) {
446  ::google::protobuf::Arena* submessage_arena = NULL;
447  if (message_arena != submessage_arena) {
448  pose = ::google::protobuf::internal::GetOwnedMessage(
449  message_arena, pose, submessage_arena);
450  }
451 
452  } else {
453 
454  }
455  pose_ = pose;
456  // @@protoc_insertion_point(field_set_allocated:gz.msgs.GUICamera.pose)
457 }
458 
459 // .gz.msgs.TrackVisual track = 5;
460 inline bool GUICamera::has_track() const {
461  return this != internal_default_instance() && track_ != NULL;
462 }
463 inline const ::gz::msgs::TrackVisual& GUICamera::_internal_track() const {
464  return *track_;
465 }
466 inline const ::gz::msgs::TrackVisual& GUICamera::track() const {
467  const ::gz::msgs::TrackVisual* p = track_;
468  // @@protoc_insertion_point(field_get:gz.msgs.GUICamera.track)
469  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::TrackVisual*>(
471 }
472 inline ::gz::msgs::TrackVisual* GUICamera::release_track() {
473  // @@protoc_insertion_point(field_release:gz.msgs.GUICamera.track)
474 
475  ::gz::msgs::TrackVisual* temp = track_;
476  track_ = NULL;
477  return temp;
478 }
479 inline ::gz::msgs::TrackVisual* GUICamera::mutable_track() {
480 
481  if (track_ == NULL) {
482  auto* p = CreateMaybeMessage<::gz::msgs::TrackVisual>(GetArenaNoVirtual());
483  track_ = p;
484  }
485  // @@protoc_insertion_point(field_mutable:gz.msgs.GUICamera.track)
486  return track_;
487 }
489  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
490  if (message_arena == NULL) {
491  delete reinterpret_cast< ::google::protobuf::MessageLite*>(track_);
492  }
493  if (track) {
494  ::google::protobuf::Arena* submessage_arena = NULL;
495  if (message_arena != submessage_arena) {
496  track = ::google::protobuf::internal::GetOwnedMessage(
497  message_arena, track, submessage_arena);
498  }
499 
500  } else {
501 
502  }
503  track_ = track;
504  // @@protoc_insertion_point(field_set_allocated:gz.msgs.GUICamera.track)
505 }
506 
507 // string projection_type = 6;
509  projection_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
510 }
511 inline const ::std::string& GUICamera::projection_type() const {
512  // @@protoc_insertion_point(field_get:gz.msgs.GUICamera.projection_type)
513  return projection_type_.GetNoArena();
514 }
515 inline void GUICamera::set_projection_type(const ::std::string& value) {
516 
517  projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
518  // @@protoc_insertion_point(field_set:gz.msgs.GUICamera.projection_type)
519 }
520 #if LANG_CXX11
521 inline void GUICamera::set_projection_type(::std::string&& value) {
522 
523  projection_type_.SetNoArena(
524  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
525  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.GUICamera.projection_type)
526 }
527 #endif
528 inline void GUICamera::set_projection_type(const char* value) {
529  GOOGLE_DCHECK(value != NULL);
530 
531  projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
532  // @@protoc_insertion_point(field_set_char:gz.msgs.GUICamera.projection_type)
533 }
534 inline void GUICamera::set_projection_type(const char* value, size_t size) {
535 
536  projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
537  ::std::string(reinterpret_cast<const char*>(value), size));
538  // @@protoc_insertion_point(field_set_pointer:gz.msgs.GUICamera.projection_type)
539 }
540 inline ::std::string* GUICamera::mutable_projection_type() {
541 
542  // @@protoc_insertion_point(field_mutable:gz.msgs.GUICamera.projection_type)
543  return projection_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
544 }
545 inline ::std::string* GUICamera::release_projection_type() {
546  // @@protoc_insertion_point(field_release:gz.msgs.GUICamera.projection_type)
547 
548  return projection_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
549 }
550 inline void GUICamera::set_allocated_projection_type(::std::string* projection_type) {
551  if (projection_type != NULL) {
552 
553  } else {
554 
555  }
556  projection_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), projection_type);
557  // @@protoc_insertion_point(field_set_allocated:gz.msgs.GUICamera.projection_type)
558 }
559 
560 #ifdef __GNUC__
561  #pragma GCC diagnostic pop
562 #endif // __GNUC__
563 
564 // @@protoc_insertion_point(namespace_scope)
565 
566 } // namespace msgs
567 } // namespace gz
568 
569 // @@protoc_insertion_point(global_scope)
570 
571 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fgui_5fcamera_2eproto