wj_lidar_conf.pb.h 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: wj_lidar_conf.proto
  3. #ifndef PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
  4. #define PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. #define PROTOBUF_INTERNAL_EXPORT_protobuf_wj_5flidar_5fconf_2eproto
  30. namespace protobuf_wj_5flidar_5fconf_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[6];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. } // namespace protobuf_wj_5flidar_5fconf_2eproto
  42. namespace wj {
  43. class Region;
  44. class RegionDefaultTypeInternal;
  45. extern RegionDefaultTypeInternal _Region_default_instance_;
  46. class Transform2d;
  47. class Transform2dDefaultTypeInternal;
  48. extern Transform2dDefaultTypeInternal _Transform2d_default_instance_;
  49. class netConfig;
  50. class netConfigDefaultTypeInternal;
  51. extern netConfigDefaultTypeInternal _netConfig_default_instance_;
  52. class scanLimit;
  53. class scanLimitDefaultTypeInternal;
  54. extern scanLimitDefaultTypeInternal _scanLimit_default_instance_;
  55. class wjLidarParams;
  56. class wjLidarParamsDefaultTypeInternal;
  57. extern wjLidarParamsDefaultTypeInternal _wjLidarParams_default_instance_;
  58. class wjManagerParams;
  59. class wjManagerParamsDefaultTypeInternal;
  60. extern wjManagerParamsDefaultTypeInternal _wjManagerParams_default_instance_;
  61. } // namespace wj
  62. namespace google {
  63. namespace protobuf {
  64. template<> ::wj::Region* Arena::CreateMaybeMessage<::wj::Region>(Arena*);
  65. template<> ::wj::Transform2d* Arena::CreateMaybeMessage<::wj::Transform2d>(Arena*);
  66. template<> ::wj::netConfig* Arena::CreateMaybeMessage<::wj::netConfig>(Arena*);
  67. template<> ::wj::scanLimit* Arena::CreateMaybeMessage<::wj::scanLimit>(Arena*);
  68. template<> ::wj::wjLidarParams* Arena::CreateMaybeMessage<::wj::wjLidarParams>(Arena*);
  69. template<> ::wj::wjManagerParams* Arena::CreateMaybeMessage<::wj::wjManagerParams>(Arena*);
  70. } // namespace protobuf
  71. } // namespace google
  72. namespace wj {
  73. // ===================================================================
  74. class wjManagerParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.wjManagerParams) */ {
  75. public:
  76. wjManagerParams();
  77. virtual ~wjManagerParams();
  78. wjManagerParams(const wjManagerParams& from);
  79. inline wjManagerParams& operator=(const wjManagerParams& from) {
  80. CopyFrom(from);
  81. return *this;
  82. }
  83. #if LANG_CXX11
  84. wjManagerParams(wjManagerParams&& from) noexcept
  85. : wjManagerParams() {
  86. *this = ::std::move(from);
  87. }
  88. inline wjManagerParams& operator=(wjManagerParams&& from) noexcept {
  89. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  90. if (this != &from) InternalSwap(&from);
  91. } else {
  92. CopyFrom(from);
  93. }
  94. return *this;
  95. }
  96. #endif
  97. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  98. return _internal_metadata_.unknown_fields();
  99. }
  100. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  101. return _internal_metadata_.mutable_unknown_fields();
  102. }
  103. static const ::google::protobuf::Descriptor* descriptor();
  104. static const wjManagerParams& default_instance();
  105. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  106. static inline const wjManagerParams* internal_default_instance() {
  107. return reinterpret_cast<const wjManagerParams*>(
  108. &_wjManagerParams_default_instance_);
  109. }
  110. static constexpr int kIndexInFileMessages =
  111. 0;
  112. void Swap(wjManagerParams* other);
  113. friend void swap(wjManagerParams& a, wjManagerParams& b) {
  114. a.Swap(&b);
  115. }
  116. // implements Message ----------------------------------------------
  117. inline wjManagerParams* New() const final {
  118. return CreateMaybeMessage<wjManagerParams>(NULL);
  119. }
  120. wjManagerParams* New(::google::protobuf::Arena* arena) const final {
  121. return CreateMaybeMessage<wjManagerParams>(arena);
  122. }
  123. void CopyFrom(const ::google::protobuf::Message& from) final;
  124. void MergeFrom(const ::google::protobuf::Message& from) final;
  125. void CopyFrom(const wjManagerParams& from);
  126. void MergeFrom(const wjManagerParams& from);
  127. void Clear() final;
  128. bool IsInitialized() const final;
  129. size_t ByteSizeLong() const final;
  130. bool MergePartialFromCodedStream(
  131. ::google::protobuf::io::CodedInputStream* input) final;
  132. void SerializeWithCachedSizes(
  133. ::google::protobuf::io::CodedOutputStream* output) const final;
  134. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  135. bool deterministic, ::google::protobuf::uint8* target) const final;
  136. int GetCachedSize() const final { return _cached_size_.Get(); }
  137. private:
  138. void SharedCtor();
  139. void SharedDtor();
  140. void SetCachedSize(int size) const final;
  141. void InternalSwap(wjManagerParams* other);
  142. private:
  143. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  144. return NULL;
  145. }
  146. inline void* MaybeArenaPtr() const {
  147. return NULL;
  148. }
  149. public:
  150. ::google::protobuf::Metadata GetMetadata() const final;
  151. // nested types ----------------------------------------------------
  152. // accessors -------------------------------------------------------
  153. // repeated .wj.wjLidarParams wj_lidar = 1;
  154. int wj_lidar_size() const;
  155. void clear_wj_lidar();
  156. static const int kWjLidarFieldNumber = 1;
  157. ::wj::wjLidarParams* mutable_wj_lidar(int index);
  158. ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >*
  159. mutable_wj_lidar();
  160. const ::wj::wjLidarParams& wj_lidar(int index) const;
  161. ::wj::wjLidarParams* add_wj_lidar();
  162. const ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >&
  163. wj_lidar() const;
  164. // repeated .wj.Region regions = 2;
  165. int regions_size() const;
  166. void clear_regions();
  167. static const int kRegionsFieldNumber = 2;
  168. ::wj::Region* mutable_regions(int index);
  169. ::google::protobuf::RepeatedPtrField< ::wj::Region >*
  170. mutable_regions();
  171. const ::wj::Region& regions(int index) const;
  172. ::wj::Region* add_regions();
  173. const ::google::protobuf::RepeatedPtrField< ::wj::Region >&
  174. regions() const;
  175. // optional string fence_data_path = 3 [default = ""];
  176. bool has_fence_data_path() const;
  177. void clear_fence_data_path();
  178. static const int kFenceDataPathFieldNumber = 3;
  179. const ::std::string& fence_data_path() const;
  180. void set_fence_data_path(const ::std::string& value);
  181. #if LANG_CXX11
  182. void set_fence_data_path(::std::string&& value);
  183. #endif
  184. void set_fence_data_path(const char* value);
  185. void set_fence_data_path(const char* value, size_t size);
  186. ::std::string* mutable_fence_data_path();
  187. ::std::string* release_fence_data_path();
  188. void set_allocated_fence_data_path(::std::string* fence_data_path);
  189. // optional string fence_log_path = 4 [default = ""];
  190. bool has_fence_log_path() const;
  191. void clear_fence_log_path();
  192. static const int kFenceLogPathFieldNumber = 4;
  193. const ::std::string& fence_log_path() const;
  194. void set_fence_log_path(const ::std::string& value);
  195. #if LANG_CXX11
  196. void set_fence_log_path(::std::string&& value);
  197. #endif
  198. void set_fence_log_path(const char* value);
  199. void set_fence_log_path(const char* value, size_t size);
  200. ::std::string* mutable_fence_log_path();
  201. ::std::string* release_fence_log_path();
  202. void set_allocated_fence_log_path(::std::string* fence_log_path);
  203. // optional string plc_ip_address = 5 [default = "192.168.0.1"];
  204. bool has_plc_ip_address() const;
  205. void clear_plc_ip_address();
  206. static const int kPlcIpAddressFieldNumber = 5;
  207. const ::std::string& plc_ip_address() const;
  208. void set_plc_ip_address(const ::std::string& value);
  209. #if LANG_CXX11
  210. void set_plc_ip_address(::std::string&& value);
  211. #endif
  212. void set_plc_ip_address(const char* value);
  213. void set_plc_ip_address(const char* value, size_t size);
  214. ::std::string* mutable_plc_ip_address();
  215. ::std::string* release_plc_ip_address();
  216. void set_allocated_plc_ip_address(::std::string* plc_ip_address);
  217. // @@protoc_insertion_point(class_scope:wj.wjManagerParams)
  218. private:
  219. void set_has_fence_data_path();
  220. void clear_has_fence_data_path();
  221. void set_has_fence_log_path();
  222. void clear_has_fence_log_path();
  223. void set_has_plc_ip_address();
  224. void clear_has_plc_ip_address();
  225. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  226. ::google::protobuf::internal::HasBits<1> _has_bits_;
  227. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  228. ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams > wj_lidar_;
  229. ::google::protobuf::RepeatedPtrField< ::wj::Region > regions_;
  230. ::google::protobuf::internal::ArenaStringPtr fence_data_path_;
  231. ::google::protobuf::internal::ArenaStringPtr fence_log_path_;
  232. public:
  233. static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_plc_ip_address_;
  234. private:
  235. ::google::protobuf::internal::ArenaStringPtr plc_ip_address_;
  236. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  237. };
  238. // -------------------------------------------------------------------
  239. class Region : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.Region) */ {
  240. public:
  241. Region();
  242. virtual ~Region();
  243. Region(const Region& from);
  244. inline Region& operator=(const Region& from) {
  245. CopyFrom(from);
  246. return *this;
  247. }
  248. #if LANG_CXX11
  249. Region(Region&& from) noexcept
  250. : Region() {
  251. *this = ::std::move(from);
  252. }
  253. inline Region& operator=(Region&& from) noexcept {
  254. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  255. if (this != &from) InternalSwap(&from);
  256. } else {
  257. CopyFrom(from);
  258. }
  259. return *this;
  260. }
  261. #endif
  262. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  263. return _internal_metadata_.unknown_fields();
  264. }
  265. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  266. return _internal_metadata_.mutable_unknown_fields();
  267. }
  268. static const ::google::protobuf::Descriptor* descriptor();
  269. static const Region& default_instance();
  270. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  271. static inline const Region* internal_default_instance() {
  272. return reinterpret_cast<const Region*>(
  273. &_Region_default_instance_);
  274. }
  275. static constexpr int kIndexInFileMessages =
  276. 1;
  277. void Swap(Region* other);
  278. friend void swap(Region& a, Region& b) {
  279. a.Swap(&b);
  280. }
  281. // implements Message ----------------------------------------------
  282. inline Region* New() const final {
  283. return CreateMaybeMessage<Region>(NULL);
  284. }
  285. Region* New(::google::protobuf::Arena* arena) const final {
  286. return CreateMaybeMessage<Region>(arena);
  287. }
  288. void CopyFrom(const ::google::protobuf::Message& from) final;
  289. void MergeFrom(const ::google::protobuf::Message& from) final;
  290. void CopyFrom(const Region& from);
  291. void MergeFrom(const Region& from);
  292. void Clear() final;
  293. bool IsInitialized() const final;
  294. size_t ByteSizeLong() const final;
  295. bool MergePartialFromCodedStream(
  296. ::google::protobuf::io::CodedInputStream* input) final;
  297. void SerializeWithCachedSizes(
  298. ::google::protobuf::io::CodedOutputStream* output) const final;
  299. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  300. bool deterministic, ::google::protobuf::uint8* target) const final;
  301. int GetCachedSize() const final { return _cached_size_.Get(); }
  302. private:
  303. void SharedCtor();
  304. void SharedDtor();
  305. void SetCachedSize(int size) const final;
  306. void InternalSwap(Region* other);
  307. private:
  308. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  309. return NULL;
  310. }
  311. inline void* MaybeArenaPtr() const {
  312. return NULL;
  313. }
  314. public:
  315. ::google::protobuf::Metadata GetMetadata() const final;
  316. // nested types ----------------------------------------------------
  317. // accessors -------------------------------------------------------
  318. // required float minx = 1;
  319. bool has_minx() const;
  320. void clear_minx();
  321. static const int kMinxFieldNumber = 1;
  322. float minx() const;
  323. void set_minx(float value);
  324. // required float maxx = 2;
  325. bool has_maxx() const;
  326. void clear_maxx();
  327. static const int kMaxxFieldNumber = 2;
  328. float maxx() const;
  329. void set_maxx(float value);
  330. // required float miny = 3;
  331. bool has_miny() const;
  332. void clear_miny();
  333. static const int kMinyFieldNumber = 3;
  334. float miny() const;
  335. void set_miny(float value);
  336. // required float maxy = 4;
  337. bool has_maxy() const;
  338. void clear_maxy();
  339. static const int kMaxyFieldNumber = 4;
  340. float maxy() const;
  341. void set_maxy(float value);
  342. // @@protoc_insertion_point(class_scope:wj.Region)
  343. private:
  344. void set_has_minx();
  345. void clear_has_minx();
  346. void set_has_maxx();
  347. void clear_has_maxx();
  348. void set_has_miny();
  349. void clear_has_miny();
  350. void set_has_maxy();
  351. void clear_has_maxy();
  352. // helper for ByteSizeLong()
  353. size_t RequiredFieldsByteSizeFallback() const;
  354. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  355. ::google::protobuf::internal::HasBits<1> _has_bits_;
  356. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  357. float minx_;
  358. float maxx_;
  359. float miny_;
  360. float maxy_;
  361. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  362. };
  363. // -------------------------------------------------------------------
  364. class wjLidarParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.wjLidarParams) */ {
  365. public:
  366. wjLidarParams();
  367. virtual ~wjLidarParams();
  368. wjLidarParams(const wjLidarParams& from);
  369. inline wjLidarParams& operator=(const wjLidarParams& from) {
  370. CopyFrom(from);
  371. return *this;
  372. }
  373. #if LANG_CXX11
  374. wjLidarParams(wjLidarParams&& from) noexcept
  375. : wjLidarParams() {
  376. *this = ::std::move(from);
  377. }
  378. inline wjLidarParams& operator=(wjLidarParams&& from) noexcept {
  379. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  380. if (this != &from) InternalSwap(&from);
  381. } else {
  382. CopyFrom(from);
  383. }
  384. return *this;
  385. }
  386. #endif
  387. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  388. return _internal_metadata_.unknown_fields();
  389. }
  390. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  391. return _internal_metadata_.mutable_unknown_fields();
  392. }
  393. static const ::google::protobuf::Descriptor* descriptor();
  394. static const wjLidarParams& default_instance();
  395. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  396. static inline const wjLidarParams* internal_default_instance() {
  397. return reinterpret_cast<const wjLidarParams*>(
  398. &_wjLidarParams_default_instance_);
  399. }
  400. static constexpr int kIndexInFileMessages =
  401. 2;
  402. void Swap(wjLidarParams* other);
  403. friend void swap(wjLidarParams& a, wjLidarParams& b) {
  404. a.Swap(&b);
  405. }
  406. // implements Message ----------------------------------------------
  407. inline wjLidarParams* New() const final {
  408. return CreateMaybeMessage<wjLidarParams>(NULL);
  409. }
  410. wjLidarParams* New(::google::protobuf::Arena* arena) const final {
  411. return CreateMaybeMessage<wjLidarParams>(arena);
  412. }
  413. void CopyFrom(const ::google::protobuf::Message& from) final;
  414. void MergeFrom(const ::google::protobuf::Message& from) final;
  415. void CopyFrom(const wjLidarParams& from);
  416. void MergeFrom(const wjLidarParams& from);
  417. void Clear() final;
  418. bool IsInitialized() const final;
  419. size_t ByteSizeLong() const final;
  420. bool MergePartialFromCodedStream(
  421. ::google::protobuf::io::CodedInputStream* input) final;
  422. void SerializeWithCachedSizes(
  423. ::google::protobuf::io::CodedOutputStream* output) const final;
  424. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  425. bool deterministic, ::google::protobuf::uint8* target) const final;
  426. int GetCachedSize() const final { return _cached_size_.Get(); }
  427. private:
  428. void SharedCtor();
  429. void SharedDtor();
  430. void SetCachedSize(int size) const final;
  431. void InternalSwap(wjLidarParams* other);
  432. private:
  433. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  434. return NULL;
  435. }
  436. inline void* MaybeArenaPtr() const {
  437. return NULL;
  438. }
  439. public:
  440. ::google::protobuf::Metadata GetMetadata() const final;
  441. // nested types ----------------------------------------------------
  442. // accessors -------------------------------------------------------
  443. // required .wj.netConfig net_config = 7;
  444. bool has_net_config() const;
  445. void clear_net_config();
  446. static const int kNetConfigFieldNumber = 7;
  447. private:
  448. const ::wj::netConfig& _internal_net_config() const;
  449. public:
  450. const ::wj::netConfig& net_config() const;
  451. ::wj::netConfig* release_net_config();
  452. ::wj::netConfig* mutable_net_config();
  453. void set_allocated_net_config(::wj::netConfig* net_config);
  454. // required .wj.Transform2d transform = 8;
  455. bool has_transform() const;
  456. void clear_transform();
  457. static const int kTransformFieldNumber = 8;
  458. private:
  459. const ::wj::Transform2d& _internal_transform() const;
  460. public:
  461. const ::wj::Transform2d& transform() const;
  462. ::wj::Transform2d* release_transform();
  463. ::wj::Transform2d* mutable_transform();
  464. void set_allocated_transform(::wj::Transform2d* transform);
  465. // required .wj.scanLimit scan_limit = 9;
  466. bool has_scan_limit() const;
  467. void clear_scan_limit();
  468. static const int kScanLimitFieldNumber = 9;
  469. private:
  470. const ::wj::scanLimit& _internal_scan_limit() const;
  471. public:
  472. const ::wj::scanLimit& scan_limit() const;
  473. ::wj::scanLimit* release_scan_limit();
  474. ::wj::scanLimit* mutable_scan_limit();
  475. void set_allocated_scan_limit(::wj::scanLimit* scan_limit);
  476. // optional int32 range_min = 5 [default = 0];
  477. bool has_range_min() const;
  478. void clear_range_min();
  479. static const int kRangeMinFieldNumber = 5;
  480. ::google::protobuf::int32 range_min() const;
  481. void set_range_min(::google::protobuf::int32 value);
  482. // optional int32 range_max = 6 [default = 30];
  483. bool has_range_max() const;
  484. void clear_range_max();
  485. static const int kRangeMaxFieldNumber = 6;
  486. ::google::protobuf::int32 range_max() const;
  487. void set_range_max(::google::protobuf::int32 value);
  488. // optional float angle_min = 1 [default = -2.3561945];
  489. bool has_angle_min() const;
  490. void clear_angle_min();
  491. static const int kAngleMinFieldNumber = 1;
  492. float angle_min() const;
  493. void set_angle_min(float value);
  494. // optional float angle_max = 2 [default = 2.3561945];
  495. bool has_angle_max() const;
  496. void clear_angle_max();
  497. static const int kAngleMaxFieldNumber = 2;
  498. float angle_max() const;
  499. void set_angle_max(float value);
  500. // optional float angle_increment = 3 [default = 0.00582];
  501. bool has_angle_increment() const;
  502. void clear_angle_increment();
  503. static const int kAngleIncrementFieldNumber = 3;
  504. float angle_increment() const;
  505. void set_angle_increment(float value);
  506. // optional float time_increment = 4 [default = 6.2e-05];
  507. bool has_time_increment() const;
  508. void clear_time_increment();
  509. static const int kTimeIncrementFieldNumber = 4;
  510. float time_increment() const;
  511. void set_time_increment(float value);
  512. // @@protoc_insertion_point(class_scope:wj.wjLidarParams)
  513. private:
  514. void set_has_angle_min();
  515. void clear_has_angle_min();
  516. void set_has_angle_max();
  517. void clear_has_angle_max();
  518. void set_has_angle_increment();
  519. void clear_has_angle_increment();
  520. void set_has_time_increment();
  521. void clear_has_time_increment();
  522. void set_has_range_min();
  523. void clear_has_range_min();
  524. void set_has_range_max();
  525. void clear_has_range_max();
  526. void set_has_net_config();
  527. void clear_has_net_config();
  528. void set_has_transform();
  529. void clear_has_transform();
  530. void set_has_scan_limit();
  531. void clear_has_scan_limit();
  532. // helper for ByteSizeLong()
  533. size_t RequiredFieldsByteSizeFallback() const;
  534. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  535. ::google::protobuf::internal::HasBits<1> _has_bits_;
  536. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  537. ::wj::netConfig* net_config_;
  538. ::wj::Transform2d* transform_;
  539. ::wj::scanLimit* scan_limit_;
  540. ::google::protobuf::int32 range_min_;
  541. ::google::protobuf::int32 range_max_;
  542. float angle_min_;
  543. float angle_max_;
  544. float angle_increment_;
  545. float time_increment_;
  546. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  547. };
  548. // -------------------------------------------------------------------
  549. class netConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.netConfig) */ {
  550. public:
  551. netConfig();
  552. virtual ~netConfig();
  553. netConfig(const netConfig& from);
  554. inline netConfig& operator=(const netConfig& from) {
  555. CopyFrom(from);
  556. return *this;
  557. }
  558. #if LANG_CXX11
  559. netConfig(netConfig&& from) noexcept
  560. : netConfig() {
  561. *this = ::std::move(from);
  562. }
  563. inline netConfig& operator=(netConfig&& from) noexcept {
  564. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  565. if (this != &from) InternalSwap(&from);
  566. } else {
  567. CopyFrom(from);
  568. }
  569. return *this;
  570. }
  571. #endif
  572. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  573. return _internal_metadata_.unknown_fields();
  574. }
  575. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  576. return _internal_metadata_.mutable_unknown_fields();
  577. }
  578. static const ::google::protobuf::Descriptor* descriptor();
  579. static const netConfig& default_instance();
  580. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  581. static inline const netConfig* internal_default_instance() {
  582. return reinterpret_cast<const netConfig*>(
  583. &_netConfig_default_instance_);
  584. }
  585. static constexpr int kIndexInFileMessages =
  586. 3;
  587. void Swap(netConfig* other);
  588. friend void swap(netConfig& a, netConfig& b) {
  589. a.Swap(&b);
  590. }
  591. // implements Message ----------------------------------------------
  592. inline netConfig* New() const final {
  593. return CreateMaybeMessage<netConfig>(NULL);
  594. }
  595. netConfig* New(::google::protobuf::Arena* arena) const final {
  596. return CreateMaybeMessage<netConfig>(arena);
  597. }
  598. void CopyFrom(const ::google::protobuf::Message& from) final;
  599. void MergeFrom(const ::google::protobuf::Message& from) final;
  600. void CopyFrom(const netConfig& from);
  601. void MergeFrom(const netConfig& from);
  602. void Clear() final;
  603. bool IsInitialized() const final;
  604. size_t ByteSizeLong() const final;
  605. bool MergePartialFromCodedStream(
  606. ::google::protobuf::io::CodedInputStream* input) final;
  607. void SerializeWithCachedSizes(
  608. ::google::protobuf::io::CodedOutputStream* output) const final;
  609. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  610. bool deterministic, ::google::protobuf::uint8* target) const final;
  611. int GetCachedSize() const final { return _cached_size_.Get(); }
  612. private:
  613. void SharedCtor();
  614. void SharedDtor();
  615. void SetCachedSize(int size) const final;
  616. void InternalSwap(netConfig* other);
  617. private:
  618. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  619. return NULL;
  620. }
  621. inline void* MaybeArenaPtr() const {
  622. return NULL;
  623. }
  624. public:
  625. ::google::protobuf::Metadata GetMetadata() const final;
  626. // nested types ----------------------------------------------------
  627. // accessors -------------------------------------------------------
  628. // optional string ip_address = 1 [default = ""];
  629. bool has_ip_address() const;
  630. void clear_ip_address();
  631. static const int kIpAddressFieldNumber = 1;
  632. const ::std::string& ip_address() const;
  633. void set_ip_address(const ::std::string& value);
  634. #if LANG_CXX11
  635. void set_ip_address(::std::string&& value);
  636. #endif
  637. void set_ip_address(const char* value);
  638. void set_ip_address(const char* value, size_t size);
  639. ::std::string* mutable_ip_address();
  640. ::std::string* release_ip_address();
  641. void set_allocated_ip_address(::std::string* ip_address);
  642. // optional int32 port = 2 [default = 8000];
  643. bool has_port() const;
  644. void clear_port();
  645. static const int kPortFieldNumber = 2;
  646. ::google::protobuf::int32 port() const;
  647. void set_port(::google::protobuf::int32 value);
  648. // @@protoc_insertion_point(class_scope:wj.netConfig)
  649. private:
  650. void set_has_ip_address();
  651. void clear_has_ip_address();
  652. void set_has_port();
  653. void clear_has_port();
  654. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  655. ::google::protobuf::internal::HasBits<1> _has_bits_;
  656. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  657. ::google::protobuf::internal::ArenaStringPtr ip_address_;
  658. ::google::protobuf::int32 port_;
  659. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  660. };
  661. // -------------------------------------------------------------------
  662. class Transform2d : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.Transform2d) */ {
  663. public:
  664. Transform2d();
  665. virtual ~Transform2d();
  666. Transform2d(const Transform2d& from);
  667. inline Transform2d& operator=(const Transform2d& from) {
  668. CopyFrom(from);
  669. return *this;
  670. }
  671. #if LANG_CXX11
  672. Transform2d(Transform2d&& from) noexcept
  673. : Transform2d() {
  674. *this = ::std::move(from);
  675. }
  676. inline Transform2d& operator=(Transform2d&& from) noexcept {
  677. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  678. if (this != &from) InternalSwap(&from);
  679. } else {
  680. CopyFrom(from);
  681. }
  682. return *this;
  683. }
  684. #endif
  685. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  686. return _internal_metadata_.unknown_fields();
  687. }
  688. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  689. return _internal_metadata_.mutable_unknown_fields();
  690. }
  691. static const ::google::protobuf::Descriptor* descriptor();
  692. static const Transform2d& default_instance();
  693. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  694. static inline const Transform2d* internal_default_instance() {
  695. return reinterpret_cast<const Transform2d*>(
  696. &_Transform2d_default_instance_);
  697. }
  698. static constexpr int kIndexInFileMessages =
  699. 4;
  700. void Swap(Transform2d* other);
  701. friend void swap(Transform2d& a, Transform2d& b) {
  702. a.Swap(&b);
  703. }
  704. // implements Message ----------------------------------------------
  705. inline Transform2d* New() const final {
  706. return CreateMaybeMessage<Transform2d>(NULL);
  707. }
  708. Transform2d* New(::google::protobuf::Arena* arena) const final {
  709. return CreateMaybeMessage<Transform2d>(arena);
  710. }
  711. void CopyFrom(const ::google::protobuf::Message& from) final;
  712. void MergeFrom(const ::google::protobuf::Message& from) final;
  713. void CopyFrom(const Transform2d& from);
  714. void MergeFrom(const Transform2d& from);
  715. void Clear() final;
  716. bool IsInitialized() const final;
  717. size_t ByteSizeLong() const final;
  718. bool MergePartialFromCodedStream(
  719. ::google::protobuf::io::CodedInputStream* input) final;
  720. void SerializeWithCachedSizes(
  721. ::google::protobuf::io::CodedOutputStream* output) const final;
  722. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  723. bool deterministic, ::google::protobuf::uint8* target) const final;
  724. int GetCachedSize() const final { return _cached_size_.Get(); }
  725. private:
  726. void SharedCtor();
  727. void SharedDtor();
  728. void SetCachedSize(int size) const final;
  729. void InternalSwap(Transform2d* other);
  730. private:
  731. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  732. return NULL;
  733. }
  734. inline void* MaybeArenaPtr() const {
  735. return NULL;
  736. }
  737. public:
  738. ::google::protobuf::Metadata GetMetadata() const final;
  739. // nested types ----------------------------------------------------
  740. // accessors -------------------------------------------------------
  741. // optional float m01 = 2 [default = 0];
  742. bool has_m01() const;
  743. void clear_m01();
  744. static const int kM01FieldNumber = 2;
  745. float m01() const;
  746. void set_m01(float value);
  747. // optional float m02 = 3 [default = 0];
  748. bool has_m02() const;
  749. void clear_m02();
  750. static const int kM02FieldNumber = 3;
  751. float m02() const;
  752. void set_m02(float value);
  753. // optional float m10 = 4 [default = 0];
  754. bool has_m10() const;
  755. void clear_m10();
  756. static const int kM10FieldNumber = 4;
  757. float m10() const;
  758. void set_m10(float value);
  759. // optional float m12 = 6 [default = 0];
  760. bool has_m12() const;
  761. void clear_m12();
  762. static const int kM12FieldNumber = 6;
  763. float m12() const;
  764. void set_m12(float value);
  765. // optional float m00 = 1 [default = 1];
  766. bool has_m00() const;
  767. void clear_m00();
  768. static const int kM00FieldNumber = 1;
  769. float m00() const;
  770. void set_m00(float value);
  771. // optional float m11 = 5 [default = 1];
  772. bool has_m11() const;
  773. void clear_m11();
  774. static const int kM11FieldNumber = 5;
  775. float m11() const;
  776. void set_m11(float value);
  777. // @@protoc_insertion_point(class_scope:wj.Transform2d)
  778. private:
  779. void set_has_m00();
  780. void clear_has_m00();
  781. void set_has_m01();
  782. void clear_has_m01();
  783. void set_has_m02();
  784. void clear_has_m02();
  785. void set_has_m10();
  786. void clear_has_m10();
  787. void set_has_m11();
  788. void clear_has_m11();
  789. void set_has_m12();
  790. void clear_has_m12();
  791. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  792. ::google::protobuf::internal::HasBits<1> _has_bits_;
  793. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  794. float m01_;
  795. float m02_;
  796. float m10_;
  797. float m12_;
  798. float m00_;
  799. float m11_;
  800. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  801. };
  802. // -------------------------------------------------------------------
  803. class scanLimit : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.scanLimit) */ {
  804. public:
  805. scanLimit();
  806. virtual ~scanLimit();
  807. scanLimit(const scanLimit& from);
  808. inline scanLimit& operator=(const scanLimit& from) {
  809. CopyFrom(from);
  810. return *this;
  811. }
  812. #if LANG_CXX11
  813. scanLimit(scanLimit&& from) noexcept
  814. : scanLimit() {
  815. *this = ::std::move(from);
  816. }
  817. inline scanLimit& operator=(scanLimit&& from) noexcept {
  818. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  819. if (this != &from) InternalSwap(&from);
  820. } else {
  821. CopyFrom(from);
  822. }
  823. return *this;
  824. }
  825. #endif
  826. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  827. return _internal_metadata_.unknown_fields();
  828. }
  829. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  830. return _internal_metadata_.mutable_unknown_fields();
  831. }
  832. static const ::google::protobuf::Descriptor* descriptor();
  833. static const scanLimit& default_instance();
  834. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  835. static inline const scanLimit* internal_default_instance() {
  836. return reinterpret_cast<const scanLimit*>(
  837. &_scanLimit_default_instance_);
  838. }
  839. static constexpr int kIndexInFileMessages =
  840. 5;
  841. void Swap(scanLimit* other);
  842. friend void swap(scanLimit& a, scanLimit& b) {
  843. a.Swap(&b);
  844. }
  845. // implements Message ----------------------------------------------
  846. inline scanLimit* New() const final {
  847. return CreateMaybeMessage<scanLimit>(NULL);
  848. }
  849. scanLimit* New(::google::protobuf::Arena* arena) const final {
  850. return CreateMaybeMessage<scanLimit>(arena);
  851. }
  852. void CopyFrom(const ::google::protobuf::Message& from) final;
  853. void MergeFrom(const ::google::protobuf::Message& from) final;
  854. void CopyFrom(const scanLimit& from);
  855. void MergeFrom(const scanLimit& from);
  856. void Clear() final;
  857. bool IsInitialized() const final;
  858. size_t ByteSizeLong() const final;
  859. bool MergePartialFromCodedStream(
  860. ::google::protobuf::io::CodedInputStream* input) final;
  861. void SerializeWithCachedSizes(
  862. ::google::protobuf::io::CodedOutputStream* output) const final;
  863. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  864. bool deterministic, ::google::protobuf::uint8* target) const final;
  865. int GetCachedSize() const final { return _cached_size_.Get(); }
  866. private:
  867. void SharedCtor();
  868. void SharedDtor();
  869. void SetCachedSize(int size) const final;
  870. void InternalSwap(scanLimit* other);
  871. private:
  872. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  873. return NULL;
  874. }
  875. inline void* MaybeArenaPtr() const {
  876. return NULL;
  877. }
  878. public:
  879. ::google::protobuf::Metadata GetMetadata() const final;
  880. // nested types ----------------------------------------------------
  881. // accessors -------------------------------------------------------
  882. // optional float maxy = 5 [default = 3.5];
  883. bool has_maxy() const;
  884. void clear_maxy();
  885. static const int kMaxyFieldNumber = 5;
  886. float maxy() const;
  887. void set_maxy(float value);
  888. // optional float dist_limit = 1 [default = 8];
  889. bool has_dist_limit() const;
  890. void clear_dist_limit();
  891. static const int kDistLimitFieldNumber = 1;
  892. float dist_limit() const;
  893. void set_dist_limit(float value);
  894. // optional float minx = 2 [default = -6];
  895. bool has_minx() const;
  896. void clear_minx();
  897. static const int kMinxFieldNumber = 2;
  898. float minx() const;
  899. void set_minx(float value);
  900. // optional float maxx = 3 [default = -0.2];
  901. bool has_maxx() const;
  902. void clear_maxx();
  903. static const int kMaxxFieldNumber = 3;
  904. float maxx() const;
  905. void set_maxx(float value);
  906. // optional float miny = 4 [default = -3.5];
  907. bool has_miny() const;
  908. void clear_miny();
  909. static const int kMinyFieldNumber = 4;
  910. float miny() const;
  911. void set_miny(float value);
  912. // @@protoc_insertion_point(class_scope:wj.scanLimit)
  913. private:
  914. void set_has_dist_limit();
  915. void clear_has_dist_limit();
  916. void set_has_minx();
  917. void clear_has_minx();
  918. void set_has_maxx();
  919. void clear_has_maxx();
  920. void set_has_miny();
  921. void clear_has_miny();
  922. void set_has_maxy();
  923. void clear_has_maxy();
  924. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  925. ::google::protobuf::internal::HasBits<1> _has_bits_;
  926. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  927. float maxy_;
  928. float dist_limit_;
  929. float minx_;
  930. float maxx_;
  931. float miny_;
  932. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  933. };
  934. // ===================================================================
  935. // ===================================================================
  936. #ifdef __GNUC__
  937. #pragma GCC diagnostic push
  938. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  939. #endif // __GNUC__
  940. // wjManagerParams
  941. // repeated .wj.wjLidarParams wj_lidar = 1;
  942. inline int wjManagerParams::wj_lidar_size() const {
  943. return wj_lidar_.size();
  944. }
  945. inline void wjManagerParams::clear_wj_lidar() {
  946. wj_lidar_.Clear();
  947. }
  948. inline ::wj::wjLidarParams* wjManagerParams::mutable_wj_lidar(int index) {
  949. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.wj_lidar)
  950. return wj_lidar_.Mutable(index);
  951. }
  952. inline ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >*
  953. wjManagerParams::mutable_wj_lidar() {
  954. // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.wj_lidar)
  955. return &wj_lidar_;
  956. }
  957. inline const ::wj::wjLidarParams& wjManagerParams::wj_lidar(int index) const {
  958. // @@protoc_insertion_point(field_get:wj.wjManagerParams.wj_lidar)
  959. return wj_lidar_.Get(index);
  960. }
  961. inline ::wj::wjLidarParams* wjManagerParams::add_wj_lidar() {
  962. // @@protoc_insertion_point(field_add:wj.wjManagerParams.wj_lidar)
  963. return wj_lidar_.Add();
  964. }
  965. inline const ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >&
  966. wjManagerParams::wj_lidar() const {
  967. // @@protoc_insertion_point(field_list:wj.wjManagerParams.wj_lidar)
  968. return wj_lidar_;
  969. }
  970. // repeated .wj.Region regions = 2;
  971. inline int wjManagerParams::regions_size() const {
  972. return regions_.size();
  973. }
  974. inline void wjManagerParams::clear_regions() {
  975. regions_.Clear();
  976. }
  977. inline ::wj::Region* wjManagerParams::mutable_regions(int index) {
  978. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.regions)
  979. return regions_.Mutable(index);
  980. }
  981. inline ::google::protobuf::RepeatedPtrField< ::wj::Region >*
  982. wjManagerParams::mutable_regions() {
  983. // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.regions)
  984. return &regions_;
  985. }
  986. inline const ::wj::Region& wjManagerParams::regions(int index) const {
  987. // @@protoc_insertion_point(field_get:wj.wjManagerParams.regions)
  988. return regions_.Get(index);
  989. }
  990. inline ::wj::Region* wjManagerParams::add_regions() {
  991. // @@protoc_insertion_point(field_add:wj.wjManagerParams.regions)
  992. return regions_.Add();
  993. }
  994. inline const ::google::protobuf::RepeatedPtrField< ::wj::Region >&
  995. wjManagerParams::regions() const {
  996. // @@protoc_insertion_point(field_list:wj.wjManagerParams.regions)
  997. return regions_;
  998. }
  999. // optional string fence_data_path = 3 [default = ""];
  1000. inline bool wjManagerParams::has_fence_data_path() const {
  1001. return (_has_bits_[0] & 0x00000001u) != 0;
  1002. }
  1003. inline void wjManagerParams::set_has_fence_data_path() {
  1004. _has_bits_[0] |= 0x00000001u;
  1005. }
  1006. inline void wjManagerParams::clear_has_fence_data_path() {
  1007. _has_bits_[0] &= ~0x00000001u;
  1008. }
  1009. inline void wjManagerParams::clear_fence_data_path() {
  1010. fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1011. clear_has_fence_data_path();
  1012. }
  1013. inline const ::std::string& wjManagerParams::fence_data_path() const {
  1014. // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_data_path)
  1015. return fence_data_path_.GetNoArena();
  1016. }
  1017. inline void wjManagerParams::set_fence_data_path(const ::std::string& value) {
  1018. set_has_fence_data_path();
  1019. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1020. // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_data_path)
  1021. }
  1022. #if LANG_CXX11
  1023. inline void wjManagerParams::set_fence_data_path(::std::string&& value) {
  1024. set_has_fence_data_path();
  1025. fence_data_path_.SetNoArena(
  1026. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1027. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_data_path)
  1028. }
  1029. #endif
  1030. inline void wjManagerParams::set_fence_data_path(const char* value) {
  1031. GOOGLE_DCHECK(value != NULL);
  1032. set_has_fence_data_path();
  1033. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1034. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_data_path)
  1035. }
  1036. inline void wjManagerParams::set_fence_data_path(const char* value, size_t size) {
  1037. set_has_fence_data_path();
  1038. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1039. ::std::string(reinterpret_cast<const char*>(value), size));
  1040. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_data_path)
  1041. }
  1042. inline ::std::string* wjManagerParams::mutable_fence_data_path() {
  1043. set_has_fence_data_path();
  1044. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_data_path)
  1045. return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1046. }
  1047. inline ::std::string* wjManagerParams::release_fence_data_path() {
  1048. // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_data_path)
  1049. if (!has_fence_data_path()) {
  1050. return NULL;
  1051. }
  1052. clear_has_fence_data_path();
  1053. return fence_data_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1054. }
  1055. inline void wjManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
  1056. if (fence_data_path != NULL) {
  1057. set_has_fence_data_path();
  1058. } else {
  1059. clear_has_fence_data_path();
  1060. }
  1061. fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
  1062. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_data_path)
  1063. }
  1064. // optional string fence_log_path = 4 [default = ""];
  1065. inline bool wjManagerParams::has_fence_log_path() const {
  1066. return (_has_bits_[0] & 0x00000002u) != 0;
  1067. }
  1068. inline void wjManagerParams::set_has_fence_log_path() {
  1069. _has_bits_[0] |= 0x00000002u;
  1070. }
  1071. inline void wjManagerParams::clear_has_fence_log_path() {
  1072. _has_bits_[0] &= ~0x00000002u;
  1073. }
  1074. inline void wjManagerParams::clear_fence_log_path() {
  1075. fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1076. clear_has_fence_log_path();
  1077. }
  1078. inline const ::std::string& wjManagerParams::fence_log_path() const {
  1079. // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_log_path)
  1080. return fence_log_path_.GetNoArena();
  1081. }
  1082. inline void wjManagerParams::set_fence_log_path(const ::std::string& value) {
  1083. set_has_fence_log_path();
  1084. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1085. // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_log_path)
  1086. }
  1087. #if LANG_CXX11
  1088. inline void wjManagerParams::set_fence_log_path(::std::string&& value) {
  1089. set_has_fence_log_path();
  1090. fence_log_path_.SetNoArena(
  1091. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1092. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_log_path)
  1093. }
  1094. #endif
  1095. inline void wjManagerParams::set_fence_log_path(const char* value) {
  1096. GOOGLE_DCHECK(value != NULL);
  1097. set_has_fence_log_path();
  1098. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1099. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_log_path)
  1100. }
  1101. inline void wjManagerParams::set_fence_log_path(const char* value, size_t size) {
  1102. set_has_fence_log_path();
  1103. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1104. ::std::string(reinterpret_cast<const char*>(value), size));
  1105. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_log_path)
  1106. }
  1107. inline ::std::string* wjManagerParams::mutable_fence_log_path() {
  1108. set_has_fence_log_path();
  1109. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_log_path)
  1110. return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1111. }
  1112. inline ::std::string* wjManagerParams::release_fence_log_path() {
  1113. // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_log_path)
  1114. if (!has_fence_log_path()) {
  1115. return NULL;
  1116. }
  1117. clear_has_fence_log_path();
  1118. return fence_log_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1119. }
  1120. inline void wjManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
  1121. if (fence_log_path != NULL) {
  1122. set_has_fence_log_path();
  1123. } else {
  1124. clear_has_fence_log_path();
  1125. }
  1126. fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
  1127. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_log_path)
  1128. }
  1129. // optional string plc_ip_address = 5 [default = "192.168.0.1"];
  1130. inline bool wjManagerParams::has_plc_ip_address() const {
  1131. return (_has_bits_[0] & 0x00000004u) != 0;
  1132. }
  1133. inline void wjManagerParams::set_has_plc_ip_address() {
  1134. _has_bits_[0] |= 0x00000004u;
  1135. }
  1136. inline void wjManagerParams::clear_has_plc_ip_address() {
  1137. _has_bits_[0] &= ~0x00000004u;
  1138. }
  1139. inline void wjManagerParams::clear_plc_ip_address() {
  1140. plc_ip_address_.ClearToDefaultNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
  1141. clear_has_plc_ip_address();
  1142. }
  1143. inline const ::std::string& wjManagerParams::plc_ip_address() const {
  1144. // @@protoc_insertion_point(field_get:wj.wjManagerParams.plc_ip_address)
  1145. return plc_ip_address_.GetNoArena();
  1146. }
  1147. inline void wjManagerParams::set_plc_ip_address(const ::std::string& value) {
  1148. set_has_plc_ip_address();
  1149. plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), value);
  1150. // @@protoc_insertion_point(field_set:wj.wjManagerParams.plc_ip_address)
  1151. }
  1152. #if LANG_CXX11
  1153. inline void wjManagerParams::set_plc_ip_address(::std::string&& value) {
  1154. set_has_plc_ip_address();
  1155. plc_ip_address_.SetNoArena(
  1156. &::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::move(value));
  1157. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.plc_ip_address)
  1158. }
  1159. #endif
  1160. inline void wjManagerParams::set_plc_ip_address(const char* value) {
  1161. GOOGLE_DCHECK(value != NULL);
  1162. set_has_plc_ip_address();
  1163. plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::string(value));
  1164. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.plc_ip_address)
  1165. }
  1166. inline void wjManagerParams::set_plc_ip_address(const char* value, size_t size) {
  1167. set_has_plc_ip_address();
  1168. plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(),
  1169. ::std::string(reinterpret_cast<const char*>(value), size));
  1170. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.plc_ip_address)
  1171. }
  1172. inline ::std::string* wjManagerParams::mutable_plc_ip_address() {
  1173. set_has_plc_ip_address();
  1174. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.plc_ip_address)
  1175. return plc_ip_address_.MutableNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
  1176. }
  1177. inline ::std::string* wjManagerParams::release_plc_ip_address() {
  1178. // @@protoc_insertion_point(field_release:wj.wjManagerParams.plc_ip_address)
  1179. if (!has_plc_ip_address()) {
  1180. return NULL;
  1181. }
  1182. clear_has_plc_ip_address();
  1183. return plc_ip_address_.ReleaseNonDefaultNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
  1184. }
  1185. inline void wjManagerParams::set_allocated_plc_ip_address(::std::string* plc_ip_address) {
  1186. if (plc_ip_address != NULL) {
  1187. set_has_plc_ip_address();
  1188. } else {
  1189. clear_has_plc_ip_address();
  1190. }
  1191. plc_ip_address_.SetAllocatedNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), plc_ip_address);
  1192. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.plc_ip_address)
  1193. }
  1194. // -------------------------------------------------------------------
  1195. // Region
  1196. // required float minx = 1;
  1197. inline bool Region::has_minx() const {
  1198. return (_has_bits_[0] & 0x00000001u) != 0;
  1199. }
  1200. inline void Region::set_has_minx() {
  1201. _has_bits_[0] |= 0x00000001u;
  1202. }
  1203. inline void Region::clear_has_minx() {
  1204. _has_bits_[0] &= ~0x00000001u;
  1205. }
  1206. inline void Region::clear_minx() {
  1207. minx_ = 0;
  1208. clear_has_minx();
  1209. }
  1210. inline float Region::minx() const {
  1211. // @@protoc_insertion_point(field_get:wj.Region.minx)
  1212. return minx_;
  1213. }
  1214. inline void Region::set_minx(float value) {
  1215. set_has_minx();
  1216. minx_ = value;
  1217. // @@protoc_insertion_point(field_set:wj.Region.minx)
  1218. }
  1219. // required float maxx = 2;
  1220. inline bool Region::has_maxx() const {
  1221. return (_has_bits_[0] & 0x00000002u) != 0;
  1222. }
  1223. inline void Region::set_has_maxx() {
  1224. _has_bits_[0] |= 0x00000002u;
  1225. }
  1226. inline void Region::clear_has_maxx() {
  1227. _has_bits_[0] &= ~0x00000002u;
  1228. }
  1229. inline void Region::clear_maxx() {
  1230. maxx_ = 0;
  1231. clear_has_maxx();
  1232. }
  1233. inline float Region::maxx() const {
  1234. // @@protoc_insertion_point(field_get:wj.Region.maxx)
  1235. return maxx_;
  1236. }
  1237. inline void Region::set_maxx(float value) {
  1238. set_has_maxx();
  1239. maxx_ = value;
  1240. // @@protoc_insertion_point(field_set:wj.Region.maxx)
  1241. }
  1242. // required float miny = 3;
  1243. inline bool Region::has_miny() const {
  1244. return (_has_bits_[0] & 0x00000004u) != 0;
  1245. }
  1246. inline void Region::set_has_miny() {
  1247. _has_bits_[0] |= 0x00000004u;
  1248. }
  1249. inline void Region::clear_has_miny() {
  1250. _has_bits_[0] &= ~0x00000004u;
  1251. }
  1252. inline void Region::clear_miny() {
  1253. miny_ = 0;
  1254. clear_has_miny();
  1255. }
  1256. inline float Region::miny() const {
  1257. // @@protoc_insertion_point(field_get:wj.Region.miny)
  1258. return miny_;
  1259. }
  1260. inline void Region::set_miny(float value) {
  1261. set_has_miny();
  1262. miny_ = value;
  1263. // @@protoc_insertion_point(field_set:wj.Region.miny)
  1264. }
  1265. // required float maxy = 4;
  1266. inline bool Region::has_maxy() const {
  1267. return (_has_bits_[0] & 0x00000008u) != 0;
  1268. }
  1269. inline void Region::set_has_maxy() {
  1270. _has_bits_[0] |= 0x00000008u;
  1271. }
  1272. inline void Region::clear_has_maxy() {
  1273. _has_bits_[0] &= ~0x00000008u;
  1274. }
  1275. inline void Region::clear_maxy() {
  1276. maxy_ = 0;
  1277. clear_has_maxy();
  1278. }
  1279. inline float Region::maxy() const {
  1280. // @@protoc_insertion_point(field_get:wj.Region.maxy)
  1281. return maxy_;
  1282. }
  1283. inline void Region::set_maxy(float value) {
  1284. set_has_maxy();
  1285. maxy_ = value;
  1286. // @@protoc_insertion_point(field_set:wj.Region.maxy)
  1287. }
  1288. // -------------------------------------------------------------------
  1289. // wjLidarParams
  1290. // optional float angle_min = 1 [default = -2.3561945];
  1291. inline bool wjLidarParams::has_angle_min() const {
  1292. return (_has_bits_[0] & 0x00000020u) != 0;
  1293. }
  1294. inline void wjLidarParams::set_has_angle_min() {
  1295. _has_bits_[0] |= 0x00000020u;
  1296. }
  1297. inline void wjLidarParams::clear_has_angle_min() {
  1298. _has_bits_[0] &= ~0x00000020u;
  1299. }
  1300. inline void wjLidarParams::clear_angle_min() {
  1301. angle_min_ = -2.3561945f;
  1302. clear_has_angle_min();
  1303. }
  1304. inline float wjLidarParams::angle_min() const {
  1305. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_min)
  1306. return angle_min_;
  1307. }
  1308. inline void wjLidarParams::set_angle_min(float value) {
  1309. set_has_angle_min();
  1310. angle_min_ = value;
  1311. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_min)
  1312. }
  1313. // optional float angle_max = 2 [default = 2.3561945];
  1314. inline bool wjLidarParams::has_angle_max() const {
  1315. return (_has_bits_[0] & 0x00000040u) != 0;
  1316. }
  1317. inline void wjLidarParams::set_has_angle_max() {
  1318. _has_bits_[0] |= 0x00000040u;
  1319. }
  1320. inline void wjLidarParams::clear_has_angle_max() {
  1321. _has_bits_[0] &= ~0x00000040u;
  1322. }
  1323. inline void wjLidarParams::clear_angle_max() {
  1324. angle_max_ = 2.3561945f;
  1325. clear_has_angle_max();
  1326. }
  1327. inline float wjLidarParams::angle_max() const {
  1328. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_max)
  1329. return angle_max_;
  1330. }
  1331. inline void wjLidarParams::set_angle_max(float value) {
  1332. set_has_angle_max();
  1333. angle_max_ = value;
  1334. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_max)
  1335. }
  1336. // optional float angle_increment = 3 [default = 0.00582];
  1337. inline bool wjLidarParams::has_angle_increment() const {
  1338. return (_has_bits_[0] & 0x00000080u) != 0;
  1339. }
  1340. inline void wjLidarParams::set_has_angle_increment() {
  1341. _has_bits_[0] |= 0x00000080u;
  1342. }
  1343. inline void wjLidarParams::clear_has_angle_increment() {
  1344. _has_bits_[0] &= ~0x00000080u;
  1345. }
  1346. inline void wjLidarParams::clear_angle_increment() {
  1347. angle_increment_ = 0.00582f;
  1348. clear_has_angle_increment();
  1349. }
  1350. inline float wjLidarParams::angle_increment() const {
  1351. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_increment)
  1352. return angle_increment_;
  1353. }
  1354. inline void wjLidarParams::set_angle_increment(float value) {
  1355. set_has_angle_increment();
  1356. angle_increment_ = value;
  1357. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_increment)
  1358. }
  1359. // optional float time_increment = 4 [default = 6.2e-05];
  1360. inline bool wjLidarParams::has_time_increment() const {
  1361. return (_has_bits_[0] & 0x00000100u) != 0;
  1362. }
  1363. inline void wjLidarParams::set_has_time_increment() {
  1364. _has_bits_[0] |= 0x00000100u;
  1365. }
  1366. inline void wjLidarParams::clear_has_time_increment() {
  1367. _has_bits_[0] &= ~0x00000100u;
  1368. }
  1369. inline void wjLidarParams::clear_time_increment() {
  1370. time_increment_ = 6.2e-05f;
  1371. clear_has_time_increment();
  1372. }
  1373. inline float wjLidarParams::time_increment() const {
  1374. // @@protoc_insertion_point(field_get:wj.wjLidarParams.time_increment)
  1375. return time_increment_;
  1376. }
  1377. inline void wjLidarParams::set_time_increment(float value) {
  1378. set_has_time_increment();
  1379. time_increment_ = value;
  1380. // @@protoc_insertion_point(field_set:wj.wjLidarParams.time_increment)
  1381. }
  1382. // optional int32 range_min = 5 [default = 0];
  1383. inline bool wjLidarParams::has_range_min() const {
  1384. return (_has_bits_[0] & 0x00000008u) != 0;
  1385. }
  1386. inline void wjLidarParams::set_has_range_min() {
  1387. _has_bits_[0] |= 0x00000008u;
  1388. }
  1389. inline void wjLidarParams::clear_has_range_min() {
  1390. _has_bits_[0] &= ~0x00000008u;
  1391. }
  1392. inline void wjLidarParams::clear_range_min() {
  1393. range_min_ = 0;
  1394. clear_has_range_min();
  1395. }
  1396. inline ::google::protobuf::int32 wjLidarParams::range_min() const {
  1397. // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_min)
  1398. return range_min_;
  1399. }
  1400. inline void wjLidarParams::set_range_min(::google::protobuf::int32 value) {
  1401. set_has_range_min();
  1402. range_min_ = value;
  1403. // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_min)
  1404. }
  1405. // optional int32 range_max = 6 [default = 30];
  1406. inline bool wjLidarParams::has_range_max() const {
  1407. return (_has_bits_[0] & 0x00000010u) != 0;
  1408. }
  1409. inline void wjLidarParams::set_has_range_max() {
  1410. _has_bits_[0] |= 0x00000010u;
  1411. }
  1412. inline void wjLidarParams::clear_has_range_max() {
  1413. _has_bits_[0] &= ~0x00000010u;
  1414. }
  1415. inline void wjLidarParams::clear_range_max() {
  1416. range_max_ = 30;
  1417. clear_has_range_max();
  1418. }
  1419. inline ::google::protobuf::int32 wjLidarParams::range_max() const {
  1420. // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_max)
  1421. return range_max_;
  1422. }
  1423. inline void wjLidarParams::set_range_max(::google::protobuf::int32 value) {
  1424. set_has_range_max();
  1425. range_max_ = value;
  1426. // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_max)
  1427. }
  1428. // required .wj.netConfig net_config = 7;
  1429. inline bool wjLidarParams::has_net_config() const {
  1430. return (_has_bits_[0] & 0x00000001u) != 0;
  1431. }
  1432. inline void wjLidarParams::set_has_net_config() {
  1433. _has_bits_[0] |= 0x00000001u;
  1434. }
  1435. inline void wjLidarParams::clear_has_net_config() {
  1436. _has_bits_[0] &= ~0x00000001u;
  1437. }
  1438. inline void wjLidarParams::clear_net_config() {
  1439. if (net_config_ != NULL) net_config_->Clear();
  1440. clear_has_net_config();
  1441. }
  1442. inline const ::wj::netConfig& wjLidarParams::_internal_net_config() const {
  1443. return *net_config_;
  1444. }
  1445. inline const ::wj::netConfig& wjLidarParams::net_config() const {
  1446. const ::wj::netConfig* p = net_config_;
  1447. // @@protoc_insertion_point(field_get:wj.wjLidarParams.net_config)
  1448. return p != NULL ? *p : *reinterpret_cast<const ::wj::netConfig*>(
  1449. &::wj::_netConfig_default_instance_);
  1450. }
  1451. inline ::wj::netConfig* wjLidarParams::release_net_config() {
  1452. // @@protoc_insertion_point(field_release:wj.wjLidarParams.net_config)
  1453. clear_has_net_config();
  1454. ::wj::netConfig* temp = net_config_;
  1455. net_config_ = NULL;
  1456. return temp;
  1457. }
  1458. inline ::wj::netConfig* wjLidarParams::mutable_net_config() {
  1459. set_has_net_config();
  1460. if (net_config_ == NULL) {
  1461. auto* p = CreateMaybeMessage<::wj::netConfig>(GetArenaNoVirtual());
  1462. net_config_ = p;
  1463. }
  1464. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.net_config)
  1465. return net_config_;
  1466. }
  1467. inline void wjLidarParams::set_allocated_net_config(::wj::netConfig* net_config) {
  1468. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1469. if (message_arena == NULL) {
  1470. delete net_config_;
  1471. }
  1472. if (net_config) {
  1473. ::google::protobuf::Arena* submessage_arena = NULL;
  1474. if (message_arena != submessage_arena) {
  1475. net_config = ::google::protobuf::internal::GetOwnedMessage(
  1476. message_arena, net_config, submessage_arena);
  1477. }
  1478. set_has_net_config();
  1479. } else {
  1480. clear_has_net_config();
  1481. }
  1482. net_config_ = net_config;
  1483. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.net_config)
  1484. }
  1485. // required .wj.Transform2d transform = 8;
  1486. inline bool wjLidarParams::has_transform() const {
  1487. return (_has_bits_[0] & 0x00000002u) != 0;
  1488. }
  1489. inline void wjLidarParams::set_has_transform() {
  1490. _has_bits_[0] |= 0x00000002u;
  1491. }
  1492. inline void wjLidarParams::clear_has_transform() {
  1493. _has_bits_[0] &= ~0x00000002u;
  1494. }
  1495. inline void wjLidarParams::clear_transform() {
  1496. if (transform_ != NULL) transform_->Clear();
  1497. clear_has_transform();
  1498. }
  1499. inline const ::wj::Transform2d& wjLidarParams::_internal_transform() const {
  1500. return *transform_;
  1501. }
  1502. inline const ::wj::Transform2d& wjLidarParams::transform() const {
  1503. const ::wj::Transform2d* p = transform_;
  1504. // @@protoc_insertion_point(field_get:wj.wjLidarParams.transform)
  1505. return p != NULL ? *p : *reinterpret_cast<const ::wj::Transform2d*>(
  1506. &::wj::_Transform2d_default_instance_);
  1507. }
  1508. inline ::wj::Transform2d* wjLidarParams::release_transform() {
  1509. // @@protoc_insertion_point(field_release:wj.wjLidarParams.transform)
  1510. clear_has_transform();
  1511. ::wj::Transform2d* temp = transform_;
  1512. transform_ = NULL;
  1513. return temp;
  1514. }
  1515. inline ::wj::Transform2d* wjLidarParams::mutable_transform() {
  1516. set_has_transform();
  1517. if (transform_ == NULL) {
  1518. auto* p = CreateMaybeMessage<::wj::Transform2d>(GetArenaNoVirtual());
  1519. transform_ = p;
  1520. }
  1521. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.transform)
  1522. return transform_;
  1523. }
  1524. inline void wjLidarParams::set_allocated_transform(::wj::Transform2d* transform) {
  1525. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1526. if (message_arena == NULL) {
  1527. delete transform_;
  1528. }
  1529. if (transform) {
  1530. ::google::protobuf::Arena* submessage_arena = NULL;
  1531. if (message_arena != submessage_arena) {
  1532. transform = ::google::protobuf::internal::GetOwnedMessage(
  1533. message_arena, transform, submessage_arena);
  1534. }
  1535. set_has_transform();
  1536. } else {
  1537. clear_has_transform();
  1538. }
  1539. transform_ = transform;
  1540. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.transform)
  1541. }
  1542. // required .wj.scanLimit scan_limit = 9;
  1543. inline bool wjLidarParams::has_scan_limit() const {
  1544. return (_has_bits_[0] & 0x00000004u) != 0;
  1545. }
  1546. inline void wjLidarParams::set_has_scan_limit() {
  1547. _has_bits_[0] |= 0x00000004u;
  1548. }
  1549. inline void wjLidarParams::clear_has_scan_limit() {
  1550. _has_bits_[0] &= ~0x00000004u;
  1551. }
  1552. inline void wjLidarParams::clear_scan_limit() {
  1553. if (scan_limit_ != NULL) scan_limit_->Clear();
  1554. clear_has_scan_limit();
  1555. }
  1556. inline const ::wj::scanLimit& wjLidarParams::_internal_scan_limit() const {
  1557. return *scan_limit_;
  1558. }
  1559. inline const ::wj::scanLimit& wjLidarParams::scan_limit() const {
  1560. const ::wj::scanLimit* p = scan_limit_;
  1561. // @@protoc_insertion_point(field_get:wj.wjLidarParams.scan_limit)
  1562. return p != NULL ? *p : *reinterpret_cast<const ::wj::scanLimit*>(
  1563. &::wj::_scanLimit_default_instance_);
  1564. }
  1565. inline ::wj::scanLimit* wjLidarParams::release_scan_limit() {
  1566. // @@protoc_insertion_point(field_release:wj.wjLidarParams.scan_limit)
  1567. clear_has_scan_limit();
  1568. ::wj::scanLimit* temp = scan_limit_;
  1569. scan_limit_ = NULL;
  1570. return temp;
  1571. }
  1572. inline ::wj::scanLimit* wjLidarParams::mutable_scan_limit() {
  1573. set_has_scan_limit();
  1574. if (scan_limit_ == NULL) {
  1575. auto* p = CreateMaybeMessage<::wj::scanLimit>(GetArenaNoVirtual());
  1576. scan_limit_ = p;
  1577. }
  1578. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.scan_limit)
  1579. return scan_limit_;
  1580. }
  1581. inline void wjLidarParams::set_allocated_scan_limit(::wj::scanLimit* scan_limit) {
  1582. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1583. if (message_arena == NULL) {
  1584. delete scan_limit_;
  1585. }
  1586. if (scan_limit) {
  1587. ::google::protobuf::Arena* submessage_arena = NULL;
  1588. if (message_arena != submessage_arena) {
  1589. scan_limit = ::google::protobuf::internal::GetOwnedMessage(
  1590. message_arena, scan_limit, submessage_arena);
  1591. }
  1592. set_has_scan_limit();
  1593. } else {
  1594. clear_has_scan_limit();
  1595. }
  1596. scan_limit_ = scan_limit;
  1597. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.scan_limit)
  1598. }
  1599. // -------------------------------------------------------------------
  1600. // netConfig
  1601. // optional string ip_address = 1 [default = ""];
  1602. inline bool netConfig::has_ip_address() const {
  1603. return (_has_bits_[0] & 0x00000001u) != 0;
  1604. }
  1605. inline void netConfig::set_has_ip_address() {
  1606. _has_bits_[0] |= 0x00000001u;
  1607. }
  1608. inline void netConfig::clear_has_ip_address() {
  1609. _has_bits_[0] &= ~0x00000001u;
  1610. }
  1611. inline void netConfig::clear_ip_address() {
  1612. ip_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1613. clear_has_ip_address();
  1614. }
  1615. inline const ::std::string& netConfig::ip_address() const {
  1616. // @@protoc_insertion_point(field_get:wj.netConfig.ip_address)
  1617. return ip_address_.GetNoArena();
  1618. }
  1619. inline void netConfig::set_ip_address(const ::std::string& value) {
  1620. set_has_ip_address();
  1621. ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1622. // @@protoc_insertion_point(field_set:wj.netConfig.ip_address)
  1623. }
  1624. #if LANG_CXX11
  1625. inline void netConfig::set_ip_address(::std::string&& value) {
  1626. set_has_ip_address();
  1627. ip_address_.SetNoArena(
  1628. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1629. // @@protoc_insertion_point(field_set_rvalue:wj.netConfig.ip_address)
  1630. }
  1631. #endif
  1632. inline void netConfig::set_ip_address(const char* value) {
  1633. GOOGLE_DCHECK(value != NULL);
  1634. set_has_ip_address();
  1635. ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1636. // @@protoc_insertion_point(field_set_char:wj.netConfig.ip_address)
  1637. }
  1638. inline void netConfig::set_ip_address(const char* value, size_t size) {
  1639. set_has_ip_address();
  1640. ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1641. ::std::string(reinterpret_cast<const char*>(value), size));
  1642. // @@protoc_insertion_point(field_set_pointer:wj.netConfig.ip_address)
  1643. }
  1644. inline ::std::string* netConfig::mutable_ip_address() {
  1645. set_has_ip_address();
  1646. // @@protoc_insertion_point(field_mutable:wj.netConfig.ip_address)
  1647. return ip_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1648. }
  1649. inline ::std::string* netConfig::release_ip_address() {
  1650. // @@protoc_insertion_point(field_release:wj.netConfig.ip_address)
  1651. if (!has_ip_address()) {
  1652. return NULL;
  1653. }
  1654. clear_has_ip_address();
  1655. return ip_address_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1656. }
  1657. inline void netConfig::set_allocated_ip_address(::std::string* ip_address) {
  1658. if (ip_address != NULL) {
  1659. set_has_ip_address();
  1660. } else {
  1661. clear_has_ip_address();
  1662. }
  1663. ip_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip_address);
  1664. // @@protoc_insertion_point(field_set_allocated:wj.netConfig.ip_address)
  1665. }
  1666. // optional int32 port = 2 [default = 8000];
  1667. inline bool netConfig::has_port() const {
  1668. return (_has_bits_[0] & 0x00000002u) != 0;
  1669. }
  1670. inline void netConfig::set_has_port() {
  1671. _has_bits_[0] |= 0x00000002u;
  1672. }
  1673. inline void netConfig::clear_has_port() {
  1674. _has_bits_[0] &= ~0x00000002u;
  1675. }
  1676. inline void netConfig::clear_port() {
  1677. port_ = 8000;
  1678. clear_has_port();
  1679. }
  1680. inline ::google::protobuf::int32 netConfig::port() const {
  1681. // @@protoc_insertion_point(field_get:wj.netConfig.port)
  1682. return port_;
  1683. }
  1684. inline void netConfig::set_port(::google::protobuf::int32 value) {
  1685. set_has_port();
  1686. port_ = value;
  1687. // @@protoc_insertion_point(field_set:wj.netConfig.port)
  1688. }
  1689. // -------------------------------------------------------------------
  1690. // Transform2d
  1691. // optional float m00 = 1 [default = 1];
  1692. inline bool Transform2d::has_m00() const {
  1693. return (_has_bits_[0] & 0x00000010u) != 0;
  1694. }
  1695. inline void Transform2d::set_has_m00() {
  1696. _has_bits_[0] |= 0x00000010u;
  1697. }
  1698. inline void Transform2d::clear_has_m00() {
  1699. _has_bits_[0] &= ~0x00000010u;
  1700. }
  1701. inline void Transform2d::clear_m00() {
  1702. m00_ = 1;
  1703. clear_has_m00();
  1704. }
  1705. inline float Transform2d::m00() const {
  1706. // @@protoc_insertion_point(field_get:wj.Transform2d.m00)
  1707. return m00_;
  1708. }
  1709. inline void Transform2d::set_m00(float value) {
  1710. set_has_m00();
  1711. m00_ = value;
  1712. // @@protoc_insertion_point(field_set:wj.Transform2d.m00)
  1713. }
  1714. // optional float m01 = 2 [default = 0];
  1715. inline bool Transform2d::has_m01() const {
  1716. return (_has_bits_[0] & 0x00000001u) != 0;
  1717. }
  1718. inline void Transform2d::set_has_m01() {
  1719. _has_bits_[0] |= 0x00000001u;
  1720. }
  1721. inline void Transform2d::clear_has_m01() {
  1722. _has_bits_[0] &= ~0x00000001u;
  1723. }
  1724. inline void Transform2d::clear_m01() {
  1725. m01_ = 0;
  1726. clear_has_m01();
  1727. }
  1728. inline float Transform2d::m01() const {
  1729. // @@protoc_insertion_point(field_get:wj.Transform2d.m01)
  1730. return m01_;
  1731. }
  1732. inline void Transform2d::set_m01(float value) {
  1733. set_has_m01();
  1734. m01_ = value;
  1735. // @@protoc_insertion_point(field_set:wj.Transform2d.m01)
  1736. }
  1737. // optional float m02 = 3 [default = 0];
  1738. inline bool Transform2d::has_m02() const {
  1739. return (_has_bits_[0] & 0x00000002u) != 0;
  1740. }
  1741. inline void Transform2d::set_has_m02() {
  1742. _has_bits_[0] |= 0x00000002u;
  1743. }
  1744. inline void Transform2d::clear_has_m02() {
  1745. _has_bits_[0] &= ~0x00000002u;
  1746. }
  1747. inline void Transform2d::clear_m02() {
  1748. m02_ = 0;
  1749. clear_has_m02();
  1750. }
  1751. inline float Transform2d::m02() const {
  1752. // @@protoc_insertion_point(field_get:wj.Transform2d.m02)
  1753. return m02_;
  1754. }
  1755. inline void Transform2d::set_m02(float value) {
  1756. set_has_m02();
  1757. m02_ = value;
  1758. // @@protoc_insertion_point(field_set:wj.Transform2d.m02)
  1759. }
  1760. // optional float m10 = 4 [default = 0];
  1761. inline bool Transform2d::has_m10() const {
  1762. return (_has_bits_[0] & 0x00000004u) != 0;
  1763. }
  1764. inline void Transform2d::set_has_m10() {
  1765. _has_bits_[0] |= 0x00000004u;
  1766. }
  1767. inline void Transform2d::clear_has_m10() {
  1768. _has_bits_[0] &= ~0x00000004u;
  1769. }
  1770. inline void Transform2d::clear_m10() {
  1771. m10_ = 0;
  1772. clear_has_m10();
  1773. }
  1774. inline float Transform2d::m10() const {
  1775. // @@protoc_insertion_point(field_get:wj.Transform2d.m10)
  1776. return m10_;
  1777. }
  1778. inline void Transform2d::set_m10(float value) {
  1779. set_has_m10();
  1780. m10_ = value;
  1781. // @@protoc_insertion_point(field_set:wj.Transform2d.m10)
  1782. }
  1783. // optional float m11 = 5 [default = 1];
  1784. inline bool Transform2d::has_m11() const {
  1785. return (_has_bits_[0] & 0x00000020u) != 0;
  1786. }
  1787. inline void Transform2d::set_has_m11() {
  1788. _has_bits_[0] |= 0x00000020u;
  1789. }
  1790. inline void Transform2d::clear_has_m11() {
  1791. _has_bits_[0] &= ~0x00000020u;
  1792. }
  1793. inline void Transform2d::clear_m11() {
  1794. m11_ = 1;
  1795. clear_has_m11();
  1796. }
  1797. inline float Transform2d::m11() const {
  1798. // @@protoc_insertion_point(field_get:wj.Transform2d.m11)
  1799. return m11_;
  1800. }
  1801. inline void Transform2d::set_m11(float value) {
  1802. set_has_m11();
  1803. m11_ = value;
  1804. // @@protoc_insertion_point(field_set:wj.Transform2d.m11)
  1805. }
  1806. // optional float m12 = 6 [default = 0];
  1807. inline bool Transform2d::has_m12() const {
  1808. return (_has_bits_[0] & 0x00000008u) != 0;
  1809. }
  1810. inline void Transform2d::set_has_m12() {
  1811. _has_bits_[0] |= 0x00000008u;
  1812. }
  1813. inline void Transform2d::clear_has_m12() {
  1814. _has_bits_[0] &= ~0x00000008u;
  1815. }
  1816. inline void Transform2d::clear_m12() {
  1817. m12_ = 0;
  1818. clear_has_m12();
  1819. }
  1820. inline float Transform2d::m12() const {
  1821. // @@protoc_insertion_point(field_get:wj.Transform2d.m12)
  1822. return m12_;
  1823. }
  1824. inline void Transform2d::set_m12(float value) {
  1825. set_has_m12();
  1826. m12_ = value;
  1827. // @@protoc_insertion_point(field_set:wj.Transform2d.m12)
  1828. }
  1829. // -------------------------------------------------------------------
  1830. // scanLimit
  1831. // optional float dist_limit = 1 [default = 8];
  1832. inline bool scanLimit::has_dist_limit() const {
  1833. return (_has_bits_[0] & 0x00000002u) != 0;
  1834. }
  1835. inline void scanLimit::set_has_dist_limit() {
  1836. _has_bits_[0] |= 0x00000002u;
  1837. }
  1838. inline void scanLimit::clear_has_dist_limit() {
  1839. _has_bits_[0] &= ~0x00000002u;
  1840. }
  1841. inline void scanLimit::clear_dist_limit() {
  1842. dist_limit_ = 8;
  1843. clear_has_dist_limit();
  1844. }
  1845. inline float scanLimit::dist_limit() const {
  1846. // @@protoc_insertion_point(field_get:wj.scanLimit.dist_limit)
  1847. return dist_limit_;
  1848. }
  1849. inline void scanLimit::set_dist_limit(float value) {
  1850. set_has_dist_limit();
  1851. dist_limit_ = value;
  1852. // @@protoc_insertion_point(field_set:wj.scanLimit.dist_limit)
  1853. }
  1854. // optional float minx = 2 [default = -6];
  1855. inline bool scanLimit::has_minx() const {
  1856. return (_has_bits_[0] & 0x00000004u) != 0;
  1857. }
  1858. inline void scanLimit::set_has_minx() {
  1859. _has_bits_[0] |= 0x00000004u;
  1860. }
  1861. inline void scanLimit::clear_has_minx() {
  1862. _has_bits_[0] &= ~0x00000004u;
  1863. }
  1864. inline void scanLimit::clear_minx() {
  1865. minx_ = -6;
  1866. clear_has_minx();
  1867. }
  1868. inline float scanLimit::minx() const {
  1869. // @@protoc_insertion_point(field_get:wj.scanLimit.minx)
  1870. return minx_;
  1871. }
  1872. inline void scanLimit::set_minx(float value) {
  1873. set_has_minx();
  1874. minx_ = value;
  1875. // @@protoc_insertion_point(field_set:wj.scanLimit.minx)
  1876. }
  1877. // optional float maxx = 3 [default = -0.2];
  1878. inline bool scanLimit::has_maxx() const {
  1879. return (_has_bits_[0] & 0x00000008u) != 0;
  1880. }
  1881. inline void scanLimit::set_has_maxx() {
  1882. _has_bits_[0] |= 0x00000008u;
  1883. }
  1884. inline void scanLimit::clear_has_maxx() {
  1885. _has_bits_[0] &= ~0x00000008u;
  1886. }
  1887. inline void scanLimit::clear_maxx() {
  1888. maxx_ = -0.2f;
  1889. clear_has_maxx();
  1890. }
  1891. inline float scanLimit::maxx() const {
  1892. // @@protoc_insertion_point(field_get:wj.scanLimit.maxx)
  1893. return maxx_;
  1894. }
  1895. inline void scanLimit::set_maxx(float value) {
  1896. set_has_maxx();
  1897. maxx_ = value;
  1898. // @@protoc_insertion_point(field_set:wj.scanLimit.maxx)
  1899. }
  1900. // optional float miny = 4 [default = -3.5];
  1901. inline bool scanLimit::has_miny() const {
  1902. return (_has_bits_[0] & 0x00000010u) != 0;
  1903. }
  1904. inline void scanLimit::set_has_miny() {
  1905. _has_bits_[0] |= 0x00000010u;
  1906. }
  1907. inline void scanLimit::clear_has_miny() {
  1908. _has_bits_[0] &= ~0x00000010u;
  1909. }
  1910. inline void scanLimit::clear_miny() {
  1911. miny_ = -3.5f;
  1912. clear_has_miny();
  1913. }
  1914. inline float scanLimit::miny() const {
  1915. // @@protoc_insertion_point(field_get:wj.scanLimit.miny)
  1916. return miny_;
  1917. }
  1918. inline void scanLimit::set_miny(float value) {
  1919. set_has_miny();
  1920. miny_ = value;
  1921. // @@protoc_insertion_point(field_set:wj.scanLimit.miny)
  1922. }
  1923. // optional float maxy = 5 [default = 3.5];
  1924. inline bool scanLimit::has_maxy() const {
  1925. return (_has_bits_[0] & 0x00000001u) != 0;
  1926. }
  1927. inline void scanLimit::set_has_maxy() {
  1928. _has_bits_[0] |= 0x00000001u;
  1929. }
  1930. inline void scanLimit::clear_has_maxy() {
  1931. _has_bits_[0] &= ~0x00000001u;
  1932. }
  1933. inline void scanLimit::clear_maxy() {
  1934. maxy_ = 3.5f;
  1935. clear_has_maxy();
  1936. }
  1937. inline float scanLimit::maxy() const {
  1938. // @@protoc_insertion_point(field_get:wj.scanLimit.maxy)
  1939. return maxy_;
  1940. }
  1941. inline void scanLimit::set_maxy(float value) {
  1942. set_has_maxy();
  1943. maxy_ = value;
  1944. // @@protoc_insertion_point(field_set:wj.scanLimit.maxy)
  1945. }
  1946. #ifdef __GNUC__
  1947. #pragma GCC diagnostic pop
  1948. #endif // __GNUC__
  1949. // -------------------------------------------------------------------
  1950. // -------------------------------------------------------------------
  1951. // -------------------------------------------------------------------
  1952. // -------------------------------------------------------------------
  1953. // -------------------------------------------------------------------
  1954. // @@protoc_insertion_point(namespace_scope)
  1955. } // namespace wj
  1956. // @@protoc_insertion_point(global_scope)
  1957. #endif // PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto