123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: wj_lidar_conf.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3013000
- #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 3013000 < 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/port_undef.inc>
- #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/inlined_string_field.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.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/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fconf_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_wj_5flidar_5fconf_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_wj_5flidar_5fconf_2eproto;
- namespace wj {
- class Region;
- class RegionDefaultTypeInternal;
- extern RegionDefaultTypeInternal _Region_default_instance_;
- class Transform2d;
- class Transform2dDefaultTypeInternal;
- extern Transform2dDefaultTypeInternal _Transform2d_default_instance_;
- class netConfig;
- class netConfigDefaultTypeInternal;
- extern netConfigDefaultTypeInternal _netConfig_default_instance_;
- class scanLimit;
- class scanLimitDefaultTypeInternal;
- extern scanLimitDefaultTypeInternal _scanLimit_default_instance_;
- class wjLidarParams;
- class wjLidarParamsDefaultTypeInternal;
- extern wjLidarParamsDefaultTypeInternal _wjLidarParams_default_instance_;
- class wjManagerParams;
- class wjManagerParamsDefaultTypeInternal;
- extern wjManagerParamsDefaultTypeInternal _wjManagerParams_default_instance_;
- } // namespace wj
- PROTOBUF_NAMESPACE_OPEN
- template<> ::wj::Region* Arena::CreateMaybeMessage<::wj::Region>(Arena*);
- template<> ::wj::Transform2d* Arena::CreateMaybeMessage<::wj::Transform2d>(Arena*);
- template<> ::wj::netConfig* Arena::CreateMaybeMessage<::wj::netConfig>(Arena*);
- template<> ::wj::scanLimit* Arena::CreateMaybeMessage<::wj::scanLimit>(Arena*);
- template<> ::wj::wjLidarParams* Arena::CreateMaybeMessage<::wj::wjLidarParams>(Arena*);
- template<> ::wj::wjManagerParams* Arena::CreateMaybeMessage<::wj::wjManagerParams>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace wj {
- // ===================================================================
- class wjManagerParams PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.wjManagerParams) */ {
- public:
- inline wjManagerParams() : wjManagerParams(nullptr) {}
- virtual ~wjManagerParams();
- wjManagerParams(const wjManagerParams& from);
- wjManagerParams(wjManagerParams&& from) noexcept
- : wjManagerParams() {
- *this = ::std::move(from);
- }
- inline wjManagerParams& operator=(const wjManagerParams& from) {
- CopyFrom(from);
- return *this;
- }
- inline wjManagerParams& operator=(wjManagerParams&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const wjManagerParams& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const wjManagerParams* internal_default_instance() {
- return reinterpret_cast<const wjManagerParams*>(
- &_wjManagerParams_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(wjManagerParams& a, wjManagerParams& b) {
- a.Swap(&b);
- }
- inline void Swap(wjManagerParams* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(wjManagerParams* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline wjManagerParams* New() const final {
- return CreateMaybeMessage<wjManagerParams>(nullptr);
- }
- wjManagerParams* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<wjManagerParams>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const wjManagerParams& from);
- void MergeFrom(const wjManagerParams& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(wjManagerParams* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "wj.wjManagerParams";
- }
- protected:
- explicit wjManagerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
- return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kWjLidarFieldNumber = 1,
- kRegionsFieldNumber = 2,
- kFenceDataPathFieldNumber = 3,
- kFenceLogPathFieldNumber = 4,
- kPlcIpAddressFieldNumber = 5,
- };
- // repeated .wj.wjLidarParams wj_lidar = 1;
- int wj_lidar_size() const;
- private:
- int _internal_wj_lidar_size() const;
- public:
- void clear_wj_lidar();
- ::wj::wjLidarParams* mutable_wj_lidar(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams >*
- mutable_wj_lidar();
- private:
- const ::wj::wjLidarParams& _internal_wj_lidar(int index) const;
- ::wj::wjLidarParams* _internal_add_wj_lidar();
- public:
- const ::wj::wjLidarParams& wj_lidar(int index) const;
- ::wj::wjLidarParams* add_wj_lidar();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams >&
- wj_lidar() const;
- // repeated .wj.Region regions = 2;
- int regions_size() const;
- private:
- int _internal_regions_size() const;
- public:
- void clear_regions();
- ::wj::Region* mutable_regions(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region >*
- mutable_regions();
- private:
- const ::wj::Region& _internal_regions(int index) const;
- ::wj::Region* _internal_add_regions();
- public:
- const ::wj::Region& regions(int index) const;
- ::wj::Region* add_regions();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region >&
- regions() const;
- // optional string fence_data_path = 3 [default = ""];
- bool has_fence_data_path() const;
- private:
- bool _internal_has_fence_data_path() const;
- public:
- void clear_fence_data_path();
- const std::string& fence_data_path() const;
- void set_fence_data_path(const std::string& value);
- void set_fence_data_path(std::string&& value);
- void set_fence_data_path(const char* value);
- void set_fence_data_path(const char* value, size_t size);
- std::string* mutable_fence_data_path();
- std::string* release_fence_data_path();
- void set_allocated_fence_data_path(std::string* fence_data_path);
- private:
- const std::string& _internal_fence_data_path() const;
- void _internal_set_fence_data_path(const std::string& value);
- std::string* _internal_mutable_fence_data_path();
- public:
- // optional string fence_log_path = 4 [default = ""];
- bool has_fence_log_path() const;
- private:
- bool _internal_has_fence_log_path() const;
- public:
- void clear_fence_log_path();
- const std::string& fence_log_path() const;
- void set_fence_log_path(const std::string& value);
- void set_fence_log_path(std::string&& value);
- void set_fence_log_path(const char* value);
- void set_fence_log_path(const char* value, size_t size);
- std::string* mutable_fence_log_path();
- std::string* release_fence_log_path();
- void set_allocated_fence_log_path(std::string* fence_log_path);
- private:
- const std::string& _internal_fence_log_path() const;
- void _internal_set_fence_log_path(const std::string& value);
- std::string* _internal_mutable_fence_log_path();
- public:
- // optional string plc_ip_address = 5 [default = "192.168.0.1"];
- bool has_plc_ip_address() const;
- private:
- bool _internal_has_plc_ip_address() const;
- public:
- void clear_plc_ip_address();
- const std::string& plc_ip_address() const;
- void set_plc_ip_address(const std::string& value);
- void set_plc_ip_address(std::string&& value);
- void set_plc_ip_address(const char* value);
- void set_plc_ip_address(const char* value, size_t size);
- std::string* mutable_plc_ip_address();
- std::string* release_plc_ip_address();
- void set_allocated_plc_ip_address(std::string* plc_ip_address);
- private:
- const std::string& _internal_plc_ip_address() const;
- void _internal_set_plc_ip_address(const std::string& value);
- std::string* _internal_mutable_plc_ip_address();
- public:
- // @@protoc_insertion_point(class_scope:wj.wjManagerParams)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams > wj_lidar_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region > regions_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fence_data_path_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fence_log_path_;
- public:
- static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> _i_give_permission_to_break_this_code_default_plc_ip_address_;
- private:
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr plc_ip_address_;
- friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
- };
- // -------------------------------------------------------------------
- class Region PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.Region) */ {
- public:
- inline Region() : Region(nullptr) {}
- virtual ~Region();
- Region(const Region& from);
- Region(Region&& from) noexcept
- : Region() {
- *this = ::std::move(from);
- }
- inline Region& operator=(const Region& from) {
- CopyFrom(from);
- return *this;
- }
- inline Region& operator=(Region&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const Region& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Region* internal_default_instance() {
- return reinterpret_cast<const Region*>(
- &_Region_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(Region& a, Region& b) {
- a.Swap(&b);
- }
- inline void Swap(Region* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Region* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline Region* New() const final {
- return CreateMaybeMessage<Region>(nullptr);
- }
- Region* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<Region>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const Region& from);
- void MergeFrom(const Region& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Region* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "wj.Region";
- }
- protected:
- explicit Region(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
- return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kMinxFieldNumber = 1,
- kMaxxFieldNumber = 2,
- kMinyFieldNumber = 3,
- kMaxyFieldNumber = 4,
- };
- // required float minx = 1;
- bool has_minx() const;
- private:
- bool _internal_has_minx() const;
- public:
- void clear_minx();
- float minx() const;
- void set_minx(float value);
- private:
- float _internal_minx() const;
- void _internal_set_minx(float value);
- public:
- // required float maxx = 2;
- bool has_maxx() const;
- private:
- bool _internal_has_maxx() const;
- public:
- void clear_maxx();
- float maxx() const;
- void set_maxx(float value);
- private:
- float _internal_maxx() const;
- void _internal_set_maxx(float value);
- public:
- // required float miny = 3;
- bool has_miny() const;
- private:
- bool _internal_has_miny() const;
- public:
- void clear_miny();
- float miny() const;
- void set_miny(float value);
- private:
- float _internal_miny() const;
- void _internal_set_miny(float value);
- public:
- // required float maxy = 4;
- bool has_maxy() const;
- private:
- bool _internal_has_maxy() const;
- public:
- void clear_maxy();
- float maxy() const;
- void set_maxy(float value);
- private:
- float _internal_maxy() const;
- void _internal_set_maxy(float value);
- public:
- // @@protoc_insertion_point(class_scope:wj.Region)
- private:
- class _Internal;
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- float minx_;
- float maxx_;
- float miny_;
- float maxy_;
- friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
- };
- // -------------------------------------------------------------------
- class wjLidarParams PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.wjLidarParams) */ {
- public:
- inline wjLidarParams() : wjLidarParams(nullptr) {}
- virtual ~wjLidarParams();
- wjLidarParams(const wjLidarParams& from);
- wjLidarParams(wjLidarParams&& from) noexcept
- : wjLidarParams() {
- *this = ::std::move(from);
- }
- inline wjLidarParams& operator=(const wjLidarParams& from) {
- CopyFrom(from);
- return *this;
- }
- inline wjLidarParams& operator=(wjLidarParams&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const wjLidarParams& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const wjLidarParams* internal_default_instance() {
- return reinterpret_cast<const wjLidarParams*>(
- &_wjLidarParams_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(wjLidarParams& a, wjLidarParams& b) {
- a.Swap(&b);
- }
- inline void Swap(wjLidarParams* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(wjLidarParams* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline wjLidarParams* New() const final {
- return CreateMaybeMessage<wjLidarParams>(nullptr);
- }
- wjLidarParams* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<wjLidarParams>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const wjLidarParams& from);
- void MergeFrom(const wjLidarParams& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(wjLidarParams* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "wj.wjLidarParams";
- }
- protected:
- explicit wjLidarParams(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
- return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNetConfigFieldNumber = 7,
- kTransformFieldNumber = 8,
- kScanLimitFieldNumber = 9,
- kRangeMinFieldNumber = 5,
- kRangeMaxFieldNumber = 6,
- kAngleMinFieldNumber = 1,
- kAngleMaxFieldNumber = 2,
- kAngleIncrementFieldNumber = 3,
- kTimeIncrementFieldNumber = 4,
- };
- // required .wj.netConfig net_config = 7;
- bool has_net_config() const;
- private:
- bool _internal_has_net_config() const;
- public:
- void clear_net_config();
- const ::wj::netConfig& net_config() const;
- ::wj::netConfig* release_net_config();
- ::wj::netConfig* mutable_net_config();
- void set_allocated_net_config(::wj::netConfig* net_config);
- private:
- const ::wj::netConfig& _internal_net_config() const;
- ::wj::netConfig* _internal_mutable_net_config();
- public:
- void unsafe_arena_set_allocated_net_config(
- ::wj::netConfig* net_config);
- ::wj::netConfig* unsafe_arena_release_net_config();
- // required .wj.Transform2d transform = 8;
- bool has_transform() const;
- private:
- bool _internal_has_transform() const;
- public:
- void clear_transform();
- const ::wj::Transform2d& transform() const;
- ::wj::Transform2d* release_transform();
- ::wj::Transform2d* mutable_transform();
- void set_allocated_transform(::wj::Transform2d* transform);
- private:
- const ::wj::Transform2d& _internal_transform() const;
- ::wj::Transform2d* _internal_mutable_transform();
- public:
- void unsafe_arena_set_allocated_transform(
- ::wj::Transform2d* transform);
- ::wj::Transform2d* unsafe_arena_release_transform();
- // required .wj.scanLimit scan_limit = 9;
- bool has_scan_limit() const;
- private:
- bool _internal_has_scan_limit() const;
- public:
- void clear_scan_limit();
- const ::wj::scanLimit& scan_limit() const;
- ::wj::scanLimit* release_scan_limit();
- ::wj::scanLimit* mutable_scan_limit();
- void set_allocated_scan_limit(::wj::scanLimit* scan_limit);
- private:
- const ::wj::scanLimit& _internal_scan_limit() const;
- ::wj::scanLimit* _internal_mutable_scan_limit();
- public:
- void unsafe_arena_set_allocated_scan_limit(
- ::wj::scanLimit* scan_limit);
- ::wj::scanLimit* unsafe_arena_release_scan_limit();
- // optional int32 range_min = 5 [default = 0];
- bool has_range_min() const;
- private:
- bool _internal_has_range_min() const;
- public:
- void clear_range_min();
- ::PROTOBUF_NAMESPACE_ID::int32 range_min() const;
- void set_range_min(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_range_min() const;
- void _internal_set_range_min(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // optional int32 range_max = 6 [default = 30];
- bool has_range_max() const;
- private:
- bool _internal_has_range_max() const;
- public:
- void clear_range_max();
- ::PROTOBUF_NAMESPACE_ID::int32 range_max() const;
- void set_range_max(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_range_max() const;
- void _internal_set_range_max(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // optional float angle_min = 1 [default = -2.3561945];
- bool has_angle_min() const;
- private:
- bool _internal_has_angle_min() const;
- public:
- void clear_angle_min();
- float angle_min() const;
- void set_angle_min(float value);
- private:
- float _internal_angle_min() const;
- void _internal_set_angle_min(float value);
- public:
- // optional float angle_max = 2 [default = 2.3561945];
- bool has_angle_max() const;
- private:
- bool _internal_has_angle_max() const;
- public:
- void clear_angle_max();
- float angle_max() const;
- void set_angle_max(float value);
- private:
- float _internal_angle_max() const;
- void _internal_set_angle_max(float value);
- public:
- // optional float angle_increment = 3 [default = 0.00582];
- bool has_angle_increment() const;
- private:
- bool _internal_has_angle_increment() const;
- public:
- void clear_angle_increment();
- float angle_increment() const;
- void set_angle_increment(float value);
- private:
- float _internal_angle_increment() const;
- void _internal_set_angle_increment(float value);
- public:
- // optional float time_increment = 4 [default = 6.2e-05];
- bool has_time_increment() const;
- private:
- bool _internal_has_time_increment() const;
- public:
- void clear_time_increment();
- float time_increment() const;
- void set_time_increment(float value);
- private:
- float _internal_time_increment() const;
- void _internal_set_time_increment(float value);
- public:
- // @@protoc_insertion_point(class_scope:wj.wjLidarParams)
- private:
- class _Internal;
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::wj::netConfig* net_config_;
- ::wj::Transform2d* transform_;
- ::wj::scanLimit* scan_limit_;
- ::PROTOBUF_NAMESPACE_ID::int32 range_min_;
- ::PROTOBUF_NAMESPACE_ID::int32 range_max_;
- float angle_min_;
- float angle_max_;
- float angle_increment_;
- float time_increment_;
- friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
- };
- // -------------------------------------------------------------------
- class netConfig PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.netConfig) */ {
- public:
- inline netConfig() : netConfig(nullptr) {}
- virtual ~netConfig();
- netConfig(const netConfig& from);
- netConfig(netConfig&& from) noexcept
- : netConfig() {
- *this = ::std::move(from);
- }
- inline netConfig& operator=(const netConfig& from) {
- CopyFrom(from);
- return *this;
- }
- inline netConfig& operator=(netConfig&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const netConfig& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const netConfig* internal_default_instance() {
- return reinterpret_cast<const netConfig*>(
- &_netConfig_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(netConfig& a, netConfig& b) {
- a.Swap(&b);
- }
- inline void Swap(netConfig* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(netConfig* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline netConfig* New() const final {
- return CreateMaybeMessage<netConfig>(nullptr);
- }
- netConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<netConfig>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const netConfig& from);
- void MergeFrom(const netConfig& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(netConfig* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "wj.netConfig";
- }
- protected:
- explicit netConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
- return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kIpAddressFieldNumber = 1,
- kPortFieldNumber = 2,
- };
- // optional string ip_address = 1 [default = ""];
- bool has_ip_address() const;
- private:
- bool _internal_has_ip_address() const;
- public:
- void clear_ip_address();
- const std::string& ip_address() const;
- void set_ip_address(const std::string& value);
- void set_ip_address(std::string&& value);
- void set_ip_address(const char* value);
- void set_ip_address(const char* value, size_t size);
- std::string* mutable_ip_address();
- std::string* release_ip_address();
- void set_allocated_ip_address(std::string* ip_address);
- private:
- const std::string& _internal_ip_address() const;
- void _internal_set_ip_address(const std::string& value);
- std::string* _internal_mutable_ip_address();
- public:
- // optional int32 port = 2 [default = 8000];
- bool has_port() const;
- private:
- bool _internal_has_port() const;
- public:
- void clear_port();
- ::PROTOBUF_NAMESPACE_ID::int32 port() const;
- void set_port(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_port() const;
- void _internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:wj.netConfig)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_address_;
- ::PROTOBUF_NAMESPACE_ID::int32 port_;
- friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
- };
- // -------------------------------------------------------------------
- class Transform2d PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.Transform2d) */ {
- public:
- inline Transform2d() : Transform2d(nullptr) {}
- virtual ~Transform2d();
- Transform2d(const Transform2d& from);
- Transform2d(Transform2d&& from) noexcept
- : Transform2d() {
- *this = ::std::move(from);
- }
- inline Transform2d& operator=(const Transform2d& from) {
- CopyFrom(from);
- return *this;
- }
- inline Transform2d& operator=(Transform2d&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const Transform2d& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Transform2d* internal_default_instance() {
- return reinterpret_cast<const Transform2d*>(
- &_Transform2d_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(Transform2d& a, Transform2d& b) {
- a.Swap(&b);
- }
- inline void Swap(Transform2d* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Transform2d* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline Transform2d* New() const final {
- return CreateMaybeMessage<Transform2d>(nullptr);
- }
- Transform2d* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<Transform2d>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const Transform2d& from);
- void MergeFrom(const Transform2d& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Transform2d* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "wj.Transform2d";
- }
- protected:
- explicit Transform2d(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
- return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kM01FieldNumber = 2,
- kM02FieldNumber = 3,
- kM10FieldNumber = 4,
- kM12FieldNumber = 6,
- kM00FieldNumber = 1,
- kM11FieldNumber = 5,
- };
- // optional float m01 = 2 [default = 0];
- bool has_m01() const;
- private:
- bool _internal_has_m01() const;
- public:
- void clear_m01();
- float m01() const;
- void set_m01(float value);
- private:
- float _internal_m01() const;
- void _internal_set_m01(float value);
- public:
- // optional float m02 = 3 [default = 0];
- bool has_m02() const;
- private:
- bool _internal_has_m02() const;
- public:
- void clear_m02();
- float m02() const;
- void set_m02(float value);
- private:
- float _internal_m02() const;
- void _internal_set_m02(float value);
- public:
- // optional float m10 = 4 [default = 0];
- bool has_m10() const;
- private:
- bool _internal_has_m10() const;
- public:
- void clear_m10();
- float m10() const;
- void set_m10(float value);
- private:
- float _internal_m10() const;
- void _internal_set_m10(float value);
- public:
- // optional float m12 = 6 [default = 0];
- bool has_m12() const;
- private:
- bool _internal_has_m12() const;
- public:
- void clear_m12();
- float m12() const;
- void set_m12(float value);
- private:
- float _internal_m12() const;
- void _internal_set_m12(float value);
- public:
- // optional float m00 = 1 [default = 1];
- bool has_m00() const;
- private:
- bool _internal_has_m00() const;
- public:
- void clear_m00();
- float m00() const;
- void set_m00(float value);
- private:
- float _internal_m00() const;
- void _internal_set_m00(float value);
- public:
- // optional float m11 = 5 [default = 1];
- bool has_m11() const;
- private:
- bool _internal_has_m11() const;
- public:
- void clear_m11();
- float m11() const;
- void set_m11(float value);
- private:
- float _internal_m11() const;
- void _internal_set_m11(float value);
- public:
- // @@protoc_insertion_point(class_scope:wj.Transform2d)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- float m01_;
- float m02_;
- float m10_;
- float m12_;
- float m00_;
- float m11_;
- friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
- };
- // -------------------------------------------------------------------
- class scanLimit PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.scanLimit) */ {
- public:
- inline scanLimit() : scanLimit(nullptr) {}
- virtual ~scanLimit();
- scanLimit(const scanLimit& from);
- scanLimit(scanLimit&& from) noexcept
- : scanLimit() {
- *this = ::std::move(from);
- }
- inline scanLimit& operator=(const scanLimit& from) {
- CopyFrom(from);
- return *this;
- }
- inline scanLimit& operator=(scanLimit&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const scanLimit& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const scanLimit* internal_default_instance() {
- return reinterpret_cast<const scanLimit*>(
- &_scanLimit_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(scanLimit& a, scanLimit& b) {
- a.Swap(&b);
- }
- inline void Swap(scanLimit* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(scanLimit* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline scanLimit* New() const final {
- return CreateMaybeMessage<scanLimit>(nullptr);
- }
- scanLimit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<scanLimit>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const scanLimit& from);
- void MergeFrom(const scanLimit& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(scanLimit* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "wj.scanLimit";
- }
- protected:
- explicit scanLimit(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
- return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kMaxyFieldNumber = 5,
- kDistLimitFieldNumber = 1,
- kMinxFieldNumber = 2,
- kMaxxFieldNumber = 3,
- kMinyFieldNumber = 4,
- };
- // optional float maxy = 5 [default = 3.5];
- bool has_maxy() const;
- private:
- bool _internal_has_maxy() const;
- public:
- void clear_maxy();
- float maxy() const;
- void set_maxy(float value);
- private:
- float _internal_maxy() const;
- void _internal_set_maxy(float value);
- public:
- // optional float dist_limit = 1 [default = 8];
- bool has_dist_limit() const;
- private:
- bool _internal_has_dist_limit() const;
- public:
- void clear_dist_limit();
- float dist_limit() const;
- void set_dist_limit(float value);
- private:
- float _internal_dist_limit() const;
- void _internal_set_dist_limit(float value);
- public:
- // optional float minx = 2 [default = -6];
- bool has_minx() const;
- private:
- bool _internal_has_minx() const;
- public:
- void clear_minx();
- float minx() const;
- void set_minx(float value);
- private:
- float _internal_minx() const;
- void _internal_set_minx(float value);
- public:
- // optional float maxx = 3 [default = -0.2];
- bool has_maxx() const;
- private:
- bool _internal_has_maxx() const;
- public:
- void clear_maxx();
- float maxx() const;
- void set_maxx(float value);
- private:
- float _internal_maxx() const;
- void _internal_set_maxx(float value);
- public:
- // optional float miny = 4 [default = -3.5];
- bool has_miny() const;
- private:
- bool _internal_has_miny() const;
- public:
- void clear_miny();
- float miny() const;
- void set_miny(float value);
- private:
- float _internal_miny() const;
- void _internal_set_miny(float value);
- public:
- // @@protoc_insertion_point(class_scope:wj.scanLimit)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- float maxy_;
- float dist_limit_;
- float minx_;
- float maxx_;
- float miny_;
- friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // wjManagerParams
- // repeated .wj.wjLidarParams wj_lidar = 1;
- inline int wjManagerParams::_internal_wj_lidar_size() const {
- return wj_lidar_.size();
- }
- inline int wjManagerParams::wj_lidar_size() const {
- return _internal_wj_lidar_size();
- }
- inline void wjManagerParams::clear_wj_lidar() {
- wj_lidar_.Clear();
- }
- inline ::wj::wjLidarParams* wjManagerParams::mutable_wj_lidar(int index) {
- // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.wj_lidar)
- return wj_lidar_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams >*
- wjManagerParams::mutable_wj_lidar() {
- // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.wj_lidar)
- return &wj_lidar_;
- }
- inline const ::wj::wjLidarParams& wjManagerParams::_internal_wj_lidar(int index) const {
- return wj_lidar_.Get(index);
- }
- inline const ::wj::wjLidarParams& wjManagerParams::wj_lidar(int index) const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.wj_lidar)
- return _internal_wj_lidar(index);
- }
- inline ::wj::wjLidarParams* wjManagerParams::_internal_add_wj_lidar() {
- return wj_lidar_.Add();
- }
- inline ::wj::wjLidarParams* wjManagerParams::add_wj_lidar() {
- // @@protoc_insertion_point(field_add:wj.wjManagerParams.wj_lidar)
- return _internal_add_wj_lidar();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams >&
- wjManagerParams::wj_lidar() const {
- // @@protoc_insertion_point(field_list:wj.wjManagerParams.wj_lidar)
- return wj_lidar_;
- }
- // repeated .wj.Region regions = 2;
- inline int wjManagerParams::_internal_regions_size() const {
- return regions_.size();
- }
- inline int wjManagerParams::regions_size() const {
- return _internal_regions_size();
- }
- inline void wjManagerParams::clear_regions() {
- regions_.Clear();
- }
- inline ::wj::Region* wjManagerParams::mutable_regions(int index) {
- // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.regions)
- return regions_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region >*
- wjManagerParams::mutable_regions() {
- // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.regions)
- return ®ions_;
- }
- inline const ::wj::Region& wjManagerParams::_internal_regions(int index) const {
- return regions_.Get(index);
- }
- inline const ::wj::Region& wjManagerParams::regions(int index) const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.regions)
- return _internal_regions(index);
- }
- inline ::wj::Region* wjManagerParams::_internal_add_regions() {
- return regions_.Add();
- }
- inline ::wj::Region* wjManagerParams::add_regions() {
- // @@protoc_insertion_point(field_add:wj.wjManagerParams.regions)
- return _internal_add_regions();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region >&
- wjManagerParams::regions() const {
- // @@protoc_insertion_point(field_list:wj.wjManagerParams.regions)
- return regions_;
- }
- // optional string fence_data_path = 3 [default = ""];
- inline bool wjManagerParams::_internal_has_fence_data_path() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool wjManagerParams::has_fence_data_path() const {
- return _internal_has_fence_data_path();
- }
- inline void wjManagerParams::clear_fence_data_path() {
- fence_data_path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& wjManagerParams::fence_data_path() const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_data_path)
- return _internal_fence_data_path();
- }
- inline void wjManagerParams::set_fence_data_path(const std::string& value) {
- _internal_set_fence_data_path(value);
- // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_data_path)
- }
- inline std::string* wjManagerParams::mutable_fence_data_path() {
- // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_data_path)
- return _internal_mutable_fence_data_path();
- }
- inline const std::string& wjManagerParams::_internal_fence_data_path() const {
- return fence_data_path_.Get();
- }
- inline void wjManagerParams::_internal_set_fence_data_path(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- fence_data_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
- }
- inline void wjManagerParams::set_fence_data_path(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- fence_data_path_.Set(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_data_path)
- }
- inline void wjManagerParams::set_fence_data_path(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- fence_data_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
- GetArena());
- // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_data_path)
- }
- inline void wjManagerParams::set_fence_data_path(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- fence_data_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_data_path)
- }
- inline std::string* wjManagerParams::_internal_mutable_fence_data_path() {
- _has_bits_[0] |= 0x00000001u;
- return fence_data_path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline std::string* wjManagerParams::release_fence_data_path() {
- // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_data_path)
- if (!_internal_has_fence_data_path()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- return fence_data_path_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline void wjManagerParams::set_allocated_fence_data_path(std::string* fence_data_path) {
- if (fence_data_path != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- fence_data_path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fence_data_path,
- GetArena());
- // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_data_path)
- }
- // optional string fence_log_path = 4 [default = ""];
- inline bool wjManagerParams::_internal_has_fence_log_path() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool wjManagerParams::has_fence_log_path() const {
- return _internal_has_fence_log_path();
- }
- inline void wjManagerParams::clear_fence_log_path() {
- fence_log_path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const std::string& wjManagerParams::fence_log_path() const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_log_path)
- return _internal_fence_log_path();
- }
- inline void wjManagerParams::set_fence_log_path(const std::string& value) {
- _internal_set_fence_log_path(value);
- // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_log_path)
- }
- inline std::string* wjManagerParams::mutable_fence_log_path() {
- // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_log_path)
- return _internal_mutable_fence_log_path();
- }
- inline const std::string& wjManagerParams::_internal_fence_log_path() const {
- return fence_log_path_.Get();
- }
- inline void wjManagerParams::_internal_set_fence_log_path(const std::string& value) {
- _has_bits_[0] |= 0x00000002u;
- fence_log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
- }
- inline void wjManagerParams::set_fence_log_path(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- fence_log_path_.Set(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_log_path)
- }
- inline void wjManagerParams::set_fence_log_path(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- fence_log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
- GetArena());
- // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_log_path)
- }
- inline void wjManagerParams::set_fence_log_path(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- fence_log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_log_path)
- }
- inline std::string* wjManagerParams::_internal_mutable_fence_log_path() {
- _has_bits_[0] |= 0x00000002u;
- return fence_log_path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline std::string* wjManagerParams::release_fence_log_path() {
- // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_log_path)
- if (!_internal_has_fence_log_path()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000002u;
- return fence_log_path_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline void wjManagerParams::set_allocated_fence_log_path(std::string* fence_log_path) {
- if (fence_log_path != nullptr) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- fence_log_path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fence_log_path,
- GetArena());
- // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_log_path)
- }
- // optional string plc_ip_address = 5 [default = "192.168.0.1"];
- inline bool wjManagerParams::_internal_has_plc_ip_address() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool wjManagerParams::has_plc_ip_address() const {
- return _internal_has_plc_ip_address();
- }
- inline void wjManagerParams::clear_plc_ip_address() {
- plc_ip_address_.ClearToDefault(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), GetArena());
- _has_bits_[0] &= ~0x00000004u;
- }
- inline const std::string& wjManagerParams::plc_ip_address() const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.plc_ip_address)
- return _internal_plc_ip_address();
- }
- inline void wjManagerParams::set_plc_ip_address(const std::string& value) {
- _internal_set_plc_ip_address(value);
- // @@protoc_insertion_point(field_set:wj.wjManagerParams.plc_ip_address)
- }
- inline std::string* wjManagerParams::mutable_plc_ip_address() {
- // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.plc_ip_address)
- return _internal_mutable_plc_ip_address();
- }
- inline const std::string& wjManagerParams::_internal_plc_ip_address() const {
- return plc_ip_address_.Get();
- }
- inline void wjManagerParams::_internal_set_plc_ip_address(const std::string& value) {
- _has_bits_[0] |= 0x00000004u;
- plc_ip_address_.Set(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), value, GetArena());
- }
- inline void wjManagerParams::set_plc_ip_address(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- plc_ip_address_.Set(
- &::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.plc_ip_address)
- }
- inline void wjManagerParams::set_plc_ip_address(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- plc_ip_address_.Set(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::string(value),
- GetArena());
- // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.plc_ip_address)
- }
- inline void wjManagerParams::set_plc_ip_address(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- plc_ip_address_.Set(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.plc_ip_address)
- }
- inline std::string* wjManagerParams::_internal_mutable_plc_ip_address() {
- _has_bits_[0] |= 0x00000004u;
- return plc_ip_address_.Mutable(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), GetArena());
- }
- inline std::string* wjManagerParams::release_plc_ip_address() {
- // @@protoc_insertion_point(field_release:wj.wjManagerParams.plc_ip_address)
- if (!_internal_has_plc_ip_address()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000004u;
- return plc_ip_address_.ReleaseNonDefault(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), GetArena());
- }
- inline void wjManagerParams::set_allocated_plc_ip_address(std::string* plc_ip_address) {
- if (plc_ip_address != nullptr) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- plc_ip_address_.SetAllocated(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), plc_ip_address,
- GetArena());
- // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.plc_ip_address)
- }
- // -------------------------------------------------------------------
- // Region
- // required float minx = 1;
- inline bool Region::_internal_has_minx() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool Region::has_minx() const {
- return _internal_has_minx();
- }
- inline void Region::clear_minx() {
- minx_ = 0;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline float Region::_internal_minx() const {
- return minx_;
- }
- inline float Region::minx() const {
- // @@protoc_insertion_point(field_get:wj.Region.minx)
- return _internal_minx();
- }
- inline void Region::_internal_set_minx(float value) {
- _has_bits_[0] |= 0x00000001u;
- minx_ = value;
- }
- inline void Region::set_minx(float value) {
- _internal_set_minx(value);
- // @@protoc_insertion_point(field_set:wj.Region.minx)
- }
- // required float maxx = 2;
- inline bool Region::_internal_has_maxx() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool Region::has_maxx() const {
- return _internal_has_maxx();
- }
- inline void Region::clear_maxx() {
- maxx_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline float Region::_internal_maxx() const {
- return maxx_;
- }
- inline float Region::maxx() const {
- // @@protoc_insertion_point(field_get:wj.Region.maxx)
- return _internal_maxx();
- }
- inline void Region::_internal_set_maxx(float value) {
- _has_bits_[0] |= 0x00000002u;
- maxx_ = value;
- }
- inline void Region::set_maxx(float value) {
- _internal_set_maxx(value);
- // @@protoc_insertion_point(field_set:wj.Region.maxx)
- }
- // required float miny = 3;
- inline bool Region::_internal_has_miny() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool Region::has_miny() const {
- return _internal_has_miny();
- }
- inline void Region::clear_miny() {
- miny_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline float Region::_internal_miny() const {
- return miny_;
- }
- inline float Region::miny() const {
- // @@protoc_insertion_point(field_get:wj.Region.miny)
- return _internal_miny();
- }
- inline void Region::_internal_set_miny(float value) {
- _has_bits_[0] |= 0x00000004u;
- miny_ = value;
- }
- inline void Region::set_miny(float value) {
- _internal_set_miny(value);
- // @@protoc_insertion_point(field_set:wj.Region.miny)
- }
- // required float maxy = 4;
- inline bool Region::_internal_has_maxy() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool Region::has_maxy() const {
- return _internal_has_maxy();
- }
- inline void Region::clear_maxy() {
- maxy_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline float Region::_internal_maxy() const {
- return maxy_;
- }
- inline float Region::maxy() const {
- // @@protoc_insertion_point(field_get:wj.Region.maxy)
- return _internal_maxy();
- }
- inline void Region::_internal_set_maxy(float value) {
- _has_bits_[0] |= 0x00000008u;
- maxy_ = value;
- }
- inline void Region::set_maxy(float value) {
- _internal_set_maxy(value);
- // @@protoc_insertion_point(field_set:wj.Region.maxy)
- }
- // -------------------------------------------------------------------
- // wjLidarParams
- // optional float angle_min = 1 [default = -2.3561945];
- inline bool wjLidarParams::_internal_has_angle_min() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool wjLidarParams::has_angle_min() const {
- return _internal_has_angle_min();
- }
- inline void wjLidarParams::clear_angle_min() {
- angle_min_ = -2.3561945f;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline float wjLidarParams::_internal_angle_min() const {
- return angle_min_;
- }
- inline float wjLidarParams::angle_min() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_min)
- return _internal_angle_min();
- }
- inline void wjLidarParams::_internal_set_angle_min(float value) {
- _has_bits_[0] |= 0x00000020u;
- angle_min_ = value;
- }
- inline void wjLidarParams::set_angle_min(float value) {
- _internal_set_angle_min(value);
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_min)
- }
- // optional float angle_max = 2 [default = 2.3561945];
- inline bool wjLidarParams::_internal_has_angle_max() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- return value;
- }
- inline bool wjLidarParams::has_angle_max() const {
- return _internal_has_angle_max();
- }
- inline void wjLidarParams::clear_angle_max() {
- angle_max_ = 2.3561945f;
- _has_bits_[0] &= ~0x00000040u;
- }
- inline float wjLidarParams::_internal_angle_max() const {
- return angle_max_;
- }
- inline float wjLidarParams::angle_max() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_max)
- return _internal_angle_max();
- }
- inline void wjLidarParams::_internal_set_angle_max(float value) {
- _has_bits_[0] |= 0x00000040u;
- angle_max_ = value;
- }
- inline void wjLidarParams::set_angle_max(float value) {
- _internal_set_angle_max(value);
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_max)
- }
- // optional float angle_increment = 3 [default = 0.00582];
- inline bool wjLidarParams::_internal_has_angle_increment() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- return value;
- }
- inline bool wjLidarParams::has_angle_increment() const {
- return _internal_has_angle_increment();
- }
- inline void wjLidarParams::clear_angle_increment() {
- angle_increment_ = 0.00582f;
- _has_bits_[0] &= ~0x00000080u;
- }
- inline float wjLidarParams::_internal_angle_increment() const {
- return angle_increment_;
- }
- inline float wjLidarParams::angle_increment() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_increment)
- return _internal_angle_increment();
- }
- inline void wjLidarParams::_internal_set_angle_increment(float value) {
- _has_bits_[0] |= 0x00000080u;
- angle_increment_ = value;
- }
- inline void wjLidarParams::set_angle_increment(float value) {
- _internal_set_angle_increment(value);
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_increment)
- }
- // optional float time_increment = 4 [default = 6.2e-05];
- inline bool wjLidarParams::_internal_has_time_increment() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
- return value;
- }
- inline bool wjLidarParams::has_time_increment() const {
- return _internal_has_time_increment();
- }
- inline void wjLidarParams::clear_time_increment() {
- time_increment_ = 6.2e-05f;
- _has_bits_[0] &= ~0x00000100u;
- }
- inline float wjLidarParams::_internal_time_increment() const {
- return time_increment_;
- }
- inline float wjLidarParams::time_increment() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.time_increment)
- return _internal_time_increment();
- }
- inline void wjLidarParams::_internal_set_time_increment(float value) {
- _has_bits_[0] |= 0x00000100u;
- time_increment_ = value;
- }
- inline void wjLidarParams::set_time_increment(float value) {
- _internal_set_time_increment(value);
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.time_increment)
- }
- // optional int32 range_min = 5 [default = 0];
- inline bool wjLidarParams::_internal_has_range_min() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool wjLidarParams::has_range_min() const {
- return _internal_has_range_min();
- }
- inline void wjLidarParams::clear_range_min() {
- range_min_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 wjLidarParams::_internal_range_min() const {
- return range_min_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 wjLidarParams::range_min() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_min)
- return _internal_range_min();
- }
- inline void wjLidarParams::_internal_set_range_min(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000008u;
- range_min_ = value;
- }
- inline void wjLidarParams::set_range_min(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_range_min(value);
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_min)
- }
- // optional int32 range_max = 6 [default = 30];
- inline bool wjLidarParams::_internal_has_range_max() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool wjLidarParams::has_range_max() const {
- return _internal_has_range_max();
- }
- inline void wjLidarParams::clear_range_max() {
- range_max_ = 30;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 wjLidarParams::_internal_range_max() const {
- return range_max_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 wjLidarParams::range_max() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_max)
- return _internal_range_max();
- }
- inline void wjLidarParams::_internal_set_range_max(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000010u;
- range_max_ = value;
- }
- inline void wjLidarParams::set_range_max(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_range_max(value);
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_max)
- }
- // required .wj.netConfig net_config = 7;
- inline bool wjLidarParams::_internal_has_net_config() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || net_config_ != nullptr);
- return value;
- }
- inline bool wjLidarParams::has_net_config() const {
- return _internal_has_net_config();
- }
- inline void wjLidarParams::clear_net_config() {
- if (net_config_ != nullptr) net_config_->Clear();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::wj::netConfig& wjLidarParams::_internal_net_config() const {
- const ::wj::netConfig* p = net_config_;
- return p != nullptr ? *p : *reinterpret_cast<const ::wj::netConfig*>(
- &::wj::_netConfig_default_instance_);
- }
- inline const ::wj::netConfig& wjLidarParams::net_config() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.net_config)
- return _internal_net_config();
- }
- inline void wjLidarParams::unsafe_arena_set_allocated_net_config(
- ::wj::netConfig* net_config) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(net_config_);
- }
- net_config_ = net_config;
- if (net_config) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:wj.wjLidarParams.net_config)
- }
- inline ::wj::netConfig* wjLidarParams::release_net_config() {
- _has_bits_[0] &= ~0x00000001u;
- ::wj::netConfig* temp = net_config_;
- net_config_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::wj::netConfig* wjLidarParams::unsafe_arena_release_net_config() {
- // @@protoc_insertion_point(field_release:wj.wjLidarParams.net_config)
- _has_bits_[0] &= ~0x00000001u;
- ::wj::netConfig* temp = net_config_;
- net_config_ = nullptr;
- return temp;
- }
- inline ::wj::netConfig* wjLidarParams::_internal_mutable_net_config() {
- _has_bits_[0] |= 0x00000001u;
- if (net_config_ == nullptr) {
- auto* p = CreateMaybeMessage<::wj::netConfig>(GetArena());
- net_config_ = p;
- }
- return net_config_;
- }
- inline ::wj::netConfig* wjLidarParams::mutable_net_config() {
- // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.net_config)
- return _internal_mutable_net_config();
- }
- inline void wjLidarParams::set_allocated_net_config(::wj::netConfig* net_config) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete net_config_;
- }
- if (net_config) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(net_config);
- if (message_arena != submessage_arena) {
- net_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, net_config, submessage_arena);
- }
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- net_config_ = net_config;
- // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.net_config)
- }
- // required .wj.Transform2d transform = 8;
- inline bool wjLidarParams::_internal_has_transform() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || transform_ != nullptr);
- return value;
- }
- inline bool wjLidarParams::has_transform() const {
- return _internal_has_transform();
- }
- inline void wjLidarParams::clear_transform() {
- if (transform_ != nullptr) transform_->Clear();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::wj::Transform2d& wjLidarParams::_internal_transform() const {
- const ::wj::Transform2d* p = transform_;
- return p != nullptr ? *p : *reinterpret_cast<const ::wj::Transform2d*>(
- &::wj::_Transform2d_default_instance_);
- }
- inline const ::wj::Transform2d& wjLidarParams::transform() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.transform)
- return _internal_transform();
- }
- inline void wjLidarParams::unsafe_arena_set_allocated_transform(
- ::wj::Transform2d* transform) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(transform_);
- }
- transform_ = transform;
- if (transform) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:wj.wjLidarParams.transform)
- }
- inline ::wj::Transform2d* wjLidarParams::release_transform() {
- _has_bits_[0] &= ~0x00000002u;
- ::wj::Transform2d* temp = transform_;
- transform_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::wj::Transform2d* wjLidarParams::unsafe_arena_release_transform() {
- // @@protoc_insertion_point(field_release:wj.wjLidarParams.transform)
- _has_bits_[0] &= ~0x00000002u;
- ::wj::Transform2d* temp = transform_;
- transform_ = nullptr;
- return temp;
- }
- inline ::wj::Transform2d* wjLidarParams::_internal_mutable_transform() {
- _has_bits_[0] |= 0x00000002u;
- if (transform_ == nullptr) {
- auto* p = CreateMaybeMessage<::wj::Transform2d>(GetArena());
- transform_ = p;
- }
- return transform_;
- }
- inline ::wj::Transform2d* wjLidarParams::mutable_transform() {
- // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.transform)
- return _internal_mutable_transform();
- }
- inline void wjLidarParams::set_allocated_transform(::wj::Transform2d* transform) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete transform_;
- }
- if (transform) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(transform);
- if (message_arena != submessage_arena) {
- transform = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, transform, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- transform_ = transform;
- // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.transform)
- }
- // required .wj.scanLimit scan_limit = 9;
- inline bool wjLidarParams::_internal_has_scan_limit() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || scan_limit_ != nullptr);
- return value;
- }
- inline bool wjLidarParams::has_scan_limit() const {
- return _internal_has_scan_limit();
- }
- inline void wjLidarParams::clear_scan_limit() {
- if (scan_limit_ != nullptr) scan_limit_->Clear();
- _has_bits_[0] &= ~0x00000004u;
- }
- inline const ::wj::scanLimit& wjLidarParams::_internal_scan_limit() const {
- const ::wj::scanLimit* p = scan_limit_;
- return p != nullptr ? *p : *reinterpret_cast<const ::wj::scanLimit*>(
- &::wj::_scanLimit_default_instance_);
- }
- inline const ::wj::scanLimit& wjLidarParams::scan_limit() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.scan_limit)
- return _internal_scan_limit();
- }
- inline void wjLidarParams::unsafe_arena_set_allocated_scan_limit(
- ::wj::scanLimit* scan_limit) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(scan_limit_);
- }
- scan_limit_ = scan_limit;
- if (scan_limit) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:wj.wjLidarParams.scan_limit)
- }
- inline ::wj::scanLimit* wjLidarParams::release_scan_limit() {
- _has_bits_[0] &= ~0x00000004u;
- ::wj::scanLimit* temp = scan_limit_;
- scan_limit_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::wj::scanLimit* wjLidarParams::unsafe_arena_release_scan_limit() {
- // @@protoc_insertion_point(field_release:wj.wjLidarParams.scan_limit)
- _has_bits_[0] &= ~0x00000004u;
- ::wj::scanLimit* temp = scan_limit_;
- scan_limit_ = nullptr;
- return temp;
- }
- inline ::wj::scanLimit* wjLidarParams::_internal_mutable_scan_limit() {
- _has_bits_[0] |= 0x00000004u;
- if (scan_limit_ == nullptr) {
- auto* p = CreateMaybeMessage<::wj::scanLimit>(GetArena());
- scan_limit_ = p;
- }
- return scan_limit_;
- }
- inline ::wj::scanLimit* wjLidarParams::mutable_scan_limit() {
- // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.scan_limit)
- return _internal_mutable_scan_limit();
- }
- inline void wjLidarParams::set_allocated_scan_limit(::wj::scanLimit* scan_limit) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete scan_limit_;
- }
- if (scan_limit) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(scan_limit);
- if (message_arena != submessage_arena) {
- scan_limit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, scan_limit, submessage_arena);
- }
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- scan_limit_ = scan_limit;
- // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.scan_limit)
- }
- // -------------------------------------------------------------------
- // netConfig
- // optional string ip_address = 1 [default = ""];
- inline bool netConfig::_internal_has_ip_address() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool netConfig::has_ip_address() const {
- return _internal_has_ip_address();
- }
- inline void netConfig::clear_ip_address() {
- ip_address_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& netConfig::ip_address() const {
- // @@protoc_insertion_point(field_get:wj.netConfig.ip_address)
- return _internal_ip_address();
- }
- inline void netConfig::set_ip_address(const std::string& value) {
- _internal_set_ip_address(value);
- // @@protoc_insertion_point(field_set:wj.netConfig.ip_address)
- }
- inline std::string* netConfig::mutable_ip_address() {
- // @@protoc_insertion_point(field_mutable:wj.netConfig.ip_address)
- return _internal_mutable_ip_address();
- }
- inline const std::string& netConfig::_internal_ip_address() const {
- return ip_address_.Get();
- }
- inline void netConfig::_internal_set_ip_address(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- ip_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
- }
- inline void netConfig::set_ip_address(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- ip_address_.Set(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:wj.netConfig.ip_address)
- }
- inline void netConfig::set_ip_address(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- ip_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
- GetArena());
- // @@protoc_insertion_point(field_set_char:wj.netConfig.ip_address)
- }
- inline void netConfig::set_ip_address(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- ip_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:wj.netConfig.ip_address)
- }
- inline std::string* netConfig::_internal_mutable_ip_address() {
- _has_bits_[0] |= 0x00000001u;
- return ip_address_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline std::string* netConfig::release_ip_address() {
- // @@protoc_insertion_point(field_release:wj.netConfig.ip_address)
- if (!_internal_has_ip_address()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- return ip_address_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline void netConfig::set_allocated_ip_address(std::string* ip_address) {
- if (ip_address != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- ip_address_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ip_address,
- GetArena());
- // @@protoc_insertion_point(field_set_allocated:wj.netConfig.ip_address)
- }
- // optional int32 port = 2 [default = 8000];
- inline bool netConfig::_internal_has_port() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool netConfig::has_port() const {
- return _internal_has_port();
- }
- inline void netConfig::clear_port() {
- port_ = 8000;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 netConfig::_internal_port() const {
- return port_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 netConfig::port() const {
- // @@protoc_insertion_point(field_get:wj.netConfig.port)
- return _internal_port();
- }
- inline void netConfig::_internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000002u;
- port_ = value;
- }
- inline void netConfig::set_port(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_port(value);
- // @@protoc_insertion_point(field_set:wj.netConfig.port)
- }
- // -------------------------------------------------------------------
- // Transform2d
- // optional float m00 = 1 [default = 1];
- inline bool Transform2d::_internal_has_m00() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool Transform2d::has_m00() const {
- return _internal_has_m00();
- }
- inline void Transform2d::clear_m00() {
- m00_ = 1;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline float Transform2d::_internal_m00() const {
- return m00_;
- }
- inline float Transform2d::m00() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m00)
- return _internal_m00();
- }
- inline void Transform2d::_internal_set_m00(float value) {
- _has_bits_[0] |= 0x00000010u;
- m00_ = value;
- }
- inline void Transform2d::set_m00(float value) {
- _internal_set_m00(value);
- // @@protoc_insertion_point(field_set:wj.Transform2d.m00)
- }
- // optional float m01 = 2 [default = 0];
- inline bool Transform2d::_internal_has_m01() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool Transform2d::has_m01() const {
- return _internal_has_m01();
- }
- inline void Transform2d::clear_m01() {
- m01_ = 0;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline float Transform2d::_internal_m01() const {
- return m01_;
- }
- inline float Transform2d::m01() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m01)
- return _internal_m01();
- }
- inline void Transform2d::_internal_set_m01(float value) {
- _has_bits_[0] |= 0x00000001u;
- m01_ = value;
- }
- inline void Transform2d::set_m01(float value) {
- _internal_set_m01(value);
- // @@protoc_insertion_point(field_set:wj.Transform2d.m01)
- }
- // optional float m02 = 3 [default = 0];
- inline bool Transform2d::_internal_has_m02() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool Transform2d::has_m02() const {
- return _internal_has_m02();
- }
- inline void Transform2d::clear_m02() {
- m02_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline float Transform2d::_internal_m02() const {
- return m02_;
- }
- inline float Transform2d::m02() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m02)
- return _internal_m02();
- }
- inline void Transform2d::_internal_set_m02(float value) {
- _has_bits_[0] |= 0x00000002u;
- m02_ = value;
- }
- inline void Transform2d::set_m02(float value) {
- _internal_set_m02(value);
- // @@protoc_insertion_point(field_set:wj.Transform2d.m02)
- }
- // optional float m10 = 4 [default = 0];
- inline bool Transform2d::_internal_has_m10() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool Transform2d::has_m10() const {
- return _internal_has_m10();
- }
- inline void Transform2d::clear_m10() {
- m10_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline float Transform2d::_internal_m10() const {
- return m10_;
- }
- inline float Transform2d::m10() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m10)
- return _internal_m10();
- }
- inline void Transform2d::_internal_set_m10(float value) {
- _has_bits_[0] |= 0x00000004u;
- m10_ = value;
- }
- inline void Transform2d::set_m10(float value) {
- _internal_set_m10(value);
- // @@protoc_insertion_point(field_set:wj.Transform2d.m10)
- }
- // optional float m11 = 5 [default = 1];
- inline bool Transform2d::_internal_has_m11() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool Transform2d::has_m11() const {
- return _internal_has_m11();
- }
- inline void Transform2d::clear_m11() {
- m11_ = 1;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline float Transform2d::_internal_m11() const {
- return m11_;
- }
- inline float Transform2d::m11() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m11)
- return _internal_m11();
- }
- inline void Transform2d::_internal_set_m11(float value) {
- _has_bits_[0] |= 0x00000020u;
- m11_ = value;
- }
- inline void Transform2d::set_m11(float value) {
- _internal_set_m11(value);
- // @@protoc_insertion_point(field_set:wj.Transform2d.m11)
- }
- // optional float m12 = 6 [default = 0];
- inline bool Transform2d::_internal_has_m12() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool Transform2d::has_m12() const {
- return _internal_has_m12();
- }
- inline void Transform2d::clear_m12() {
- m12_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline float Transform2d::_internal_m12() const {
- return m12_;
- }
- inline float Transform2d::m12() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m12)
- return _internal_m12();
- }
- inline void Transform2d::_internal_set_m12(float value) {
- _has_bits_[0] |= 0x00000008u;
- m12_ = value;
- }
- inline void Transform2d::set_m12(float value) {
- _internal_set_m12(value);
- // @@protoc_insertion_point(field_set:wj.Transform2d.m12)
- }
- // -------------------------------------------------------------------
- // scanLimit
- // optional float dist_limit = 1 [default = 8];
- inline bool scanLimit::_internal_has_dist_limit() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool scanLimit::has_dist_limit() const {
- return _internal_has_dist_limit();
- }
- inline void scanLimit::clear_dist_limit() {
- dist_limit_ = 8;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline float scanLimit::_internal_dist_limit() const {
- return dist_limit_;
- }
- inline float scanLimit::dist_limit() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.dist_limit)
- return _internal_dist_limit();
- }
- inline void scanLimit::_internal_set_dist_limit(float value) {
- _has_bits_[0] |= 0x00000002u;
- dist_limit_ = value;
- }
- inline void scanLimit::set_dist_limit(float value) {
- _internal_set_dist_limit(value);
- // @@protoc_insertion_point(field_set:wj.scanLimit.dist_limit)
- }
- // optional float minx = 2 [default = -6];
- inline bool scanLimit::_internal_has_minx() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool scanLimit::has_minx() const {
- return _internal_has_minx();
- }
- inline void scanLimit::clear_minx() {
- minx_ = -6;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline float scanLimit::_internal_minx() const {
- return minx_;
- }
- inline float scanLimit::minx() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.minx)
- return _internal_minx();
- }
- inline void scanLimit::_internal_set_minx(float value) {
- _has_bits_[0] |= 0x00000004u;
- minx_ = value;
- }
- inline void scanLimit::set_minx(float value) {
- _internal_set_minx(value);
- // @@protoc_insertion_point(field_set:wj.scanLimit.minx)
- }
- // optional float maxx = 3 [default = -0.2];
- inline bool scanLimit::_internal_has_maxx() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool scanLimit::has_maxx() const {
- return _internal_has_maxx();
- }
- inline void scanLimit::clear_maxx() {
- maxx_ = -0.2f;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline float scanLimit::_internal_maxx() const {
- return maxx_;
- }
- inline float scanLimit::maxx() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.maxx)
- return _internal_maxx();
- }
- inline void scanLimit::_internal_set_maxx(float value) {
- _has_bits_[0] |= 0x00000008u;
- maxx_ = value;
- }
- inline void scanLimit::set_maxx(float value) {
- _internal_set_maxx(value);
- // @@protoc_insertion_point(field_set:wj.scanLimit.maxx)
- }
- // optional float miny = 4 [default = -3.5];
- inline bool scanLimit::_internal_has_miny() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool scanLimit::has_miny() const {
- return _internal_has_miny();
- }
- inline void scanLimit::clear_miny() {
- miny_ = -3.5f;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline float scanLimit::_internal_miny() const {
- return miny_;
- }
- inline float scanLimit::miny() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.miny)
- return _internal_miny();
- }
- inline void scanLimit::_internal_set_miny(float value) {
- _has_bits_[0] |= 0x00000010u;
- miny_ = value;
- }
- inline void scanLimit::set_miny(float value) {
- _internal_set_miny(value);
- // @@protoc_insertion_point(field_set:wj.scanLimit.miny)
- }
- // optional float maxy = 5 [default = 3.5];
- inline bool scanLimit::_internal_has_maxy() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool scanLimit::has_maxy() const {
- return _internal_has_maxy();
- }
- inline void scanLimit::clear_maxy() {
- maxy_ = 3.5f;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline float scanLimit::_internal_maxy() const {
- return maxy_;
- }
- inline float scanLimit::maxy() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.maxy)
- return _internal_maxy();
- }
- inline void scanLimit::_internal_set_maxy(float value) {
- _has_bits_[0] |= 0x00000001u;
- maxy_ = value;
- }
- inline void scanLimit::set_maxy(float value) {
- _internal_set_maxy(value);
- // @@protoc_insertion_point(field_set:wj.scanLimit.maxy)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace wj
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
|