4 #ifndef PROTOBUF_ignition_2fmsgs_2fmarker_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fmarker_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/generated_enum_reflection.h> 30 #include <google/protobuf/unknown_field_set.h> 37 #pragma GCC system_header 40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 43 #include <sys/sysmacros.h> 81 return ::google::protobuf::internal::NameOfEnum(
86 return ::google::protobuf::internal::ParseNamedEnum<Marker_Type>(
102 return ::google::protobuf::internal::NameOfEnum(
107 return ::google::protobuf::internal::ParseNamedEnum<Marker_Visibility>(
124 return ::google::protobuf::internal::NameOfEnum(
129 return ::google::protobuf::internal::ParseNamedEnum<Marker_Action>(
134 class IGNITION_MSGS_VISIBLE
Marker :
public ::google::protobuf::Message {
146 static const ::google::protobuf::Descriptor* descriptor();
147 static const Marker& default_instance();
155 Marker* New(::google::protobuf::Arena* arena)
const;
156 void CopyFrom(const ::google::protobuf::Message& from);
157 void MergeFrom(const ::google::protobuf::Message& from);
158 void CopyFrom(
const Marker& from);
159 void MergeFrom(
const Marker& from);
161 bool IsInitialized()
const;
163 int ByteSize()
const;
164 bool MergePartialFromCodedStream(
165 ::google::protobuf::io::CodedInputStream* input);
166 void SerializeWithCachedSizes(
167 ::google::protobuf::io::CodedOutputStream* output)
const;
168 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
169 bool deterministic, ::google::protobuf::uint8* output)
const;
171 return InternalSerializeWithCachedSizesToArray(
false, output);
177 void SetCachedSize(
int size)
const;
178 void InternalSwap(
Marker* other);
180 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
181 return _internal_metadata_.arena();
183 inline void* MaybeArenaPtr()
const {
184 return _internal_metadata_.raw_arena_ptr();
188 ::google::protobuf::Metadata GetMetadata()
const;
193 static const Type NONE =
195 static const Type BOX =
197 static const Type CYLINDER =
199 static const Type LINE_LIST =
201 static const Type LINE_STRIP =
203 static const Type POINTS =
205 static const Type SPHERE =
207 static const Type TEXT =
209 static const Type TRIANGLE_FAN =
211 static const Type TRIANGLE_LIST =
213 static const Type TRIANGLE_STRIP =
218 static const Type Type_MIN =
220 static const Type Type_MAX =
222 static const int Type_ARRAYSIZE =
224 static inline const ::google::protobuf::EnumDescriptor*
228 static inline const ::std::string&
Type_Name(Type value) {
237 static const Visibility
GUI =
239 static const Visibility ALL =
244 static const Visibility Visibility_MIN =
246 static const Visibility Visibility_MAX =
248 static const int Visibility_ARRAYSIZE =
250 static inline const ::google::protobuf::EnumDescriptor*
263 static const Action ADD_MODIFY =
265 static const Action DELETE_MARKER =
267 static const Action DELETE_ALL =
272 static const Action Action_MIN =
274 static const Action Action_MAX =
276 static const int Action_ARRAYSIZE =
278 static inline const ::google::protobuf::EnumDescriptor*
293 bool has_header()
const;
295 static const int kHeaderFieldNumber = 1;
296 const ::ignition::msgs::Header& header()
const;
303 static const int kActionFieldNumber = 2;
309 static const int kNsFieldNumber = 3;
310 const ::std::string& ns()
const;
311 void set_ns(const ::std::string& value);
312 void set_ns(
const char* value);
313 void set_ns(
const char* value,
size_t size);
320 static const int kIdFieldNumber = 4;
321 ::google::protobuf::uint64 id()
const;
322 void set_id(::google::protobuf::uint64 value);
326 static const int kLayerFieldNumber = 5;
327 ::google::protobuf::int32 layer()
const;
328 void set_layer(::google::protobuf::int32 value);
332 static const int kTypeFieldNumber = 6;
337 bool has_lifetime()
const;
338 void clear_lifetime();
339 static const int kLifetimeFieldNumber = 7;
340 const ::ignition::msgs::Time& lifetime()
const;
346 bool has_pose()
const;
348 static const int kPoseFieldNumber = 8;
349 const ::ignition::msgs::Pose& pose()
const;
355 bool has_scale()
const;
357 static const int kScaleFieldNumber = 9;
358 const ::ignition::msgs::Vector3d& scale()
const;
364 bool has_material()
const;
365 void clear_material();
366 static const int kMaterialFieldNumber = 10;
367 const ::ignition::msgs::Material& material()
const;
373 int point_size()
const;
375 static const int kPointFieldNumber = 11;
376 const ::ignition::msgs::Vector3d& point(
int index)
const;
379 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >*
381 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >&
386 static const int kTextFieldNumber = 12;
387 const ::std::string& text()
const;
388 void set_text(const ::std::string& value);
389 void set_text(
const char* value);
390 void set_text(
const char* value,
size_t size);
397 static const int kParentFieldNumber = 13;
398 const ::std::string& parent()
const;
399 void set_parent(const ::std::string& value);
400 void set_parent(
const char* value);
401 void set_parent(
const char* value,
size_t size);
407 void clear_visibility();
408 static const int kVisibilityFieldNumber = 14;
415 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
416 bool _is_default_instance_;
418 ::google::protobuf::internal::ArenaStringPtr ns_;
420 ::google::protobuf::int32 layer_;
421 ::google::protobuf::uint64 id_;
428 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > point_;
429 ::google::protobuf::internal::ArenaStringPtr text_;
430 ::google::protobuf::internal::ArenaStringPtr parent_;
431 mutable int _cached_size_;
436 void InitAsDefaultInstance();
437 static Marker* default_instance_;
444 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 449 return !_is_default_instance_ && header_ != NULL;
452 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
457 return header_ != NULL ? *header_ : *default_instance_->header_;
461 if (header_ == NULL) {
462 header_ = new ::ignition::msgs::Header;
501 ns_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
505 return ns_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
509 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
514 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
519 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
520 ::
std::string(reinterpret_cast<const char*>(value), size));
526 return ns_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
531 return ns_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
539 ns_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ns);
545 id_ = GOOGLE_ULONGLONG(0);
587 return !_is_default_instance_ && lifetime_ != NULL;
590 if (GetArenaNoVirtual() == NULL && lifetime_ != NULL)
delete lifetime_;
595 return lifetime_ != NULL ? *lifetime_ : *default_instance_->lifetime_;
599 if (lifetime_ == NULL) {
600 lifetime_ = new ::ignition::msgs::Time;
614 lifetime_ = lifetime;
625 return !_is_default_instance_ && pose_ != NULL;
628 if (GetArenaNoVirtual() == NULL && pose_ != NULL)
delete pose_;
633 return pose_ != NULL ? *pose_ : *default_instance_->pose_;
638 pose_ = new ::ignition::msgs::Pose;
663 return !_is_default_instance_ && scale_ != NULL;
666 if (GetArenaNoVirtual() == NULL && scale_ != NULL)
delete scale_;
671 return scale_ != NULL ? *scale_ : *default_instance_->scale_;
675 if (scale_ == NULL) {
676 scale_ = new ::ignition::msgs::Vector3d;
701 return !_is_default_instance_ && material_ != NULL;
704 if (GetArenaNoVirtual() == NULL && material_ != NULL)
delete material_;
709 return material_ != NULL ? *material_ : *default_instance_->material_;
713 if (material_ == NULL) {
714 material_ = new ::ignition::msgs::Material;
728 material_ = material;
739 return point_.size();
746 return point_.Get(index);
750 return point_.Mutable(index);
756 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >*
761 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >&
769 text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
773 return text_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
777 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
782 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
787 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
788 ::
std::string(reinterpret_cast<const char*>(value), size));
794 return text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
799 return text_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
807 text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), text);
813 parent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
817 return parent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
821 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
826 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
831 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
832 ::
std::string(reinterpret_cast<const char*>(value), size));
838 return parent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
843 return parent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
846 if (parent != NULL) {
851 parent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent);
869 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 886 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Type>() {
891 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Visibility>() {
896 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Action>() {
909 #endif // PROTOBUF_ignition_2fmsgs_2fmarker_2eproto__INCLUDED void set_allocated_parent(::std::string *parent)
Definition: marker.pb.h:845
bool has_scale() const
Definition: marker.pb.h:662
void protobuf_AssignDesc_ignition_2fmsgs_2fmarker_2eproto()
const ::ignition::msgs::Vector3d & scale() const
Definition: marker.pb.h:669
void set_allocated_material(::ignition::msgs::Material *material)
Definition: marker.pb.h:726
const Marker_Action Marker_Action_Action_MIN
Definition: marker.pb.h:118
static const ::std::string & Visibility_Name(Visibility value)
Definition: marker.pb.h:254
const ::ignition::msgs::Time & lifetime() const
Definition: marker.pb.h:593
const int Marker_Action_Action_ARRAYSIZE
Definition: marker.pb.h:120
std::unique_ptr< Marker > MarkerUniquePtr
Definition: marker.pb.h:871
Marker & operator=(const Marker &from)
Definition: marker.pb.h:141
Marker_Type Type
Definition: marker.pb.h:192
Definition: marker.pb.h:64
const int Marker_Type_Type_ARRAYSIZE
Definition: marker.pb.h:77
void set_visibility(::ignition::msgs::Marker_Visibility value)
Definition: marker.pb.h:863
::ignition::msgs::Vector3d * add_point()
Definition: marker.pb.h:752
const ::std::string & Marker_Type_Name(Marker_Type value)
Definition: marker.pb.h:80
void set_id(::google::protobuf::uint64 value)
Definition: marker.pb.h:551
static bool Action_IsValid(int value)
Definition: marker.pb.h:269
const ::ignition::msgs::Header & header() const
Definition: marker.pb.h:455
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fmarker_2eproto()
Marker_Type
Definition: marker.pb.h:59
const Marker_Type Marker_Type_Type_MIN
Definition: marker.pb.h:75
const ::std::string & ns() const
Definition: marker.pb.h:503
Definition: marker.pb.h:115
const ::ignition::msgs::Pose & pose() const
Definition: marker.pb.h:631
static const ::std::string & Action_Name(Action value)
Definition: marker.pb.h:282
static bool Type_IsValid(int value)
Definition: marker.pb.h:215
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_point()
Definition: marker.pb.h:757
void clear_point()
Definition: marker.pb.h:741
IGNITION_MSGS_VISIBLE bool Marker_Visibility_IsValid(int value)
::ignition::msgs::Material * mutable_material()
Definition: marker.pb.h:711
const ::std::string & Marker_Action_Name(Marker_Action value)
Definition: marker.pb.h:123
Marker_Visibility
Definition: marker.pb.h:89
bool has_pose() const
Definition: marker.pb.h:624
void clear_lifetime()
Definition: marker.pb.h:589
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: marker.pb.h:170
::std::string * release_text()
Definition: marker.pb.h:796
Definition: marker.pb.h:90
::ignition::msgs::Header * mutable_header()
Definition: marker.pb.h:459
Definition: marker.pb.h:93
::ignition::msgs::Marker_Action action() const
Definition: marker.pb.h:489
const ::std::string & Marker_Visibility_Name(Marker_Visibility value)
Definition: marker.pb.h:101
Definition: marker.pb.h:112
::std::string * mutable_parent()
Definition: marker.pb.h:835
IGNITION_MSGS_VISIBLE bool Marker_Action_IsValid(int value)
void set_allocated_ns(::std::string *ns)
Definition: marker.pb.h:533
Definition: marker.pb.h:62
void set_parent(const ::std::string &value)
Definition: marker.pb.h:819
Definition: marker.pb.h:69
void set_allocated_header(::ignition::msgs::Header *header)
Definition: marker.pb.h:474
const Marker_Type Marker_Type_Type_MAX
Definition: marker.pb.h:76
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: marker.pb.h:231
void clear_parent()
Definition: marker.pb.h:812
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Marker_Visibility_descriptor()
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Marker_Type_descriptor()
bool has_material() const
Definition: marker.pb.h:700
Definition: marker.pb.h:111
IGNITION_MSGS_VISIBLE bool Marker_Type_IsValid(int value)
static bool Visibility_IsValid(int value)
Definition: marker.pb.h:241
Marker_Action Action
Definition: marker.pb.h:262
void clear_scale()
Definition: marker.pb.h:665
static bool Visibility_Parse(const ::std::string &name, Visibility *value)
Definition: marker.pb.h:257
static const ::google::protobuf::EnumDescriptor * Action_descriptor()
Definition: marker.pb.h:279
void clear_visibility()
Definition: marker.pb.h:856
const ::std::string & parent() const
Definition: marker.pb.h:815
bool Marker_Visibility_Parse(const ::std::string &name, Marker_Visibility *value)
Definition: marker.pb.h:105
::ignition::msgs::Marker_Visibility visibility() const
Definition: marker.pb.h:859
void clear_ns()
Definition: marker.pb.h:500
const ::std::string & text() const
Definition: marker.pb.h:771
void set_allocated_text(::std::string *text)
Definition: marker.pb.h:801
::ignition::msgs::Time * mutable_lifetime()
Definition: marker.pb.h:597
void set_text(const ::std::string &value)
Definition: marker.pb.h:775
void protobuf_ShutdownFile_ignition_2fmsgs_2fmarker_2eproto()
Definition: marker.pb.h:61
void clear_material()
Definition: marker.pb.h:703
void clear_action()
Definition: marker.pb.h:486
int point_size() const
Definition: marker.pb.h:738
::std::string * mutable_ns()
Definition: marker.pb.h:523
static const ::google::protobuf::EnumDescriptor * Visibility_descriptor()
Definition: marker.pb.h:251
::ignition::msgs::Header * release_header()
Definition: marker.pb.h:467
Definition: marker.pb.h:63
void clear_text()
Definition: marker.pb.h:768
void clear_pose()
Definition: marker.pb.h:627
bool has_header() const
Definition: marker.pb.h:448
const Marker_Visibility Marker_Visibility_Visibility_MAX
Definition: marker.pb.h:97
bool has_lifetime() const
Definition: marker.pb.h:586
Definition: material.pb.h:448
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: marker.pb.h:225
::ignition::msgs::Marker_Type type() const
Definition: marker.pb.h:575
::std::string * release_ns()
Definition: marker.pb.h:528
Marker * New() const
Definition: marker.pb.h:153
std::shared_ptr< Marker > MarkerSharedPtr
Definition: marker.pb.h:873
::google::protobuf::uint64 id() const
Definition: marker.pb.h:547
Definition: marker.pb.h:60
void set_ns(const ::std::string &value)
Definition: marker.pb.h:507
void set_allocated_lifetime(::ignition::msgs::Time *lifetime)
Definition: marker.pb.h:612
void set_allocated_scale(::ignition::msgs::Vector3d *scale)
Definition: marker.pb.h:688
Definition: vector3d.pb.h:56
Marker_Visibility Visibility
Definition: marker.pb.h:236
Marker_Action
Definition: marker.pb.h:110
Definition: marker.pb.h:113
Definition: marker.pb.h:114
::ignition::msgs::Pose * release_pose()
Definition: marker.pb.h:643
int GetCachedSize() const
Definition: marker.pb.h:173
bool Marker_Action_Parse(const ::std::string &name, Marker_Action *value)
Definition: marker.pb.h:127
Definition: marker.pb.h:134
Definition: marker.pb.h:92
Definition: marker.pb.h:67
::ignition::msgs::Pose * mutable_pose()
Definition: marker.pb.h:635
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > & point() const
Definition: marker.pb.h:762
void set_type(::ignition::msgs::Marker_Type value)
Definition: marker.pb.h:579
::ignition::msgs::Vector3d * release_scale()
Definition: marker.pb.h:681
Definition: marker.pb.h:91
void clear_id()
Definition: marker.pb.h:544
Definition: marker.pb.h:71
const int Marker_Visibility_Visibility_ARRAYSIZE
Definition: marker.pb.h:98
const Marker_Action Marker_Action_Action_MAX
Definition: marker.pb.h:119
::ignition::msgs::Time * release_lifetime()
Definition: marker.pb.h:605
std::unique_ptr< const Marker > ConstMarkerUniquePtr
Definition: marker.pb.h:872
const ::ignition::msgs::Material & material() const
Definition: marker.pb.h:707
const Marker_Visibility Marker_Visibility_Visibility_MIN
Definition: marker.pb.h:96
static bool Action_Parse(const ::std::string &name, Action *value)
Definition: marker.pb.h:285
void clear_type()
Definition: marker.pb.h:572
void set_layer(::google::protobuf::int32 value)
Definition: marker.pb.h:565
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Marker_Action_descriptor()
void set_action(::ignition::msgs::Marker_Action value)
Definition: marker.pb.h:493
::std::string * mutable_text()
Definition: marker.pb.h:791
static const ::std::string & Type_Name(Type value)
Definition: marker.pb.h:228
Definition: marker.pb.h:68
void clear_layer()
Definition: marker.pb.h:558
::std::string * release_parent()
Definition: marker.pb.h:840
::ignition::msgs::Material * release_material()
Definition: marker.pb.h:719
::google::protobuf::int32 layer() const
Definition: marker.pb.h:561
Definition: marker.pb.h:66
Definition: marker.pb.h:65
Definition: marker.pb.h:70
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: marker.pb.h:650
::ignition::msgs::Vector3d * mutable_scale()
Definition: marker.pb.h:673
void clear_header()
Definition: marker.pb.h:451
std::shared_ptr< const Marker > ConstMarkerSharedPtr
Definition: marker.pb.h:874
bool Marker_Type_Parse(const ::std::string &name, Marker_Type *value)
Definition: marker.pb.h:84
Definition: marker.pb.h:72