4 #ifndef PROTOBUF_ignition_2fmsgs_2fgui_5fcamera_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fgui_5fcamera_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
GUICamera :
public ::google::protobuf::Message {
70 static const ::google::protobuf::Descriptor* descriptor();
71 static const GUICamera& default_instance();
79 GUICamera* New(::google::protobuf::Arena* arena)
const;
80 void CopyFrom(const ::google::protobuf::Message& from);
81 void MergeFrom(const ::google::protobuf::Message& 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;
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;
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);
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);
147 void set_allocated_view_controller(::
std::string* view_controller);
150 bool has_pose()
const;
152 static const int kPoseFieldNumber = 4;
153 const ::ignition::msgs::Pose& pose()
const;
159 bool has_track()
const;
161 static const int kTrackFieldNumber = 5;
162 const ::ignition::msgs::TrackVisual& track()
const;
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);
176 void set_allocated_projection_type(::
std::string* projection_type);
181 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
182 bool _is_default_instance_;
184 ::google::protobuf::internal::ArenaStringPtr name_;
185 ::google::protobuf::internal::ArenaStringPtr view_controller_;
188 ::google::protobuf::internal::ArenaStringPtr projection_type_;
189 mutable int _cached_size_;
194 void InitAsDefaultInstance();
202 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 207 return !_is_default_instance_ && header_ != NULL;
210 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
215 return header_ != NULL ? *header_ : *default_instance_->header_;
219 if (header_ == NULL) {
220 header_ = new ::ignition::msgs::Header;
245 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
249 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
253 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
258 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
263 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
264 ::
std::string(reinterpret_cast<const char*>(value), size));
270 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
275 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
283 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
289 view_controller_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
293 return view_controller_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
297 view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
302 view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
307 view_controller_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
308 ::
std::string(reinterpret_cast<const char*>(value), size));
314 return view_controller_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
319 return view_controller_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
322 if (view_controller != NULL) {
327 view_controller_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), view_controller);
333 return !_is_default_instance_ && pose_ != NULL;
336 if (GetArenaNoVirtual() == NULL && pose_ != NULL)
delete pose_;
341 return pose_ != NULL ? *pose_ : *default_instance_->pose_;
346 pose_ = new ::ignition::msgs::Pose;
371 return !_is_default_instance_ && track_ != NULL;
374 if (GetArenaNoVirtual() == NULL && track_ != NULL)
delete track_;
379 return track_ != NULL ? *track_ : *default_instance_->track_;
383 if (track_ == NULL) {
384 track_ = new ::ignition::msgs::TrackVisual;
409 projection_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
413 return projection_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
417 projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
422 projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
427 projection_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
428 ::
std::string(reinterpret_cast<const char*>(value), size));
434 return projection_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
439 return projection_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
442 if (projection_type != NULL) {
447 projection_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), projection_type);
451 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 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
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
void protobuf_ShutdownFile_ignition_2fmsgs_2fgui_5fcamera_2eproto()
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
::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