4 #ifndef PROTOBUF_ignition_2fmsgs_2fprojector_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fprojector_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> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 57 class IGNITION_MSGS_VISIBLE
Projector :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
70 static const Projector& default_instance();
78 Projector* New(::google::protobuf::Arena* arena)
const;
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92 bool deterministic, ::google::protobuf::uint8* output)
const;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
128 static const int kNameFieldNumber = 2;
129 const ::std::string& name()
const;
130 void set_name(const ::std::string& value);
131 void set_name(
const char* value);
132 void set_name(
const char* value,
size_t size);
138 void clear_texture();
139 static const int kTextureFieldNumber = 3;
140 const ::std::string& texture()
const;
141 void set_texture(const ::std::string& value);
142 void set_texture(
const char* value);
143 void set_texture(
const char* value,
size_t size);
146 void set_allocated_texture(::
std::string* texture);
149 bool has_pose()
const;
151 static const int kPoseFieldNumber = 4;
152 const ::ignition::msgs::Pose& pose()
const;
159 static const int kFovFieldNumber = 5;
161 void set_fov(
double value);
164 void clear_near_clip();
165 static const int kNearClipFieldNumber = 6;
166 double near_clip()
const;
167 void set_near_clip(
double value);
170 void clear_far_clip();
171 static const int kFarClipFieldNumber = 7;
172 double far_clip()
const;
173 void set_far_clip(
double value);
176 void clear_enabled();
177 static const int kEnabledFieldNumber = 8;
178 bool enabled()
const;
179 void set_enabled(
bool value);
184 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
185 bool _is_default_instance_;
187 ::google::protobuf::internal::ArenaStringPtr name_;
188 ::google::protobuf::internal::ArenaStringPtr texture_;
194 mutable int _cached_size_;
199 void InitAsDefaultInstance();
207 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 212 return !_is_default_instance_ && header_ != NULL;
215 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
220 return header_ != NULL ? *header_ : *default_instance_->header_;
224 if (header_ == NULL) {
225 header_ = new ::ignition::msgs::Header;
250 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
254 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
258 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
263 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
268 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
269 ::
std::string(reinterpret_cast<const char*>(value), size));
275 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
280 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
288 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
294 texture_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
298 return texture_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
302 texture_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
307 texture_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
312 texture_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
313 ::
std::string(reinterpret_cast<const char*>(value), size));
319 return texture_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
324 return texture_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
327 if (texture != NULL) {
332 texture_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), texture);
338 return !_is_default_instance_ && pose_ != NULL;
341 if (GetArenaNoVirtual() == NULL && pose_ != NULL)
delete pose_;
346 return pose_ != NULL ? *pose_ : *default_instance_->pose_;
351 pose_ = new ::ignition::msgs::Pose;
430 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 446 #endif // PROTOBUF_ignition_2fmsgs_2fprojector_2eproto__INCLUDED
void clear_pose()
Definition: projector.pb.h:340
void set_texture(const ::std::string &value)
Definition: projector.pb.h:300
const ::ignition::msgs::Header & header() const
Definition: projector.pb.h:218
double far_clip() const
Definition: projector.pb.h:406
::ignition::msgs::Pose * mutable_pose()
Definition: projector.pb.h:348
bool has_pose() const
Definition: projector.pb.h:337
void set_near_clip(double value)
Definition: projector.pb.h:396
::std::string * mutable_name()
Definition: projector.pb.h:272
void set_far_clip(double value)
Definition: projector.pb.h:410
::ignition::msgs::Pose * release_pose()
Definition: projector.pb.h:356
void set_allocated_header(::ignition::msgs::Header *header)
Definition: projector.pb.h:237
void clear_texture()
Definition: projector.pb.h:293
std::unique_ptr< const Projector > ConstProjectorUniquePtr
Definition: projector.pb.h:433
void clear_fov()
Definition: projector.pb.h:375
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: projector.pb.h:363
void protobuf_ShutdownFile_ignition_2fmsgs_2fprojector_2eproto()
std::shared_ptr< const Projector > ConstProjectorSharedPtr
Definition: projector.pb.h:435
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: projector.pb.h:93
::ignition::msgs::Header * release_header()
Definition: projector.pb.h:230
void clear_near_clip()
Definition: projector.pb.h:389
const ::std::string & name() const
Definition: projector.pb.h:252
const ::ignition::msgs::Pose & pose() const
Definition: projector.pb.h:344
void clear_header()
Definition: projector.pb.h:214
::ignition::msgs::Header * mutable_header()
Definition: projector.pb.h:222
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fprojector_2eproto()
bool enabled() const
Definition: projector.pb.h:420
double near_clip() const
Definition: projector.pb.h:392
int GetCachedSize() const
Definition: projector.pb.h:96
::std::string * release_texture()
Definition: projector.pb.h:321
void set_allocated_texture(::std::string *texture)
Definition: projector.pb.h:326
::std::string * mutable_texture()
Definition: projector.pb.h:316
void clear_far_clip()
Definition: projector.pb.h:403
void clear_name()
Definition: projector.pb.h:249
void protobuf_AssignDesc_ignition_2fmsgs_2fprojector_2eproto()
std::shared_ptr< Projector > ProjectorSharedPtr
Definition: projector.pb.h:434
void set_allocated_name(::std::string *name)
Definition: projector.pb.h:282
void set_fov(double value)
Definition: projector.pb.h:382
void set_enabled(bool value)
Definition: projector.pb.h:424
Definition: projector.pb.h:57
Projector & operator=(const Projector &from)
Definition: projector.pb.h:64
Projector * New() const
Definition: projector.pb.h:76
bool has_header() const
Definition: projector.pb.h:211
std::unique_ptr< Projector > ProjectorUniquePtr
Definition: projector.pb.h:432
double fov() const
Definition: projector.pb.h:378
::std::string * release_name()
Definition: projector.pb.h:277
void set_name(const ::std::string &value)
Definition: projector.pb.h:256
const ::std::string & texture() const
Definition: projector.pb.h:296
void clear_enabled()
Definition: projector.pb.h:417