Ignition Msgs

API Reference

8.2.0
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_ignition_2fmsgs_2fgui_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fgui_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>
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.
50 void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgui_2eproto();
53 
54 class GUI;
55 
56 // ===================================================================
57 
58 class IGNITION_MSGS_VISIBLE GUI : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.GUI) */ {
59  public:
60  GUI();
61  virtual ~GUI();
62 
63  GUI(const GUI& from);
64 
65  inline GUI& operator=(const GUI& from) {
66  CopyFrom(from);
67  return *this;
68  }
69 
70  static const ::google::protobuf::Descriptor* descriptor();
71  static const GUI& default_instance();
72 
73  void Swap(GUI* other);
74 
75  // implements Message ----------------------------------------------
76 
77  inline GUI* New() const { return New(NULL); }
78 
79  GUI* 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 GUI& from);
83  void MergeFrom(const GUI& 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(GUI* 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 bool fullscreen = 2;
128  void clear_fullscreen();
129  static const int kFullscreenFieldNumber = 2;
130  bool fullscreen() const;
131  void set_fullscreen(bool value);
132 
133  // optional .ignition.msgs.GUICamera camera = 3;
134  bool has_camera() const;
135  void clear_camera();
136  static const int kCameraFieldNumber = 3;
137  const ::ignition::msgs::GUICamera& camera() const;
138  ::ignition::msgs::GUICamera* mutable_camera();
139  ::ignition::msgs::GUICamera* release_camera();
140  void set_allocated_camera(::ignition::msgs::GUICamera* camera);
141 
142  // repeated .ignition.msgs.Plugin plugin = 4;
143  int plugin_size() const;
144  void clear_plugin();
145  static const int kPluginFieldNumber = 4;
146  const ::ignition::msgs::Plugin& plugin(int index) const;
147  ::ignition::msgs::Plugin* mutable_plugin(int index);
148  ::ignition::msgs::Plugin* add_plugin();
149  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >*
150  mutable_plugin();
151  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >&
152  plugin() const;
153 
154  // @@protoc_insertion_point(class_scope:ignition.msgs.GUI)
155  private:
156 
157  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
158  bool _is_default_instance_;
159  ::ignition::msgs::Header* header_;
161  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > plugin_;
162  bool fullscreen_;
163  mutable int _cached_size_;
164  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgui_2eproto();
167 
168  void InitAsDefaultInstance();
169  static GUI* default_instance_;
170 };
171 // ===================================================================
172 
173 
174 // ===================================================================
175 
176 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
177 // GUI
178 
179 // optional .ignition.msgs.Header header = 1;
180 inline bool GUI::has_header() const {
181  return !_is_default_instance_ && header_ != NULL;
182 }
183 inline void GUI::clear_header() {
184  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
185  header_ = NULL;
186 }
187 inline const ::ignition::msgs::Header& GUI::header() const {
188  // @@protoc_insertion_point(field_get:ignition.msgs.GUI.header)
189  return header_ != NULL ? *header_ : *default_instance_->header_;
190 }
191 inline ::ignition::msgs::Header* GUI::mutable_header() {
192 
193  if (header_ == NULL) {
194  header_ = new ::ignition::msgs::Header;
195  }
196  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUI.header)
197  return header_;
198 }
199 inline ::ignition::msgs::Header* GUI::release_header() {
200  // @@protoc_insertion_point(field_release:ignition.msgs.GUI.header)
201 
202  ::ignition::msgs::Header* temp = header_;
203  header_ = NULL;
204  return temp;
205 }
207  delete header_;
208  header_ = header;
209  if (header) {
210 
211  } else {
212 
213  }
214  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUI.header)
215 }
216 
217 // optional bool fullscreen = 2;
218 inline void GUI::clear_fullscreen() {
219  fullscreen_ = false;
220 }
221 inline bool GUI::fullscreen() const {
222  // @@protoc_insertion_point(field_get:ignition.msgs.GUI.fullscreen)
223  return fullscreen_;
224 }
225 inline void GUI::set_fullscreen(bool value) {
226 
227  fullscreen_ = value;
228  // @@protoc_insertion_point(field_set:ignition.msgs.GUI.fullscreen)
229 }
230 
231 // optional .ignition.msgs.GUICamera camera = 3;
232 inline bool GUI::has_camera() const {
233  return !_is_default_instance_ && camera_ != NULL;
234 }
235 inline void GUI::clear_camera() {
236  if (GetArenaNoVirtual() == NULL && camera_ != NULL) delete camera_;
237  camera_ = NULL;
238 }
239 inline const ::ignition::msgs::GUICamera& GUI::camera() const {
240  // @@protoc_insertion_point(field_get:ignition.msgs.GUI.camera)
241  return camera_ != NULL ? *camera_ : *default_instance_->camera_;
242 }
243 inline ::ignition::msgs::GUICamera* GUI::mutable_camera() {
244 
245  if (camera_ == NULL) {
246  camera_ = new ::ignition::msgs::GUICamera;
247  }
248  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUI.camera)
249  return camera_;
250 }
251 inline ::ignition::msgs::GUICamera* GUI::release_camera() {
252  // @@protoc_insertion_point(field_release:ignition.msgs.GUI.camera)
253 
254  ::ignition::msgs::GUICamera* temp = camera_;
255  camera_ = NULL;
256  return temp;
257 }
259  delete camera_;
260  camera_ = camera;
261  if (camera) {
262 
263  } else {
264 
265  }
266  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GUI.camera)
267 }
268 
269 // repeated .ignition.msgs.Plugin plugin = 4;
270 inline int GUI::plugin_size() const {
271  return plugin_.size();
272 }
273 inline void GUI::clear_plugin() {
274  plugin_.Clear();
275 }
276 inline const ::ignition::msgs::Plugin& GUI::plugin(int index) const {
277  // @@protoc_insertion_point(field_get:ignition.msgs.GUI.plugin)
278  return plugin_.Get(index);
279 }
280 inline ::ignition::msgs::Plugin* GUI::mutable_plugin(int index) {
281  // @@protoc_insertion_point(field_mutable:ignition.msgs.GUI.plugin)
282  return plugin_.Mutable(index);
283 }
284 inline ::ignition::msgs::Plugin* GUI::add_plugin() {
285  // @@protoc_insertion_point(field_add:ignition.msgs.GUI.plugin)
286  return plugin_.Add();
287 }
288 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >*
290  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.GUI.plugin)
291  return &plugin_;
292 }
293 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >&
294 GUI::plugin() const {
295  // @@protoc_insertion_point(field_list:ignition.msgs.GUI.plugin)
296  return plugin_;
297 }
298 
299 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
300 
305 // @@protoc_insertion_point(namespace_scope)
306 
307 } // namespace msgs
308 } // namespace ignition
309 
310 #ifdef _MSC_VER
311 #pragma warning(pop)
312 #endif
313 // @@protoc_insertion_point(global_scope)
314 
315 #endif // PROTOBUF_ignition_2fmsgs_2fgui_2eproto__INCLUDED
std::unique_ptr< const GUI > ConstGUIUniquePtr
Definition: gui.pb.h:302
int GetCachedSize() const
Definition: gui.pb.h:97
void set_fullscreen(bool value)
Definition: gui.pb.h:225
const ::ignition::msgs::Header & header() const
Definition: gui.pb.h:187
int plugin_size() const
Definition: gui.pb.h:270
::ignition::msgs::Plugin * add_plugin()
Definition: gui.pb.h:284
Definition: plugin.pb.h:56
::ignition::msgs::GUICamera * mutable_camera()
Definition: gui.pb.h:243
bool fullscreen() const
Definition: gui.pb.h:221
void set_allocated_header(::ignition::msgs::Header *header)
Definition: gui.pb.h:206
Definition: gui.pb.h:58
Definition: header.pb.h:161
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > & plugin() const
Definition: gui.pb.h:294
void clear_plugin()
Definition: gui.pb.h:273
const ::ignition::msgs::GUICamera & camera() const
Definition: gui.pb.h:239
::ignition::msgs::GUICamera * release_camera()
Definition: gui.pb.h:251
::ignition::msgs::Header * mutable_header()
Definition: gui.pb.h:191
void set_allocated_camera(::ignition::msgs::GUICamera *camera)
Definition: gui.pb.h:258
void clear_fullscreen()
Definition: gui.pb.h:218
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: gui.pb.h:94
void protobuf_ShutdownFile_ignition_2fmsgs_2fgui_2eproto()
::ignition::msgs::Header * release_header()
Definition: gui.pb.h:199
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgui_2eproto()
Definition: gui_camera.pb.h:58
std::unique_ptr< GUI > GUIUniquePtr
Definition: gui.pb.h:301
STL class.
GUI * New() const
Definition: gui.pb.h:77
std::shared_ptr< GUI > GUISharedPtr
Definition: gui.pb.h:303
void clear_camera()
Definition: gui.pb.h:235
void protobuf_AssignDesc_ignition_2fmsgs_2fgui_2eproto()
std::shared_ptr< const GUI > ConstGUISharedPtr
Definition: gui.pb.h:304
bool has_header() const
Definition: gui.pb.h:180
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > * mutable_plugin()
Definition: gui.pb.h:289
GUI & operator=(const GUI &from)
Definition: gui.pb.h:65
bool has_camera() const
Definition: gui.pb.h:232
void clear_header()
Definition: gui.pb.h:183