12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: wj_lidar_conf.proto
- #ifndef PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
- #define PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3006001
- #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 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/inlined_string_field.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #define PROTOBUF_INTERNAL_EXPORT_protobuf_wj_5flidar_5fconf_2eproto
- namespace protobuf_wj_5flidar_5fconf_2eproto {
- // Internal implementation detail -- do not use these members.
- struct TableStruct {
- static const ::google::protobuf::internal::ParseTableField entries[];
- static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
- static const ::google::protobuf::internal::ParseTable schema[6];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- } // namespace protobuf_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
- namespace google {
- namespace protobuf {
- 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*);
- } // namespace protobuf
- } // namespace google
- namespace wj {
- // ===================================================================
- class wjManagerParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.wjManagerParams) */ {
- public:
- wjManagerParams();
- virtual ~wjManagerParams();
- wjManagerParams(const wjManagerParams& from);
- inline wjManagerParams& operator=(const wjManagerParams& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- wjManagerParams(wjManagerParams&& from) noexcept
- : wjManagerParams() {
- *this = ::std::move(from);
- }
- inline wjManagerParams& operator=(wjManagerParams&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const 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;
- void Swap(wjManagerParams* other);
- friend void swap(wjManagerParams& a, wjManagerParams& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline wjManagerParams* New() const final {
- return CreateMaybeMessage<wjManagerParams>(NULL);
- }
- wjManagerParams* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<wjManagerParams>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const wjManagerParams& from);
- void MergeFrom(const wjManagerParams& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(wjManagerParams* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated .wj.wjLidarParams wj_lidar = 1;
- int wj_lidar_size() const;
- void clear_wj_lidar();
- static const int kWjLidarFieldNumber = 1;
- ::wj::wjLidarParams* mutable_wj_lidar(int index);
- ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >*
- mutable_wj_lidar();
- const ::wj::wjLidarParams& wj_lidar(int index) const;
- ::wj::wjLidarParams* add_wj_lidar();
- const ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >&
- wj_lidar() const;
- // repeated .wj.Region regions = 2;
- int regions_size() const;
- void clear_regions();
- static const int kRegionsFieldNumber = 2;
- ::wj::Region* mutable_regions(int index);
- ::google::protobuf::RepeatedPtrField< ::wj::Region >*
- mutable_regions();
- const ::wj::Region& regions(int index) const;
- ::wj::Region* add_regions();
- const ::google::protobuf::RepeatedPtrField< ::wj::Region >&
- regions() const;
- // optional string fence_data_path = 3 [default = ""];
- bool has_fence_data_path() const;
- void clear_fence_data_path();
- static const int kFenceDataPathFieldNumber = 3;
- const ::std::string& fence_data_path() const;
- void set_fence_data_path(const ::std::string& value);
- #if LANG_CXX11
- void set_fence_data_path(::std::string&& value);
- #endif
- 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);
- // optional string fence_log_path = 4 [default = ""];
- bool has_fence_log_path() const;
- void clear_fence_log_path();
- static const int kFenceLogPathFieldNumber = 4;
- const ::std::string& fence_log_path() const;
- void set_fence_log_path(const ::std::string& value);
- #if LANG_CXX11
- void set_fence_log_path(::std::string&& value);
- #endif
- 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);
- // optional string plc_ip_address = 5 [default = "192.168.0.1"];
- bool has_plc_ip_address() const;
- void clear_plc_ip_address();
- static const int kPlcIpAddressFieldNumber = 5;
- const ::std::string& plc_ip_address() const;
- void set_plc_ip_address(const ::std::string& value);
- #if LANG_CXX11
- void set_plc_ip_address(::std::string&& value);
- #endif
- 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);
- // @@protoc_insertion_point(class_scope:wj.wjManagerParams)
- private:
- void set_has_fence_data_path();
- void clear_has_fence_data_path();
- void set_has_fence_log_path();
- void clear_has_fence_log_path();
- void set_has_plc_ip_address();
- void clear_has_plc_ip_address();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams > wj_lidar_;
- ::google::protobuf::RepeatedPtrField< ::wj::Region > regions_;
- ::google::protobuf::internal::ArenaStringPtr fence_data_path_;
- ::google::protobuf::internal::ArenaStringPtr fence_log_path_;
- public:
- static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_plc_ip_address_;
- private:
- ::google::protobuf::internal::ArenaStringPtr plc_ip_address_;
- friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Region : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.Region) */ {
- public:
- Region();
- virtual ~Region();
- Region(const Region& from);
- inline Region& operator=(const Region& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Region(Region&& from) noexcept
- : Region() {
- *this = ::std::move(from);
- }
- inline Region& operator=(Region&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const 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;
- void Swap(Region* other);
- friend void swap(Region& a, Region& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Region* New() const final {
- return CreateMaybeMessage<Region>(NULL);
- }
- Region* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Region>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Region& from);
- void MergeFrom(const Region& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Region* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required float minx = 1;
- bool has_minx() const;
- void clear_minx();
- static const int kMinxFieldNumber = 1;
- float minx() const;
- void set_minx(float value);
- // required float maxx = 2;
- bool has_maxx() const;
- void clear_maxx();
- static const int kMaxxFieldNumber = 2;
- float maxx() const;
- void set_maxx(float value);
- // required float miny = 3;
- bool has_miny() const;
- void clear_miny();
- static const int kMinyFieldNumber = 3;
- float miny() const;
- void set_miny(float value);
- // required float maxy = 4;
- bool has_maxy() const;
- void clear_maxy();
- static const int kMaxyFieldNumber = 4;
- float maxy() const;
- void set_maxy(float value);
- // @@protoc_insertion_point(class_scope:wj.Region)
- private:
- void set_has_minx();
- void clear_has_minx();
- void set_has_maxx();
- void clear_has_maxx();
- void set_has_miny();
- void clear_has_miny();
- void set_has_maxy();
- void clear_has_maxy();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- float minx_;
- float maxx_;
- float miny_;
- float maxy_;
- friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class wjLidarParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.wjLidarParams) */ {
- public:
- wjLidarParams();
- virtual ~wjLidarParams();
- wjLidarParams(const wjLidarParams& from);
- inline wjLidarParams& operator=(const wjLidarParams& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- wjLidarParams(wjLidarParams&& from) noexcept
- : wjLidarParams() {
- *this = ::std::move(from);
- }
- inline wjLidarParams& operator=(wjLidarParams&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const 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;
- void Swap(wjLidarParams* other);
- friend void swap(wjLidarParams& a, wjLidarParams& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline wjLidarParams* New() const final {
- return CreateMaybeMessage<wjLidarParams>(NULL);
- }
- wjLidarParams* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<wjLidarParams>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const wjLidarParams& from);
- void MergeFrom(const wjLidarParams& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(wjLidarParams* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .wj.netConfig net_config = 7;
- bool has_net_config() const;
- void clear_net_config();
- static const int kNetConfigFieldNumber = 7;
- private:
- const ::wj::netConfig& _internal_net_config() const;
- public:
- 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);
- // required .wj.Transform2d transform = 8;
- bool has_transform() const;
- void clear_transform();
- static const int kTransformFieldNumber = 8;
- private:
- const ::wj::Transform2d& _internal_transform() const;
- public:
- const ::wj::Transform2d& transform() const;
- ::wj::Transform2d* release_transform();
- ::wj::Transform2d* mutable_transform();
- void set_allocated_transform(::wj::Transform2d* transform);
- // required .wj.scanLimit scan_limit = 9;
- bool has_scan_limit() const;
- void clear_scan_limit();
- static const int kScanLimitFieldNumber = 9;
- private:
- const ::wj::scanLimit& _internal_scan_limit() const;
- public:
- 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);
- // optional int32 range_min = 5 [default = 0];
- bool has_range_min() const;
- void clear_range_min();
- static const int kRangeMinFieldNumber = 5;
- ::google::protobuf::int32 range_min() const;
- void set_range_min(::google::protobuf::int32 value);
- // optional int32 range_max = 6 [default = 30];
- bool has_range_max() const;
- void clear_range_max();
- static const int kRangeMaxFieldNumber = 6;
- ::google::protobuf::int32 range_max() const;
- void set_range_max(::google::protobuf::int32 value);
- // optional float angle_min = 1 [default = -2.3561945];
- bool has_angle_min() const;
- void clear_angle_min();
- static const int kAngleMinFieldNumber = 1;
- float angle_min() const;
- void set_angle_min(float value);
- // optional float angle_max = 2 [default = 2.3561945];
- bool has_angle_max() const;
- void clear_angle_max();
- static const int kAngleMaxFieldNumber = 2;
- float angle_max() const;
- void set_angle_max(float value);
- // optional float angle_increment = 3 [default = 0.00582];
- bool has_angle_increment() const;
- void clear_angle_increment();
- static const int kAngleIncrementFieldNumber = 3;
- float angle_increment() const;
- void set_angle_increment(float value);
- // optional float time_increment = 4 [default = 6.2e-05];
- bool has_time_increment() const;
- void clear_time_increment();
- static const int kTimeIncrementFieldNumber = 4;
- float time_increment() const;
- void set_time_increment(float value);
- // @@protoc_insertion_point(class_scope:wj.wjLidarParams)
- private:
- void set_has_angle_min();
- void clear_has_angle_min();
- void set_has_angle_max();
- void clear_has_angle_max();
- void set_has_angle_increment();
- void clear_has_angle_increment();
- void set_has_time_increment();
- void clear_has_time_increment();
- void set_has_range_min();
- void clear_has_range_min();
- void set_has_range_max();
- void clear_has_range_max();
- void set_has_net_config();
- void clear_has_net_config();
- void set_has_transform();
- void clear_has_transform();
- void set_has_scan_limit();
- void clear_has_scan_limit();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::wj::netConfig* net_config_;
- ::wj::Transform2d* transform_;
- ::wj::scanLimit* scan_limit_;
- ::google::protobuf::int32 range_min_;
- ::google::protobuf::int32 range_max_;
- float angle_min_;
- float angle_max_;
- float angle_increment_;
- float time_increment_;
- friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class netConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.netConfig) */ {
- public:
- netConfig();
- virtual ~netConfig();
- netConfig(const netConfig& from);
- inline netConfig& operator=(const netConfig& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- netConfig(netConfig&& from) noexcept
- : netConfig() {
- *this = ::std::move(from);
- }
- inline netConfig& operator=(netConfig&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const 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;
- void Swap(netConfig* other);
- friend void swap(netConfig& a, netConfig& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline netConfig* New() const final {
- return CreateMaybeMessage<netConfig>(NULL);
- }
- netConfig* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<netConfig>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const netConfig& from);
- void MergeFrom(const netConfig& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(netConfig* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional string ip_address = 1 [default = ""];
- bool has_ip_address() const;
- void clear_ip_address();
- static const int kIpAddressFieldNumber = 1;
- const ::std::string& ip_address() const;
- void set_ip_address(const ::std::string& value);
- #if LANG_CXX11
- void set_ip_address(::std::string&& value);
- #endif
- 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);
- // optional int32 port = 2 [default = 8000];
- bool has_port() const;
- void clear_port();
- static const int kPortFieldNumber = 2;
- ::google::protobuf::int32 port() const;
- void set_port(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:wj.netConfig)
- private:
- void set_has_ip_address();
- void clear_has_ip_address();
- void set_has_port();
- void clear_has_port();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr ip_address_;
- ::google::protobuf::int32 port_;
- friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Transform2d : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.Transform2d) */ {
- public:
- Transform2d();
- virtual ~Transform2d();
- Transform2d(const Transform2d& from);
- inline Transform2d& operator=(const Transform2d& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Transform2d(Transform2d&& from) noexcept
- : Transform2d() {
- *this = ::std::move(from);
- }
- inline Transform2d& operator=(Transform2d&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const 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;
- void Swap(Transform2d* other);
- friend void swap(Transform2d& a, Transform2d& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Transform2d* New() const final {
- return CreateMaybeMessage<Transform2d>(NULL);
- }
- Transform2d* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Transform2d>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Transform2d& from);
- void MergeFrom(const Transform2d& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Transform2d* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional float m01 = 2 [default = 0];
- bool has_m01() const;
- void clear_m01();
- static const int kM01FieldNumber = 2;
- float m01() const;
- void set_m01(float value);
- // optional float m02 = 3 [default = 0];
- bool has_m02() const;
- void clear_m02();
- static const int kM02FieldNumber = 3;
- float m02() const;
- void set_m02(float value);
- // optional float m10 = 4 [default = 0];
- bool has_m10() const;
- void clear_m10();
- static const int kM10FieldNumber = 4;
- float m10() const;
- void set_m10(float value);
- // optional float m12 = 6 [default = 0];
- bool has_m12() const;
- void clear_m12();
- static const int kM12FieldNumber = 6;
- float m12() const;
- void set_m12(float value);
- // optional float m00 = 1 [default = 1];
- bool has_m00() const;
- void clear_m00();
- static const int kM00FieldNumber = 1;
- float m00() const;
- void set_m00(float value);
- // optional float m11 = 5 [default = 1];
- bool has_m11() const;
- void clear_m11();
- static const int kM11FieldNumber = 5;
- float m11() const;
- void set_m11(float value);
- // @@protoc_insertion_point(class_scope:wj.Transform2d)
- private:
- void set_has_m00();
- void clear_has_m00();
- void set_has_m01();
- void clear_has_m01();
- void set_has_m02();
- void clear_has_m02();
- void set_has_m10();
- void clear_has_m10();
- void set_has_m11();
- void clear_has_m11();
- void set_has_m12();
- void clear_has_m12();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- float m01_;
- float m02_;
- float m10_;
- float m12_;
- float m00_;
- float m11_;
- friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class scanLimit : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.scanLimit) */ {
- public:
- scanLimit();
- virtual ~scanLimit();
- scanLimit(const scanLimit& from);
- inline scanLimit& operator=(const scanLimit& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- scanLimit(scanLimit&& from) noexcept
- : scanLimit() {
- *this = ::std::move(from);
- }
- inline scanLimit& operator=(scanLimit&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const 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;
- void Swap(scanLimit* other);
- friend void swap(scanLimit& a, scanLimit& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline scanLimit* New() const final {
- return CreateMaybeMessage<scanLimit>(NULL);
- }
- scanLimit* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<scanLimit>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const scanLimit& from);
- void MergeFrom(const scanLimit& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(scanLimit* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional float maxy = 5 [default = 3.5];
- bool has_maxy() const;
- void clear_maxy();
- static const int kMaxyFieldNumber = 5;
- float maxy() const;
- void set_maxy(float value);
- // optional float dist_limit = 1 [default = 8];
- bool has_dist_limit() const;
- void clear_dist_limit();
- static const int kDistLimitFieldNumber = 1;
- float dist_limit() const;
- void set_dist_limit(float value);
- // optional float minx = 2 [default = -6];
- bool has_minx() const;
- void clear_minx();
- static const int kMinxFieldNumber = 2;
- float minx() const;
- void set_minx(float value);
- // optional float maxx = 3 [default = -0.2];
- bool has_maxx() const;
- void clear_maxx();
- static const int kMaxxFieldNumber = 3;
- float maxx() const;
- void set_maxx(float value);
- // optional float miny = 4 [default = -3.5];
- bool has_miny() const;
- void clear_miny();
- static const int kMinyFieldNumber = 4;
- float miny() const;
- void set_miny(float value);
- // @@protoc_insertion_point(class_scope:wj.scanLimit)
- private:
- void set_has_dist_limit();
- void clear_has_dist_limit();
- void set_has_minx();
- void clear_has_minx();
- void set_has_maxx();
- void clear_has_maxx();
- void set_has_miny();
- void clear_has_miny();
- void set_has_maxy();
- void clear_has_maxy();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- float maxy_;
- float dist_limit_;
- float minx_;
- float maxx_;
- float miny_;
- friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // wjManagerParams
- // repeated .wj.wjLidarParams wj_lidar = 1;
- inline int wjManagerParams::wj_lidar_size() const {
- return 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 ::google::protobuf::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::wj_lidar(int index) const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.wj_lidar)
- return wj_lidar_.Get(index);
- }
- inline ::wj::wjLidarParams* wjManagerParams::add_wj_lidar() {
- // @@protoc_insertion_point(field_add:wj.wjManagerParams.wj_lidar)
- return wj_lidar_.Add();
- }
- inline const ::google::protobuf::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::regions_size() const {
- return 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 ::google::protobuf::RepeatedPtrField< ::wj::Region >*
- wjManagerParams::mutable_regions() {
- // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.regions)
- return ®ions_;
- }
- inline const ::wj::Region& wjManagerParams::regions(int index) const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.regions)
- return regions_.Get(index);
- }
- inline ::wj::Region* wjManagerParams::add_regions() {
- // @@protoc_insertion_point(field_add:wj.wjManagerParams.regions)
- return regions_.Add();
- }
- inline const ::google::protobuf::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::has_fence_data_path() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void wjManagerParams::set_has_fence_data_path() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void wjManagerParams::clear_has_fence_data_path() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void wjManagerParams::clear_fence_data_path() {
- fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_fence_data_path();
- }
- inline const ::std::string& wjManagerParams::fence_data_path() const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_data_path)
- return fence_data_path_.GetNoArena();
- }
- inline void wjManagerParams::set_fence_data_path(const ::std::string& value) {
- set_has_fence_data_path();
- fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_data_path)
- }
- #if LANG_CXX11
- inline void wjManagerParams::set_fence_data_path(::std::string&& value) {
- set_has_fence_data_path();
- fence_data_path_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_data_path)
- }
- #endif
- inline void wjManagerParams::set_fence_data_path(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_fence_data_path();
- fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_data_path)
- }
- inline void wjManagerParams::set_fence_data_path(const char* value, size_t size) {
- set_has_fence_data_path();
- fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_data_path)
- }
- inline ::std::string* wjManagerParams::mutable_fence_data_path() {
- set_has_fence_data_path();
- // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_data_path)
- return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* wjManagerParams::release_fence_data_path() {
- // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_data_path)
- if (!has_fence_data_path()) {
- return NULL;
- }
- clear_has_fence_data_path();
- return fence_data_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void wjManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
- if (fence_data_path != NULL) {
- set_has_fence_data_path();
- } else {
- clear_has_fence_data_path();
- }
- fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
- // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_data_path)
- }
- // optional string fence_log_path = 4 [default = ""];
- inline bool wjManagerParams::has_fence_log_path() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void wjManagerParams::set_has_fence_log_path() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void wjManagerParams::clear_has_fence_log_path() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void wjManagerParams::clear_fence_log_path() {
- fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_fence_log_path();
- }
- inline const ::std::string& wjManagerParams::fence_log_path() const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_log_path)
- return fence_log_path_.GetNoArena();
- }
- inline void wjManagerParams::set_fence_log_path(const ::std::string& value) {
- set_has_fence_log_path();
- fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_log_path)
- }
- #if LANG_CXX11
- inline void wjManagerParams::set_fence_log_path(::std::string&& value) {
- set_has_fence_log_path();
- fence_log_path_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_log_path)
- }
- #endif
- inline void wjManagerParams::set_fence_log_path(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_fence_log_path();
- fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_log_path)
- }
- inline void wjManagerParams::set_fence_log_path(const char* value, size_t size) {
- set_has_fence_log_path();
- fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_log_path)
- }
- inline ::std::string* wjManagerParams::mutable_fence_log_path() {
- set_has_fence_log_path();
- // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_log_path)
- return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* wjManagerParams::release_fence_log_path() {
- // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_log_path)
- if (!has_fence_log_path()) {
- return NULL;
- }
- clear_has_fence_log_path();
- return fence_log_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void wjManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
- if (fence_log_path != NULL) {
- set_has_fence_log_path();
- } else {
- clear_has_fence_log_path();
- }
- fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
- // @@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::has_plc_ip_address() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void wjManagerParams::set_has_plc_ip_address() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void wjManagerParams::clear_has_plc_ip_address() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void wjManagerParams::clear_plc_ip_address() {
- plc_ip_address_.ClearToDefaultNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
- clear_has_plc_ip_address();
- }
- inline const ::std::string& wjManagerParams::plc_ip_address() const {
- // @@protoc_insertion_point(field_get:wj.wjManagerParams.plc_ip_address)
- return plc_ip_address_.GetNoArena();
- }
- inline void wjManagerParams::set_plc_ip_address(const ::std::string& value) {
- set_has_plc_ip_address();
- plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), value);
- // @@protoc_insertion_point(field_set:wj.wjManagerParams.plc_ip_address)
- }
- #if LANG_CXX11
- inline void wjManagerParams::set_plc_ip_address(::std::string&& value) {
- set_has_plc_ip_address();
- plc_ip_address_.SetNoArena(
- &::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.plc_ip_address)
- }
- #endif
- inline void wjManagerParams::set_plc_ip_address(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_plc_ip_address();
- plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.plc_ip_address)
- }
- inline void wjManagerParams::set_plc_ip_address(const char* value, size_t size) {
- set_has_plc_ip_address();
- plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.plc_ip_address)
- }
- inline ::std::string* wjManagerParams::mutable_plc_ip_address() {
- set_has_plc_ip_address();
- // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.plc_ip_address)
- return plc_ip_address_.MutableNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
- }
- inline ::std::string* wjManagerParams::release_plc_ip_address() {
- // @@protoc_insertion_point(field_release:wj.wjManagerParams.plc_ip_address)
- if (!has_plc_ip_address()) {
- return NULL;
- }
- clear_has_plc_ip_address();
- return plc_ip_address_.ReleaseNonDefaultNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
- }
- inline void wjManagerParams::set_allocated_plc_ip_address(::std::string* plc_ip_address) {
- if (plc_ip_address != NULL) {
- set_has_plc_ip_address();
- } else {
- clear_has_plc_ip_address();
- }
- plc_ip_address_.SetAllocatedNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), plc_ip_address);
- // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.plc_ip_address)
- }
- // -------------------------------------------------------------------
- // Region
- // required float minx = 1;
- inline bool Region::has_minx() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Region::set_has_minx() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Region::clear_has_minx() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Region::clear_minx() {
- minx_ = 0;
- clear_has_minx();
- }
- inline float Region::minx() const {
- // @@protoc_insertion_point(field_get:wj.Region.minx)
- return minx_;
- }
- inline void Region::set_minx(float value) {
- set_has_minx();
- minx_ = value;
- // @@protoc_insertion_point(field_set:wj.Region.minx)
- }
- // required float maxx = 2;
- inline bool Region::has_maxx() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Region::set_has_maxx() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Region::clear_has_maxx() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Region::clear_maxx() {
- maxx_ = 0;
- clear_has_maxx();
- }
- inline float Region::maxx() const {
- // @@protoc_insertion_point(field_get:wj.Region.maxx)
- return maxx_;
- }
- inline void Region::set_maxx(float value) {
- set_has_maxx();
- maxx_ = value;
- // @@protoc_insertion_point(field_set:wj.Region.maxx)
- }
- // required float miny = 3;
- inline bool Region::has_miny() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Region::set_has_miny() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Region::clear_has_miny() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Region::clear_miny() {
- miny_ = 0;
- clear_has_miny();
- }
- inline float Region::miny() const {
- // @@protoc_insertion_point(field_get:wj.Region.miny)
- return miny_;
- }
- inline void Region::set_miny(float value) {
- set_has_miny();
- miny_ = value;
- // @@protoc_insertion_point(field_set:wj.Region.miny)
- }
- // required float maxy = 4;
- inline bool Region::has_maxy() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Region::set_has_maxy() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Region::clear_has_maxy() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Region::clear_maxy() {
- maxy_ = 0;
- clear_has_maxy();
- }
- inline float Region::maxy() const {
- // @@protoc_insertion_point(field_get:wj.Region.maxy)
- return maxy_;
- }
- inline void Region::set_maxy(float value) {
- set_has_maxy();
- maxy_ = value;
- // @@protoc_insertion_point(field_set:wj.Region.maxy)
- }
- // -------------------------------------------------------------------
- // wjLidarParams
- // optional float angle_min = 1 [default = -2.3561945];
- inline bool wjLidarParams::has_angle_min() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void wjLidarParams::set_has_angle_min() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void wjLidarParams::clear_has_angle_min() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void wjLidarParams::clear_angle_min() {
- angle_min_ = -2.3561945f;
- clear_has_angle_min();
- }
- inline float wjLidarParams::angle_min() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_min)
- return angle_min_;
- }
- inline void wjLidarParams::set_angle_min(float value) {
- set_has_angle_min();
- angle_min_ = value;
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_min)
- }
- // optional float angle_max = 2 [default = 2.3561945];
- inline bool wjLidarParams::has_angle_max() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void wjLidarParams::set_has_angle_max() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void wjLidarParams::clear_has_angle_max() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void wjLidarParams::clear_angle_max() {
- angle_max_ = 2.3561945f;
- clear_has_angle_max();
- }
- inline float wjLidarParams::angle_max() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_max)
- return angle_max_;
- }
- inline void wjLidarParams::set_angle_max(float value) {
- set_has_angle_max();
- angle_max_ = value;
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_max)
- }
- // optional float angle_increment = 3 [default = 0.00582];
- inline bool wjLidarParams::has_angle_increment() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
- }
- inline void wjLidarParams::set_has_angle_increment() {
- _has_bits_[0] |= 0x00000080u;
- }
- inline void wjLidarParams::clear_has_angle_increment() {
- _has_bits_[0] &= ~0x00000080u;
- }
- inline void wjLidarParams::clear_angle_increment() {
- angle_increment_ = 0.00582f;
- clear_has_angle_increment();
- }
- inline float wjLidarParams::angle_increment() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_increment)
- return angle_increment_;
- }
- inline void wjLidarParams::set_angle_increment(float value) {
- set_has_angle_increment();
- angle_increment_ = value;
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_increment)
- }
- // optional float time_increment = 4 [default = 6.2e-05];
- inline bool wjLidarParams::has_time_increment() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void wjLidarParams::set_has_time_increment() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void wjLidarParams::clear_has_time_increment() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void wjLidarParams::clear_time_increment() {
- time_increment_ = 6.2e-05f;
- clear_has_time_increment();
- }
- inline float wjLidarParams::time_increment() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.time_increment)
- return time_increment_;
- }
- inline void wjLidarParams::set_time_increment(float value) {
- set_has_time_increment();
- time_increment_ = value;
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.time_increment)
- }
- // optional int32 range_min = 5 [default = 0];
- inline bool wjLidarParams::has_range_min() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void wjLidarParams::set_has_range_min() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void wjLidarParams::clear_has_range_min() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void wjLidarParams::clear_range_min() {
- range_min_ = 0;
- clear_has_range_min();
- }
- inline ::google::protobuf::int32 wjLidarParams::range_min() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_min)
- return range_min_;
- }
- inline void wjLidarParams::set_range_min(::google::protobuf::int32 value) {
- set_has_range_min();
- range_min_ = value;
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_min)
- }
- // optional int32 range_max = 6 [default = 30];
- inline bool wjLidarParams::has_range_max() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void wjLidarParams::set_has_range_max() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void wjLidarParams::clear_has_range_max() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void wjLidarParams::clear_range_max() {
- range_max_ = 30;
- clear_has_range_max();
- }
- inline ::google::protobuf::int32 wjLidarParams::range_max() const {
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_max)
- return range_max_;
- }
- inline void wjLidarParams::set_range_max(::google::protobuf::int32 value) {
- set_has_range_max();
- range_max_ = value;
- // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_max)
- }
- // required .wj.netConfig net_config = 7;
- inline bool wjLidarParams::has_net_config() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void wjLidarParams::set_has_net_config() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void wjLidarParams::clear_has_net_config() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void wjLidarParams::clear_net_config() {
- if (net_config_ != NULL) net_config_->Clear();
- clear_has_net_config();
- }
- inline const ::wj::netConfig& wjLidarParams::_internal_net_config() const {
- return *net_config_;
- }
- inline const ::wj::netConfig& wjLidarParams::net_config() const {
- const ::wj::netConfig* p = net_config_;
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.net_config)
- return p != NULL ? *p : *reinterpret_cast<const ::wj::netConfig*>(
- &::wj::_netConfig_default_instance_);
- }
- inline ::wj::netConfig* wjLidarParams::release_net_config() {
- // @@protoc_insertion_point(field_release:wj.wjLidarParams.net_config)
- clear_has_net_config();
- ::wj::netConfig* temp = net_config_;
- net_config_ = NULL;
- return temp;
- }
- inline ::wj::netConfig* wjLidarParams::mutable_net_config() {
- set_has_net_config();
- if (net_config_ == NULL) {
- auto* p = CreateMaybeMessage<::wj::netConfig>(GetArenaNoVirtual());
- net_config_ = p;
- }
- // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.net_config)
- return net_config_;
- }
- inline void wjLidarParams::set_allocated_net_config(::wj::netConfig* net_config) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete net_config_;
- }
- if (net_config) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- net_config = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, net_config, submessage_arena);
- }
- set_has_net_config();
- } else {
- clear_has_net_config();
- }
- net_config_ = net_config;
- // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.net_config)
- }
- // required .wj.Transform2d transform = 8;
- inline bool wjLidarParams::has_transform() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void wjLidarParams::set_has_transform() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void wjLidarParams::clear_has_transform() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void wjLidarParams::clear_transform() {
- if (transform_ != NULL) transform_->Clear();
- clear_has_transform();
- }
- inline const ::wj::Transform2d& wjLidarParams::_internal_transform() const {
- return *transform_;
- }
- inline const ::wj::Transform2d& wjLidarParams::transform() const {
- const ::wj::Transform2d* p = transform_;
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.transform)
- return p != NULL ? *p : *reinterpret_cast<const ::wj::Transform2d*>(
- &::wj::_Transform2d_default_instance_);
- }
- inline ::wj::Transform2d* wjLidarParams::release_transform() {
- // @@protoc_insertion_point(field_release:wj.wjLidarParams.transform)
- clear_has_transform();
- ::wj::Transform2d* temp = transform_;
- transform_ = NULL;
- return temp;
- }
- inline ::wj::Transform2d* wjLidarParams::mutable_transform() {
- set_has_transform();
- if (transform_ == NULL) {
- auto* p = CreateMaybeMessage<::wj::Transform2d>(GetArenaNoVirtual());
- transform_ = p;
- }
- // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.transform)
- return transform_;
- }
- inline void wjLidarParams::set_allocated_transform(::wj::Transform2d* transform) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete transform_;
- }
- if (transform) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- transform = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, transform, submessage_arena);
- }
- set_has_transform();
- } else {
- clear_has_transform();
- }
- transform_ = transform;
- // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.transform)
- }
- // required .wj.scanLimit scan_limit = 9;
- inline bool wjLidarParams::has_scan_limit() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void wjLidarParams::set_has_scan_limit() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void wjLidarParams::clear_has_scan_limit() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void wjLidarParams::clear_scan_limit() {
- if (scan_limit_ != NULL) scan_limit_->Clear();
- clear_has_scan_limit();
- }
- inline const ::wj::scanLimit& wjLidarParams::_internal_scan_limit() const {
- return *scan_limit_;
- }
- inline const ::wj::scanLimit& wjLidarParams::scan_limit() const {
- const ::wj::scanLimit* p = scan_limit_;
- // @@protoc_insertion_point(field_get:wj.wjLidarParams.scan_limit)
- return p != NULL ? *p : *reinterpret_cast<const ::wj::scanLimit*>(
- &::wj::_scanLimit_default_instance_);
- }
- inline ::wj::scanLimit* wjLidarParams::release_scan_limit() {
- // @@protoc_insertion_point(field_release:wj.wjLidarParams.scan_limit)
- clear_has_scan_limit();
- ::wj::scanLimit* temp = scan_limit_;
- scan_limit_ = NULL;
- return temp;
- }
- inline ::wj::scanLimit* wjLidarParams::mutable_scan_limit() {
- set_has_scan_limit();
- if (scan_limit_ == NULL) {
- auto* p = CreateMaybeMessage<::wj::scanLimit>(GetArenaNoVirtual());
- scan_limit_ = p;
- }
- // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.scan_limit)
- return scan_limit_;
- }
- inline void wjLidarParams::set_allocated_scan_limit(::wj::scanLimit* scan_limit) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete scan_limit_;
- }
- if (scan_limit) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- scan_limit = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, scan_limit, submessage_arena);
- }
- set_has_scan_limit();
- } else {
- clear_has_scan_limit();
- }
- scan_limit_ = scan_limit;
- // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.scan_limit)
- }
- // -------------------------------------------------------------------
- // netConfig
- // optional string ip_address = 1 [default = ""];
- inline bool netConfig::has_ip_address() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void netConfig::set_has_ip_address() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void netConfig::clear_has_ip_address() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void netConfig::clear_ip_address() {
- ip_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_ip_address();
- }
- inline const ::std::string& netConfig::ip_address() const {
- // @@protoc_insertion_point(field_get:wj.netConfig.ip_address)
- return ip_address_.GetNoArena();
- }
- inline void netConfig::set_ip_address(const ::std::string& value) {
- set_has_ip_address();
- ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:wj.netConfig.ip_address)
- }
- #if LANG_CXX11
- inline void netConfig::set_ip_address(::std::string&& value) {
- set_has_ip_address();
- ip_address_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:wj.netConfig.ip_address)
- }
- #endif
- inline void netConfig::set_ip_address(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_ip_address();
- ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:wj.netConfig.ip_address)
- }
- inline void netConfig::set_ip_address(const char* value, size_t size) {
- set_has_ip_address();
- ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:wj.netConfig.ip_address)
- }
- inline ::std::string* netConfig::mutable_ip_address() {
- set_has_ip_address();
- // @@protoc_insertion_point(field_mutable:wj.netConfig.ip_address)
- return ip_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* netConfig::release_ip_address() {
- // @@protoc_insertion_point(field_release:wj.netConfig.ip_address)
- if (!has_ip_address()) {
- return NULL;
- }
- clear_has_ip_address();
- return ip_address_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void netConfig::set_allocated_ip_address(::std::string* ip_address) {
- if (ip_address != NULL) {
- set_has_ip_address();
- } else {
- clear_has_ip_address();
- }
- ip_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip_address);
- // @@protoc_insertion_point(field_set_allocated:wj.netConfig.ip_address)
- }
- // optional int32 port = 2 [default = 8000];
- inline bool netConfig::has_port() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void netConfig::set_has_port() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void netConfig::clear_has_port() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void netConfig::clear_port() {
- port_ = 8000;
- clear_has_port();
- }
- inline ::google::protobuf::int32 netConfig::port() const {
- // @@protoc_insertion_point(field_get:wj.netConfig.port)
- return port_;
- }
- inline void netConfig::set_port(::google::protobuf::int32 value) {
- set_has_port();
- port_ = value;
- // @@protoc_insertion_point(field_set:wj.netConfig.port)
- }
- // -------------------------------------------------------------------
- // Transform2d
- // optional float m00 = 1 [default = 1];
- inline bool Transform2d::has_m00() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Transform2d::set_has_m00() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Transform2d::clear_has_m00() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Transform2d::clear_m00() {
- m00_ = 1;
- clear_has_m00();
- }
- inline float Transform2d::m00() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m00)
- return m00_;
- }
- inline void Transform2d::set_m00(float value) {
- set_has_m00();
- m00_ = value;
- // @@protoc_insertion_point(field_set:wj.Transform2d.m00)
- }
- // optional float m01 = 2 [default = 0];
- inline bool Transform2d::has_m01() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Transform2d::set_has_m01() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Transform2d::clear_has_m01() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Transform2d::clear_m01() {
- m01_ = 0;
- clear_has_m01();
- }
- inline float Transform2d::m01() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m01)
- return m01_;
- }
- inline void Transform2d::set_m01(float value) {
- set_has_m01();
- m01_ = value;
- // @@protoc_insertion_point(field_set:wj.Transform2d.m01)
- }
- // optional float m02 = 3 [default = 0];
- inline bool Transform2d::has_m02() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Transform2d::set_has_m02() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Transform2d::clear_has_m02() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Transform2d::clear_m02() {
- m02_ = 0;
- clear_has_m02();
- }
- inline float Transform2d::m02() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m02)
- return m02_;
- }
- inline void Transform2d::set_m02(float value) {
- set_has_m02();
- m02_ = value;
- // @@protoc_insertion_point(field_set:wj.Transform2d.m02)
- }
- // optional float m10 = 4 [default = 0];
- inline bool Transform2d::has_m10() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Transform2d::set_has_m10() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Transform2d::clear_has_m10() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Transform2d::clear_m10() {
- m10_ = 0;
- clear_has_m10();
- }
- inline float Transform2d::m10() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m10)
- return m10_;
- }
- inline void Transform2d::set_m10(float value) {
- set_has_m10();
- m10_ = value;
- // @@protoc_insertion_point(field_set:wj.Transform2d.m10)
- }
- // optional float m11 = 5 [default = 1];
- inline bool Transform2d::has_m11() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Transform2d::set_has_m11() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Transform2d::clear_has_m11() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Transform2d::clear_m11() {
- m11_ = 1;
- clear_has_m11();
- }
- inline float Transform2d::m11() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m11)
- return m11_;
- }
- inline void Transform2d::set_m11(float value) {
- set_has_m11();
- m11_ = value;
- // @@protoc_insertion_point(field_set:wj.Transform2d.m11)
- }
- // optional float m12 = 6 [default = 0];
- inline bool Transform2d::has_m12() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Transform2d::set_has_m12() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Transform2d::clear_has_m12() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Transform2d::clear_m12() {
- m12_ = 0;
- clear_has_m12();
- }
- inline float Transform2d::m12() const {
- // @@protoc_insertion_point(field_get:wj.Transform2d.m12)
- return m12_;
- }
- inline void Transform2d::set_m12(float value) {
- set_has_m12();
- m12_ = value;
- // @@protoc_insertion_point(field_set:wj.Transform2d.m12)
- }
- // -------------------------------------------------------------------
- // scanLimit
- // optional float dist_limit = 1 [default = 8];
- inline bool scanLimit::has_dist_limit() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void scanLimit::set_has_dist_limit() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void scanLimit::clear_has_dist_limit() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void scanLimit::clear_dist_limit() {
- dist_limit_ = 8;
- clear_has_dist_limit();
- }
- inline float scanLimit::dist_limit() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.dist_limit)
- return dist_limit_;
- }
- inline void scanLimit::set_dist_limit(float value) {
- set_has_dist_limit();
- dist_limit_ = value;
- // @@protoc_insertion_point(field_set:wj.scanLimit.dist_limit)
- }
- // optional float minx = 2 [default = -6];
- inline bool scanLimit::has_minx() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void scanLimit::set_has_minx() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void scanLimit::clear_has_minx() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void scanLimit::clear_minx() {
- minx_ = -6;
- clear_has_minx();
- }
- inline float scanLimit::minx() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.minx)
- return minx_;
- }
- inline void scanLimit::set_minx(float value) {
- set_has_minx();
- minx_ = value;
- // @@protoc_insertion_point(field_set:wj.scanLimit.minx)
- }
- // optional float maxx = 3 [default = -0.2];
- inline bool scanLimit::has_maxx() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void scanLimit::set_has_maxx() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void scanLimit::clear_has_maxx() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void scanLimit::clear_maxx() {
- maxx_ = -0.2f;
- clear_has_maxx();
- }
- inline float scanLimit::maxx() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.maxx)
- return maxx_;
- }
- inline void scanLimit::set_maxx(float value) {
- set_has_maxx();
- maxx_ = value;
- // @@protoc_insertion_point(field_set:wj.scanLimit.maxx)
- }
- // optional float miny = 4 [default = -3.5];
- inline bool scanLimit::has_miny() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void scanLimit::set_has_miny() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void scanLimit::clear_has_miny() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void scanLimit::clear_miny() {
- miny_ = -3.5f;
- clear_has_miny();
- }
- inline float scanLimit::miny() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.miny)
- return miny_;
- }
- inline void scanLimit::set_miny(float value) {
- set_has_miny();
- miny_ = value;
- // @@protoc_insertion_point(field_set:wj.scanLimit.miny)
- }
- // optional float maxy = 5 [default = 3.5];
- inline bool scanLimit::has_maxy() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void scanLimit::set_has_maxy() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void scanLimit::clear_has_maxy() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void scanLimit::clear_maxy() {
- maxy_ = 3.5f;
- clear_has_maxy();
- }
- inline float scanLimit::maxy() const {
- // @@protoc_insertion_point(field_get:wj.scanLimit.maxy)
- return maxy_;
- }
- inline void scanLimit::set_maxy(float value) {
- set_has_maxy();
- 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)
- #endif // PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
|