Ignition Msgs

API Reference

8.1.0
gui_camera.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/gui_camera.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fgui_5fcamera_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fgui_5fcamera_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
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 3000000 < 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/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/unknown_field_set.h>
30 #include "ignition/msgs/pose.pb.h"
33 #ifndef _MSC_VER
34 #pragma GCC system_header
35 #else
36 #pragma warning(push)
37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
38 #endif
39 #ifdef __linux__
40 #include <sys/sysmacros.h>
41 #endif
42 #include <memory>
43 #include <ignition/msgs/Export.hh>
44 // @@protoc_insertion_point(includes)
45 
46 namespace ignition {
47 namespace msgs {
48 
49 // Internal implementation detail -- do not call these.
53 
54 class GUICamera;
55 
56 // ===================================================================
57 
58 class IGNITION_MSGS_VISIBLE GUICamera : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.GUICamera) */ {
59  public:
60  GUICamera();
61  virtual ~GUICamera();
62 
63  GUICamera(const GUICamera& from);
64 
65  inline GUICamera& operator=(const GUICamera& from) {
66  CopyFrom(from);
67  return *this;
68  }
69 
70  static const ::google::protobuf::Descriptor* descriptor();
71  static const GUICamera& default_instance();
72 
73  void Swap(GUICamera* other);
74 
75  // implements Message ----------------------------------------------
76 
77  inline GUICamera* New() const { return New(NULL); }
78 
79  GUICamera* New(::google::protobuf::Arena* arena) const;
80  void CopyFrom(const ::google::protobuf::Message& from);
81  void MergeFrom(const ::google::protobuf::Message& from);
82  void CopyFrom(const GUICamera& from);
83  void MergeFrom(const GUICamera& from);
84  void Clear();
85  bool IsInitialized() const;
86 
87  int ByteSize() const;
88  bool MergePartialFromCodedStream(
89  ::google::protobuf::io::CodedInputStream* input);
90  void SerializeWithCachedSizes(
91  ::google::protobuf::io::CodedOutputStream* output) const;
92  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
93  bool deterministic, ::google::protobuf::uint8* output) const;
94  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
95  return InternalSerializeWithCachedSizesToArray(false, output);
96  }
97  int GetCachedSize() const { return _cached_size_; }
98  private:
99  void SharedCtor();
100  void SharedDtor();
101  void SetCachedSize(int size) const;
102  void InternalSwap(GUICamera* other);
103  private:
104  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
105  return _internal_metadata_.arena();
106  }
107  inline void* MaybeArenaPtr() const {
108  return _internal_metadata_.raw_arena_ptr();
109  }
110  public:
111 
112  ::google::protobuf::Metadata GetMetadata() const;
113 
114  // nested types ----------------------------------------------------
115 
116  // accessors -------------------------------------------------------
117 
118  // optional .ignition.msgs.Header header = 1;
119  bool has_header() const;
120  void clear_header();
121  static const int kHeaderFieldNumber = 1;
122  const ::ignition::msgs::Header& header() const;
123  ::ignition::msgs::Header* mutable_header();
124  ::ignition::msgs::Header* release_header();
125  void set_allocated_header(::ignition::msgs::Header* header);
126 
127  // optional string name = 2;
128  void clear_name();
129  static const int kNameFieldNumber = 2;
130  const ::std::string& name() const;
131  void set_name(const ::std::string& value);
132  void set_name(const char* value);
133  void set_name(const char* value, size_t size);
134  ::std::string* mutable_name();
135  ::std::string* release_name();
136  void set_allocated_name(::std::string* name);
137 
138  // optional string view_controller = 3;
139  void clear_view_controller();
140  static const int kViewControllerFieldNumber = 3;
141  const ::std::string& view_controller() const;
142  void set_view_controller(const ::std::string& value);
143  void set_view_controller(const char* value);
144  void set_view_controller(const char* value, size_t size);
145  ::std::string* mutable_view_controller();
146  ::std::string* release_view_controller();
147  void set_allocated_view_controller(::std::string* view_controller);
148 
149  // optional .ignition.msgs.Pose pose = 4;
150  bool has_pose() const;
151  void clear_pose();
152  static const int kPoseFieldNumber = 4;
153  const ::ignition::msgs::Pose& pose() const;
154  ::ignition::msgs::Pose* mutable_pose();
155  ::ignition::msgs::Pose* release_pose();
156  void set_allocated_pose(::ignition::msgs::Pose* pose);
157 
158  // optional .ignition.msgs.TrackVisual track = 5;
159  bool has_track() const;
160  void clear_track();
161  static const int kTrackFieldNumber = 5;
162  const ::ignition::msgs::TrackVisual& track() const;
163  ::ignition::msgs::TrackVisual* mutable_track();
164  ::ignition::msgs::TrackVisual* release_track();
165  void set_allocated_track(::ignition::msgs::TrackVisual* track);
166 
167  // optional string projection_type = 6;
168  void clear_projection_type();
169  static const int kProjectionTypeFieldNumber = 6;
170  const ::std::string& projection_type() const;
171  void set_projection_type(const ::std::string& value);
172  void set_projection_type(const char* value);
173  void set_projection_type(const char* value, size_t size);
174  ::std::string* mutable_projection_type();
175  ::std::string* release_projection_type();
176  void set_allocated_projection_type(::std::string* projection_type);
177 
178  // @@protoc_insertion_point(class_scope:ignition.msgs.GUICamera)
179  private:
180 
181  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
182  bool _is_default_instance_;
183  ::ignition::msgs::Header* header_;
184  ::google::protobuf::internal::ArenaStringPtr name_;
185  ::google::protobuf::internal::ArenaStringPtr view_controller_;
186  ::ignition::msgs::Pose* pose_;
188  ::google::protobuf::internal::ArenaStringPtr projection_type_;
189  mutable int _cached_size_;
190  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgui_5fcamera_2eproto();
193 
194  void InitAsDefaultInstance();
195  static GUICamera* default_instance_;
196 };
197 // ===================================================================
198 
199 
200 // ===================================================================
201 
202 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
203 // GUICamera
204 
205 // optional .ignition.msgs.Header header = 1;
206 inline bool GUICamera::has_header() const {
207  return !_is_default_instance_ && header_ != NULL;
208 }
209 inline void GUICamera::clear_header() {
210  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
211  header_ = NULL;
212 }
213 inline const ::ignition::msgs::Header& GUICamera::header() const {
214  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.header)
215  return header_ != NULL ? *header_ : *default_instance_->header_;
216 }
217 inline ::ignition::msgs::Header* GUICamera::mutable_header() {
218 
219  if (header_ == NULL) {
220  header_ = new ::ignition::msgs::Header;
221  }
222  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.header)
223  return header_;
224 }
225 inline ::ignition::msgs::Header* GUICamera::release_header() {
226  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.header)
227 
228  ::ignition::msgs::Header* temp = header_;
229  header_ = NULL;
230  return temp;
231 }
233  delete header_;
234  header_ = header;
235  if (header) {
236 
237  } else {
238 
239  }
240  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.header)
241 }
242 
243 // optional string name = 2;
244 inline void GUICamera::clear_name() {
245  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
246 }
247 inline const ::std::string& GUICamera::name() const {
248  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.name)
249  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
250 }
251 inline void GUICamera::set_name(const ::std::string& value) {
252 
253  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
254  // @@protoc_insertion_point(field_set:ignition.msgs.GUICamera.name)
255 }
256 inline void GUICamera::set_name(const char* value) {
257 
258  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
259  // @@protoc_insertion_point(field_set_char:ignition.msgs.GUICamera.name)
260 }
261 inline void GUICamera::set_name(const char* value, size_t size) {
262 
263  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
264  ::std::string(reinterpret_cast<const char*>(value), size));
265  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.GUICamera.name)
266 }
267 inline ::std::string* GUICamera::mutable_name() {
268 
269  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.name)
270  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
271 }
272 inline ::std::string* GUICamera::release_name() {
273  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.name)
274 
275  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
276 }
278  if (name != NULL) {
279 
280  } else {
281 
282  }
283  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
284  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.name)
285 }
286 
287 // optional string view_controller = 3;
289  view_controller_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
290 }
291 inline const ::std::string& GUICamera::view_controller() const {
292  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.view_controller)
293  return view_controller_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
294 }
295 inline void GUICamera::set_view_controller(const ::std::string& value) {
296 
297  view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
298  // @@protoc_insertion_point(field_set:ignition.msgs.GUICamera.view_controller)
299 }
300 inline void GUICamera::set_view_controller(const char* value) {
301 
302  view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
303  // @@protoc_insertion_point(field_set_char:ignition.msgs.GUICamera.view_controller)
304 }
305 inline void GUICamera::set_view_controller(const char* value, size_t size) {
306 
307  view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
308  ::std::string(reinterpret_cast<const char*>(value), size));
309  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.GUICamera.view_controller)
310 }
311 inline ::std::string* GUICamera::mutable_view_controller() {
312 
313  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.view_controller)
314  return view_controller_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
315 }
316 inline ::std::string* GUICamera::release_view_controller() {
317  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.view_controller)
318 
319  return view_controller_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
320 }
321 inline void GUICamera::set_allocated_view_controller(::std::string* view_controller) {
322  if (view_controller != NULL) {
323 
324  } else {
325 
326  }
327  view_controller_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), view_controller);
328  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.view_controller)
329 }
330 
331 // optional .ignition.msgs.Pose pose = 4;
332 inline bool GUICamera::has_pose() const {
333  return !_is_default_instance_ && pose_ != NULL;
334 }
335 inline void GUICamera::clear_pose() {
336  if (GetArenaNoVirtual() == NULL && pose_ != NULL) delete pose_;
337  pose_ = NULL;
338 }
339 inline const ::ignition::msgs::Pose& GUICamera::pose() const {
340  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.pose)
341  return pose_ != NULL ? *pose_ : *default_instance_->pose_;
342 }
343 inline ::ignition::msgs::Pose* GUICamera::mutable_pose() {
344 
345  if (pose_ == NULL) {
346  pose_ = new ::ignition::msgs::Pose;
347  }
348  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.pose)
349  return pose_;
350 }
351 inline ::ignition::msgs::Pose* GUICamera::release_pose() {
352  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.pose)
353 
354  ::ignition::msgs::Pose* temp = pose_;
355  pose_ = NULL;
356  return temp;
357 }
359  delete pose_;
360  pose_ = pose;
361  if (pose) {
362 
363  } else {
364 
365  }
366  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.pose)
367 }
368 
369 // optional .ignition.msgs.TrackVisual track = 5;
370 inline bool GUICamera::has_track() const {
371  return !_is_default_instance_ && track_ != NULL;
372 }
373 inline void GUICamera::clear_track() {
374  if (GetArenaNoVirtual() == NULL && track_ != NULL) delete track_;
375  track_ = NULL;
376 }
377 inline const ::ignition::msgs::TrackVisual& GUICamera::track() const {
378  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.track)
379  return track_ != NULL ? *track_ : *default_instance_->track_;
380 }
381 inline ::ignition::msgs::TrackVisual* GUICamera::mutable_track() {
382 
383  if (track_ == NULL) {
384  track_ = new ::ignition::msgs::TrackVisual;
385  }
386  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.track)
387  return track_;
388 }
389 inline ::ignition::msgs::TrackVisual* GUICamera::release_track() {
390  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.track)
391 
392  ::ignition::msgs::TrackVisual* temp = track_;
393  track_ = NULL;
394  return temp;
395 }
397  delete track_;
398  track_ = track;
399  if (track) {
400 
401  } else {
402 
403  }
404  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.track)
405 }
406 
407 // optional string projection_type = 6;
409  projection_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
410 }
411 inline const ::std::string& GUICamera::projection_type() const {
412  // @@protoc_insertion_point(field_get:ignition.msgs.GUICamera.projection_type)
413  return projection_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
414 }
415 inline void GUICamera::set_projection_type(const ::std::string& value) {
416 
417  projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
418  // @@protoc_insertion_point(field_set:ignition.msgs.GUICamera.projection_type)
419 }
420 inline void GUICamera::set_projection_type(const char* value) {
421 
422  projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
423  // @@protoc_insertion_point(field_set_char:ignition.msgs.GUICamera.projection_type)
424 }
425 inline void GUICamera::set_projection_type(const char* value, size_t size) {
426 
427  projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
428  ::std::string(reinterpret_cast<const char*>(value), size));
429  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.GUICamera.projection_type)
430 }
431 inline ::std::string* GUICamera::mutable_projection_type() {
432 
433  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUICamera.projection_type)
434  return projection_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
435 }
436 inline ::std::string* GUICamera::release_projection_type() {
437  // @@protoc_insertion_point(field_release:ignition.msgs.GUICamera.projection_type)
438 
439  return projection_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
440 }
441 inline void GUICamera::set_allocated_projection_type(::std::string* projection_type) {
442  if (projection_type != NULL) {
443 
444  } else {
445 
446  }
447  projection_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), projection_type);
448  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUICamera.projection_type)
449 }
450 
451 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
452 
457 // @@protoc_insertion_point(namespace_scope)
458 
459 } // namespace msgs
460 } // namespace ignition
461 
462 #ifdef _MSC_VER
463 #pragma warning(pop)
464 #endif
465 // @@protoc_insertion_point(global_scope)
466 
467 #endif // PROTOBUF_ignition_2fmsgs_2fgui_5fcamera_2eproto__INCLUDED
void clear_name()
Definition: gui_camera.pb.h:244
::ignition::msgs::Header * mutable_header()
Definition: gui_camera.pb.h:217
GUICamera & operator=(const GUICamera &from)
Definition: gui_camera.pb.h:65
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: gui_camera.pb.h:94
Definition: pose.pb.h:58
void protobuf_AssignDesc_ignition_2fmsgs_2fgui_5fcamera_2eproto()
void clear_track()
Definition: gui_camera.pb.h:373
::ignition::msgs::Header * release_header()
Definition: gui_camera.pb.h:225
::ignition::msgs::TrackVisual * mutable_track()
Definition: gui_camera.pb.h:381
::ignition::msgs::Pose * mutable_pose()
Definition: gui_camera.pb.h:343
bool has_pose() const
Definition: gui_camera.pb.h:332
const ::std::string & name() const
Definition: gui_camera.pb.h:247
::std::string * mutable_projection_type()
Definition: gui_camera.pb.h:431
::std::string * mutable_view_controller()
Definition: gui_camera.pb.h:311
const ::ignition::msgs::Header & header() const
Definition: gui_camera.pb.h:213
Definition: track_visual.pb.h:57
void clear_view_controller()
Definition: gui_camera.pb.h:288
const ::std::string & view_controller() const
Definition: gui_camera.pb.h:291
std::unique_ptr< const GUICamera > ConstGUICameraUniquePtr
Definition: gui_camera.pb.h:454
void set_view_controller(const ::std::string &value)
Definition: gui_camera.pb.h:295
const ::ignition::msgs::TrackVisual & track() const
Definition: gui_camera.pb.h:377
void clear_header()
Definition: gui_camera.pb.h:209
std::shared_ptr< GUICamera > GUICameraSharedPtr
Definition: gui_camera.pb.h:455
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: gui_camera.pb.h:358
Definition: header.pb.h:161
void protobuf_ShutdownFile_ignition_2fmsgs_2fgui_5fcamera_2eproto()
STL class.
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgui_5fcamera_2eproto()
const ::std::string & projection_type() const
Definition: gui_camera.pb.h:411
void set_allocated_name(::std::string *name)
Definition: gui_camera.pb.h:277
bool has_track() const
Definition: gui_camera.pb.h:370
void set_allocated_projection_type(::std::string *projection_type)
Definition: gui_camera.pb.h:441
bool has_header() const
Definition: gui_camera.pb.h:206
void clear_pose()
Definition: gui_camera.pb.h:335
int GetCachedSize() const
Definition: gui_camera.pb.h:97
void set_name(const ::std::string &value)
Definition: gui_camera.pb.h:251
void set_projection_type(const ::std::string &value)
Definition: gui_camera.pb.h:415
void set_allocated_view_controller(::std::string *view_controller)
Definition: gui_camera.pb.h:321
std::unique_ptr< GUICamera > GUICameraUniquePtr
Definition: gui_camera.pb.h:453
::ignition::msgs::TrackVisual * release_track()
Definition: gui_camera.pb.h:389
Definition: gui_camera.pb.h:58
::std::string * release_projection_type()
Definition: gui_camera.pb.h:436
::std::string * mutable_name()
Definition: gui_camera.pb.h:267
::std::string * release_view_controller()
Definition: gui_camera.pb.h:316
STL class.
::ignition::msgs::Pose * release_pose()
Definition: gui_camera.pb.h:351
void set_allocated_track(::ignition::msgs::TrackVisual *track)
Definition: gui_camera.pb.h:396
GUICamera * New() const
Definition: gui_camera.pb.h:77
std::shared_ptr< const GUICamera > ConstGUICameraSharedPtr
Definition: gui_camera.pb.h:456
void clear_projection_type()
Definition: gui_camera.pb.h:408
void set_allocated_header(::ignition::msgs::Header *header)
Definition: gui_camera.pb.h:232
::std::string * release_name()
Definition: gui_camera.pb.h:272
const ::ignition::msgs::Pose & pose() const
Definition: gui_camera.pb.h:339