4 #ifndef PROTOBUF_ignition_2fmsgs_2fgui_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fgui_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 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 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. 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> 34 #pragma GCC system_header 37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 40 #include <sys/sysmacros.h> 58 class IGNITION_MSGS_VISIBLE
GUI :
public ::google::protobuf::Message {
70 static const ::google::protobuf::Descriptor* descriptor();
71 static const GUI& default_instance();
73 void Swap(
GUI* other);
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);
85 bool IsInitialized()
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;
95 return InternalSerializeWithCachedSizesToArray(
false, output);
101 void SetCachedSize(
int size)
const;
102 void InternalSwap(
GUI* other);
104 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
105 return _internal_metadata_.arena();
107 inline void* MaybeArenaPtr()
const {
108 return _internal_metadata_.raw_arena_ptr();
112 ::google::protobuf::Metadata GetMetadata()
const;
119 bool has_header()
const;
121 static const int kHeaderFieldNumber = 1;
122 const ::ignition::msgs::Header& header()
const;
128 void clear_fullscreen();
129 static const int kFullscreenFieldNumber = 2;
130 bool fullscreen()
const;
131 void set_fullscreen(
bool value);
134 bool has_camera()
const;
136 static const int kCameraFieldNumber = 3;
137 const ::ignition::msgs::GUICamera& camera()
const;
143 int plugin_size()
const;
145 static const int kPluginFieldNumber = 4;
146 const ::ignition::msgs::Plugin& plugin(
int index)
const;
149 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >*
151 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >&
157 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
158 bool _is_default_instance_;
161 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > plugin_;
163 mutable int _cached_size_;
168 void InitAsDefaultInstance();
169 static GUI* default_instance_;
176 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 181 return !_is_default_instance_ && header_ != NULL;
184 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
189 return header_ != NULL ? *header_ : *default_instance_->header_;
193 if (header_ == NULL) {
194 header_ = new ::ignition::msgs::Header;
233 return !_is_default_instance_ && camera_ != NULL;
236 if (GetArenaNoVirtual() == NULL && camera_ != NULL)
delete camera_;
241 return camera_ != NULL ? *camera_ : *default_instance_->camera_;
245 if (camera_ == NULL) {
246 camera_ = new ::ignition::msgs::GUICamera;
271 return plugin_.size();
276 inline const ::ignition::msgs::Plugin&
GUI::plugin(
int index)
const {
278 return plugin_.Get(index);
282 return plugin_.Mutable(index);
286 return plugin_.Add();
288 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >*
293 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >&
299 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 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
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
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