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> 86 return ::google::protobuf::internal::NameOfEnum(
91 return ::google::protobuf::internal::ParseNamedEnum<Marker_Type>(
107 return ::google::protobuf::internal::NameOfEnum(
112 return ::google::protobuf::internal::ParseNamedEnum<Marker_Visibility>(
129 return ::google::protobuf::internal::NameOfEnum(
134 return ::google::protobuf::internal::ParseNamedEnum<Marker_Action>(
139 class IGNITION_MSGS_VISIBLE
Marker :
public ::google::protobuf::Message {
151 static const ::google::protobuf::Descriptor* descriptor();
152 static const Marker& default_instance();
160 Marker* New(::google::protobuf::Arena* arena)
const;
161 void CopyFrom(const ::google::protobuf::Message& from);
162 void MergeFrom(const ::google::protobuf::Message& from);
163 void CopyFrom(
const Marker& from);
164 void MergeFrom(
const Marker& from);
166 bool IsInitialized()
const;
168 int ByteSize()
const;
169 bool MergePartialFromCodedStream(
170 ::google::protobuf::io::CodedInputStream* input);
171 void SerializeWithCachedSizes(
172 ::google::protobuf::io::CodedOutputStream* output)
const;
173 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
174 bool deterministic, ::google::protobuf::uint8* output)
const;
176 return InternalSerializeWithCachedSizesToArray(
false, output);
182 void SetCachedSize(
int size)
const;
183 void InternalSwap(
Marker* other);
185 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
186 return _internal_metadata_.arena();
188 inline void* MaybeArenaPtr()
const {
189 return _internal_metadata_.raw_arena_ptr();
193 ::google::protobuf::Metadata GetMetadata()
const;
198 static const Type NONE =
200 static const Type BOX =
202 static const Type CYLINDER =
204 static const Type LINE_LIST =
206 static const Type LINE_STRIP =
208 static const Type POINTS =
210 static const Type SPHERE =
212 static const Type TEXT =
214 static const Type TRIANGLE_FAN =
216 static const Type TRIANGLE_LIST =
218 static const Type TRIANGLE_STRIP =
220 static const Type CONE =
222 static const Type ARROW =
224 static const Type AXIS =
226 static const Type CAPSULE =
228 static const Type ELLIPSOID =
233 static const Type Type_MIN =
235 static const Type Type_MAX =
237 static const int Type_ARRAYSIZE =
239 static inline const ::google::protobuf::EnumDescriptor*
243 static inline const ::std::string&
Type_Name(Type value) {
252 static const Visibility
GUI =
254 static const Visibility ALL =
259 static const Visibility Visibility_MIN =
261 static const Visibility Visibility_MAX =
263 static const int Visibility_ARRAYSIZE =
265 static inline const ::google::protobuf::EnumDescriptor*
278 static const Action ADD_MODIFY =
280 static const Action DELETE_MARKER =
282 static const Action DELETE_ALL =
287 static const Action Action_MIN =
289 static const Action Action_MAX =
291 static const int Action_ARRAYSIZE =
293 static inline const ::google::protobuf::EnumDescriptor*
308 bool has_header()
const;
310 static const int kHeaderFieldNumber = 1;
311 const ::ignition::msgs::Header& header()
const;
318 static const int kActionFieldNumber = 2;
324 static const int kNsFieldNumber = 3;
325 const ::std::string& ns()
const;
326 void set_ns(const ::std::string& value);
327 void set_ns(
const char* value);
328 void set_ns(
const char* value,
size_t size);
335 static const int kIdFieldNumber = 4;
336 ::google::protobuf::uint64 id()
const;
337 void set_id(::google::protobuf::uint64 value);
341 static const int kLayerFieldNumber = 5;
342 ::google::protobuf::int32 layer()
const;
343 void set_layer(::google::protobuf::int32 value);
347 static const int kTypeFieldNumber = 6;
352 bool has_lifetime()
const;
353 void clear_lifetime();
354 static const int kLifetimeFieldNumber = 7;
355 const ::ignition::msgs::Time& lifetime()
const;
361 bool has_pose()
const;
363 static const int kPoseFieldNumber = 8;
364 const ::ignition::msgs::Pose& pose()
const;
370 bool has_scale()
const;
372 static const int kScaleFieldNumber = 9;
373 const ::ignition::msgs::Vector3d& scale()
const;
379 bool has_material()
const;
380 void clear_material();
381 static const int kMaterialFieldNumber = 10;
382 const ::ignition::msgs::Material& material()
const;
388 int point_size()
const;
390 static const int kPointFieldNumber = 11;
391 const ::ignition::msgs::Vector3d& point(
int index)
const;
394 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >*
396 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >&
401 static const int kTextFieldNumber = 12;
402 const ::std::string& text()
const;
403 void set_text(const ::std::string& value);
404 void set_text(
const char* value);
405 void set_text(
const char* value,
size_t size);
412 static const int kParentFieldNumber = 13;
413 const ::std::string& parent()
const;
414 void set_parent(const ::std::string& value);
415 void set_parent(
const char* value);
416 void set_parent(
const char* value,
size_t size);
422 void clear_visibility();
423 static const int kVisibilityFieldNumber = 14;
430 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
431 bool _is_default_instance_;
433 ::google::protobuf::internal::ArenaStringPtr ns_;
435 ::google::protobuf::int32 layer_;
436 ::google::protobuf::uint64 id_;
443 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > point_;
444 ::google::protobuf::internal::ArenaStringPtr text_;
445 ::google::protobuf::internal::ArenaStringPtr parent_;
446 mutable int _cached_size_;
451 void InitAsDefaultInstance();
452 static Marker* default_instance_;
459 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 464 return !_is_default_instance_ && header_ != NULL;
467 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
472 return header_ != NULL ? *header_ : *default_instance_->header_;
476 if (header_ == NULL) {
477 header_ = new ::ignition::msgs::Header;
516 ns_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
520 return ns_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
524 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
529 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
534 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
535 ::
std::string(reinterpret_cast<const char*>(value), size));
541 return ns_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
546 return ns_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
554 ns_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ns);
560 id_ = GOOGLE_ULONGLONG(0);
602 return !_is_default_instance_ && lifetime_ != NULL;
605 if (GetArenaNoVirtual() == NULL && lifetime_ != NULL)
delete lifetime_;
610 return lifetime_ != NULL ? *lifetime_ : *default_instance_->lifetime_;
614 if (lifetime_ == NULL) {
615 lifetime_ = new ::ignition::msgs::Time;
629 lifetime_ = lifetime;
640 return !_is_default_instance_ && pose_ != NULL;
643 if (GetArenaNoVirtual() == NULL && pose_ != NULL)
delete pose_;
648 return pose_ != NULL ? *pose_ : *default_instance_->pose_;
653 pose_ = new ::ignition::msgs::Pose;
678 return !_is_default_instance_ && scale_ != NULL;
681 if (GetArenaNoVirtual() == NULL && scale_ != NULL)
delete scale_;
686 return scale_ != NULL ? *scale_ : *default_instance_->scale_;
690 if (scale_ == NULL) {
691 scale_ = new ::ignition::msgs::Vector3d;
716 return !_is_default_instance_ && material_ != NULL;
719 if (GetArenaNoVirtual() == NULL && material_ != NULL)
delete material_;
724 return material_ != NULL ? *material_ : *default_instance_->material_;
728 if (material_ == NULL) {
729 material_ = new ::ignition::msgs::Material;
743 material_ = material;
754 return point_.size();
761 return point_.Get(index);
765 return point_.Mutable(index);
771 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >*
776 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >&
784 text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
788 return text_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
792 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
797 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
802 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
803 ::
std::string(reinterpret_cast<const char*>(value), size));
809 return text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
814 return text_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
822 text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), text);
828 parent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
832 return parent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
836 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
841 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
846 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
847 ::
std::string(reinterpret_cast<const char*>(value), size));
853 return parent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
858 return parent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
861 if (parent != NULL) {
866 parent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent);
884 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 901 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Type>() {
906 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Visibility>() {
911 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Action>() {
924 #endif // PROTOBUF_ignition_2fmsgs_2fmarker_2eproto__INCLUDED void set_allocated_parent(::std::string *parent)
Definition: marker.pb.h:860
bool has_scale() const
Definition: marker.pb.h:677
void protobuf_AssignDesc_ignition_2fmsgs_2fmarker_2eproto()
const ::ignition::msgs::Vector3d & scale() const
Definition: marker.pb.h:684
void set_allocated_material(::ignition::msgs::Material *material)
Definition: marker.pb.h:741
const Marker_Action Marker_Action_Action_MIN
Definition: marker.pb.h:123
static const ::std::string & Visibility_Name(Visibility value)
Definition: marker.pb.h:269
const ::ignition::msgs::Time & lifetime() const
Definition: marker.pb.h:608
const int Marker_Action_Action_ARRAYSIZE
Definition: marker.pb.h:125
std::unique_ptr< Marker > MarkerUniquePtr
Definition: marker.pb.h:886
Marker & operator=(const Marker &from)
Definition: marker.pb.h:146
Marker_Type Type
Definition: marker.pb.h:197
Definition: marker.pb.h:64
const int Marker_Type_Type_ARRAYSIZE
Definition: marker.pb.h:82
void set_visibility(::ignition::msgs::Marker_Visibility value)
Definition: marker.pb.h:878
::ignition::msgs::Vector3d * add_point()
Definition: marker.pb.h:767
const ::std::string & Marker_Type_Name(Marker_Type value)
Definition: marker.pb.h:85
void set_id(::google::protobuf::uint64 value)
Definition: marker.pb.h:566
static bool Action_IsValid(int value)
Definition: marker.pb.h:284
const ::ignition::msgs::Header & header() const
Definition: marker.pb.h:470
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:80
const ::std::string & ns() const
Definition: marker.pb.h:518
Definition: marker.pb.h:120
const ::ignition::msgs::Pose & pose() const
Definition: marker.pb.h:646
static const ::std::string & Action_Name(Action value)
Definition: marker.pb.h:297
static bool Type_IsValid(int value)
Definition: marker.pb.h:230
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_point()
Definition: marker.pb.h:772
void clear_point()
Definition: marker.pb.h:756
IGNITION_MSGS_VISIBLE bool Marker_Visibility_IsValid(int value)
::ignition::msgs::Material * mutable_material()
Definition: marker.pb.h:726
const ::std::string & Marker_Action_Name(Marker_Action value)
Definition: marker.pb.h:128
Marker_Visibility
Definition: marker.pb.h:94
bool has_pose() const
Definition: marker.pb.h:639
void clear_lifetime()
Definition: marker.pb.h:604
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: marker.pb.h:175
::std::string * release_text()
Definition: marker.pb.h:811
Definition: marker.pb.h:95
::ignition::msgs::Header * mutable_header()
Definition: marker.pb.h:474
Definition: marker.pb.h:98
::ignition::msgs::Marker_Action action() const
Definition: marker.pb.h:504
const ::std::string & Marker_Visibility_Name(Marker_Visibility value)
Definition: marker.pb.h:106
Definition: marker.pb.h:117
::std::string * mutable_parent()
Definition: marker.pb.h:850
IGNITION_MSGS_VISIBLE bool Marker_Action_IsValid(int value)
void set_allocated_ns(::std::string *ns)
Definition: marker.pb.h:548
Definition: marker.pb.h:62
void set_parent(const ::std::string &value)
Definition: marker.pb.h:834
Definition: marker.pb.h:69
void set_allocated_header(::ignition::msgs::Header *header)
Definition: marker.pb.h:489
const Marker_Type Marker_Type_Type_MAX
Definition: marker.pb.h:81
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: marker.pb.h:246
void clear_parent()
Definition: marker.pb.h:827
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:715
Definition: marker.pb.h:116
IGNITION_MSGS_VISIBLE bool Marker_Type_IsValid(int value)
static bool Visibility_IsValid(int value)
Definition: marker.pb.h:256
Definition: marker.pb.h:74
Marker_Action Action
Definition: marker.pb.h:277
void clear_scale()
Definition: marker.pb.h:680
static bool Visibility_Parse(const ::std::string &name, Visibility *value)
Definition: marker.pb.h:272
static const ::google::protobuf::EnumDescriptor * Action_descriptor()
Definition: marker.pb.h:294
void clear_visibility()
Definition: marker.pb.h:871
const ::std::string & parent() const
Definition: marker.pb.h:830
bool Marker_Visibility_Parse(const ::std::string &name, Marker_Visibility *value)
Definition: marker.pb.h:110
::ignition::msgs::Marker_Visibility visibility() const
Definition: marker.pb.h:874
void clear_ns()
Definition: marker.pb.h:515
const ::std::string & text() const
Definition: marker.pb.h:786
void set_allocated_text(::std::string *text)
Definition: marker.pb.h:816
::ignition::msgs::Time * mutable_lifetime()
Definition: marker.pb.h:612
void set_text(const ::std::string &value)
Definition: marker.pb.h:790
void protobuf_ShutdownFile_ignition_2fmsgs_2fmarker_2eproto()
Definition: marker.pb.h:61
void clear_material()
Definition: marker.pb.h:718
Definition: marker.pb.h:73
void clear_action()
Definition: marker.pb.h:501
int point_size() const
Definition: marker.pb.h:753
::std::string * mutable_ns()
Definition: marker.pb.h:538
static const ::google::protobuf::EnumDescriptor * Visibility_descriptor()
Definition: marker.pb.h:266
::ignition::msgs::Header * release_header()
Definition: marker.pb.h:482
Definition: marker.pb.h:63
void clear_text()
Definition: marker.pb.h:783
Definition: marker.pb.h:72
void clear_pose()
Definition: marker.pb.h:642
bool has_header() const
Definition: marker.pb.h:463
const Marker_Visibility Marker_Visibility_Visibility_MAX
Definition: marker.pb.h:102
bool has_lifetime() const
Definition: marker.pb.h:601
Definition: material.pb.h:467
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: marker.pb.h:240
::ignition::msgs::Marker_Type type() const
Definition: marker.pb.h:590
::std::string * release_ns()
Definition: marker.pb.h:543
Marker * New() const
Definition: marker.pb.h:158
std::shared_ptr< Marker > MarkerSharedPtr
Definition: marker.pb.h:888
::google::protobuf::uint64 id() const
Definition: marker.pb.h:562
Definition: marker.pb.h:60
void set_ns(const ::std::string &value)
Definition: marker.pb.h:522
void set_allocated_lifetime(::ignition::msgs::Time *lifetime)
Definition: marker.pb.h:627
void set_allocated_scale(::ignition::msgs::Vector3d *scale)
Definition: marker.pb.h:703
Definition: vector3d.pb.h:56
Marker_Visibility Visibility
Definition: marker.pb.h:251
Marker_Action
Definition: marker.pb.h:115
Definition: marker.pb.h:118
Definition: marker.pb.h:119
::ignition::msgs::Pose * release_pose()
Definition: marker.pb.h:658
int GetCachedSize() const
Definition: marker.pb.h:178
bool Marker_Action_Parse(const ::std::string &name, Marker_Action *value)
Definition: marker.pb.h:132
Definition: marker.pb.h:139
Definition: marker.pb.h:97
Definition: marker.pb.h:67
Definition: marker.pb.h:71
::ignition::msgs::Pose * mutable_pose()
Definition: marker.pb.h:650
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > & point() const
Definition: marker.pb.h:777
void set_type(::ignition::msgs::Marker_Type value)
Definition: marker.pb.h:594
::ignition::msgs::Vector3d * release_scale()
Definition: marker.pb.h:696
Definition: marker.pb.h:96
void clear_id()
Definition: marker.pb.h:559
Definition: marker.pb.h:76
const int Marker_Visibility_Visibility_ARRAYSIZE
Definition: marker.pb.h:103
const Marker_Action Marker_Action_Action_MAX
Definition: marker.pb.h:124
::ignition::msgs::Time * release_lifetime()
Definition: marker.pb.h:620
std::unique_ptr< const Marker > ConstMarkerUniquePtr
Definition: marker.pb.h:887
const ::ignition::msgs::Material & material() const
Definition: marker.pb.h:722
const Marker_Visibility Marker_Visibility_Visibility_MIN
Definition: marker.pb.h:101
static bool Action_Parse(const ::std::string &name, Action *value)
Definition: marker.pb.h:300
void clear_type()
Definition: marker.pb.h:587
void set_layer(::google::protobuf::int32 value)
Definition: marker.pb.h:580
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Marker_Action_descriptor()
void set_action(::ignition::msgs::Marker_Action value)
Definition: marker.pb.h:508
::std::string * mutable_text()
Definition: marker.pb.h:806
static const ::std::string & Type_Name(Type value)
Definition: marker.pb.h:243
Definition: marker.pb.h:75
Definition: marker.pb.h:68
void clear_layer()
Definition: marker.pb.h:573
::std::string * release_parent()
Definition: marker.pb.h:855
::ignition::msgs::Material * release_material()
Definition: marker.pb.h:734
::google::protobuf::int32 layer() const
Definition: marker.pb.h:576
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:665
::ignition::msgs::Vector3d * mutable_scale()
Definition: marker.pb.h:688
void clear_header()
Definition: marker.pb.h:466
std::shared_ptr< const Marker > ConstMarkerSharedPtr
Definition: marker.pb.h:889
bool Marker_Type_Parse(const ::std::string &name, Marker_Type *value)
Definition: marker.pb.h:89
Definition: marker.pb.h:77