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> 84 return ::google::protobuf::internal::NameOfEnum(
89 return ::google::protobuf::internal::ParseNamedEnum<Marker_Type>(
105 return ::google::protobuf::internal::NameOfEnum(
110 return ::google::protobuf::internal::ParseNamedEnum<Marker_Visibility>(
127 return ::google::protobuf::internal::NameOfEnum(
132 return ::google::protobuf::internal::ParseNamedEnum<Marker_Action>(
137 class IGNITION_MSGS_VISIBLE
Marker :
public ::google::protobuf::Message {
149 static const ::google::protobuf::Descriptor* descriptor();
150 static const Marker& default_instance();
158 Marker* New(::google::protobuf::Arena* arena)
const;
159 void CopyFrom(const ::google::protobuf::Message& from);
160 void MergeFrom(const ::google::protobuf::Message& from);
161 void CopyFrom(
const Marker& from);
162 void MergeFrom(
const Marker& from);
164 bool IsInitialized()
const;
166 int ByteSize()
const;
167 bool MergePartialFromCodedStream(
168 ::google::protobuf::io::CodedInputStream* input);
169 void SerializeWithCachedSizes(
170 ::google::protobuf::io::CodedOutputStream* output)
const;
171 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
172 bool deterministic, ::google::protobuf::uint8* output)
const;
174 return InternalSerializeWithCachedSizesToArray(
false, output);
180 void SetCachedSize(
int size)
const;
181 void InternalSwap(
Marker* other);
183 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
184 return _internal_metadata_.arena();
186 inline void* MaybeArenaPtr()
const {
187 return _internal_metadata_.raw_arena_ptr();
191 ::google::protobuf::Metadata GetMetadata()
const;
196 static const Type NONE =
198 static const Type BOX =
200 static const Type CYLINDER =
202 static const Type LINE_LIST =
204 static const Type LINE_STRIP =
206 static const Type POINTS =
208 static const Type SPHERE =
210 static const Type TEXT =
212 static const Type TRIANGLE_FAN =
214 static const Type TRIANGLE_LIST =
216 static const Type TRIANGLE_STRIP =
218 static const Type CONE =
220 static const Type ARROW =
222 static const Type AXIS =
227 static const Type Type_MIN =
229 static const Type Type_MAX =
231 static const int Type_ARRAYSIZE =
233 static inline const ::google::protobuf::EnumDescriptor*
237 static inline const ::std::string&
Type_Name(Type value) {
246 static const Visibility
GUI =
248 static const Visibility ALL =
253 static const Visibility Visibility_MIN =
255 static const Visibility Visibility_MAX =
257 static const int Visibility_ARRAYSIZE =
259 static inline const ::google::protobuf::EnumDescriptor*
272 static const Action ADD_MODIFY =
274 static const Action DELETE_MARKER =
276 static const Action DELETE_ALL =
281 static const Action Action_MIN =
283 static const Action Action_MAX =
285 static const int Action_ARRAYSIZE =
287 static inline const ::google::protobuf::EnumDescriptor*
302 bool has_header()
const;
304 static const int kHeaderFieldNumber = 1;
305 const ::ignition::msgs::Header& header()
const;
312 static const int kActionFieldNumber = 2;
318 static const int kNsFieldNumber = 3;
319 const ::std::string& ns()
const;
320 void set_ns(const ::std::string& value);
321 void set_ns(
const char* value);
322 void set_ns(
const char* value,
size_t size);
329 static const int kIdFieldNumber = 4;
330 ::google::protobuf::uint64 id()
const;
331 void set_id(::google::protobuf::uint64 value);
335 static const int kLayerFieldNumber = 5;
336 ::google::protobuf::int32 layer()
const;
337 void set_layer(::google::protobuf::int32 value);
341 static const int kTypeFieldNumber = 6;
346 bool has_lifetime()
const;
347 void clear_lifetime();
348 static const int kLifetimeFieldNumber = 7;
349 const ::ignition::msgs::Time& lifetime()
const;
355 bool has_pose()
const;
357 static const int kPoseFieldNumber = 8;
358 const ::ignition::msgs::Pose& pose()
const;
364 bool has_scale()
const;
366 static const int kScaleFieldNumber = 9;
367 const ::ignition::msgs::Vector3d& scale()
const;
373 bool has_material()
const;
374 void clear_material();
375 static const int kMaterialFieldNumber = 10;
376 const ::ignition::msgs::Material& material()
const;
382 int point_size()
const;
384 static const int kPointFieldNumber = 11;
385 const ::ignition::msgs::Vector3d& point(
int index)
const;
388 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >*
390 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >&
395 static const int kTextFieldNumber = 12;
396 const ::std::string& text()
const;
397 void set_text(const ::std::string& value);
398 void set_text(
const char* value);
399 void set_text(
const char* value,
size_t size);
406 static const int kParentFieldNumber = 13;
407 const ::std::string& parent()
const;
408 void set_parent(const ::std::string& value);
409 void set_parent(
const char* value);
410 void set_parent(
const char* value,
size_t size);
416 void clear_visibility();
417 static const int kVisibilityFieldNumber = 14;
424 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
425 bool _is_default_instance_;
427 ::google::protobuf::internal::ArenaStringPtr ns_;
429 ::google::protobuf::int32 layer_;
430 ::google::protobuf::uint64 id_;
437 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > point_;
438 ::google::protobuf::internal::ArenaStringPtr text_;
439 ::google::protobuf::internal::ArenaStringPtr parent_;
440 mutable int _cached_size_;
445 void InitAsDefaultInstance();
446 static Marker* default_instance_;
453 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 458 return !_is_default_instance_ && header_ != NULL;
461 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
466 return header_ != NULL ? *header_ : *default_instance_->header_;
470 if (header_ == NULL) {
471 header_ = new ::ignition::msgs::Header;
510 ns_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
514 return ns_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
518 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
523 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
528 ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
529 ::
std::string(reinterpret_cast<const char*>(value), size));
535 return ns_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
540 return ns_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
548 ns_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ns);
554 id_ = GOOGLE_ULONGLONG(0);
596 return !_is_default_instance_ && lifetime_ != NULL;
599 if (GetArenaNoVirtual() == NULL && lifetime_ != NULL)
delete lifetime_;
604 return lifetime_ != NULL ? *lifetime_ : *default_instance_->lifetime_;
608 if (lifetime_ == NULL) {
609 lifetime_ = new ::ignition::msgs::Time;
623 lifetime_ = lifetime;
634 return !_is_default_instance_ && pose_ != NULL;
637 if (GetArenaNoVirtual() == NULL && pose_ != NULL)
delete pose_;
642 return pose_ != NULL ? *pose_ : *default_instance_->pose_;
647 pose_ = new ::ignition::msgs::Pose;
672 return !_is_default_instance_ && scale_ != NULL;
675 if (GetArenaNoVirtual() == NULL && scale_ != NULL)
delete scale_;
680 return scale_ != NULL ? *scale_ : *default_instance_->scale_;
684 if (scale_ == NULL) {
685 scale_ = new ::ignition::msgs::Vector3d;
710 return !_is_default_instance_ && material_ != NULL;
713 if (GetArenaNoVirtual() == NULL && material_ != NULL)
delete material_;
718 return material_ != NULL ? *material_ : *default_instance_->material_;
722 if (material_ == NULL) {
723 material_ = new ::ignition::msgs::Material;
737 material_ = material;
748 return point_.size();
755 return point_.Get(index);
759 return point_.Mutable(index);
765 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >*
770 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >&
778 text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
782 return text_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
786 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
791 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
796 text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
797 ::
std::string(reinterpret_cast<const char*>(value), size));
803 return text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
808 return text_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
816 text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), text);
822 parent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
826 return parent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
830 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
835 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
840 parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
841 ::
std::string(reinterpret_cast<const char*>(value), size));
847 return parent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
852 return parent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
855 if (parent != NULL) {
860 parent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent);
878 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 895 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Type>() {
900 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Visibility>() {
905 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Marker_Action>() {
918 #endif // PROTOBUF_ignition_2fmsgs_2fmarker_2eproto__INCLUDED void set_allocated_parent(::std::string *parent)
Definition: marker.pb.h:854
bool has_scale() const
Definition: marker.pb.h:671
void protobuf_AssignDesc_ignition_2fmsgs_2fmarker_2eproto()
const ::ignition::msgs::Vector3d & scale() const
Definition: marker.pb.h:678
void set_allocated_material(::ignition::msgs::Material *material)
Definition: marker.pb.h:735
const Marker_Action Marker_Action_Action_MIN
Definition: marker.pb.h:121
static const ::std::string & Visibility_Name(Visibility value)
Definition: marker.pb.h:263
const ::ignition::msgs::Time & lifetime() const
Definition: marker.pb.h:602
const int Marker_Action_Action_ARRAYSIZE
Definition: marker.pb.h:123
std::unique_ptr< Marker > MarkerUniquePtr
Definition: marker.pb.h:880
Marker & operator=(const Marker &from)
Definition: marker.pb.h:144
Marker_Type Type
Definition: marker.pb.h:195
Definition: marker.pb.h:64
const int Marker_Type_Type_ARRAYSIZE
Definition: marker.pb.h:80
void set_visibility(::ignition::msgs::Marker_Visibility value)
Definition: marker.pb.h:872
::ignition::msgs::Vector3d * add_point()
Definition: marker.pb.h:761
const ::std::string & Marker_Type_Name(Marker_Type value)
Definition: marker.pb.h:83
void set_id(::google::protobuf::uint64 value)
Definition: marker.pb.h:560
static bool Action_IsValid(int value)
Definition: marker.pb.h:278
const ::ignition::msgs::Header & header() const
Definition: marker.pb.h:464
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:78
const ::std::string & ns() const
Definition: marker.pb.h:512
Definition: marker.pb.h:118
const ::ignition::msgs::Pose & pose() const
Definition: marker.pb.h:640
static const ::std::string & Action_Name(Action value)
Definition: marker.pb.h:291
static bool Type_IsValid(int value)
Definition: marker.pb.h:224
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_point()
Definition: marker.pb.h:766
void clear_point()
Definition: marker.pb.h:750
IGNITION_MSGS_VISIBLE bool Marker_Visibility_IsValid(int value)
::ignition::msgs::Material * mutable_material()
Definition: marker.pb.h:720
const ::std::string & Marker_Action_Name(Marker_Action value)
Definition: marker.pb.h:126
Marker_Visibility
Definition: marker.pb.h:92
bool has_pose() const
Definition: marker.pb.h:633
void clear_lifetime()
Definition: marker.pb.h:598
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: marker.pb.h:173
::std::string * release_text()
Definition: marker.pb.h:805
Definition: marker.pb.h:93
::ignition::msgs::Header * mutable_header()
Definition: marker.pb.h:468
Definition: marker.pb.h:96
::ignition::msgs::Marker_Action action() const
Definition: marker.pb.h:498
const ::std::string & Marker_Visibility_Name(Marker_Visibility value)
Definition: marker.pb.h:104
Definition: marker.pb.h:115
::std::string * mutable_parent()
Definition: marker.pb.h:844
IGNITION_MSGS_VISIBLE bool Marker_Action_IsValid(int value)
void set_allocated_ns(::std::string *ns)
Definition: marker.pb.h:542
Definition: marker.pb.h:62
void set_parent(const ::std::string &value)
Definition: marker.pb.h:828
Definition: marker.pb.h:69
void set_allocated_header(::ignition::msgs::Header *header)
Definition: marker.pb.h:483
const Marker_Type Marker_Type_Type_MAX
Definition: marker.pb.h:79
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: marker.pb.h:240
void clear_parent()
Definition: marker.pb.h:821
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:709
Definition: marker.pb.h:114
IGNITION_MSGS_VISIBLE bool Marker_Type_IsValid(int value)
static bool Visibility_IsValid(int value)
Definition: marker.pb.h:250
Marker_Action Action
Definition: marker.pb.h:271
void clear_scale()
Definition: marker.pb.h:674
static bool Visibility_Parse(const ::std::string &name, Visibility *value)
Definition: marker.pb.h:266
static const ::google::protobuf::EnumDescriptor * Action_descriptor()
Definition: marker.pb.h:288
void clear_visibility()
Definition: marker.pb.h:865
const ::std::string & parent() const
Definition: marker.pb.h:824
bool Marker_Visibility_Parse(const ::std::string &name, Marker_Visibility *value)
Definition: marker.pb.h:108
::ignition::msgs::Marker_Visibility visibility() const
Definition: marker.pb.h:868
void clear_ns()
Definition: marker.pb.h:509
const ::std::string & text() const
Definition: marker.pb.h:780
void set_allocated_text(::std::string *text)
Definition: marker.pb.h:810
::ignition::msgs::Time * mutable_lifetime()
Definition: marker.pb.h:606
void set_text(const ::std::string &value)
Definition: marker.pb.h:784
void protobuf_ShutdownFile_ignition_2fmsgs_2fmarker_2eproto()
Definition: marker.pb.h:61
void clear_material()
Definition: marker.pb.h:712
Definition: marker.pb.h:73
void clear_action()
Definition: marker.pb.h:495
int point_size() const
Definition: marker.pb.h:747
::std::string * mutable_ns()
Definition: marker.pb.h:532
static const ::google::protobuf::EnumDescriptor * Visibility_descriptor()
Definition: marker.pb.h:260
::ignition::msgs::Header * release_header()
Definition: marker.pb.h:476
Definition: marker.pb.h:63
void clear_text()
Definition: marker.pb.h:777
Definition: marker.pb.h:72
void clear_pose()
Definition: marker.pb.h:636
bool has_header() const
Definition: marker.pb.h:457
const Marker_Visibility Marker_Visibility_Visibility_MAX
Definition: marker.pb.h:100
bool has_lifetime() const
Definition: marker.pb.h:595
Definition: material.pb.h:448
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: marker.pb.h:234
::ignition::msgs::Marker_Type type() const
Definition: marker.pb.h:584
::std::string * release_ns()
Definition: marker.pb.h:537
Marker * New() const
Definition: marker.pb.h:156
std::shared_ptr< Marker > MarkerSharedPtr
Definition: marker.pb.h:882
::google::protobuf::uint64 id() const
Definition: marker.pb.h:556
Definition: marker.pb.h:60
void set_ns(const ::std::string &value)
Definition: marker.pb.h:516
void set_allocated_lifetime(::ignition::msgs::Time *lifetime)
Definition: marker.pb.h:621
void set_allocated_scale(::ignition::msgs::Vector3d *scale)
Definition: marker.pb.h:697
Definition: vector3d.pb.h:56
Marker_Visibility Visibility
Definition: marker.pb.h:245
Marker_Action
Definition: marker.pb.h:113
Definition: marker.pb.h:116
Definition: marker.pb.h:117
::ignition::msgs::Pose * release_pose()
Definition: marker.pb.h:652
int GetCachedSize() const
Definition: marker.pb.h:176
bool Marker_Action_Parse(const ::std::string &name, Marker_Action *value)
Definition: marker.pb.h:130
Definition: marker.pb.h:137
Definition: marker.pb.h:95
Definition: marker.pb.h:67
Definition: marker.pb.h:71
::ignition::msgs::Pose * mutable_pose()
Definition: marker.pb.h:644
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > & point() const
Definition: marker.pb.h:771
void set_type(::ignition::msgs::Marker_Type value)
Definition: marker.pb.h:588
::ignition::msgs::Vector3d * release_scale()
Definition: marker.pb.h:690
Definition: marker.pb.h:94
void clear_id()
Definition: marker.pb.h:553
Definition: marker.pb.h:74
const int Marker_Visibility_Visibility_ARRAYSIZE
Definition: marker.pb.h:101
const Marker_Action Marker_Action_Action_MAX
Definition: marker.pb.h:122
::ignition::msgs::Time * release_lifetime()
Definition: marker.pb.h:614
std::unique_ptr< const Marker > ConstMarkerUniquePtr
Definition: marker.pb.h:881
const ::ignition::msgs::Material & material() const
Definition: marker.pb.h:716
const Marker_Visibility Marker_Visibility_Visibility_MIN
Definition: marker.pb.h:99
static bool Action_Parse(const ::std::string &name, Action *value)
Definition: marker.pb.h:294
void clear_type()
Definition: marker.pb.h:581
void set_layer(::google::protobuf::int32 value)
Definition: marker.pb.h:574
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Marker_Action_descriptor()
void set_action(::ignition::msgs::Marker_Action value)
Definition: marker.pb.h:502
::std::string * mutable_text()
Definition: marker.pb.h:800
static const ::std::string & Type_Name(Type value)
Definition: marker.pb.h:237
Definition: marker.pb.h:68
void clear_layer()
Definition: marker.pb.h:567
::std::string * release_parent()
Definition: marker.pb.h:849
::ignition::msgs::Material * release_material()
Definition: marker.pb.h:728
::google::protobuf::int32 layer() const
Definition: marker.pb.h:570
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:659
::ignition::msgs::Vector3d * mutable_scale()
Definition: marker.pb.h:682
void clear_header()
Definition: marker.pb.h:460
std::shared_ptr< const Marker > ConstMarkerSharedPtr
Definition: marker.pb.h:883
bool Marker_Type_Parse(const ::std::string &name, Marker_Type *value)
Definition: marker.pb.h:87
Definition: marker.pb.h:75