Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/gui.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/gui.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_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>
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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fgui_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
53  static const ::google::protobuf::internal::ParseTableField entries[];
54  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55  static const ::google::protobuf::internal::ParseTable schema[1];
56  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57  static const ::google::protobuf::internal::SerializationTable serialization_table[];
58  static const ::google::protobuf::uint32 offsets[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2fgui_2eproto
62 namespace ignition {
63 namespace msgs {
64 class GUI;
65 class GUIDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern GUIDefaultTypeInternal _GUI_default_instance_;
67 } // namespace msgs
68 } // namespace ignition
69 namespace google {
70 namespace protobuf {
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GUI* Arena::CreateMaybeMessage<::ignition::msgs::GUI>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace ignition {
75 namespace msgs {
76 
77 // ===================================================================
78 
79 class IGNITION_MSGS_VISIBLE GUI : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.GUI) */ {
80  public:
81  GUI();
82  virtual ~GUI();
83 
84  GUI(const GUI& from);
85 
86  inline GUI& operator=(const GUI& from) {
87  CopyFrom(from);
88  return *this;
89  }
90  #if LANG_CXX11
91  GUI(GUI&& from) noexcept
92  : GUI() {
93  *this = ::std::move(from);
94  }
95 
96  inline GUI& operator=(GUI&& from) noexcept {
97  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98  if (this != &from) InternalSwap(&from);
99  } else {
100  CopyFrom(from);
101  }
102  return *this;
103  }
104  #endif
105  static const ::google::protobuf::Descriptor* descriptor();
106  static const GUI& default_instance();
107 
108  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  static inline const GUI* internal_default_instance() {
110  return reinterpret_cast<const GUI*>(
112  }
113  static constexpr int kIndexInFileMessages =
114  0;
115 
116  void Swap(GUI* other);
117  friend void swap(GUI& a, GUI& b) {
118  a.Swap(&b);
119  }
120 
121  // implements Message ----------------------------------------------
122 
123  inline GUI* New() const final {
124  return CreateMaybeMessage<GUI>(NULL);
125  }
126 
127  GUI* New(::google::protobuf::Arena* arena) const final {
128  return CreateMaybeMessage<GUI>(arena);
129  }
130  void CopyFrom(const ::google::protobuf::Message& from) final;
131  void MergeFrom(const ::google::protobuf::Message& from) final;
132  void CopyFrom(const GUI& from);
133  void MergeFrom(const GUI& from);
134  void Clear() final;
135  bool IsInitialized() const final;
136 
137  size_t ByteSizeLong() const final;
138  bool MergePartialFromCodedStream(
139  ::google::protobuf::io::CodedInputStream* input) final;
140  void SerializeWithCachedSizes(
141  ::google::protobuf::io::CodedOutputStream* output) const final;
142  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
143  bool deterministic, ::google::protobuf::uint8* target) const final;
144  int GetCachedSize() const final { return _cached_size_.Get(); }
145 
146  private:
147  void SharedCtor();
148  void SharedDtor();
149  void SetCachedSize(int size) const final;
150  void InternalSwap(GUI* other);
151  private:
152  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
153  return NULL;
154  }
155  inline void* MaybeArenaPtr() const {
156  return NULL;
157  }
158  public:
159 
160  ::google::protobuf::Metadata GetMetadata() const final;
161 
162  // nested types ----------------------------------------------------
163 
164  // accessors -------------------------------------------------------
165 
166  // repeated .ignition.msgs.Plugin plugin = 4;
167  int plugin_size() const;
168  void clear_plugin();
169  static const int kPluginFieldNumber = 4;
170  ::ignition::msgs::Plugin* mutable_plugin(int index);
171  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >*
172  mutable_plugin();
173  const ::ignition::msgs::Plugin& plugin(int index) const;
174  ::ignition::msgs::Plugin* add_plugin();
175  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >&
176  plugin() const;
177 
178  // .ignition.msgs.Header header = 1;
179  bool has_header() const;
180  void clear_header();
181  static const int kHeaderFieldNumber = 1;
182  private:
183  const ::ignition::msgs::Header& _internal_header() const;
184  public:
185  const ::ignition::msgs::Header& header() const;
186  ::ignition::msgs::Header* release_header();
187  ::ignition::msgs::Header* mutable_header();
188  void set_allocated_header(::ignition::msgs::Header* header);
189 
190  // .ignition.msgs.GUICamera camera = 3;
191  bool has_camera() const;
192  void clear_camera();
193  static const int kCameraFieldNumber = 3;
194  private:
195  const ::ignition::msgs::GUICamera& _internal_camera() const;
196  public:
197  const ::ignition::msgs::GUICamera& camera() const;
198  ::ignition::msgs::GUICamera* release_camera();
199  ::ignition::msgs::GUICamera* mutable_camera();
200  void set_allocated_camera(::ignition::msgs::GUICamera* camera);
201 
202  // bool fullscreen = 2;
203  void clear_fullscreen();
204  static const int kFullscreenFieldNumber = 2;
205  bool fullscreen() const;
206  void set_fullscreen(bool value);
207 
208  // @@protoc_insertion_point(class_scope:ignition.msgs.GUI)
209  private:
210 
211  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
212  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > plugin_;
213  ::ignition::msgs::Header* header_;
214  ::ignition::msgs::GUICamera* camera_;
215  bool fullscreen_;
216  mutable ::google::protobuf::internal::CachedSize _cached_size_;
217  friend struct ::protobuf_ignition_2fmsgs_2fgui_2eproto::TableStruct;
218 };
219 // ===================================================================
220 
221 
222 // ===================================================================
223 
224 #ifdef __GNUC__
225  #pragma GCC diagnostic push
226  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
227 #endif // __GNUC__
228 // GUI
229 
230 // .ignition.msgs.Header header = 1;
231 inline bool GUI::has_header() const {
232  return this != internal_default_instance() && header_ != NULL;
233 }
234 inline const ::ignition::msgs::Header& GUI::_internal_header() const {
235  return *header_;
236 }
237 inline const ::ignition::msgs::Header& GUI::header() const {
238  const ::ignition::msgs::Header* p = header_;
239  // @@protoc_insertion_point(field_get:ignition.msgs.GUI.header)
240  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
242 }
243 inline ::ignition::msgs::Header* GUI::release_header() {
244  // @@protoc_insertion_point(field_release:ignition.msgs.GUI.header)
245 
246  ::ignition::msgs::Header* temp = header_;
247  header_ = NULL;
248  return temp;
249 }
250 inline ::ignition::msgs::Header* GUI::mutable_header() {
251 
252  if (header_ == NULL) {
253  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
254  header_ = p;
255  }
256  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUI.header)
257  return header_;
258 }
260  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
261  if (message_arena == NULL) {
262  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
263  }
264  if (header) {
265  ::google::protobuf::Arena* submessage_arena = NULL;
266  if (message_arena != submessage_arena) {
267  header = ::google::protobuf::internal::GetOwnedMessage(
268  message_arena, header, submessage_arena);
269  }
270 
271  } else {
272 
273  }
274  header_ = header;
275  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUI.header)
276 }
277 
278 // bool fullscreen = 2;
279 inline void GUI::clear_fullscreen() {
280  fullscreen_ = false;
281 }
282 inline bool GUI::fullscreen() const {
283  // @@protoc_insertion_point(field_get:ignition.msgs.GUI.fullscreen)
284  return fullscreen_;
285 }
286 inline void GUI::set_fullscreen(bool value) {
287 
288  fullscreen_ = value;
289  // @@protoc_insertion_point(field_set:ignition.msgs.GUI.fullscreen)
290 }
291 
292 // .ignition.msgs.GUICamera camera = 3;
293 inline bool GUI::has_camera() const {
294  return this != internal_default_instance() && camera_ != NULL;
295 }
296 inline const ::ignition::msgs::GUICamera& GUI::_internal_camera() const {
297  return *camera_;
298 }
299 inline const ::ignition::msgs::GUICamera& GUI::camera() const {
300  const ::ignition::msgs::GUICamera* p = camera_;
301  // @@protoc_insertion_point(field_get:ignition.msgs.GUI.camera)
302  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::GUICamera*>(
304 }
305 inline ::ignition::msgs::GUICamera* GUI::release_camera() {
306  // @@protoc_insertion_point(field_release:ignition.msgs.GUI.camera)
307 
308  ::ignition::msgs::GUICamera* temp = camera_;
309  camera_ = NULL;
310  return temp;
311 }
312 inline ::ignition::msgs::GUICamera* GUI::mutable_camera() {
313 
314  if (camera_ == NULL) {
315  auto* p = CreateMaybeMessage<::ignition::msgs::GUICamera>(GetArenaNoVirtual());
316  camera_ = p;
317  }
318  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUI.camera)
319  return camera_;
320 }
322  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
323  if (message_arena == NULL) {
324  delete reinterpret_cast< ::google::protobuf::MessageLite*>(camera_);
325  }
326  if (camera) {
327  ::google::protobuf::Arena* submessage_arena = NULL;
328  if (message_arena != submessage_arena) {
329  camera = ::google::protobuf::internal::GetOwnedMessage(
330  message_arena, camera, submessage_arena);
331  }
332 
333  } else {
334 
335  }
336  camera_ = camera;
337  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUI.camera)
338 }
339 
340 // repeated .ignition.msgs.Plugin plugin = 4;
341 inline int GUI::plugin_size() const {
342  return plugin_.size();
343 }
344 inline ::ignition::msgs::Plugin* GUI::mutable_plugin(int index) {
345  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUI.plugin)
346  return plugin_.Mutable(index);
347 }
348 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >*
350  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.GUI.plugin)
351  return &plugin_;
352 }
353 inline const ::ignition::msgs::Plugin& GUI::plugin(int index) const {
354  // @@protoc_insertion_point(field_get:ignition.msgs.GUI.plugin)
355  return plugin_.Get(index);
356 }
357 inline ::ignition::msgs::Plugin* GUI::add_plugin() {
358  // @@protoc_insertion_point(field_add:ignition.msgs.GUI.plugin)
359  return plugin_.Add();
360 }
361 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >&
362 GUI::plugin() const {
363  // @@protoc_insertion_point(field_list:ignition.msgs.GUI.plugin)
364  return plugin_;
365 }
366 
367 #ifdef __GNUC__
368  #pragma GCC diagnostic pop
369 #endif // __GNUC__
370 
375 // @@protoc_insertion_point(namespace_scope)
376 
377 } // namespace msgs
378 } // namespace ignition
379 
380 #ifdef _MSC_VER
381 #pragma warning(pop)
382 #endif
383 // @@protoc_insertion_point(global_scope)
384 
385 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_2eproto
std::unique_ptr< const GUI > ConstGUIUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:372
IGNITION_MSGS_VISIBLE GUIDefaultTypeInternal _GUI_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
STL class.
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > & plugin() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:362
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:52
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:259
IGNITION_MSGS_VISIBLE GUICameraDefaultTypeInternal _GUICamera_default_instance_
static const GUI * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:109
void clear_fullscreen()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:279
void Swap(GUI *other)
GUI * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:123
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:79
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:237
GUI * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:127
std::shared_ptr< const GUI > ConstGUISharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:374
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:243
int plugin_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:341
::ignition::msgs::Plugin * add_plugin()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:357
bool fullscreen() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:282
std::unique_ptr< GUI > GUIUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:371
::ignition::msgs::GUICamera * mutable_camera()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:312
const ::ignition::msgs::GUICamera & camera() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:299
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:250
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:231
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > * mutable_plugin()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:349
Definition: build/ignition-msgs8/include/ignition/msgs/gui_camera.pb.h:79
std::shared_ptr< GUI > GUISharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:373
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
::ignition::msgs::GUICamera * release_camera()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:305
bool has_camera() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:293
void set_allocated_camera(::ignition::msgs::GUICamera *camera)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:321
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
GUI & operator=(const GUI &from)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:86
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:50
STL class.
Definition: build/ignition-msgs8/include/ignition/msgs/plugin.pb.h:77
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
void set_fullscreen(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:286
friend void swap(GUI &a, GUI &b)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:117