// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ground_measure_msg.proto #ifndef PROTOBUF_ground_5fmeasure_5fmsg_2eproto__INCLUDED #define PROTOBUF_ground_5fmeasure_5fmsg_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3005000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include #include #include "message_base.pb.h" // @@protoc_insertion_point(includes) namespace protobuf_ground_5fmeasure_5fmsg_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[1]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); void InitDefaultsGround_measure_statu_msgImpl(); void InitDefaultsGround_measure_statu_msg(); inline void InitDefaults() { InitDefaultsGround_measure_statu_msg(); } } // namespace protobuf_ground_5fmeasure_5fmsg_2eproto namespace message { class Ground_measure_statu_msg; class Ground_measure_statu_msgDefaultTypeInternal; extern Ground_measure_statu_msgDefaultTypeInternal _Ground_measure_statu_msg_default_instance_; } // namespace message namespace message { enum Laser_statu { LASER_DISCONNECT = 0, LASER_READY = 1, LASER_BUSY = 2, LASER_FAULT = 3 }; bool Laser_statu_IsValid(int value); const Laser_statu Laser_statu_MIN = LASER_DISCONNECT; const Laser_statu Laser_statu_MAX = LASER_FAULT; const int Laser_statu_ARRAYSIZE = Laser_statu_MAX + 1; const ::google::protobuf::EnumDescriptor* Laser_statu_descriptor(); inline const ::std::string& Laser_statu_Name(Laser_statu value) { return ::google::protobuf::internal::NameOfEnum( Laser_statu_descriptor(), value); } inline bool Laser_statu_Parse( const ::std::string& name, Laser_statu* value) { return ::google::protobuf::internal::ParseNamedEnum( Laser_statu_descriptor(), name, value); } enum Ground_statu { Nothing = 0, Noise = 1, Car_correct = 2, Car_left_out = 3, Car_right_out = 4, Car_top_out = 5, Car_bottom_out = 6 }; bool Ground_statu_IsValid(int value); const Ground_statu Ground_statu_MIN = Nothing; const Ground_statu Ground_statu_MAX = Car_bottom_out; const int Ground_statu_ARRAYSIZE = Ground_statu_MAX + 1; const ::google::protobuf::EnumDescriptor* Ground_statu_descriptor(); inline const ::std::string& Ground_statu_Name(Ground_statu value) { return ::google::protobuf::internal::NameOfEnum( Ground_statu_descriptor(), value); } inline bool Ground_statu_Parse( const ::std::string& name, Ground_statu* value) { return ::google::protobuf::internal::ParseNamedEnum( Ground_statu_descriptor(), name, value); } // =================================================================== class Ground_measure_statu_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Ground_measure_statu_msg) */ { public: Ground_measure_statu_msg(); virtual ~Ground_measure_statu_msg(); Ground_measure_statu_msg(const Ground_measure_statu_msg& from); inline Ground_measure_statu_msg& operator=(const Ground_measure_statu_msg& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Ground_measure_statu_msg(Ground_measure_statu_msg&& from) noexcept : Ground_measure_statu_msg() { *this = ::std::move(from); } inline Ground_measure_statu_msg& operator=(Ground_measure_statu_msg&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Ground_measure_statu_msg& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Ground_measure_statu_msg* internal_default_instance() { return reinterpret_cast( &_Ground_measure_statu_msg_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(Ground_measure_statu_msg* other); friend void swap(Ground_measure_statu_msg& a, Ground_measure_statu_msg& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Ground_measure_statu_msg* New() const PROTOBUF_FINAL { return New(NULL); } Ground_measure_statu_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Ground_measure_statu_msg& from); void MergeFrom(const Ground_measure_statu_msg& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Ground_measure_statu_msg* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated .message.Laser_statu laser_statu_vector = 3; int laser_statu_vector_size() const; void clear_laser_statu_vector(); static const int kLaserStatuVectorFieldNumber = 3; ::message::Laser_statu laser_statu_vector(int index) const; void set_laser_statu_vector(int index, ::message::Laser_statu value); void add_laser_statu_vector(::message::Laser_statu value); const ::google::protobuf::RepeatedField& laser_statu_vector() const; ::google::protobuf::RepeatedField* mutable_laser_statu_vector(); // required .message.Base_info base_info = 1; bool has_base_info() const; void clear_base_info(); static const int kBaseInfoFieldNumber = 1; const ::message::Base_info& base_info() const; ::message::Base_info* release_base_info(); ::message::Base_info* mutable_base_info(); void set_allocated_base_info(::message::Base_info* base_info); // optional .message.Locate_information locate_information_realtime = 5; bool has_locate_information_realtime() const; void clear_locate_information_realtime(); static const int kLocateInformationRealtimeFieldNumber = 5; const ::message::Locate_information& locate_information_realtime() const; ::message::Locate_information* release_locate_information_realtime(); ::message::Locate_information* mutable_locate_information_realtime(); void set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime); // required int32 id = 2; bool has_id() const; void clear_id(); static const int kIdFieldNumber = 2; ::google::protobuf::int32 id() const; void set_id(::google::protobuf::int32 value); // required .message.Ground_statu ground_statu = 4; bool has_ground_statu() const; void clear_ground_statu(); static const int kGroundStatuFieldNumber = 4; ::message::Ground_statu ground_statu() const; void set_ground_statu(::message::Ground_statu value); // @@protoc_insertion_point(class_scope:message.Ground_measure_statu_msg) private: void set_has_base_info(); void clear_has_base_info(); void set_has_id(); void clear_has_id(); void set_has_ground_statu(); void clear_has_ground_statu(); void set_has_locate_information_realtime(); void clear_has_locate_information_realtime(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::RepeatedField laser_statu_vector_; ::message::Base_info* base_info_; ::message::Locate_information* locate_information_realtime_; ::google::protobuf::int32 id_; int ground_statu_; friend struct ::protobuf_ground_5fmeasure_5fmsg_2eproto::TableStruct; friend void ::protobuf_ground_5fmeasure_5fmsg_2eproto::InitDefaultsGround_measure_statu_msgImpl(); }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Ground_measure_statu_msg // required .message.Base_info base_info = 1; inline bool Ground_measure_statu_msg::has_base_info() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Ground_measure_statu_msg::set_has_base_info() { _has_bits_[0] |= 0x00000001u; } inline void Ground_measure_statu_msg::clear_has_base_info() { _has_bits_[0] &= ~0x00000001u; } inline const ::message::Base_info& Ground_measure_statu_msg::base_info() const { const ::message::Base_info* p = base_info_; // @@protoc_insertion_point(field_get:message.Ground_measure_statu_msg.base_info) return p != NULL ? *p : *reinterpret_cast( &::message::_Base_info_default_instance_); } inline ::message::Base_info* Ground_measure_statu_msg::release_base_info() { // @@protoc_insertion_point(field_release:message.Ground_measure_statu_msg.base_info) clear_has_base_info(); ::message::Base_info* temp = base_info_; base_info_ = NULL; return temp; } inline ::message::Base_info* Ground_measure_statu_msg::mutable_base_info() { set_has_base_info(); if (base_info_ == NULL) { base_info_ = new ::message::Base_info; } // @@protoc_insertion_point(field_mutable:message.Ground_measure_statu_msg.base_info) return base_info_; } inline void Ground_measure_statu_msg::set_allocated_base_info(::message::Base_info* base_info) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_); } if (base_info) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { base_info = ::google::protobuf::internal::GetOwnedMessage( message_arena, base_info, submessage_arena); } set_has_base_info(); } else { clear_has_base_info(); } base_info_ = base_info; // @@protoc_insertion_point(field_set_allocated:message.Ground_measure_statu_msg.base_info) } // required int32 id = 2; inline bool Ground_measure_statu_msg::has_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void Ground_measure_statu_msg::set_has_id() { _has_bits_[0] |= 0x00000004u; } inline void Ground_measure_statu_msg::clear_has_id() { _has_bits_[0] &= ~0x00000004u; } inline void Ground_measure_statu_msg::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 Ground_measure_statu_msg::id() const { // @@protoc_insertion_point(field_get:message.Ground_measure_statu_msg.id) return id_; } inline void Ground_measure_statu_msg::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; // @@protoc_insertion_point(field_set:message.Ground_measure_statu_msg.id) } // repeated .message.Laser_statu laser_statu_vector = 3; inline int Ground_measure_statu_msg::laser_statu_vector_size() const { return laser_statu_vector_.size(); } inline void Ground_measure_statu_msg::clear_laser_statu_vector() { laser_statu_vector_.Clear(); } inline ::message::Laser_statu Ground_measure_statu_msg::laser_statu_vector(int index) const { // @@protoc_insertion_point(field_get:message.Ground_measure_statu_msg.laser_statu_vector) return static_cast< ::message::Laser_statu >(laser_statu_vector_.Get(index)); } inline void Ground_measure_statu_msg::set_laser_statu_vector(int index, ::message::Laser_statu value) { assert(::message::Laser_statu_IsValid(value)); laser_statu_vector_.Set(index, value); // @@protoc_insertion_point(field_set:message.Ground_measure_statu_msg.laser_statu_vector) } inline void Ground_measure_statu_msg::add_laser_statu_vector(::message::Laser_statu value) { assert(::message::Laser_statu_IsValid(value)); laser_statu_vector_.Add(value); // @@protoc_insertion_point(field_add:message.Ground_measure_statu_msg.laser_statu_vector) } inline const ::google::protobuf::RepeatedField& Ground_measure_statu_msg::laser_statu_vector() const { // @@protoc_insertion_point(field_list:message.Ground_measure_statu_msg.laser_statu_vector) return laser_statu_vector_; } inline ::google::protobuf::RepeatedField* Ground_measure_statu_msg::mutable_laser_statu_vector() { // @@protoc_insertion_point(field_mutable_list:message.Ground_measure_statu_msg.laser_statu_vector) return &laser_statu_vector_; } // required .message.Ground_statu ground_statu = 4; inline bool Ground_measure_statu_msg::has_ground_statu() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void Ground_measure_statu_msg::set_has_ground_statu() { _has_bits_[0] |= 0x00000008u; } inline void Ground_measure_statu_msg::clear_has_ground_statu() { _has_bits_[0] &= ~0x00000008u; } inline void Ground_measure_statu_msg::clear_ground_statu() { ground_statu_ = 0; clear_has_ground_statu(); } inline ::message::Ground_statu Ground_measure_statu_msg::ground_statu() const { // @@protoc_insertion_point(field_get:message.Ground_measure_statu_msg.ground_statu) return static_cast< ::message::Ground_statu >(ground_statu_); } inline void Ground_measure_statu_msg::set_ground_statu(::message::Ground_statu value) { assert(::message::Ground_statu_IsValid(value)); set_has_ground_statu(); ground_statu_ = value; // @@protoc_insertion_point(field_set:message.Ground_measure_statu_msg.ground_statu) } // optional .message.Locate_information locate_information_realtime = 5; inline bool Ground_measure_statu_msg::has_locate_information_realtime() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void Ground_measure_statu_msg::set_has_locate_information_realtime() { _has_bits_[0] |= 0x00000002u; } inline void Ground_measure_statu_msg::clear_has_locate_information_realtime() { _has_bits_[0] &= ~0x00000002u; } inline const ::message::Locate_information& Ground_measure_statu_msg::locate_information_realtime() const { const ::message::Locate_information* p = locate_information_realtime_; // @@protoc_insertion_point(field_get:message.Ground_measure_statu_msg.locate_information_realtime) return p != NULL ? *p : *reinterpret_cast( &::message::_Locate_information_default_instance_); } inline ::message::Locate_information* Ground_measure_statu_msg::release_locate_information_realtime() { // @@protoc_insertion_point(field_release:message.Ground_measure_statu_msg.locate_information_realtime) clear_has_locate_information_realtime(); ::message::Locate_information* temp = locate_information_realtime_; locate_information_realtime_ = NULL; return temp; } inline ::message::Locate_information* Ground_measure_statu_msg::mutable_locate_information_realtime() { set_has_locate_information_realtime(); if (locate_information_realtime_ == NULL) { locate_information_realtime_ = new ::message::Locate_information; } // @@protoc_insertion_point(field_mutable:message.Ground_measure_statu_msg.locate_information_realtime) return locate_information_realtime_; } inline void Ground_measure_statu_msg::set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_realtime_); } if (locate_information_realtime) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { locate_information_realtime = ::google::protobuf::internal::GetOwnedMessage( message_arena, locate_information_realtime, submessage_arena); } set_has_locate_information_realtime(); } else { clear_has_locate_information_realtime(); } locate_information_realtime_ = locate_information_realtime; // @@protoc_insertion_point(field_set_allocated:message.Ground_measure_statu_msg.locate_information_realtime) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace message namespace google { namespace protobuf { template <> struct is_proto_enum< ::message::Laser_statu> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_statu>() { return ::message::Laser_statu_descriptor(); } template <> struct is_proto_enum< ::message::Ground_statu> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::message::Ground_statu>() { return ::message::Ground_statu_descriptor(); } } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_ground_5fmeasure_5fmsg_2eproto__INCLUDED