123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: locate_message.proto
- #ifndef PROTOBUF_locate_5fmessage_2eproto__INCLUDED
- #define PROTOBUF_locate_5fmessage_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #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 <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- #include <google/protobuf/unknown_field_set.h>
- #include "message_base.pb.h"
- // @@protoc_insertion_point(includes)
- namespace protobuf_locate_5fmessage_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[3];
- 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 InitDefaultsLocate_status_msgImpl();
- void InitDefaultsLocate_status_msg();
- void InitDefaultsLocate_request_msgImpl();
- void InitDefaultsLocate_request_msg();
- void InitDefaultsLocate_response_msgImpl();
- void InitDefaultsLocate_response_msg();
- inline void InitDefaults() {
- InitDefaultsLocate_status_msg();
- InitDefaultsLocate_request_msg();
- InitDefaultsLocate_response_msg();
- }
- } // namespace protobuf_locate_5fmessage_2eproto
- namespace message {
- class Locate_request_msg;
- class Locate_request_msgDefaultTypeInternal;
- extern Locate_request_msgDefaultTypeInternal _Locate_request_msg_default_instance_;
- class Locate_response_msg;
- class Locate_response_msgDefaultTypeInternal;
- extern Locate_response_msgDefaultTypeInternal _Locate_response_msg_default_instance_;
- class Locate_status_msg;
- class Locate_status_msgDefaultTypeInternal;
- extern Locate_status_msgDefaultTypeInternal _Locate_status_msg_default_instance_;
- } // namespace message
- namespace message {
- enum Lidar_statu {
- eNormal = 0,
- eBusy = 1,
- eLidarMiss = 2
- };
- bool Lidar_statu_IsValid(int value);
- const Lidar_statu Lidar_statu_MIN = eNormal;
- const Lidar_statu Lidar_statu_MAX = eLidarMiss;
- const int Lidar_statu_ARRAYSIZE = Lidar_statu_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Lidar_statu_descriptor();
- inline const ::std::string& Lidar_statu_Name(Lidar_statu value) {
- return ::google::protobuf::internal::NameOfEnum(
- Lidar_statu_descriptor(), value);
- }
- inline bool Lidar_statu_Parse(
- const ::std::string& name, Lidar_statu* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Lidar_statu>(
- Lidar_statu_descriptor(), name, value);
- }
- enum Locate_type {
- eReal_time = 0,
- eTrigger = 1
- };
- bool Locate_type_IsValid(int value);
- const Locate_type Locate_type_MIN = eReal_time;
- const Locate_type Locate_type_MAX = eTrigger;
- const int Locate_type_ARRAYSIZE = Locate_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Locate_type_descriptor();
- inline const ::std::string& Locate_type_Name(Locate_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Locate_type_descriptor(), value);
- }
- inline bool Locate_type_Parse(
- const ::std::string& name, Locate_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Locate_type>(
- Locate_type_descriptor(), name, value);
- }
- // ===================================================================
- class Locate_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_status_msg) */ {
- public:
- Locate_status_msg();
- virtual ~Locate_status_msg();
- Locate_status_msg(const Locate_status_msg& from);
- inline Locate_status_msg& operator=(const Locate_status_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Locate_status_msg(Locate_status_msg&& from) noexcept
- : Locate_status_msg() {
- *this = ::std::move(from);
- }
- inline Locate_status_msg& operator=(Locate_status_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 Locate_status_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Locate_status_msg* internal_default_instance() {
- return reinterpret_cast<const Locate_status_msg*>(
- &_Locate_status_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 0;
- void Swap(Locate_status_msg* other);
- friend void swap(Locate_status_msg& a, Locate_status_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Locate_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Locate_status_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 Locate_status_msg& from);
- void MergeFrom(const Locate_status_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(Locate_status_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 -------------------------------------------------------
- // optional .message.Command_message cmd_msg = 2;
- bool has_cmd_msg() const;
- void clear_cmd_msg();
- static const int kCmdMsgFieldNumber = 2;
- const ::message::Command_message& cmd_msg() const;
- ::message::Command_message* release_cmd_msg();
- ::message::Command_message* mutable_cmd_msg();
- void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
- // required .message.Message_type msg_type = 1;
- bool has_msg_type() const;
- void clear_msg_type();
- static const int kMsgTypeFieldNumber = 1;
- ::message::Message_type msg_type() const;
- void set_msg_type(::message::Message_type value);
- // required .message.Lidar_statu dj_statu1 = 3;
- bool has_dj_statu1() const;
- void clear_dj_statu1();
- static const int kDjStatu1FieldNumber = 3;
- ::message::Lidar_statu dj_statu1() const;
- void set_dj_statu1(::message::Lidar_statu value);
- // required .message.Lidar_statu dj_statu2 = 4;
- bool has_dj_statu2() const;
- void clear_dj_statu2();
- static const int kDjStatu2FieldNumber = 4;
- ::message::Lidar_statu dj_statu2() const;
- void set_dj_statu2(::message::Lidar_statu value);
- // required .message.Lidar_statu dj_statu3 = 5;
- bool has_dj_statu3() const;
- void clear_dj_statu3();
- static const int kDjStatu3FieldNumber = 5;
- ::message::Lidar_statu dj_statu3() const;
- void set_dj_statu3(::message::Lidar_statu value);
- // required .message.Lidar_statu dj_statu4 = 6;
- bool has_dj_statu4() const;
- void clear_dj_statu4();
- static const int kDjStatu4FieldNumber = 6;
- ::message::Lidar_statu dj_statu4() const;
- void set_dj_statu4(::message::Lidar_statu value);
- // @@protoc_insertion_point(class_scope:message.Locate_status_msg)
- private:
- void set_has_msg_type();
- void clear_has_msg_type();
- void set_has_cmd_msg();
- void clear_has_cmd_msg();
- void set_has_dj_statu1();
- void clear_has_dj_statu1();
- void set_has_dj_statu2();
- void clear_has_dj_statu2();
- void set_has_dj_statu3();
- void clear_has_dj_statu3();
- void set_has_dj_statu4();
- void clear_has_dj_statu4();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::message::Command_message* cmd_msg_;
- int msg_type_;
- int dj_statu1_;
- int dj_statu2_;
- int dj_statu3_;
- int dj_statu4_;
- friend struct ::protobuf_locate_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_locate_5fmessage_2eproto::InitDefaultsLocate_status_msgImpl();
- };
- // -------------------------------------------------------------------
- class Locate_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_request_msg) */ {
- public:
- Locate_request_msg();
- virtual ~Locate_request_msg();
- Locate_request_msg(const Locate_request_msg& from);
- inline Locate_request_msg& operator=(const Locate_request_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Locate_request_msg(Locate_request_msg&& from) noexcept
- : Locate_request_msg() {
- *this = ::std::move(from);
- }
- inline Locate_request_msg& operator=(Locate_request_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 Locate_request_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Locate_request_msg* internal_default_instance() {
- return reinterpret_cast<const Locate_request_msg*>(
- &_Locate_request_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 1;
- void Swap(Locate_request_msg* other);
- friend void swap(Locate_request_msg& a, Locate_request_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Locate_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Locate_request_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 Locate_request_msg& from);
- void MergeFrom(const Locate_request_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(Locate_request_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 -------------------------------------------------------
- // required .message.Command_message cmd_msg = 2;
- bool has_cmd_msg() const;
- void clear_cmd_msg();
- static const int kCmdMsgFieldNumber = 2;
- const ::message::Command_message& cmd_msg() const;
- ::message::Command_message* release_cmd_msg();
- ::message::Command_message* mutable_cmd_msg();
- void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
- // required .message.Message_type msg_type = 1;
- bool has_msg_type() const;
- void clear_msg_type();
- static const int kMsgTypeFieldNumber = 1;
- ::message::Message_type msg_type() const;
- void set_msg_type(::message::Message_type value);
- // required .message.Locate_type locate_type = 3;
- bool has_locate_type() const;
- void clear_locate_type();
- static const int kLocateTypeFieldNumber = 3;
- ::message::Locate_type locate_type() const;
- void set_locate_type(::message::Locate_type value);
- // optional int32 time_out = 4 [default = 5000];
- bool has_time_out() const;
- void clear_time_out();
- static const int kTimeOutFieldNumber = 4;
- ::google::protobuf::int32 time_out() const;
- void set_time_out(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:message.Locate_request_msg)
- private:
- void set_has_msg_type();
- void clear_has_msg_type();
- void set_has_cmd_msg();
- void clear_has_cmd_msg();
- void set_has_locate_type();
- void clear_has_locate_type();
- void set_has_time_out();
- void clear_has_time_out();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::message::Command_message* cmd_msg_;
- int msg_type_;
- int locate_type_;
- ::google::protobuf::int32 time_out_;
- friend struct ::protobuf_locate_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_locate_5fmessage_2eproto::InitDefaultsLocate_request_msgImpl();
- };
- // -------------------------------------------------------------------
- class Locate_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_response_msg) */ {
- public:
- Locate_response_msg();
- virtual ~Locate_response_msg();
- Locate_response_msg(const Locate_response_msg& from);
- inline Locate_response_msg& operator=(const Locate_response_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Locate_response_msg(Locate_response_msg&& from) noexcept
- : Locate_response_msg() {
- *this = ::std::move(from);
- }
- inline Locate_response_msg& operator=(Locate_response_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 Locate_response_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Locate_response_msg* internal_default_instance() {
- return reinterpret_cast<const Locate_response_msg*>(
- &_Locate_response_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 2;
- void Swap(Locate_response_msg* other);
- friend void swap(Locate_response_msg& a, Locate_response_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Locate_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Locate_response_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 Locate_response_msg& from);
- void MergeFrom(const Locate_response_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(Locate_response_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 -------------------------------------------------------
- // optional string error_description = 4;
- bool has_error_description() const;
- void clear_error_description();
- static const int kErrorDescriptionFieldNumber = 4;
- const ::std::string& error_description() const;
- void set_error_description(const ::std::string& value);
- #if LANG_CXX11
- void set_error_description(::std::string&& value);
- #endif
- void set_error_description(const char* value);
- void set_error_description(const char* value, size_t size);
- ::std::string* mutable_error_description();
- ::std::string* release_error_description();
- void set_allocated_error_description(::std::string* error_description);
- // required .message.Command_message cmd_msg = 2;
- bool has_cmd_msg() const;
- void clear_cmd_msg();
- static const int kCmdMsgFieldNumber = 2;
- const ::message::Command_message& cmd_msg() const;
- ::message::Command_message* release_cmd_msg();
- ::message::Command_message* mutable_cmd_msg();
- void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
- // required .message.Message_type msg_type = 1;
- bool has_msg_type() const;
- void clear_msg_type();
- static const int kMsgTypeFieldNumber = 1;
- ::message::Message_type msg_type() const;
- void set_msg_type(::message::Message_type value);
- // required int32 error_code = 3;
- bool has_error_code() const;
- void clear_error_code();
- static const int kErrorCodeFieldNumber = 3;
- ::google::protobuf::int32 error_code() const;
- void set_error_code(::google::protobuf::int32 value);
- // optional float length = 5;
- bool has_length() const;
- void clear_length();
- static const int kLengthFieldNumber = 5;
- float length() const;
- void set_length(float value);
- // optional float width = 6;
- bool has_width() const;
- void clear_width();
- static const int kWidthFieldNumber = 6;
- float width() const;
- void set_width(float value);
- // optional float height = 7;
- bool has_height() const;
- void clear_height();
- static const int kHeightFieldNumber = 7;
- float height() const;
- void set_height(float value);
- // optional float wheel_base = 8;
- bool has_wheel_base() const;
- void clear_wheel_base();
- static const int kWheelBaseFieldNumber = 8;
- float wheel_base() const;
- void set_wheel_base(float value);
- // optional float x = 9;
- bool has_x() const;
- void clear_x();
- static const int kXFieldNumber = 9;
- float x() const;
- void set_x(float value);
- // optional float y = 10;
- bool has_y() const;
- void clear_y();
- static const int kYFieldNumber = 10;
- float y() const;
- void set_y(float value);
- // optional float theta = 11;
- bool has_theta() const;
- void clear_theta();
- static const int kThetaFieldNumber = 11;
- float theta() const;
- void set_theta(float value);
- // @@protoc_insertion_point(class_scope:message.Locate_response_msg)
- private:
- void set_has_msg_type();
- void clear_has_msg_type();
- void set_has_cmd_msg();
- void clear_has_cmd_msg();
- void set_has_error_code();
- void clear_has_error_code();
- void set_has_error_description();
- void clear_has_error_description();
- void set_has_length();
- void clear_has_length();
- void set_has_width();
- void clear_has_width();
- void set_has_height();
- void clear_has_height();
- void set_has_wheel_base();
- void clear_has_wheel_base();
- void set_has_x();
- void clear_has_x();
- void set_has_y();
- void clear_has_y();
- void set_has_theta();
- void clear_has_theta();
- // 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::internal::ArenaStringPtr error_description_;
- ::message::Command_message* cmd_msg_;
- int msg_type_;
- ::google::protobuf::int32 error_code_;
- float length_;
- float width_;
- float height_;
- float wheel_base_;
- float x_;
- float y_;
- float theta_;
- friend struct ::protobuf_locate_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_locate_5fmessage_2eproto::InitDefaultsLocate_response_msgImpl();
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Locate_status_msg
- // required .message.Message_type msg_type = 1;
- inline bool Locate_status_msg::has_msg_type() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Locate_status_msg::set_has_msg_type() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Locate_status_msg::clear_has_msg_type() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Locate_status_msg::clear_msg_type() {
- msg_type_ = 0;
- clear_has_msg_type();
- }
- inline ::message::Message_type Locate_status_msg::msg_type() const {
- // @@protoc_insertion_point(field_get:message.Locate_status_msg.msg_type)
- return static_cast< ::message::Message_type >(msg_type_);
- }
- inline void Locate_status_msg::set_msg_type(::message::Message_type value) {
- assert(::message::Message_type_IsValid(value));
- set_has_msg_type();
- msg_type_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_status_msg.msg_type)
- }
- // optional .message.Command_message cmd_msg = 2;
- inline bool Locate_status_msg::has_cmd_msg() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Locate_status_msg::set_has_cmd_msg() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Locate_status_msg::clear_has_cmd_msg() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::message::Command_message& Locate_status_msg::cmd_msg() const {
- const ::message::Command_message* p = cmd_msg_;
- // @@protoc_insertion_point(field_get:message.Locate_status_msg.cmd_msg)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
- &::message::_Command_message_default_instance_);
- }
- inline ::message::Command_message* Locate_status_msg::release_cmd_msg() {
- // @@protoc_insertion_point(field_release:message.Locate_status_msg.cmd_msg)
- clear_has_cmd_msg();
- ::message::Command_message* temp = cmd_msg_;
- cmd_msg_ = NULL;
- return temp;
- }
- inline ::message::Command_message* Locate_status_msg::mutable_cmd_msg() {
- set_has_cmd_msg();
- if (cmd_msg_ == NULL) {
- cmd_msg_ = new ::message::Command_message;
- }
- // @@protoc_insertion_point(field_mutable:message.Locate_status_msg.cmd_msg)
- return cmd_msg_;
- }
- inline void Locate_status_msg::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
- }
- if (cmd_msg) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, cmd_msg, submessage_arena);
- }
- set_has_cmd_msg();
- } else {
- clear_has_cmd_msg();
- }
- cmd_msg_ = cmd_msg;
- // @@protoc_insertion_point(field_set_allocated:message.Locate_status_msg.cmd_msg)
- }
- // required .message.Lidar_statu dj_statu1 = 3;
- inline bool Locate_status_msg::has_dj_statu1() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Locate_status_msg::set_has_dj_statu1() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Locate_status_msg::clear_has_dj_statu1() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Locate_status_msg::clear_dj_statu1() {
- dj_statu1_ = 0;
- clear_has_dj_statu1();
- }
- inline ::message::Lidar_statu Locate_status_msg::dj_statu1() const {
- // @@protoc_insertion_point(field_get:message.Locate_status_msg.dj_statu1)
- return static_cast< ::message::Lidar_statu >(dj_statu1_);
- }
- inline void Locate_status_msg::set_dj_statu1(::message::Lidar_statu value) {
- assert(::message::Lidar_statu_IsValid(value));
- set_has_dj_statu1();
- dj_statu1_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_status_msg.dj_statu1)
- }
- // required .message.Lidar_statu dj_statu2 = 4;
- inline bool Locate_status_msg::has_dj_statu2() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Locate_status_msg::set_has_dj_statu2() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Locate_status_msg::clear_has_dj_statu2() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Locate_status_msg::clear_dj_statu2() {
- dj_statu2_ = 0;
- clear_has_dj_statu2();
- }
- inline ::message::Lidar_statu Locate_status_msg::dj_statu2() const {
- // @@protoc_insertion_point(field_get:message.Locate_status_msg.dj_statu2)
- return static_cast< ::message::Lidar_statu >(dj_statu2_);
- }
- inline void Locate_status_msg::set_dj_statu2(::message::Lidar_statu value) {
- assert(::message::Lidar_statu_IsValid(value));
- set_has_dj_statu2();
- dj_statu2_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_status_msg.dj_statu2)
- }
- // required .message.Lidar_statu dj_statu3 = 5;
- inline bool Locate_status_msg::has_dj_statu3() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Locate_status_msg::set_has_dj_statu3() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Locate_status_msg::clear_has_dj_statu3() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Locate_status_msg::clear_dj_statu3() {
- dj_statu3_ = 0;
- clear_has_dj_statu3();
- }
- inline ::message::Lidar_statu Locate_status_msg::dj_statu3() const {
- // @@protoc_insertion_point(field_get:message.Locate_status_msg.dj_statu3)
- return static_cast< ::message::Lidar_statu >(dj_statu3_);
- }
- inline void Locate_status_msg::set_dj_statu3(::message::Lidar_statu value) {
- assert(::message::Lidar_statu_IsValid(value));
- set_has_dj_statu3();
- dj_statu3_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_status_msg.dj_statu3)
- }
- // required .message.Lidar_statu dj_statu4 = 6;
- inline bool Locate_status_msg::has_dj_statu4() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Locate_status_msg::set_has_dj_statu4() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Locate_status_msg::clear_has_dj_statu4() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Locate_status_msg::clear_dj_statu4() {
- dj_statu4_ = 0;
- clear_has_dj_statu4();
- }
- inline ::message::Lidar_statu Locate_status_msg::dj_statu4() const {
- // @@protoc_insertion_point(field_get:message.Locate_status_msg.dj_statu4)
- return static_cast< ::message::Lidar_statu >(dj_statu4_);
- }
- inline void Locate_status_msg::set_dj_statu4(::message::Lidar_statu value) {
- assert(::message::Lidar_statu_IsValid(value));
- set_has_dj_statu4();
- dj_statu4_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_status_msg.dj_statu4)
- }
- // -------------------------------------------------------------------
- // Locate_request_msg
- // required .message.Message_type msg_type = 1;
- inline bool Locate_request_msg::has_msg_type() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Locate_request_msg::set_has_msg_type() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Locate_request_msg::clear_has_msg_type() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Locate_request_msg::clear_msg_type() {
- msg_type_ = 0;
- clear_has_msg_type();
- }
- inline ::message::Message_type Locate_request_msg::msg_type() const {
- // @@protoc_insertion_point(field_get:message.Locate_request_msg.msg_type)
- return static_cast< ::message::Message_type >(msg_type_);
- }
- inline void Locate_request_msg::set_msg_type(::message::Message_type value) {
- assert(::message::Message_type_IsValid(value));
- set_has_msg_type();
- msg_type_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_request_msg.msg_type)
- }
- // required .message.Command_message cmd_msg = 2;
- inline bool Locate_request_msg::has_cmd_msg() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Locate_request_msg::set_has_cmd_msg() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Locate_request_msg::clear_has_cmd_msg() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::message::Command_message& Locate_request_msg::cmd_msg() const {
- const ::message::Command_message* p = cmd_msg_;
- // @@protoc_insertion_point(field_get:message.Locate_request_msg.cmd_msg)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
- &::message::_Command_message_default_instance_);
- }
- inline ::message::Command_message* Locate_request_msg::release_cmd_msg() {
- // @@protoc_insertion_point(field_release:message.Locate_request_msg.cmd_msg)
- clear_has_cmd_msg();
- ::message::Command_message* temp = cmd_msg_;
- cmd_msg_ = NULL;
- return temp;
- }
- inline ::message::Command_message* Locate_request_msg::mutable_cmd_msg() {
- set_has_cmd_msg();
- if (cmd_msg_ == NULL) {
- cmd_msg_ = new ::message::Command_message;
- }
- // @@protoc_insertion_point(field_mutable:message.Locate_request_msg.cmd_msg)
- return cmd_msg_;
- }
- inline void Locate_request_msg::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
- }
- if (cmd_msg) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, cmd_msg, submessage_arena);
- }
- set_has_cmd_msg();
- } else {
- clear_has_cmd_msg();
- }
- cmd_msg_ = cmd_msg;
- // @@protoc_insertion_point(field_set_allocated:message.Locate_request_msg.cmd_msg)
- }
- // required .message.Locate_type locate_type = 3;
- inline bool Locate_request_msg::has_locate_type() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Locate_request_msg::set_has_locate_type() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Locate_request_msg::clear_has_locate_type() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Locate_request_msg::clear_locate_type() {
- locate_type_ = 0;
- clear_has_locate_type();
- }
- inline ::message::Locate_type Locate_request_msg::locate_type() const {
- // @@protoc_insertion_point(field_get:message.Locate_request_msg.locate_type)
- return static_cast< ::message::Locate_type >(locate_type_);
- }
- inline void Locate_request_msg::set_locate_type(::message::Locate_type value) {
- assert(::message::Locate_type_IsValid(value));
- set_has_locate_type();
- locate_type_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_request_msg.locate_type)
- }
- // optional int32 time_out = 4 [default = 5000];
- inline bool Locate_request_msg::has_time_out() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Locate_request_msg::set_has_time_out() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Locate_request_msg::clear_has_time_out() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Locate_request_msg::clear_time_out() {
- time_out_ = 5000;
- clear_has_time_out();
- }
- inline ::google::protobuf::int32 Locate_request_msg::time_out() const {
- // @@protoc_insertion_point(field_get:message.Locate_request_msg.time_out)
- return time_out_;
- }
- inline void Locate_request_msg::set_time_out(::google::protobuf::int32 value) {
- set_has_time_out();
- time_out_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_request_msg.time_out)
- }
- // -------------------------------------------------------------------
- // Locate_response_msg
- // required .message.Message_type msg_type = 1;
- inline bool Locate_response_msg::has_msg_type() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Locate_response_msg::set_has_msg_type() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Locate_response_msg::clear_has_msg_type() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Locate_response_msg::clear_msg_type() {
- msg_type_ = 0;
- clear_has_msg_type();
- }
- inline ::message::Message_type Locate_response_msg::msg_type() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.msg_type)
- return static_cast< ::message::Message_type >(msg_type_);
- }
- inline void Locate_response_msg::set_msg_type(::message::Message_type value) {
- assert(::message::Message_type_IsValid(value));
- set_has_msg_type();
- msg_type_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.msg_type)
- }
- // required .message.Command_message cmd_msg = 2;
- inline bool Locate_response_msg::has_cmd_msg() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Locate_response_msg::set_has_cmd_msg() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Locate_response_msg::clear_has_cmd_msg() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::message::Command_message& Locate_response_msg::cmd_msg() const {
- const ::message::Command_message* p = cmd_msg_;
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.cmd_msg)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
- &::message::_Command_message_default_instance_);
- }
- inline ::message::Command_message* Locate_response_msg::release_cmd_msg() {
- // @@protoc_insertion_point(field_release:message.Locate_response_msg.cmd_msg)
- clear_has_cmd_msg();
- ::message::Command_message* temp = cmd_msg_;
- cmd_msg_ = NULL;
- return temp;
- }
- inline ::message::Command_message* Locate_response_msg::mutable_cmd_msg() {
- set_has_cmd_msg();
- if (cmd_msg_ == NULL) {
- cmd_msg_ = new ::message::Command_message;
- }
- // @@protoc_insertion_point(field_mutable:message.Locate_response_msg.cmd_msg)
- return cmd_msg_;
- }
- inline void Locate_response_msg::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
- }
- if (cmd_msg) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, cmd_msg, submessage_arena);
- }
- set_has_cmd_msg();
- } else {
- clear_has_cmd_msg();
- }
- cmd_msg_ = cmd_msg;
- // @@protoc_insertion_point(field_set_allocated:message.Locate_response_msg.cmd_msg)
- }
- // required int32 error_code = 3;
- inline bool Locate_response_msg::has_error_code() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Locate_response_msg::set_has_error_code() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Locate_response_msg::clear_has_error_code() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Locate_response_msg::clear_error_code() {
- error_code_ = 0;
- clear_has_error_code();
- }
- inline ::google::protobuf::int32 Locate_response_msg::error_code() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.error_code)
- return error_code_;
- }
- inline void Locate_response_msg::set_error_code(::google::protobuf::int32 value) {
- set_has_error_code();
- error_code_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.error_code)
- }
- // optional string error_description = 4;
- inline bool Locate_response_msg::has_error_description() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Locate_response_msg::set_has_error_description() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Locate_response_msg::clear_has_error_description() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Locate_response_msg::clear_error_description() {
- error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_error_description();
- }
- inline const ::std::string& Locate_response_msg::error_description() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.error_description)
- return error_description_.GetNoArena();
- }
- inline void Locate_response_msg::set_error_description(const ::std::string& value) {
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.error_description)
- }
- #if LANG_CXX11
- inline void Locate_response_msg::set_error_description(::std::string&& value) {
- set_has_error_description();
- error_description_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Locate_response_msg.error_description)
- }
- #endif
- inline void Locate_response_msg::set_error_description(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Locate_response_msg.error_description)
- }
- inline void Locate_response_msg::set_error_description(const char* value, size_t size) {
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Locate_response_msg.error_description)
- }
- inline ::std::string* Locate_response_msg::mutable_error_description() {
- set_has_error_description();
- // @@protoc_insertion_point(field_mutable:message.Locate_response_msg.error_description)
- return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Locate_response_msg::release_error_description() {
- // @@protoc_insertion_point(field_release:message.Locate_response_msg.error_description)
- clear_has_error_description();
- return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Locate_response_msg::set_allocated_error_description(::std::string* error_description) {
- if (error_description != NULL) {
- set_has_error_description();
- } else {
- clear_has_error_description();
- }
- error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
- // @@protoc_insertion_point(field_set_allocated:message.Locate_response_msg.error_description)
- }
- // optional float length = 5;
- inline bool Locate_response_msg::has_length() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Locate_response_msg::set_has_length() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Locate_response_msg::clear_has_length() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Locate_response_msg::clear_length() {
- length_ = 0;
- clear_has_length();
- }
- inline float Locate_response_msg::length() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.length)
- return length_;
- }
- inline void Locate_response_msg::set_length(float value) {
- set_has_length();
- length_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.length)
- }
- // optional float width = 6;
- inline bool Locate_response_msg::has_width() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Locate_response_msg::set_has_width() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Locate_response_msg::clear_has_width() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Locate_response_msg::clear_width() {
- width_ = 0;
- clear_has_width();
- }
- inline float Locate_response_msg::width() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.width)
- return width_;
- }
- inline void Locate_response_msg::set_width(float value) {
- set_has_width();
- width_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.width)
- }
- // optional float height = 7;
- inline bool Locate_response_msg::has_height() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void Locate_response_msg::set_has_height() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void Locate_response_msg::clear_has_height() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void Locate_response_msg::clear_height() {
- height_ = 0;
- clear_has_height();
- }
- inline float Locate_response_msg::height() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.height)
- return height_;
- }
- inline void Locate_response_msg::set_height(float value) {
- set_has_height();
- height_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.height)
- }
- // optional float wheel_base = 8;
- inline bool Locate_response_msg::has_wheel_base() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
- }
- inline void Locate_response_msg::set_has_wheel_base() {
- _has_bits_[0] |= 0x00000080u;
- }
- inline void Locate_response_msg::clear_has_wheel_base() {
- _has_bits_[0] &= ~0x00000080u;
- }
- inline void Locate_response_msg::clear_wheel_base() {
- wheel_base_ = 0;
- clear_has_wheel_base();
- }
- inline float Locate_response_msg::wheel_base() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.wheel_base)
- return wheel_base_;
- }
- inline void Locate_response_msg::set_wheel_base(float value) {
- set_has_wheel_base();
- wheel_base_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.wheel_base)
- }
- // optional float x = 9;
- inline bool Locate_response_msg::has_x() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void Locate_response_msg::set_has_x() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void Locate_response_msg::clear_has_x() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void Locate_response_msg::clear_x() {
- x_ = 0;
- clear_has_x();
- }
- inline float Locate_response_msg::x() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.x)
- return x_;
- }
- inline void Locate_response_msg::set_x(float value) {
- set_has_x();
- x_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.x)
- }
- // optional float y = 10;
- inline bool Locate_response_msg::has_y() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
- }
- inline void Locate_response_msg::set_has_y() {
- _has_bits_[0] |= 0x00000200u;
- }
- inline void Locate_response_msg::clear_has_y() {
- _has_bits_[0] &= ~0x00000200u;
- }
- inline void Locate_response_msg::clear_y() {
- y_ = 0;
- clear_has_y();
- }
- inline float Locate_response_msg::y() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.y)
- return y_;
- }
- inline void Locate_response_msg::set_y(float value) {
- set_has_y();
- y_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.y)
- }
- // optional float theta = 11;
- inline bool Locate_response_msg::has_theta() const {
- return (_has_bits_[0] & 0x00000400u) != 0;
- }
- inline void Locate_response_msg::set_has_theta() {
- _has_bits_[0] |= 0x00000400u;
- }
- inline void Locate_response_msg::clear_has_theta() {
- _has_bits_[0] &= ~0x00000400u;
- }
- inline void Locate_response_msg::clear_theta() {
- theta_ = 0;
- clear_has_theta();
- }
- inline float Locate_response_msg::theta() const {
- // @@protoc_insertion_point(field_get:message.Locate_response_msg.theta)
- return theta_;
- }
- inline void Locate_response_msg::set_theta(float value) {
- set_has_theta();
- theta_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_response_msg.theta)
- }
- #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::Lidar_statu> : ::google::protobuf::internal::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Lidar_statu>() {
- return ::message::Lidar_statu_descriptor();
- }
- template <> struct is_proto_enum< ::message::Locate_type> : ::google::protobuf::internal::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Locate_type>() {
- return ::message::Locate_type_descriptor();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_locate_5fmessage_2eproto__INCLUDED
|