wj_lidar_conf.pb.h 69 KB

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