wj_lidar_conf.pb.h 107 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381
  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[8];
  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 CalibParameter;
  44. class CalibParameterDefaultTypeInternal;
  45. extern CalibParameterDefaultTypeInternal _CalibParameter_default_instance_;
  46. class Region;
  47. class RegionDefaultTypeInternal;
  48. extern RegionDefaultTypeInternal _Region_default_instance_;
  49. class Transform2d;
  50. class Transform2dDefaultTypeInternal;
  51. extern Transform2dDefaultTypeInternal _Transform2d_default_instance_;
  52. class lidarExtrinsic;
  53. class lidarExtrinsicDefaultTypeInternal;
  54. extern lidarExtrinsicDefaultTypeInternal _lidarExtrinsic_default_instance_;
  55. class netConfig;
  56. class netConfigDefaultTypeInternal;
  57. extern netConfigDefaultTypeInternal _netConfig_default_instance_;
  58. class scanLimit;
  59. class scanLimitDefaultTypeInternal;
  60. extern scanLimitDefaultTypeInternal _scanLimit_default_instance_;
  61. class wjLidarParams;
  62. class wjLidarParamsDefaultTypeInternal;
  63. extern wjLidarParamsDefaultTypeInternal _wjLidarParams_default_instance_;
  64. class wjManagerParams;
  65. class wjManagerParamsDefaultTypeInternal;
  66. extern wjManagerParamsDefaultTypeInternal _wjManagerParams_default_instance_;
  67. } // namespace wj
  68. namespace google {
  69. namespace protobuf {
  70. template<> ::wj::CalibParameter* Arena::CreateMaybeMessage<::wj::CalibParameter>(Arena*);
  71. template<> ::wj::Region* Arena::CreateMaybeMessage<::wj::Region>(Arena*);
  72. template<> ::wj::Transform2d* Arena::CreateMaybeMessage<::wj::Transform2d>(Arena*);
  73. template<> ::wj::lidarExtrinsic* Arena::CreateMaybeMessage<::wj::lidarExtrinsic>(Arena*);
  74. template<> ::wj::netConfig* Arena::CreateMaybeMessage<::wj::netConfig>(Arena*);
  75. template<> ::wj::scanLimit* Arena::CreateMaybeMessage<::wj::scanLimit>(Arena*);
  76. template<> ::wj::wjLidarParams* Arena::CreateMaybeMessage<::wj::wjLidarParams>(Arena*);
  77. template<> ::wj::wjManagerParams* Arena::CreateMaybeMessage<::wj::wjManagerParams>(Arena*);
  78. } // namespace protobuf
  79. } // namespace google
  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 constexpr int 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 final {
  126. return CreateMaybeMessage<wjManagerParams>(NULL);
  127. }
  128. wjManagerParams* New(::google::protobuf::Arena* arena) const final {
  129. return CreateMaybeMessage<wjManagerParams>(arena);
  130. }
  131. void CopyFrom(const ::google::protobuf::Message& from) final;
  132. void MergeFrom(const ::google::protobuf::Message& from) final;
  133. void CopyFrom(const wjManagerParams& from);
  134. void MergeFrom(const wjManagerParams& from);
  135. void Clear() final;
  136. bool IsInitialized() const final;
  137. size_t ByteSizeLong() const final;
  138. bool MergePartialFromCodedStream(
  139. ::google::protobuf::io::CodedInputStream* input) final;
  140. void SerializeWithCachedSizes(
  141. ::google::protobuf::io::CodedOutputStream* output) const final;
  142. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  143. bool deterministic, ::google::protobuf::uint8* target) const final;
  144. int GetCachedSize() const final { return _cached_size_.Get(); }
  145. private:
  146. void SharedCtor();
  147. void SharedDtor();
  148. void SetCachedSize(int size) const final;
  149. void InternalSwap(wjManagerParams* other);
  150. private:
  151. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  152. return NULL;
  153. }
  154. inline void* MaybeArenaPtr() const {
  155. return NULL;
  156. }
  157. public:
  158. ::google::protobuf::Metadata GetMetadata() const final;
  159. // nested types ----------------------------------------------------
  160. // accessors -------------------------------------------------------
  161. // repeated .wj.wjLidarParams wj_lidar = 1;
  162. int wj_lidar_size() const;
  163. void clear_wj_lidar();
  164. static const int kWjLidarFieldNumber = 1;
  165. ::wj::wjLidarParams* mutable_wj_lidar(int index);
  166. ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >*
  167. mutable_wj_lidar();
  168. const ::wj::wjLidarParams& wj_lidar(int index) const;
  169. ::wj::wjLidarParams* add_wj_lidar();
  170. const ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >&
  171. wj_lidar() const;
  172. // repeated .wj.Region regions = 2;
  173. int regions_size() const;
  174. void clear_regions();
  175. static const int kRegionsFieldNumber = 2;
  176. ::wj::Region* mutable_regions(int index);
  177. ::google::protobuf::RepeatedPtrField< ::wj::Region >*
  178. mutable_regions();
  179. const ::wj::Region& regions(int index) const;
  180. ::wj::Region* add_regions();
  181. const ::google::protobuf::RepeatedPtrField< ::wj::Region >&
  182. regions() const;
  183. // optional string fence_data_path = 3 [default = ""];
  184. bool has_fence_data_path() const;
  185. void clear_fence_data_path();
  186. static const int kFenceDataPathFieldNumber = 3;
  187. const ::std::string& fence_data_path() const;
  188. void set_fence_data_path(const ::std::string& value);
  189. #if LANG_CXX11
  190. void set_fence_data_path(::std::string&& value);
  191. #endif
  192. void set_fence_data_path(const char* value);
  193. void set_fence_data_path(const char* value, size_t size);
  194. ::std::string* mutable_fence_data_path();
  195. ::std::string* release_fence_data_path();
  196. void set_allocated_fence_data_path(::std::string* fence_data_path);
  197. // optional string fence_log_path = 4 [default = ""];
  198. bool has_fence_log_path() const;
  199. void clear_fence_log_path();
  200. static const int kFenceLogPathFieldNumber = 4;
  201. const ::std::string& fence_log_path() const;
  202. void set_fence_log_path(const ::std::string& value);
  203. #if LANG_CXX11
  204. void set_fence_log_path(::std::string&& value);
  205. #endif
  206. void set_fence_log_path(const char* value);
  207. void set_fence_log_path(const char* value, size_t size);
  208. ::std::string* mutable_fence_log_path();
  209. ::std::string* release_fence_log_path();
  210. void set_allocated_fence_log_path(::std::string* fence_log_path);
  211. // optional string plc_ip_address = 5 [default = "192.168.0.1"];
  212. bool has_plc_ip_address() const;
  213. void clear_plc_ip_address();
  214. static const int kPlcIpAddressFieldNumber = 5;
  215. const ::std::string& plc_ip_address() const;
  216. void set_plc_ip_address(const ::std::string& value);
  217. #if LANG_CXX11
  218. void set_plc_ip_address(::std::string&& value);
  219. #endif
  220. void set_plc_ip_address(const char* value);
  221. void set_plc_ip_address(const char* value, size_t size);
  222. ::std::string* mutable_plc_ip_address();
  223. ::std::string* release_plc_ip_address();
  224. void set_allocated_plc_ip_address(::std::string* plc_ip_address);
  225. // required bool distribution_mode = 6 [default = false];
  226. bool has_distribution_mode() const;
  227. void clear_distribution_mode();
  228. static const int kDistributionModeFieldNumber = 6;
  229. bool distribution_mode() const;
  230. void set_distribution_mode(bool value);
  231. // @@protoc_insertion_point(class_scope:wj.wjManagerParams)
  232. private:
  233. void set_has_fence_data_path();
  234. void clear_has_fence_data_path();
  235. void set_has_fence_log_path();
  236. void clear_has_fence_log_path();
  237. void set_has_plc_ip_address();
  238. void clear_has_plc_ip_address();
  239. void set_has_distribution_mode();
  240. void clear_has_distribution_mode();
  241. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  242. ::google::protobuf::internal::HasBits<1> _has_bits_;
  243. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  244. ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams > wj_lidar_;
  245. ::google::protobuf::RepeatedPtrField< ::wj::Region > regions_;
  246. ::google::protobuf::internal::ArenaStringPtr fence_data_path_;
  247. ::google::protobuf::internal::ArenaStringPtr fence_log_path_;
  248. public:
  249. static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_plc_ip_address_;
  250. private:
  251. ::google::protobuf::internal::ArenaStringPtr plc_ip_address_;
  252. bool distribution_mode_;
  253. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  254. };
  255. // -------------------------------------------------------------------
  256. class CalibParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.CalibParameter) */ {
  257. public:
  258. CalibParameter();
  259. virtual ~CalibParameter();
  260. CalibParameter(const CalibParameter& from);
  261. inline CalibParameter& operator=(const CalibParameter& from) {
  262. CopyFrom(from);
  263. return *this;
  264. }
  265. #if LANG_CXX11
  266. CalibParameter(CalibParameter&& from) noexcept
  267. : CalibParameter() {
  268. *this = ::std::move(from);
  269. }
  270. inline CalibParameter& operator=(CalibParameter&& from) noexcept {
  271. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  272. if (this != &from) InternalSwap(&from);
  273. } else {
  274. CopyFrom(from);
  275. }
  276. return *this;
  277. }
  278. #endif
  279. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  280. return _internal_metadata_.unknown_fields();
  281. }
  282. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  283. return _internal_metadata_.mutable_unknown_fields();
  284. }
  285. static const ::google::protobuf::Descriptor* descriptor();
  286. static const CalibParameter& default_instance();
  287. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  288. static inline const CalibParameter* internal_default_instance() {
  289. return reinterpret_cast<const CalibParameter*>(
  290. &_CalibParameter_default_instance_);
  291. }
  292. static constexpr int kIndexInFileMessages =
  293. 1;
  294. void Swap(CalibParameter* other);
  295. friend void swap(CalibParameter& a, CalibParameter& b) {
  296. a.Swap(&b);
  297. }
  298. // implements Message ----------------------------------------------
  299. inline CalibParameter* New() const final {
  300. return CreateMaybeMessage<CalibParameter>(NULL);
  301. }
  302. CalibParameter* New(::google::protobuf::Arena* arena) const final {
  303. return CreateMaybeMessage<CalibParameter>(arena);
  304. }
  305. void CopyFrom(const ::google::protobuf::Message& from) final;
  306. void MergeFrom(const ::google::protobuf::Message& from) final;
  307. void CopyFrom(const CalibParameter& from);
  308. void MergeFrom(const CalibParameter& from);
  309. void Clear() final;
  310. bool IsInitialized() const final;
  311. size_t ByteSizeLong() const final;
  312. bool MergePartialFromCodedStream(
  313. ::google::protobuf::io::CodedInputStream* input) final;
  314. void SerializeWithCachedSizes(
  315. ::google::protobuf::io::CodedOutputStream* output) const final;
  316. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  317. bool deterministic, ::google::protobuf::uint8* target) const final;
  318. int GetCachedSize() const final { return _cached_size_.Get(); }
  319. private:
  320. void SharedCtor();
  321. void SharedDtor();
  322. void SetCachedSize(int size) const final;
  323. void InternalSwap(CalibParameter* other);
  324. private:
  325. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  326. return NULL;
  327. }
  328. inline void* MaybeArenaPtr() const {
  329. return NULL;
  330. }
  331. public:
  332. ::google::protobuf::Metadata GetMetadata() const final;
  333. // nested types ----------------------------------------------------
  334. // accessors -------------------------------------------------------
  335. // optional float r = 1 [default = 0];
  336. bool has_r() const;
  337. void clear_r();
  338. static const int kRFieldNumber = 1;
  339. float r() const;
  340. void set_r(float value);
  341. // optional float p = 2 [default = 0];
  342. bool has_p() const;
  343. void clear_p();
  344. static const int kPFieldNumber = 2;
  345. float p() const;
  346. void set_p(float value);
  347. // optional float y = 3 [default = 0];
  348. bool has_y() const;
  349. void clear_y();
  350. static const int kYFieldNumber = 3;
  351. float y() const;
  352. void set_y(float value);
  353. // optional float cx = 4 [default = 0];
  354. bool has_cx() const;
  355. void clear_cx();
  356. static const int kCxFieldNumber = 4;
  357. float cx() const;
  358. void set_cx(float value);
  359. // optional float cy = 5 [default = 0];
  360. bool has_cy() const;
  361. void clear_cy();
  362. static const int kCyFieldNumber = 5;
  363. float cy() const;
  364. void set_cy(float value);
  365. // optional float cz = 6 [default = 0];
  366. bool has_cz() const;
  367. void clear_cz();
  368. static const int kCzFieldNumber = 6;
  369. float cz() const;
  370. void set_cz(float value);
  371. // @@protoc_insertion_point(class_scope:wj.CalibParameter)
  372. private:
  373. void set_has_r();
  374. void clear_has_r();
  375. void set_has_p();
  376. void clear_has_p();
  377. void set_has_y();
  378. void clear_has_y();
  379. void set_has_cx();
  380. void clear_has_cx();
  381. void set_has_cy();
  382. void clear_has_cy();
  383. void set_has_cz();
  384. void clear_has_cz();
  385. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  386. ::google::protobuf::internal::HasBits<1> _has_bits_;
  387. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  388. float r_;
  389. float p_;
  390. float y_;
  391. float cx_;
  392. float cy_;
  393. float cz_;
  394. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  395. };
  396. // -------------------------------------------------------------------
  397. class lidarExtrinsic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.lidarExtrinsic) */ {
  398. public:
  399. lidarExtrinsic();
  400. virtual ~lidarExtrinsic();
  401. lidarExtrinsic(const lidarExtrinsic& from);
  402. inline lidarExtrinsic& operator=(const lidarExtrinsic& from) {
  403. CopyFrom(from);
  404. return *this;
  405. }
  406. #if LANG_CXX11
  407. lidarExtrinsic(lidarExtrinsic&& from) noexcept
  408. : lidarExtrinsic() {
  409. *this = ::std::move(from);
  410. }
  411. inline lidarExtrinsic& operator=(lidarExtrinsic&& from) noexcept {
  412. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  413. if (this != &from) InternalSwap(&from);
  414. } else {
  415. CopyFrom(from);
  416. }
  417. return *this;
  418. }
  419. #endif
  420. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  421. return _internal_metadata_.unknown_fields();
  422. }
  423. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  424. return _internal_metadata_.mutable_unknown_fields();
  425. }
  426. static const ::google::protobuf::Descriptor* descriptor();
  427. static const lidarExtrinsic& default_instance();
  428. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  429. static inline const lidarExtrinsic* internal_default_instance() {
  430. return reinterpret_cast<const lidarExtrinsic*>(
  431. &_lidarExtrinsic_default_instance_);
  432. }
  433. static constexpr int kIndexInFileMessages =
  434. 2;
  435. void Swap(lidarExtrinsic* other);
  436. friend void swap(lidarExtrinsic& a, lidarExtrinsic& b) {
  437. a.Swap(&b);
  438. }
  439. // implements Message ----------------------------------------------
  440. inline lidarExtrinsic* New() const final {
  441. return CreateMaybeMessage<lidarExtrinsic>(NULL);
  442. }
  443. lidarExtrinsic* New(::google::protobuf::Arena* arena) const final {
  444. return CreateMaybeMessage<lidarExtrinsic>(arena);
  445. }
  446. void CopyFrom(const ::google::protobuf::Message& from) final;
  447. void MergeFrom(const ::google::protobuf::Message& from) final;
  448. void CopyFrom(const lidarExtrinsic& from);
  449. void MergeFrom(const lidarExtrinsic& from);
  450. void Clear() final;
  451. bool IsInitialized() const final;
  452. size_t ByteSizeLong() const final;
  453. bool MergePartialFromCodedStream(
  454. ::google::protobuf::io::CodedInputStream* input) final;
  455. void SerializeWithCachedSizes(
  456. ::google::protobuf::io::CodedOutputStream* output) const final;
  457. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  458. bool deterministic, ::google::protobuf::uint8* target) const final;
  459. int GetCachedSize() const final { return _cached_size_.Get(); }
  460. private:
  461. void SharedCtor();
  462. void SharedDtor();
  463. void SetCachedSize(int size) const final;
  464. void InternalSwap(lidarExtrinsic* other);
  465. private:
  466. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  467. return NULL;
  468. }
  469. inline void* MaybeArenaPtr() const {
  470. return NULL;
  471. }
  472. public:
  473. ::google::protobuf::Metadata GetMetadata() const final;
  474. // nested types ----------------------------------------------------
  475. // accessors -------------------------------------------------------
  476. // optional .wj.CalibParameter calib = 2;
  477. bool has_calib() const;
  478. void clear_calib();
  479. static const int kCalibFieldNumber = 2;
  480. private:
  481. const ::wj::CalibParameter& _internal_calib() const;
  482. public:
  483. const ::wj::CalibParameter& calib() const;
  484. ::wj::CalibParameter* release_calib();
  485. ::wj::CalibParameter* mutable_calib();
  486. void set_allocated_calib(::wj::CalibParameter* calib);
  487. // required int32 lidar_id = 1;
  488. bool has_lidar_id() const;
  489. void clear_lidar_id();
  490. static const int kLidarIdFieldNumber = 1;
  491. ::google::protobuf::int32 lidar_id() const;
  492. void set_lidar_id(::google::protobuf::int32 value);
  493. // @@protoc_insertion_point(class_scope:wj.lidarExtrinsic)
  494. private:
  495. void set_has_lidar_id();
  496. void clear_has_lidar_id();
  497. void set_has_calib();
  498. void clear_has_calib();
  499. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  500. ::google::protobuf::internal::HasBits<1> _has_bits_;
  501. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  502. ::wj::CalibParameter* calib_;
  503. ::google::protobuf::int32 lidar_id_;
  504. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  505. };
  506. // -------------------------------------------------------------------
  507. class Region : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.Region) */ {
  508. public:
  509. Region();
  510. virtual ~Region();
  511. Region(const Region& from);
  512. inline Region& operator=(const Region& from) {
  513. CopyFrom(from);
  514. return *this;
  515. }
  516. #if LANG_CXX11
  517. Region(Region&& from) noexcept
  518. : Region() {
  519. *this = ::std::move(from);
  520. }
  521. inline Region& operator=(Region&& from) noexcept {
  522. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  523. if (this != &from) InternalSwap(&from);
  524. } else {
  525. CopyFrom(from);
  526. }
  527. return *this;
  528. }
  529. #endif
  530. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  531. return _internal_metadata_.unknown_fields();
  532. }
  533. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  534. return _internal_metadata_.mutable_unknown_fields();
  535. }
  536. static const ::google::protobuf::Descriptor* descriptor();
  537. static const Region& default_instance();
  538. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  539. static inline const Region* internal_default_instance() {
  540. return reinterpret_cast<const Region*>(
  541. &_Region_default_instance_);
  542. }
  543. static constexpr int kIndexInFileMessages =
  544. 3;
  545. void Swap(Region* other);
  546. friend void swap(Region& a, Region& b) {
  547. a.Swap(&b);
  548. }
  549. // implements Message ----------------------------------------------
  550. inline Region* New() const final {
  551. return CreateMaybeMessage<Region>(NULL);
  552. }
  553. Region* New(::google::protobuf::Arena* arena) const final {
  554. return CreateMaybeMessage<Region>(arena);
  555. }
  556. void CopyFrom(const ::google::protobuf::Message& from) final;
  557. void MergeFrom(const ::google::protobuf::Message& from) final;
  558. void CopyFrom(const Region& from);
  559. void MergeFrom(const Region& from);
  560. void Clear() final;
  561. bool IsInitialized() const final;
  562. size_t ByteSizeLong() const final;
  563. bool MergePartialFromCodedStream(
  564. ::google::protobuf::io::CodedInputStream* input) final;
  565. void SerializeWithCachedSizes(
  566. ::google::protobuf::io::CodedOutputStream* output) const final;
  567. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  568. bool deterministic, ::google::protobuf::uint8* target) const final;
  569. int GetCachedSize() const final { return _cached_size_.Get(); }
  570. private:
  571. void SharedCtor();
  572. void SharedDtor();
  573. void SetCachedSize(int size) const final;
  574. void InternalSwap(Region* other);
  575. private:
  576. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  577. return NULL;
  578. }
  579. inline void* MaybeArenaPtr() const {
  580. return NULL;
  581. }
  582. public:
  583. ::google::protobuf::Metadata GetMetadata() const final;
  584. // nested types ----------------------------------------------------
  585. // accessors -------------------------------------------------------
  586. // repeated .wj.lidarExtrinsic lidar_exts = 8;
  587. int lidar_exts_size() const;
  588. void clear_lidar_exts();
  589. static const int kLidarExtsFieldNumber = 8;
  590. ::wj::lidarExtrinsic* mutable_lidar_exts(int index);
  591. ::google::protobuf::RepeatedPtrField< ::wj::lidarExtrinsic >*
  592. mutable_lidar_exts();
  593. const ::wj::lidarExtrinsic& lidar_exts(int index) const;
  594. ::wj::lidarExtrinsic* add_lidar_exts();
  595. const ::google::protobuf::RepeatedPtrField< ::wj::lidarExtrinsic >&
  596. lidar_exts() const;
  597. // required float minx = 1;
  598. bool has_minx() const;
  599. void clear_minx();
  600. static const int kMinxFieldNumber = 1;
  601. float minx() const;
  602. void set_minx(float value);
  603. // required float maxx = 2;
  604. bool has_maxx() const;
  605. void clear_maxx();
  606. static const int kMaxxFieldNumber = 2;
  607. float maxx() const;
  608. void set_maxx(float value);
  609. // required float miny = 3;
  610. bool has_miny() const;
  611. void clear_miny();
  612. static const int kMinyFieldNumber = 3;
  613. float miny() const;
  614. void set_miny(float value);
  615. // required float maxy = 4;
  616. bool has_maxy() const;
  617. void clear_maxy();
  618. static const int kMaxyFieldNumber = 4;
  619. float maxy() const;
  620. void set_maxy(float value);
  621. // required float minz = 5;
  622. bool has_minz() const;
  623. void clear_minz();
  624. static const int kMinzFieldNumber = 5;
  625. float minz() const;
  626. void set_minz(float value);
  627. // required float maxz = 6;
  628. bool has_maxz() const;
  629. void clear_maxz();
  630. static const int kMaxzFieldNumber = 6;
  631. float maxz() const;
  632. void set_maxz(float value);
  633. // required int32 region_id = 7;
  634. bool has_region_id() const;
  635. void clear_region_id();
  636. static const int kRegionIdFieldNumber = 7;
  637. ::google::protobuf::int32 region_id() const;
  638. void set_region_id(::google::protobuf::int32 value);
  639. // required float turnplate_cx = 9;
  640. bool has_turnplate_cx() const;
  641. void clear_turnplate_cx();
  642. static const int kTurnplateCxFieldNumber = 9;
  643. float turnplate_cx() const;
  644. void set_turnplate_cx(float value);
  645. // required float turnplate_cy = 10;
  646. bool has_turnplate_cy() const;
  647. void clear_turnplate_cy();
  648. static const int kTurnplateCyFieldNumber = 10;
  649. float turnplate_cy() const;
  650. void set_turnplate_cy(float value);
  651. // required float border_minx = 11;
  652. bool has_border_minx() const;
  653. void clear_border_minx();
  654. static const int kBorderMinxFieldNumber = 11;
  655. float border_minx() const;
  656. void set_border_minx(float value);
  657. // required float border_maxx = 12;
  658. bool has_border_maxx() const;
  659. void clear_border_maxx();
  660. static const int kBorderMaxxFieldNumber = 12;
  661. float border_maxx() const;
  662. void set_border_maxx(float value);
  663. // required float plc_offsetx = 13;
  664. bool has_plc_offsetx() const;
  665. void clear_plc_offsetx();
  666. static const int kPlcOffsetxFieldNumber = 13;
  667. float plc_offsetx() const;
  668. void set_plc_offsetx(float value);
  669. // required float plc_offsety = 14;
  670. bool has_plc_offsety() const;
  671. void clear_plc_offsety();
  672. static const int kPlcOffsetyFieldNumber = 14;
  673. float plc_offsety() const;
  674. void set_plc_offsety(float value);
  675. // required float plc_offset_degree = 15;
  676. bool has_plc_offset_degree() const;
  677. void clear_plc_offset_degree();
  678. static const int kPlcOffsetDegreeFieldNumber = 15;
  679. float plc_offset_degree() const;
  680. void set_plc_offset_degree(float value);
  681. // required float plc_border_miny = 16;
  682. bool has_plc_border_miny() const;
  683. void clear_plc_border_miny();
  684. static const int kPlcBorderMinyFieldNumber = 16;
  685. float plc_border_miny() const;
  686. void set_plc_border_miny(float value);
  687. // required float car_min_width = 17;
  688. bool has_car_min_width() const;
  689. void clear_car_min_width();
  690. static const int kCarMinWidthFieldNumber = 17;
  691. float car_min_width() const;
  692. void set_car_min_width(float value);
  693. // required float car_max_width = 18;
  694. bool has_car_max_width() const;
  695. void clear_car_max_width();
  696. static const int kCarMaxWidthFieldNumber = 18;
  697. float car_max_width() const;
  698. void set_car_max_width(float value);
  699. // required float car_min_wheelbase = 19;
  700. bool has_car_min_wheelbase() const;
  701. void clear_car_min_wheelbase();
  702. static const int kCarMinWheelbaseFieldNumber = 19;
  703. float car_min_wheelbase() const;
  704. void set_car_min_wheelbase(float value);
  705. // required float car_max_wheelbase = 20;
  706. bool has_car_max_wheelbase() const;
  707. void clear_car_max_wheelbase();
  708. static const int kCarMaxWheelbaseFieldNumber = 20;
  709. float car_max_wheelbase() const;
  710. void set_car_max_wheelbase(float value);
  711. // required float turnplate_angle_limit_anti_clockwise = 21;
  712. bool has_turnplate_angle_limit_anti_clockwise() const;
  713. void clear_turnplate_angle_limit_anti_clockwise();
  714. static const int kTurnplateAngleLimitAntiClockwiseFieldNumber = 21;
  715. float turnplate_angle_limit_anti_clockwise() const;
  716. void set_turnplate_angle_limit_anti_clockwise(float value);
  717. // required float turnplate_angle_limit_clockwise = 22;
  718. bool has_turnplate_angle_limit_clockwise() const;
  719. void clear_turnplate_angle_limit_clockwise();
  720. static const int kTurnplateAngleLimitClockwiseFieldNumber = 22;
  721. float turnplate_angle_limit_clockwise() const;
  722. void set_turnplate_angle_limit_clockwise(float value);
  723. // @@protoc_insertion_point(class_scope:wj.Region)
  724. private:
  725. void set_has_minx();
  726. void clear_has_minx();
  727. void set_has_maxx();
  728. void clear_has_maxx();
  729. void set_has_miny();
  730. void clear_has_miny();
  731. void set_has_maxy();
  732. void clear_has_maxy();
  733. void set_has_minz();
  734. void clear_has_minz();
  735. void set_has_maxz();
  736. void clear_has_maxz();
  737. void set_has_region_id();
  738. void clear_has_region_id();
  739. void set_has_turnplate_cx();
  740. void clear_has_turnplate_cx();
  741. void set_has_turnplate_cy();
  742. void clear_has_turnplate_cy();
  743. void set_has_border_minx();
  744. void clear_has_border_minx();
  745. void set_has_border_maxx();
  746. void clear_has_border_maxx();
  747. void set_has_plc_offsetx();
  748. void clear_has_plc_offsetx();
  749. void set_has_plc_offsety();
  750. void clear_has_plc_offsety();
  751. void set_has_plc_offset_degree();
  752. void clear_has_plc_offset_degree();
  753. void set_has_plc_border_miny();
  754. void clear_has_plc_border_miny();
  755. void set_has_car_min_width();
  756. void clear_has_car_min_width();
  757. void set_has_car_max_width();
  758. void clear_has_car_max_width();
  759. void set_has_car_min_wheelbase();
  760. void clear_has_car_min_wheelbase();
  761. void set_has_car_max_wheelbase();
  762. void clear_has_car_max_wheelbase();
  763. void set_has_turnplate_angle_limit_anti_clockwise();
  764. void clear_has_turnplate_angle_limit_anti_clockwise();
  765. void set_has_turnplate_angle_limit_clockwise();
  766. void clear_has_turnplate_angle_limit_clockwise();
  767. // helper for ByteSizeLong()
  768. size_t RequiredFieldsByteSizeFallback() const;
  769. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  770. ::google::protobuf::internal::HasBits<1> _has_bits_;
  771. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  772. ::google::protobuf::RepeatedPtrField< ::wj::lidarExtrinsic > lidar_exts_;
  773. float minx_;
  774. float maxx_;
  775. float miny_;
  776. float maxy_;
  777. float minz_;
  778. float maxz_;
  779. ::google::protobuf::int32 region_id_;
  780. float turnplate_cx_;
  781. float turnplate_cy_;
  782. float border_minx_;
  783. float border_maxx_;
  784. float plc_offsetx_;
  785. float plc_offsety_;
  786. float plc_offset_degree_;
  787. float plc_border_miny_;
  788. float car_min_width_;
  789. float car_max_width_;
  790. float car_min_wheelbase_;
  791. float car_max_wheelbase_;
  792. float turnplate_angle_limit_anti_clockwise_;
  793. float turnplate_angle_limit_clockwise_;
  794. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  795. };
  796. // -------------------------------------------------------------------
  797. class wjLidarParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.wjLidarParams) */ {
  798. public:
  799. wjLidarParams();
  800. virtual ~wjLidarParams();
  801. wjLidarParams(const wjLidarParams& from);
  802. inline wjLidarParams& operator=(const wjLidarParams& from) {
  803. CopyFrom(from);
  804. return *this;
  805. }
  806. #if LANG_CXX11
  807. wjLidarParams(wjLidarParams&& from) noexcept
  808. : wjLidarParams() {
  809. *this = ::std::move(from);
  810. }
  811. inline wjLidarParams& operator=(wjLidarParams&& from) noexcept {
  812. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  813. if (this != &from) InternalSwap(&from);
  814. } else {
  815. CopyFrom(from);
  816. }
  817. return *this;
  818. }
  819. #endif
  820. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  821. return _internal_metadata_.unknown_fields();
  822. }
  823. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  824. return _internal_metadata_.mutable_unknown_fields();
  825. }
  826. static const ::google::protobuf::Descriptor* descriptor();
  827. static const wjLidarParams& default_instance();
  828. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  829. static inline const wjLidarParams* internal_default_instance() {
  830. return reinterpret_cast<const wjLidarParams*>(
  831. &_wjLidarParams_default_instance_);
  832. }
  833. static constexpr int kIndexInFileMessages =
  834. 4;
  835. void Swap(wjLidarParams* other);
  836. friend void swap(wjLidarParams& a, wjLidarParams& b) {
  837. a.Swap(&b);
  838. }
  839. // implements Message ----------------------------------------------
  840. inline wjLidarParams* New() const final {
  841. return CreateMaybeMessage<wjLidarParams>(NULL);
  842. }
  843. wjLidarParams* New(::google::protobuf::Arena* arena) const final {
  844. return CreateMaybeMessage<wjLidarParams>(arena);
  845. }
  846. void CopyFrom(const ::google::protobuf::Message& from) final;
  847. void MergeFrom(const ::google::protobuf::Message& from) final;
  848. void CopyFrom(const wjLidarParams& from);
  849. void MergeFrom(const wjLidarParams& from);
  850. void Clear() final;
  851. bool IsInitialized() const final;
  852. size_t ByteSizeLong() const final;
  853. bool MergePartialFromCodedStream(
  854. ::google::protobuf::io::CodedInputStream* input) final;
  855. void SerializeWithCachedSizes(
  856. ::google::protobuf::io::CodedOutputStream* output) const final;
  857. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  858. bool deterministic, ::google::protobuf::uint8* target) const final;
  859. int GetCachedSize() const final { return _cached_size_.Get(); }
  860. private:
  861. void SharedCtor();
  862. void SharedDtor();
  863. void SetCachedSize(int size) const final;
  864. void InternalSwap(wjLidarParams* other);
  865. private:
  866. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  867. return NULL;
  868. }
  869. inline void* MaybeArenaPtr() const {
  870. return NULL;
  871. }
  872. public:
  873. ::google::protobuf::Metadata GetMetadata() const final;
  874. // nested types ----------------------------------------------------
  875. // accessors -------------------------------------------------------
  876. // required .wj.netConfig net_config = 7;
  877. bool has_net_config() const;
  878. void clear_net_config();
  879. static const int kNetConfigFieldNumber = 7;
  880. private:
  881. const ::wj::netConfig& _internal_net_config() const;
  882. public:
  883. const ::wj::netConfig& net_config() const;
  884. ::wj::netConfig* release_net_config();
  885. ::wj::netConfig* mutable_net_config();
  886. void set_allocated_net_config(::wj::netConfig* net_config);
  887. // required .wj.Transform2d transform = 8;
  888. bool has_transform() const;
  889. void clear_transform();
  890. static const int kTransformFieldNumber = 8;
  891. private:
  892. const ::wj::Transform2d& _internal_transform() const;
  893. public:
  894. const ::wj::Transform2d& transform() const;
  895. ::wj::Transform2d* release_transform();
  896. ::wj::Transform2d* mutable_transform();
  897. void set_allocated_transform(::wj::Transform2d* transform);
  898. // required .wj.scanLimit scan_limit = 9;
  899. bool has_scan_limit() const;
  900. void clear_scan_limit();
  901. static const int kScanLimitFieldNumber = 9;
  902. private:
  903. const ::wj::scanLimit& _internal_scan_limit() const;
  904. public:
  905. const ::wj::scanLimit& scan_limit() const;
  906. ::wj::scanLimit* release_scan_limit();
  907. ::wj::scanLimit* mutable_scan_limit();
  908. void set_allocated_scan_limit(::wj::scanLimit* scan_limit);
  909. // optional int32 range_min = 5 [default = 0];
  910. bool has_range_min() const;
  911. void clear_range_min();
  912. static const int kRangeMinFieldNumber = 5;
  913. ::google::protobuf::int32 range_min() const;
  914. void set_range_min(::google::protobuf::int32 value);
  915. // required int32 lidar_id = 10 [default = 0];
  916. bool has_lidar_id() const;
  917. void clear_lidar_id();
  918. static const int kLidarIdFieldNumber = 10;
  919. ::google::protobuf::int32 lidar_id() const;
  920. void set_lidar_id(::google::protobuf::int32 value);
  921. // optional int32 range_max = 6 [default = 30];
  922. bool has_range_max() const;
  923. void clear_range_max();
  924. static const int kRangeMaxFieldNumber = 6;
  925. ::google::protobuf::int32 range_max() const;
  926. void set_range_max(::google::protobuf::int32 value);
  927. // optional float angle_min = 1 [default = -2.3561945];
  928. bool has_angle_min() const;
  929. void clear_angle_min();
  930. static const int kAngleMinFieldNumber = 1;
  931. float angle_min() const;
  932. void set_angle_min(float value);
  933. // optional float angle_max = 2 [default = 2.3561945];
  934. bool has_angle_max() const;
  935. void clear_angle_max();
  936. static const int kAngleMaxFieldNumber = 2;
  937. float angle_max() const;
  938. void set_angle_max(float value);
  939. // optional float angle_increment = 3 [default = 0.00582];
  940. bool has_angle_increment() const;
  941. void clear_angle_increment();
  942. static const int kAngleIncrementFieldNumber = 3;
  943. float angle_increment() const;
  944. void set_angle_increment(float value);
  945. // optional float time_increment = 4 [default = 6.2e-05];
  946. bool has_time_increment() const;
  947. void clear_time_increment();
  948. static const int kTimeIncrementFieldNumber = 4;
  949. float time_increment() const;
  950. void set_time_increment(float value);
  951. // @@protoc_insertion_point(class_scope:wj.wjLidarParams)
  952. private:
  953. void set_has_angle_min();
  954. void clear_has_angle_min();
  955. void set_has_angle_max();
  956. void clear_has_angle_max();
  957. void set_has_angle_increment();
  958. void clear_has_angle_increment();
  959. void set_has_time_increment();
  960. void clear_has_time_increment();
  961. void set_has_range_min();
  962. void clear_has_range_min();
  963. void set_has_range_max();
  964. void clear_has_range_max();
  965. void set_has_net_config();
  966. void clear_has_net_config();
  967. void set_has_transform();
  968. void clear_has_transform();
  969. void set_has_scan_limit();
  970. void clear_has_scan_limit();
  971. void set_has_lidar_id();
  972. void clear_has_lidar_id();
  973. // helper for ByteSizeLong()
  974. size_t RequiredFieldsByteSizeFallback() const;
  975. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  976. ::google::protobuf::internal::HasBits<1> _has_bits_;
  977. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  978. ::wj::netConfig* net_config_;
  979. ::wj::Transform2d* transform_;
  980. ::wj::scanLimit* scan_limit_;
  981. ::google::protobuf::int32 range_min_;
  982. ::google::protobuf::int32 lidar_id_;
  983. ::google::protobuf::int32 range_max_;
  984. float angle_min_;
  985. float angle_max_;
  986. float angle_increment_;
  987. float time_increment_;
  988. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  989. };
  990. // -------------------------------------------------------------------
  991. class netConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.netConfig) */ {
  992. public:
  993. netConfig();
  994. virtual ~netConfig();
  995. netConfig(const netConfig& from);
  996. inline netConfig& operator=(const netConfig& from) {
  997. CopyFrom(from);
  998. return *this;
  999. }
  1000. #if LANG_CXX11
  1001. netConfig(netConfig&& from) noexcept
  1002. : netConfig() {
  1003. *this = ::std::move(from);
  1004. }
  1005. inline netConfig& operator=(netConfig&& from) noexcept {
  1006. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1007. if (this != &from) InternalSwap(&from);
  1008. } else {
  1009. CopyFrom(from);
  1010. }
  1011. return *this;
  1012. }
  1013. #endif
  1014. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1015. return _internal_metadata_.unknown_fields();
  1016. }
  1017. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1018. return _internal_metadata_.mutable_unknown_fields();
  1019. }
  1020. static const ::google::protobuf::Descriptor* descriptor();
  1021. static const netConfig& default_instance();
  1022. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1023. static inline const netConfig* internal_default_instance() {
  1024. return reinterpret_cast<const netConfig*>(
  1025. &_netConfig_default_instance_);
  1026. }
  1027. static constexpr int kIndexInFileMessages =
  1028. 5;
  1029. void Swap(netConfig* other);
  1030. friend void swap(netConfig& a, netConfig& b) {
  1031. a.Swap(&b);
  1032. }
  1033. // implements Message ----------------------------------------------
  1034. inline netConfig* New() const final {
  1035. return CreateMaybeMessage<netConfig>(NULL);
  1036. }
  1037. netConfig* New(::google::protobuf::Arena* arena) const final {
  1038. return CreateMaybeMessage<netConfig>(arena);
  1039. }
  1040. void CopyFrom(const ::google::protobuf::Message& from) final;
  1041. void MergeFrom(const ::google::protobuf::Message& from) final;
  1042. void CopyFrom(const netConfig& from);
  1043. void MergeFrom(const netConfig& from);
  1044. void Clear() final;
  1045. bool IsInitialized() const final;
  1046. size_t ByteSizeLong() const final;
  1047. bool MergePartialFromCodedStream(
  1048. ::google::protobuf::io::CodedInputStream* input) final;
  1049. void SerializeWithCachedSizes(
  1050. ::google::protobuf::io::CodedOutputStream* output) const final;
  1051. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1052. bool deterministic, ::google::protobuf::uint8* target) const final;
  1053. int GetCachedSize() const final { return _cached_size_.Get(); }
  1054. private:
  1055. void SharedCtor();
  1056. void SharedDtor();
  1057. void SetCachedSize(int size) const final;
  1058. void InternalSwap(netConfig* other);
  1059. private:
  1060. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1061. return NULL;
  1062. }
  1063. inline void* MaybeArenaPtr() const {
  1064. return NULL;
  1065. }
  1066. public:
  1067. ::google::protobuf::Metadata GetMetadata() const final;
  1068. // nested types ----------------------------------------------------
  1069. // accessors -------------------------------------------------------
  1070. // optional string ip_address = 1 [default = ""];
  1071. bool has_ip_address() const;
  1072. void clear_ip_address();
  1073. static const int kIpAddressFieldNumber = 1;
  1074. const ::std::string& ip_address() const;
  1075. void set_ip_address(const ::std::string& value);
  1076. #if LANG_CXX11
  1077. void set_ip_address(::std::string&& value);
  1078. #endif
  1079. void set_ip_address(const char* value);
  1080. void set_ip_address(const char* value, size_t size);
  1081. ::std::string* mutable_ip_address();
  1082. ::std::string* release_ip_address();
  1083. void set_allocated_ip_address(::std::string* ip_address);
  1084. // optional int32 port = 2 [default = 8000];
  1085. bool has_port() const;
  1086. void clear_port();
  1087. static const int kPortFieldNumber = 2;
  1088. ::google::protobuf::int32 port() const;
  1089. void set_port(::google::protobuf::int32 value);
  1090. // @@protoc_insertion_point(class_scope:wj.netConfig)
  1091. private:
  1092. void set_has_ip_address();
  1093. void clear_has_ip_address();
  1094. void set_has_port();
  1095. void clear_has_port();
  1096. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1097. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1098. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1099. ::google::protobuf::internal::ArenaStringPtr ip_address_;
  1100. ::google::protobuf::int32 port_;
  1101. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  1102. };
  1103. // -------------------------------------------------------------------
  1104. class Transform2d : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.Transform2d) */ {
  1105. public:
  1106. Transform2d();
  1107. virtual ~Transform2d();
  1108. Transform2d(const Transform2d& from);
  1109. inline Transform2d& operator=(const Transform2d& from) {
  1110. CopyFrom(from);
  1111. return *this;
  1112. }
  1113. #if LANG_CXX11
  1114. Transform2d(Transform2d&& from) noexcept
  1115. : Transform2d() {
  1116. *this = ::std::move(from);
  1117. }
  1118. inline Transform2d& operator=(Transform2d&& from) noexcept {
  1119. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1120. if (this != &from) InternalSwap(&from);
  1121. } else {
  1122. CopyFrom(from);
  1123. }
  1124. return *this;
  1125. }
  1126. #endif
  1127. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1128. return _internal_metadata_.unknown_fields();
  1129. }
  1130. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1131. return _internal_metadata_.mutable_unknown_fields();
  1132. }
  1133. static const ::google::protobuf::Descriptor* descriptor();
  1134. static const Transform2d& default_instance();
  1135. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1136. static inline const Transform2d* internal_default_instance() {
  1137. return reinterpret_cast<const Transform2d*>(
  1138. &_Transform2d_default_instance_);
  1139. }
  1140. static constexpr int kIndexInFileMessages =
  1141. 6;
  1142. void Swap(Transform2d* other);
  1143. friend void swap(Transform2d& a, Transform2d& b) {
  1144. a.Swap(&b);
  1145. }
  1146. // implements Message ----------------------------------------------
  1147. inline Transform2d* New() const final {
  1148. return CreateMaybeMessage<Transform2d>(NULL);
  1149. }
  1150. Transform2d* New(::google::protobuf::Arena* arena) const final {
  1151. return CreateMaybeMessage<Transform2d>(arena);
  1152. }
  1153. void CopyFrom(const ::google::protobuf::Message& from) final;
  1154. void MergeFrom(const ::google::protobuf::Message& from) final;
  1155. void CopyFrom(const Transform2d& from);
  1156. void MergeFrom(const Transform2d& from);
  1157. void Clear() final;
  1158. bool IsInitialized() const final;
  1159. size_t ByteSizeLong() const final;
  1160. bool MergePartialFromCodedStream(
  1161. ::google::protobuf::io::CodedInputStream* input) final;
  1162. void SerializeWithCachedSizes(
  1163. ::google::protobuf::io::CodedOutputStream* output) const final;
  1164. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1165. bool deterministic, ::google::protobuf::uint8* target) const final;
  1166. int GetCachedSize() const final { return _cached_size_.Get(); }
  1167. private:
  1168. void SharedCtor();
  1169. void SharedDtor();
  1170. void SetCachedSize(int size) const final;
  1171. void InternalSwap(Transform2d* other);
  1172. private:
  1173. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1174. return NULL;
  1175. }
  1176. inline void* MaybeArenaPtr() const {
  1177. return NULL;
  1178. }
  1179. public:
  1180. ::google::protobuf::Metadata GetMetadata() const final;
  1181. // nested types ----------------------------------------------------
  1182. // accessors -------------------------------------------------------
  1183. // optional float m01 = 2 [default = 0];
  1184. bool has_m01() const;
  1185. void clear_m01();
  1186. static const int kM01FieldNumber = 2;
  1187. float m01() const;
  1188. void set_m01(float value);
  1189. // optional float m02 = 3 [default = 0];
  1190. bool has_m02() const;
  1191. void clear_m02();
  1192. static const int kM02FieldNumber = 3;
  1193. float m02() const;
  1194. void set_m02(float value);
  1195. // optional float m10 = 4 [default = 0];
  1196. bool has_m10() const;
  1197. void clear_m10();
  1198. static const int kM10FieldNumber = 4;
  1199. float m10() const;
  1200. void set_m10(float value);
  1201. // optional float m12 = 6 [default = 0];
  1202. bool has_m12() const;
  1203. void clear_m12();
  1204. static const int kM12FieldNumber = 6;
  1205. float m12() const;
  1206. void set_m12(float value);
  1207. // optional float m00 = 1 [default = 1];
  1208. bool has_m00() const;
  1209. void clear_m00();
  1210. static const int kM00FieldNumber = 1;
  1211. float m00() const;
  1212. void set_m00(float value);
  1213. // optional float m11 = 5 [default = 1];
  1214. bool has_m11() const;
  1215. void clear_m11();
  1216. static const int kM11FieldNumber = 5;
  1217. float m11() const;
  1218. void set_m11(float value);
  1219. // @@protoc_insertion_point(class_scope:wj.Transform2d)
  1220. private:
  1221. void set_has_m00();
  1222. void clear_has_m00();
  1223. void set_has_m01();
  1224. void clear_has_m01();
  1225. void set_has_m02();
  1226. void clear_has_m02();
  1227. void set_has_m10();
  1228. void clear_has_m10();
  1229. void set_has_m11();
  1230. void clear_has_m11();
  1231. void set_has_m12();
  1232. void clear_has_m12();
  1233. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1234. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1235. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1236. float m01_;
  1237. float m02_;
  1238. float m10_;
  1239. float m12_;
  1240. float m00_;
  1241. float m11_;
  1242. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  1243. };
  1244. // -------------------------------------------------------------------
  1245. class scanLimit : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj.scanLimit) */ {
  1246. public:
  1247. scanLimit();
  1248. virtual ~scanLimit();
  1249. scanLimit(const scanLimit& from);
  1250. inline scanLimit& operator=(const scanLimit& from) {
  1251. CopyFrom(from);
  1252. return *this;
  1253. }
  1254. #if LANG_CXX11
  1255. scanLimit(scanLimit&& from) noexcept
  1256. : scanLimit() {
  1257. *this = ::std::move(from);
  1258. }
  1259. inline scanLimit& operator=(scanLimit&& from) noexcept {
  1260. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1261. if (this != &from) InternalSwap(&from);
  1262. } else {
  1263. CopyFrom(from);
  1264. }
  1265. return *this;
  1266. }
  1267. #endif
  1268. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1269. return _internal_metadata_.unknown_fields();
  1270. }
  1271. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1272. return _internal_metadata_.mutable_unknown_fields();
  1273. }
  1274. static const ::google::protobuf::Descriptor* descriptor();
  1275. static const scanLimit& default_instance();
  1276. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1277. static inline const scanLimit* internal_default_instance() {
  1278. return reinterpret_cast<const scanLimit*>(
  1279. &_scanLimit_default_instance_);
  1280. }
  1281. static constexpr int kIndexInFileMessages =
  1282. 7;
  1283. void Swap(scanLimit* other);
  1284. friend void swap(scanLimit& a, scanLimit& b) {
  1285. a.Swap(&b);
  1286. }
  1287. // implements Message ----------------------------------------------
  1288. inline scanLimit* New() const final {
  1289. return CreateMaybeMessage<scanLimit>(NULL);
  1290. }
  1291. scanLimit* New(::google::protobuf::Arena* arena) const final {
  1292. return CreateMaybeMessage<scanLimit>(arena);
  1293. }
  1294. void CopyFrom(const ::google::protobuf::Message& from) final;
  1295. void MergeFrom(const ::google::protobuf::Message& from) final;
  1296. void CopyFrom(const scanLimit& from);
  1297. void MergeFrom(const scanLimit& from);
  1298. void Clear() final;
  1299. bool IsInitialized() const final;
  1300. size_t ByteSizeLong() const final;
  1301. bool MergePartialFromCodedStream(
  1302. ::google::protobuf::io::CodedInputStream* input) final;
  1303. void SerializeWithCachedSizes(
  1304. ::google::protobuf::io::CodedOutputStream* output) const final;
  1305. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1306. bool deterministic, ::google::protobuf::uint8* target) const final;
  1307. int GetCachedSize() const final { return _cached_size_.Get(); }
  1308. private:
  1309. void SharedCtor();
  1310. void SharedDtor();
  1311. void SetCachedSize(int size) const final;
  1312. void InternalSwap(scanLimit* other);
  1313. private:
  1314. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1315. return NULL;
  1316. }
  1317. inline void* MaybeArenaPtr() const {
  1318. return NULL;
  1319. }
  1320. public:
  1321. ::google::protobuf::Metadata GetMetadata() const final;
  1322. // nested types ----------------------------------------------------
  1323. // accessors -------------------------------------------------------
  1324. // optional float maxy = 5 [default = 3.5];
  1325. bool has_maxy() const;
  1326. void clear_maxy();
  1327. static const int kMaxyFieldNumber = 5;
  1328. float maxy() const;
  1329. void set_maxy(float value);
  1330. // optional float dist_limit = 1 [default = 8];
  1331. bool has_dist_limit() const;
  1332. void clear_dist_limit();
  1333. static const int kDistLimitFieldNumber = 1;
  1334. float dist_limit() const;
  1335. void set_dist_limit(float value);
  1336. // optional float minx = 2 [default = -6];
  1337. bool has_minx() const;
  1338. void clear_minx();
  1339. static const int kMinxFieldNumber = 2;
  1340. float minx() const;
  1341. void set_minx(float value);
  1342. // optional float maxx = 3 [default = -0.2];
  1343. bool has_maxx() const;
  1344. void clear_maxx();
  1345. static const int kMaxxFieldNumber = 3;
  1346. float maxx() const;
  1347. void set_maxx(float value);
  1348. // optional float miny = 4 [default = -3.5];
  1349. bool has_miny() const;
  1350. void clear_miny();
  1351. static const int kMinyFieldNumber = 4;
  1352. float miny() const;
  1353. void set_miny(float value);
  1354. // @@protoc_insertion_point(class_scope:wj.scanLimit)
  1355. private:
  1356. void set_has_dist_limit();
  1357. void clear_has_dist_limit();
  1358. void set_has_minx();
  1359. void clear_has_minx();
  1360. void set_has_maxx();
  1361. void clear_has_maxx();
  1362. void set_has_miny();
  1363. void clear_has_miny();
  1364. void set_has_maxy();
  1365. void clear_has_maxy();
  1366. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1367. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1368. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1369. float maxy_;
  1370. float dist_limit_;
  1371. float minx_;
  1372. float maxx_;
  1373. float miny_;
  1374. friend struct ::protobuf_wj_5flidar_5fconf_2eproto::TableStruct;
  1375. };
  1376. // ===================================================================
  1377. // ===================================================================
  1378. #ifdef __GNUC__
  1379. #pragma GCC diagnostic push
  1380. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1381. #endif // __GNUC__
  1382. // wjManagerParams
  1383. // repeated .wj.wjLidarParams wj_lidar = 1;
  1384. inline int wjManagerParams::wj_lidar_size() const {
  1385. return wj_lidar_.size();
  1386. }
  1387. inline void wjManagerParams::clear_wj_lidar() {
  1388. wj_lidar_.Clear();
  1389. }
  1390. inline ::wj::wjLidarParams* wjManagerParams::mutable_wj_lidar(int index) {
  1391. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.wj_lidar)
  1392. return wj_lidar_.Mutable(index);
  1393. }
  1394. inline ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >*
  1395. wjManagerParams::mutable_wj_lidar() {
  1396. // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.wj_lidar)
  1397. return &wj_lidar_;
  1398. }
  1399. inline const ::wj::wjLidarParams& wjManagerParams::wj_lidar(int index) const {
  1400. // @@protoc_insertion_point(field_get:wj.wjManagerParams.wj_lidar)
  1401. return wj_lidar_.Get(index);
  1402. }
  1403. inline ::wj::wjLidarParams* wjManagerParams::add_wj_lidar() {
  1404. // @@protoc_insertion_point(field_add:wj.wjManagerParams.wj_lidar)
  1405. return wj_lidar_.Add();
  1406. }
  1407. inline const ::google::protobuf::RepeatedPtrField< ::wj::wjLidarParams >&
  1408. wjManagerParams::wj_lidar() const {
  1409. // @@protoc_insertion_point(field_list:wj.wjManagerParams.wj_lidar)
  1410. return wj_lidar_;
  1411. }
  1412. // repeated .wj.Region regions = 2;
  1413. inline int wjManagerParams::regions_size() const {
  1414. return regions_.size();
  1415. }
  1416. inline void wjManagerParams::clear_regions() {
  1417. regions_.Clear();
  1418. }
  1419. inline ::wj::Region* wjManagerParams::mutable_regions(int index) {
  1420. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.regions)
  1421. return regions_.Mutable(index);
  1422. }
  1423. inline ::google::protobuf::RepeatedPtrField< ::wj::Region >*
  1424. wjManagerParams::mutable_regions() {
  1425. // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.regions)
  1426. return &regions_;
  1427. }
  1428. inline const ::wj::Region& wjManagerParams::regions(int index) const {
  1429. // @@protoc_insertion_point(field_get:wj.wjManagerParams.regions)
  1430. return regions_.Get(index);
  1431. }
  1432. inline ::wj::Region* wjManagerParams::add_regions() {
  1433. // @@protoc_insertion_point(field_add:wj.wjManagerParams.regions)
  1434. return regions_.Add();
  1435. }
  1436. inline const ::google::protobuf::RepeatedPtrField< ::wj::Region >&
  1437. wjManagerParams::regions() const {
  1438. // @@protoc_insertion_point(field_list:wj.wjManagerParams.regions)
  1439. return regions_;
  1440. }
  1441. // optional string fence_data_path = 3 [default = ""];
  1442. inline bool wjManagerParams::has_fence_data_path() const {
  1443. return (_has_bits_[0] & 0x00000001u) != 0;
  1444. }
  1445. inline void wjManagerParams::set_has_fence_data_path() {
  1446. _has_bits_[0] |= 0x00000001u;
  1447. }
  1448. inline void wjManagerParams::clear_has_fence_data_path() {
  1449. _has_bits_[0] &= ~0x00000001u;
  1450. }
  1451. inline void wjManagerParams::clear_fence_data_path() {
  1452. fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1453. clear_has_fence_data_path();
  1454. }
  1455. inline const ::std::string& wjManagerParams::fence_data_path() const {
  1456. // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_data_path)
  1457. return fence_data_path_.GetNoArena();
  1458. }
  1459. inline void wjManagerParams::set_fence_data_path(const ::std::string& value) {
  1460. set_has_fence_data_path();
  1461. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1462. // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_data_path)
  1463. }
  1464. #if LANG_CXX11
  1465. inline void wjManagerParams::set_fence_data_path(::std::string&& value) {
  1466. set_has_fence_data_path();
  1467. fence_data_path_.SetNoArena(
  1468. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1469. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_data_path)
  1470. }
  1471. #endif
  1472. inline void wjManagerParams::set_fence_data_path(const char* value) {
  1473. GOOGLE_DCHECK(value != NULL);
  1474. set_has_fence_data_path();
  1475. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1476. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_data_path)
  1477. }
  1478. inline void wjManagerParams::set_fence_data_path(const char* value, size_t size) {
  1479. set_has_fence_data_path();
  1480. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1481. ::std::string(reinterpret_cast<const char*>(value), size));
  1482. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_data_path)
  1483. }
  1484. inline ::std::string* wjManagerParams::mutable_fence_data_path() {
  1485. set_has_fence_data_path();
  1486. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_data_path)
  1487. return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1488. }
  1489. inline ::std::string* wjManagerParams::release_fence_data_path() {
  1490. // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_data_path)
  1491. if (!has_fence_data_path()) {
  1492. return NULL;
  1493. }
  1494. clear_has_fence_data_path();
  1495. return fence_data_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1496. }
  1497. inline void wjManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
  1498. if (fence_data_path != NULL) {
  1499. set_has_fence_data_path();
  1500. } else {
  1501. clear_has_fence_data_path();
  1502. }
  1503. fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
  1504. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_data_path)
  1505. }
  1506. // optional string fence_log_path = 4 [default = ""];
  1507. inline bool wjManagerParams::has_fence_log_path() const {
  1508. return (_has_bits_[0] & 0x00000002u) != 0;
  1509. }
  1510. inline void wjManagerParams::set_has_fence_log_path() {
  1511. _has_bits_[0] |= 0x00000002u;
  1512. }
  1513. inline void wjManagerParams::clear_has_fence_log_path() {
  1514. _has_bits_[0] &= ~0x00000002u;
  1515. }
  1516. inline void wjManagerParams::clear_fence_log_path() {
  1517. fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1518. clear_has_fence_log_path();
  1519. }
  1520. inline const ::std::string& wjManagerParams::fence_log_path() const {
  1521. // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_log_path)
  1522. return fence_log_path_.GetNoArena();
  1523. }
  1524. inline void wjManagerParams::set_fence_log_path(const ::std::string& value) {
  1525. set_has_fence_log_path();
  1526. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1527. // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_log_path)
  1528. }
  1529. #if LANG_CXX11
  1530. inline void wjManagerParams::set_fence_log_path(::std::string&& value) {
  1531. set_has_fence_log_path();
  1532. fence_log_path_.SetNoArena(
  1533. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1534. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_log_path)
  1535. }
  1536. #endif
  1537. inline void wjManagerParams::set_fence_log_path(const char* value) {
  1538. GOOGLE_DCHECK(value != NULL);
  1539. set_has_fence_log_path();
  1540. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1541. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_log_path)
  1542. }
  1543. inline void wjManagerParams::set_fence_log_path(const char* value, size_t size) {
  1544. set_has_fence_log_path();
  1545. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1546. ::std::string(reinterpret_cast<const char*>(value), size));
  1547. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_log_path)
  1548. }
  1549. inline ::std::string* wjManagerParams::mutable_fence_log_path() {
  1550. set_has_fence_log_path();
  1551. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_log_path)
  1552. return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1553. }
  1554. inline ::std::string* wjManagerParams::release_fence_log_path() {
  1555. // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_log_path)
  1556. if (!has_fence_log_path()) {
  1557. return NULL;
  1558. }
  1559. clear_has_fence_log_path();
  1560. return fence_log_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1561. }
  1562. inline void wjManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
  1563. if (fence_log_path != NULL) {
  1564. set_has_fence_log_path();
  1565. } else {
  1566. clear_has_fence_log_path();
  1567. }
  1568. fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
  1569. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_log_path)
  1570. }
  1571. // optional string plc_ip_address = 5 [default = "192.168.0.1"];
  1572. inline bool wjManagerParams::has_plc_ip_address() const {
  1573. return (_has_bits_[0] & 0x00000004u) != 0;
  1574. }
  1575. inline void wjManagerParams::set_has_plc_ip_address() {
  1576. _has_bits_[0] |= 0x00000004u;
  1577. }
  1578. inline void wjManagerParams::clear_has_plc_ip_address() {
  1579. _has_bits_[0] &= ~0x00000004u;
  1580. }
  1581. inline void wjManagerParams::clear_plc_ip_address() {
  1582. plc_ip_address_.ClearToDefaultNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
  1583. clear_has_plc_ip_address();
  1584. }
  1585. inline const ::std::string& wjManagerParams::plc_ip_address() const {
  1586. // @@protoc_insertion_point(field_get:wj.wjManagerParams.plc_ip_address)
  1587. return plc_ip_address_.GetNoArena();
  1588. }
  1589. inline void wjManagerParams::set_plc_ip_address(const ::std::string& value) {
  1590. set_has_plc_ip_address();
  1591. plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), value);
  1592. // @@protoc_insertion_point(field_set:wj.wjManagerParams.plc_ip_address)
  1593. }
  1594. #if LANG_CXX11
  1595. inline void wjManagerParams::set_plc_ip_address(::std::string&& value) {
  1596. set_has_plc_ip_address();
  1597. plc_ip_address_.SetNoArena(
  1598. &::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::move(value));
  1599. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.plc_ip_address)
  1600. }
  1601. #endif
  1602. inline void wjManagerParams::set_plc_ip_address(const char* value) {
  1603. GOOGLE_DCHECK(value != NULL);
  1604. set_has_plc_ip_address();
  1605. plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::string(value));
  1606. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.plc_ip_address)
  1607. }
  1608. inline void wjManagerParams::set_plc_ip_address(const char* value, size_t size) {
  1609. set_has_plc_ip_address();
  1610. plc_ip_address_.SetNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(),
  1611. ::std::string(reinterpret_cast<const char*>(value), size));
  1612. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.plc_ip_address)
  1613. }
  1614. inline ::std::string* wjManagerParams::mutable_plc_ip_address() {
  1615. set_has_plc_ip_address();
  1616. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.plc_ip_address)
  1617. return plc_ip_address_.MutableNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
  1618. }
  1619. inline ::std::string* wjManagerParams::release_plc_ip_address() {
  1620. // @@protoc_insertion_point(field_release:wj.wjManagerParams.plc_ip_address)
  1621. if (!has_plc_ip_address()) {
  1622. return NULL;
  1623. }
  1624. clear_has_plc_ip_address();
  1625. return plc_ip_address_.ReleaseNonDefaultNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
  1626. }
  1627. inline void wjManagerParams::set_allocated_plc_ip_address(::std::string* plc_ip_address) {
  1628. if (plc_ip_address != NULL) {
  1629. set_has_plc_ip_address();
  1630. } else {
  1631. clear_has_plc_ip_address();
  1632. }
  1633. plc_ip_address_.SetAllocatedNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), plc_ip_address);
  1634. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.plc_ip_address)
  1635. }
  1636. // required bool distribution_mode = 6 [default = false];
  1637. inline bool wjManagerParams::has_distribution_mode() const {
  1638. return (_has_bits_[0] & 0x00000008u) != 0;
  1639. }
  1640. inline void wjManagerParams::set_has_distribution_mode() {
  1641. _has_bits_[0] |= 0x00000008u;
  1642. }
  1643. inline void wjManagerParams::clear_has_distribution_mode() {
  1644. _has_bits_[0] &= ~0x00000008u;
  1645. }
  1646. inline void wjManagerParams::clear_distribution_mode() {
  1647. distribution_mode_ = false;
  1648. clear_has_distribution_mode();
  1649. }
  1650. inline bool wjManagerParams::distribution_mode() const {
  1651. // @@protoc_insertion_point(field_get:wj.wjManagerParams.distribution_mode)
  1652. return distribution_mode_;
  1653. }
  1654. inline void wjManagerParams::set_distribution_mode(bool value) {
  1655. set_has_distribution_mode();
  1656. distribution_mode_ = value;
  1657. // @@protoc_insertion_point(field_set:wj.wjManagerParams.distribution_mode)
  1658. }
  1659. // -------------------------------------------------------------------
  1660. // CalibParameter
  1661. // optional float r = 1 [default = 0];
  1662. inline bool CalibParameter::has_r() const {
  1663. return (_has_bits_[0] & 0x00000001u) != 0;
  1664. }
  1665. inline void CalibParameter::set_has_r() {
  1666. _has_bits_[0] |= 0x00000001u;
  1667. }
  1668. inline void CalibParameter::clear_has_r() {
  1669. _has_bits_[0] &= ~0x00000001u;
  1670. }
  1671. inline void CalibParameter::clear_r() {
  1672. r_ = 0;
  1673. clear_has_r();
  1674. }
  1675. inline float CalibParameter::r() const {
  1676. // @@protoc_insertion_point(field_get:wj.CalibParameter.r)
  1677. return r_;
  1678. }
  1679. inline void CalibParameter::set_r(float value) {
  1680. set_has_r();
  1681. r_ = value;
  1682. // @@protoc_insertion_point(field_set:wj.CalibParameter.r)
  1683. }
  1684. // optional float p = 2 [default = 0];
  1685. inline bool CalibParameter::has_p() const {
  1686. return (_has_bits_[0] & 0x00000002u) != 0;
  1687. }
  1688. inline void CalibParameter::set_has_p() {
  1689. _has_bits_[0] |= 0x00000002u;
  1690. }
  1691. inline void CalibParameter::clear_has_p() {
  1692. _has_bits_[0] &= ~0x00000002u;
  1693. }
  1694. inline void CalibParameter::clear_p() {
  1695. p_ = 0;
  1696. clear_has_p();
  1697. }
  1698. inline float CalibParameter::p() const {
  1699. // @@protoc_insertion_point(field_get:wj.CalibParameter.p)
  1700. return p_;
  1701. }
  1702. inline void CalibParameter::set_p(float value) {
  1703. set_has_p();
  1704. p_ = value;
  1705. // @@protoc_insertion_point(field_set:wj.CalibParameter.p)
  1706. }
  1707. // optional float y = 3 [default = 0];
  1708. inline bool CalibParameter::has_y() const {
  1709. return (_has_bits_[0] & 0x00000004u) != 0;
  1710. }
  1711. inline void CalibParameter::set_has_y() {
  1712. _has_bits_[0] |= 0x00000004u;
  1713. }
  1714. inline void CalibParameter::clear_has_y() {
  1715. _has_bits_[0] &= ~0x00000004u;
  1716. }
  1717. inline void CalibParameter::clear_y() {
  1718. y_ = 0;
  1719. clear_has_y();
  1720. }
  1721. inline float CalibParameter::y() const {
  1722. // @@protoc_insertion_point(field_get:wj.CalibParameter.y)
  1723. return y_;
  1724. }
  1725. inline void CalibParameter::set_y(float value) {
  1726. set_has_y();
  1727. y_ = value;
  1728. // @@protoc_insertion_point(field_set:wj.CalibParameter.y)
  1729. }
  1730. // optional float cx = 4 [default = 0];
  1731. inline bool CalibParameter::has_cx() const {
  1732. return (_has_bits_[0] & 0x00000008u) != 0;
  1733. }
  1734. inline void CalibParameter::set_has_cx() {
  1735. _has_bits_[0] |= 0x00000008u;
  1736. }
  1737. inline void CalibParameter::clear_has_cx() {
  1738. _has_bits_[0] &= ~0x00000008u;
  1739. }
  1740. inline void CalibParameter::clear_cx() {
  1741. cx_ = 0;
  1742. clear_has_cx();
  1743. }
  1744. inline float CalibParameter::cx() const {
  1745. // @@protoc_insertion_point(field_get:wj.CalibParameter.cx)
  1746. return cx_;
  1747. }
  1748. inline void CalibParameter::set_cx(float value) {
  1749. set_has_cx();
  1750. cx_ = value;
  1751. // @@protoc_insertion_point(field_set:wj.CalibParameter.cx)
  1752. }
  1753. // optional float cy = 5 [default = 0];
  1754. inline bool CalibParameter::has_cy() const {
  1755. return (_has_bits_[0] & 0x00000010u) != 0;
  1756. }
  1757. inline void CalibParameter::set_has_cy() {
  1758. _has_bits_[0] |= 0x00000010u;
  1759. }
  1760. inline void CalibParameter::clear_has_cy() {
  1761. _has_bits_[0] &= ~0x00000010u;
  1762. }
  1763. inline void CalibParameter::clear_cy() {
  1764. cy_ = 0;
  1765. clear_has_cy();
  1766. }
  1767. inline float CalibParameter::cy() const {
  1768. // @@protoc_insertion_point(field_get:wj.CalibParameter.cy)
  1769. return cy_;
  1770. }
  1771. inline void CalibParameter::set_cy(float value) {
  1772. set_has_cy();
  1773. cy_ = value;
  1774. // @@protoc_insertion_point(field_set:wj.CalibParameter.cy)
  1775. }
  1776. // optional float cz = 6 [default = 0];
  1777. inline bool CalibParameter::has_cz() const {
  1778. return (_has_bits_[0] & 0x00000020u) != 0;
  1779. }
  1780. inline void CalibParameter::set_has_cz() {
  1781. _has_bits_[0] |= 0x00000020u;
  1782. }
  1783. inline void CalibParameter::clear_has_cz() {
  1784. _has_bits_[0] &= ~0x00000020u;
  1785. }
  1786. inline void CalibParameter::clear_cz() {
  1787. cz_ = 0;
  1788. clear_has_cz();
  1789. }
  1790. inline float CalibParameter::cz() const {
  1791. // @@protoc_insertion_point(field_get:wj.CalibParameter.cz)
  1792. return cz_;
  1793. }
  1794. inline void CalibParameter::set_cz(float value) {
  1795. set_has_cz();
  1796. cz_ = value;
  1797. // @@protoc_insertion_point(field_set:wj.CalibParameter.cz)
  1798. }
  1799. // -------------------------------------------------------------------
  1800. // lidarExtrinsic
  1801. // required int32 lidar_id = 1;
  1802. inline bool lidarExtrinsic::has_lidar_id() const {
  1803. return (_has_bits_[0] & 0x00000002u) != 0;
  1804. }
  1805. inline void lidarExtrinsic::set_has_lidar_id() {
  1806. _has_bits_[0] |= 0x00000002u;
  1807. }
  1808. inline void lidarExtrinsic::clear_has_lidar_id() {
  1809. _has_bits_[0] &= ~0x00000002u;
  1810. }
  1811. inline void lidarExtrinsic::clear_lidar_id() {
  1812. lidar_id_ = 0;
  1813. clear_has_lidar_id();
  1814. }
  1815. inline ::google::protobuf::int32 lidarExtrinsic::lidar_id() const {
  1816. // @@protoc_insertion_point(field_get:wj.lidarExtrinsic.lidar_id)
  1817. return lidar_id_;
  1818. }
  1819. inline void lidarExtrinsic::set_lidar_id(::google::protobuf::int32 value) {
  1820. set_has_lidar_id();
  1821. lidar_id_ = value;
  1822. // @@protoc_insertion_point(field_set:wj.lidarExtrinsic.lidar_id)
  1823. }
  1824. // optional .wj.CalibParameter calib = 2;
  1825. inline bool lidarExtrinsic::has_calib() const {
  1826. return (_has_bits_[0] & 0x00000001u) != 0;
  1827. }
  1828. inline void lidarExtrinsic::set_has_calib() {
  1829. _has_bits_[0] |= 0x00000001u;
  1830. }
  1831. inline void lidarExtrinsic::clear_has_calib() {
  1832. _has_bits_[0] &= ~0x00000001u;
  1833. }
  1834. inline void lidarExtrinsic::clear_calib() {
  1835. if (calib_ != NULL) calib_->Clear();
  1836. clear_has_calib();
  1837. }
  1838. inline const ::wj::CalibParameter& lidarExtrinsic::_internal_calib() const {
  1839. return *calib_;
  1840. }
  1841. inline const ::wj::CalibParameter& lidarExtrinsic::calib() const {
  1842. const ::wj::CalibParameter* p = calib_;
  1843. // @@protoc_insertion_point(field_get:wj.lidarExtrinsic.calib)
  1844. return p != NULL ? *p : *reinterpret_cast<const ::wj::CalibParameter*>(
  1845. &::wj::_CalibParameter_default_instance_);
  1846. }
  1847. inline ::wj::CalibParameter* lidarExtrinsic::release_calib() {
  1848. // @@protoc_insertion_point(field_release:wj.lidarExtrinsic.calib)
  1849. clear_has_calib();
  1850. ::wj::CalibParameter* temp = calib_;
  1851. calib_ = NULL;
  1852. return temp;
  1853. }
  1854. inline ::wj::CalibParameter* lidarExtrinsic::mutable_calib() {
  1855. set_has_calib();
  1856. if (calib_ == NULL) {
  1857. auto* p = CreateMaybeMessage<::wj::CalibParameter>(GetArenaNoVirtual());
  1858. calib_ = p;
  1859. }
  1860. // @@protoc_insertion_point(field_mutable:wj.lidarExtrinsic.calib)
  1861. return calib_;
  1862. }
  1863. inline void lidarExtrinsic::set_allocated_calib(::wj::CalibParameter* calib) {
  1864. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1865. if (message_arena == NULL) {
  1866. delete calib_;
  1867. }
  1868. if (calib) {
  1869. ::google::protobuf::Arena* submessage_arena = NULL;
  1870. if (message_arena != submessage_arena) {
  1871. calib = ::google::protobuf::internal::GetOwnedMessage(
  1872. message_arena, calib, submessage_arena);
  1873. }
  1874. set_has_calib();
  1875. } else {
  1876. clear_has_calib();
  1877. }
  1878. calib_ = calib;
  1879. // @@protoc_insertion_point(field_set_allocated:wj.lidarExtrinsic.calib)
  1880. }
  1881. // -------------------------------------------------------------------
  1882. // Region
  1883. // required float minx = 1;
  1884. inline bool Region::has_minx() const {
  1885. return (_has_bits_[0] & 0x00000001u) != 0;
  1886. }
  1887. inline void Region::set_has_minx() {
  1888. _has_bits_[0] |= 0x00000001u;
  1889. }
  1890. inline void Region::clear_has_minx() {
  1891. _has_bits_[0] &= ~0x00000001u;
  1892. }
  1893. inline void Region::clear_minx() {
  1894. minx_ = 0;
  1895. clear_has_minx();
  1896. }
  1897. inline float Region::minx() const {
  1898. // @@protoc_insertion_point(field_get:wj.Region.minx)
  1899. return minx_;
  1900. }
  1901. inline void Region::set_minx(float value) {
  1902. set_has_minx();
  1903. minx_ = value;
  1904. // @@protoc_insertion_point(field_set:wj.Region.minx)
  1905. }
  1906. // required float maxx = 2;
  1907. inline bool Region::has_maxx() const {
  1908. return (_has_bits_[0] & 0x00000002u) != 0;
  1909. }
  1910. inline void Region::set_has_maxx() {
  1911. _has_bits_[0] |= 0x00000002u;
  1912. }
  1913. inline void Region::clear_has_maxx() {
  1914. _has_bits_[0] &= ~0x00000002u;
  1915. }
  1916. inline void Region::clear_maxx() {
  1917. maxx_ = 0;
  1918. clear_has_maxx();
  1919. }
  1920. inline float Region::maxx() const {
  1921. // @@protoc_insertion_point(field_get:wj.Region.maxx)
  1922. return maxx_;
  1923. }
  1924. inline void Region::set_maxx(float value) {
  1925. set_has_maxx();
  1926. maxx_ = value;
  1927. // @@protoc_insertion_point(field_set:wj.Region.maxx)
  1928. }
  1929. // required float miny = 3;
  1930. inline bool Region::has_miny() const {
  1931. return (_has_bits_[0] & 0x00000004u) != 0;
  1932. }
  1933. inline void Region::set_has_miny() {
  1934. _has_bits_[0] |= 0x00000004u;
  1935. }
  1936. inline void Region::clear_has_miny() {
  1937. _has_bits_[0] &= ~0x00000004u;
  1938. }
  1939. inline void Region::clear_miny() {
  1940. miny_ = 0;
  1941. clear_has_miny();
  1942. }
  1943. inline float Region::miny() const {
  1944. // @@protoc_insertion_point(field_get:wj.Region.miny)
  1945. return miny_;
  1946. }
  1947. inline void Region::set_miny(float value) {
  1948. set_has_miny();
  1949. miny_ = value;
  1950. // @@protoc_insertion_point(field_set:wj.Region.miny)
  1951. }
  1952. // required float maxy = 4;
  1953. inline bool Region::has_maxy() const {
  1954. return (_has_bits_[0] & 0x00000008u) != 0;
  1955. }
  1956. inline void Region::set_has_maxy() {
  1957. _has_bits_[0] |= 0x00000008u;
  1958. }
  1959. inline void Region::clear_has_maxy() {
  1960. _has_bits_[0] &= ~0x00000008u;
  1961. }
  1962. inline void Region::clear_maxy() {
  1963. maxy_ = 0;
  1964. clear_has_maxy();
  1965. }
  1966. inline float Region::maxy() const {
  1967. // @@protoc_insertion_point(field_get:wj.Region.maxy)
  1968. return maxy_;
  1969. }
  1970. inline void Region::set_maxy(float value) {
  1971. set_has_maxy();
  1972. maxy_ = value;
  1973. // @@protoc_insertion_point(field_set:wj.Region.maxy)
  1974. }
  1975. // required float minz = 5;
  1976. inline bool Region::has_minz() const {
  1977. return (_has_bits_[0] & 0x00000010u) != 0;
  1978. }
  1979. inline void Region::set_has_minz() {
  1980. _has_bits_[0] |= 0x00000010u;
  1981. }
  1982. inline void Region::clear_has_minz() {
  1983. _has_bits_[0] &= ~0x00000010u;
  1984. }
  1985. inline void Region::clear_minz() {
  1986. minz_ = 0;
  1987. clear_has_minz();
  1988. }
  1989. inline float Region::minz() const {
  1990. // @@protoc_insertion_point(field_get:wj.Region.minz)
  1991. return minz_;
  1992. }
  1993. inline void Region::set_minz(float value) {
  1994. set_has_minz();
  1995. minz_ = value;
  1996. // @@protoc_insertion_point(field_set:wj.Region.minz)
  1997. }
  1998. // required float maxz = 6;
  1999. inline bool Region::has_maxz() const {
  2000. return (_has_bits_[0] & 0x00000020u) != 0;
  2001. }
  2002. inline void Region::set_has_maxz() {
  2003. _has_bits_[0] |= 0x00000020u;
  2004. }
  2005. inline void Region::clear_has_maxz() {
  2006. _has_bits_[0] &= ~0x00000020u;
  2007. }
  2008. inline void Region::clear_maxz() {
  2009. maxz_ = 0;
  2010. clear_has_maxz();
  2011. }
  2012. inline float Region::maxz() const {
  2013. // @@protoc_insertion_point(field_get:wj.Region.maxz)
  2014. return maxz_;
  2015. }
  2016. inline void Region::set_maxz(float value) {
  2017. set_has_maxz();
  2018. maxz_ = value;
  2019. // @@protoc_insertion_point(field_set:wj.Region.maxz)
  2020. }
  2021. // required int32 region_id = 7;
  2022. inline bool Region::has_region_id() const {
  2023. return (_has_bits_[0] & 0x00000040u) != 0;
  2024. }
  2025. inline void Region::set_has_region_id() {
  2026. _has_bits_[0] |= 0x00000040u;
  2027. }
  2028. inline void Region::clear_has_region_id() {
  2029. _has_bits_[0] &= ~0x00000040u;
  2030. }
  2031. inline void Region::clear_region_id() {
  2032. region_id_ = 0;
  2033. clear_has_region_id();
  2034. }
  2035. inline ::google::protobuf::int32 Region::region_id() const {
  2036. // @@protoc_insertion_point(field_get:wj.Region.region_id)
  2037. return region_id_;
  2038. }
  2039. inline void Region::set_region_id(::google::protobuf::int32 value) {
  2040. set_has_region_id();
  2041. region_id_ = value;
  2042. // @@protoc_insertion_point(field_set:wj.Region.region_id)
  2043. }
  2044. // repeated .wj.lidarExtrinsic lidar_exts = 8;
  2045. inline int Region::lidar_exts_size() const {
  2046. return lidar_exts_.size();
  2047. }
  2048. inline void Region::clear_lidar_exts() {
  2049. lidar_exts_.Clear();
  2050. }
  2051. inline ::wj::lidarExtrinsic* Region::mutable_lidar_exts(int index) {
  2052. // @@protoc_insertion_point(field_mutable:wj.Region.lidar_exts)
  2053. return lidar_exts_.Mutable(index);
  2054. }
  2055. inline ::google::protobuf::RepeatedPtrField< ::wj::lidarExtrinsic >*
  2056. Region::mutable_lidar_exts() {
  2057. // @@protoc_insertion_point(field_mutable_list:wj.Region.lidar_exts)
  2058. return &lidar_exts_;
  2059. }
  2060. inline const ::wj::lidarExtrinsic& Region::lidar_exts(int index) const {
  2061. // @@protoc_insertion_point(field_get:wj.Region.lidar_exts)
  2062. return lidar_exts_.Get(index);
  2063. }
  2064. inline ::wj::lidarExtrinsic* Region::add_lidar_exts() {
  2065. // @@protoc_insertion_point(field_add:wj.Region.lidar_exts)
  2066. return lidar_exts_.Add();
  2067. }
  2068. inline const ::google::protobuf::RepeatedPtrField< ::wj::lidarExtrinsic >&
  2069. Region::lidar_exts() const {
  2070. // @@protoc_insertion_point(field_list:wj.Region.lidar_exts)
  2071. return lidar_exts_;
  2072. }
  2073. // required float turnplate_cx = 9;
  2074. inline bool Region::has_turnplate_cx() const {
  2075. return (_has_bits_[0] & 0x00000080u) != 0;
  2076. }
  2077. inline void Region::set_has_turnplate_cx() {
  2078. _has_bits_[0] |= 0x00000080u;
  2079. }
  2080. inline void Region::clear_has_turnplate_cx() {
  2081. _has_bits_[0] &= ~0x00000080u;
  2082. }
  2083. inline void Region::clear_turnplate_cx() {
  2084. turnplate_cx_ = 0;
  2085. clear_has_turnplate_cx();
  2086. }
  2087. inline float Region::turnplate_cx() const {
  2088. // @@protoc_insertion_point(field_get:wj.Region.turnplate_cx)
  2089. return turnplate_cx_;
  2090. }
  2091. inline void Region::set_turnplate_cx(float value) {
  2092. set_has_turnplate_cx();
  2093. turnplate_cx_ = value;
  2094. // @@protoc_insertion_point(field_set:wj.Region.turnplate_cx)
  2095. }
  2096. // required float turnplate_cy = 10;
  2097. inline bool Region::has_turnplate_cy() const {
  2098. return (_has_bits_[0] & 0x00000100u) != 0;
  2099. }
  2100. inline void Region::set_has_turnplate_cy() {
  2101. _has_bits_[0] |= 0x00000100u;
  2102. }
  2103. inline void Region::clear_has_turnplate_cy() {
  2104. _has_bits_[0] &= ~0x00000100u;
  2105. }
  2106. inline void Region::clear_turnplate_cy() {
  2107. turnplate_cy_ = 0;
  2108. clear_has_turnplate_cy();
  2109. }
  2110. inline float Region::turnplate_cy() const {
  2111. // @@protoc_insertion_point(field_get:wj.Region.turnplate_cy)
  2112. return turnplate_cy_;
  2113. }
  2114. inline void Region::set_turnplate_cy(float value) {
  2115. set_has_turnplate_cy();
  2116. turnplate_cy_ = value;
  2117. // @@protoc_insertion_point(field_set:wj.Region.turnplate_cy)
  2118. }
  2119. // required float border_minx = 11;
  2120. inline bool Region::has_border_minx() const {
  2121. return (_has_bits_[0] & 0x00000200u) != 0;
  2122. }
  2123. inline void Region::set_has_border_minx() {
  2124. _has_bits_[0] |= 0x00000200u;
  2125. }
  2126. inline void Region::clear_has_border_minx() {
  2127. _has_bits_[0] &= ~0x00000200u;
  2128. }
  2129. inline void Region::clear_border_minx() {
  2130. border_minx_ = 0;
  2131. clear_has_border_minx();
  2132. }
  2133. inline float Region::border_minx() const {
  2134. // @@protoc_insertion_point(field_get:wj.Region.border_minx)
  2135. return border_minx_;
  2136. }
  2137. inline void Region::set_border_minx(float value) {
  2138. set_has_border_minx();
  2139. border_minx_ = value;
  2140. // @@protoc_insertion_point(field_set:wj.Region.border_minx)
  2141. }
  2142. // required float border_maxx = 12;
  2143. inline bool Region::has_border_maxx() const {
  2144. return (_has_bits_[0] & 0x00000400u) != 0;
  2145. }
  2146. inline void Region::set_has_border_maxx() {
  2147. _has_bits_[0] |= 0x00000400u;
  2148. }
  2149. inline void Region::clear_has_border_maxx() {
  2150. _has_bits_[0] &= ~0x00000400u;
  2151. }
  2152. inline void Region::clear_border_maxx() {
  2153. border_maxx_ = 0;
  2154. clear_has_border_maxx();
  2155. }
  2156. inline float Region::border_maxx() const {
  2157. // @@protoc_insertion_point(field_get:wj.Region.border_maxx)
  2158. return border_maxx_;
  2159. }
  2160. inline void Region::set_border_maxx(float value) {
  2161. set_has_border_maxx();
  2162. border_maxx_ = value;
  2163. // @@protoc_insertion_point(field_set:wj.Region.border_maxx)
  2164. }
  2165. // required float plc_offsetx = 13;
  2166. inline bool Region::has_plc_offsetx() const {
  2167. return (_has_bits_[0] & 0x00000800u) != 0;
  2168. }
  2169. inline void Region::set_has_plc_offsetx() {
  2170. _has_bits_[0] |= 0x00000800u;
  2171. }
  2172. inline void Region::clear_has_plc_offsetx() {
  2173. _has_bits_[0] &= ~0x00000800u;
  2174. }
  2175. inline void Region::clear_plc_offsetx() {
  2176. plc_offsetx_ = 0;
  2177. clear_has_plc_offsetx();
  2178. }
  2179. inline float Region::plc_offsetx() const {
  2180. // @@protoc_insertion_point(field_get:wj.Region.plc_offsetx)
  2181. return plc_offsetx_;
  2182. }
  2183. inline void Region::set_plc_offsetx(float value) {
  2184. set_has_plc_offsetx();
  2185. plc_offsetx_ = value;
  2186. // @@protoc_insertion_point(field_set:wj.Region.plc_offsetx)
  2187. }
  2188. // required float plc_offsety = 14;
  2189. inline bool Region::has_plc_offsety() const {
  2190. return (_has_bits_[0] & 0x00001000u) != 0;
  2191. }
  2192. inline void Region::set_has_plc_offsety() {
  2193. _has_bits_[0] |= 0x00001000u;
  2194. }
  2195. inline void Region::clear_has_plc_offsety() {
  2196. _has_bits_[0] &= ~0x00001000u;
  2197. }
  2198. inline void Region::clear_plc_offsety() {
  2199. plc_offsety_ = 0;
  2200. clear_has_plc_offsety();
  2201. }
  2202. inline float Region::plc_offsety() const {
  2203. // @@protoc_insertion_point(field_get:wj.Region.plc_offsety)
  2204. return plc_offsety_;
  2205. }
  2206. inline void Region::set_plc_offsety(float value) {
  2207. set_has_plc_offsety();
  2208. plc_offsety_ = value;
  2209. // @@protoc_insertion_point(field_set:wj.Region.plc_offsety)
  2210. }
  2211. // required float plc_offset_degree = 15;
  2212. inline bool Region::has_plc_offset_degree() const {
  2213. return (_has_bits_[0] & 0x00002000u) != 0;
  2214. }
  2215. inline void Region::set_has_plc_offset_degree() {
  2216. _has_bits_[0] |= 0x00002000u;
  2217. }
  2218. inline void Region::clear_has_plc_offset_degree() {
  2219. _has_bits_[0] &= ~0x00002000u;
  2220. }
  2221. inline void Region::clear_plc_offset_degree() {
  2222. plc_offset_degree_ = 0;
  2223. clear_has_plc_offset_degree();
  2224. }
  2225. inline float Region::plc_offset_degree() const {
  2226. // @@protoc_insertion_point(field_get:wj.Region.plc_offset_degree)
  2227. return plc_offset_degree_;
  2228. }
  2229. inline void Region::set_plc_offset_degree(float value) {
  2230. set_has_plc_offset_degree();
  2231. plc_offset_degree_ = value;
  2232. // @@protoc_insertion_point(field_set:wj.Region.plc_offset_degree)
  2233. }
  2234. // required float plc_border_miny = 16;
  2235. inline bool Region::has_plc_border_miny() const {
  2236. return (_has_bits_[0] & 0x00004000u) != 0;
  2237. }
  2238. inline void Region::set_has_plc_border_miny() {
  2239. _has_bits_[0] |= 0x00004000u;
  2240. }
  2241. inline void Region::clear_has_plc_border_miny() {
  2242. _has_bits_[0] &= ~0x00004000u;
  2243. }
  2244. inline void Region::clear_plc_border_miny() {
  2245. plc_border_miny_ = 0;
  2246. clear_has_plc_border_miny();
  2247. }
  2248. inline float Region::plc_border_miny() const {
  2249. // @@protoc_insertion_point(field_get:wj.Region.plc_border_miny)
  2250. return plc_border_miny_;
  2251. }
  2252. inline void Region::set_plc_border_miny(float value) {
  2253. set_has_plc_border_miny();
  2254. plc_border_miny_ = value;
  2255. // @@protoc_insertion_point(field_set:wj.Region.plc_border_miny)
  2256. }
  2257. // required float car_min_width = 17;
  2258. inline bool Region::has_car_min_width() const {
  2259. return (_has_bits_[0] & 0x00008000u) != 0;
  2260. }
  2261. inline void Region::set_has_car_min_width() {
  2262. _has_bits_[0] |= 0x00008000u;
  2263. }
  2264. inline void Region::clear_has_car_min_width() {
  2265. _has_bits_[0] &= ~0x00008000u;
  2266. }
  2267. inline void Region::clear_car_min_width() {
  2268. car_min_width_ = 0;
  2269. clear_has_car_min_width();
  2270. }
  2271. inline float Region::car_min_width() const {
  2272. // @@protoc_insertion_point(field_get:wj.Region.car_min_width)
  2273. return car_min_width_;
  2274. }
  2275. inline void Region::set_car_min_width(float value) {
  2276. set_has_car_min_width();
  2277. car_min_width_ = value;
  2278. // @@protoc_insertion_point(field_set:wj.Region.car_min_width)
  2279. }
  2280. // required float car_max_width = 18;
  2281. inline bool Region::has_car_max_width() const {
  2282. return (_has_bits_[0] & 0x00010000u) != 0;
  2283. }
  2284. inline void Region::set_has_car_max_width() {
  2285. _has_bits_[0] |= 0x00010000u;
  2286. }
  2287. inline void Region::clear_has_car_max_width() {
  2288. _has_bits_[0] &= ~0x00010000u;
  2289. }
  2290. inline void Region::clear_car_max_width() {
  2291. car_max_width_ = 0;
  2292. clear_has_car_max_width();
  2293. }
  2294. inline float Region::car_max_width() const {
  2295. // @@protoc_insertion_point(field_get:wj.Region.car_max_width)
  2296. return car_max_width_;
  2297. }
  2298. inline void Region::set_car_max_width(float value) {
  2299. set_has_car_max_width();
  2300. car_max_width_ = value;
  2301. // @@protoc_insertion_point(field_set:wj.Region.car_max_width)
  2302. }
  2303. // required float car_min_wheelbase = 19;
  2304. inline bool Region::has_car_min_wheelbase() const {
  2305. return (_has_bits_[0] & 0x00020000u) != 0;
  2306. }
  2307. inline void Region::set_has_car_min_wheelbase() {
  2308. _has_bits_[0] |= 0x00020000u;
  2309. }
  2310. inline void Region::clear_has_car_min_wheelbase() {
  2311. _has_bits_[0] &= ~0x00020000u;
  2312. }
  2313. inline void Region::clear_car_min_wheelbase() {
  2314. car_min_wheelbase_ = 0;
  2315. clear_has_car_min_wheelbase();
  2316. }
  2317. inline float Region::car_min_wheelbase() const {
  2318. // @@protoc_insertion_point(field_get:wj.Region.car_min_wheelbase)
  2319. return car_min_wheelbase_;
  2320. }
  2321. inline void Region::set_car_min_wheelbase(float value) {
  2322. set_has_car_min_wheelbase();
  2323. car_min_wheelbase_ = value;
  2324. // @@protoc_insertion_point(field_set:wj.Region.car_min_wheelbase)
  2325. }
  2326. // required float car_max_wheelbase = 20;
  2327. inline bool Region::has_car_max_wheelbase() const {
  2328. return (_has_bits_[0] & 0x00040000u) != 0;
  2329. }
  2330. inline void Region::set_has_car_max_wheelbase() {
  2331. _has_bits_[0] |= 0x00040000u;
  2332. }
  2333. inline void Region::clear_has_car_max_wheelbase() {
  2334. _has_bits_[0] &= ~0x00040000u;
  2335. }
  2336. inline void Region::clear_car_max_wheelbase() {
  2337. car_max_wheelbase_ = 0;
  2338. clear_has_car_max_wheelbase();
  2339. }
  2340. inline float Region::car_max_wheelbase() const {
  2341. // @@protoc_insertion_point(field_get:wj.Region.car_max_wheelbase)
  2342. return car_max_wheelbase_;
  2343. }
  2344. inline void Region::set_car_max_wheelbase(float value) {
  2345. set_has_car_max_wheelbase();
  2346. car_max_wheelbase_ = value;
  2347. // @@protoc_insertion_point(field_set:wj.Region.car_max_wheelbase)
  2348. }
  2349. // required float turnplate_angle_limit_anti_clockwise = 21;
  2350. inline bool Region::has_turnplate_angle_limit_anti_clockwise() const {
  2351. return (_has_bits_[0] & 0x00080000u) != 0;
  2352. }
  2353. inline void Region::set_has_turnplate_angle_limit_anti_clockwise() {
  2354. _has_bits_[0] |= 0x00080000u;
  2355. }
  2356. inline void Region::clear_has_turnplate_angle_limit_anti_clockwise() {
  2357. _has_bits_[0] &= ~0x00080000u;
  2358. }
  2359. inline void Region::clear_turnplate_angle_limit_anti_clockwise() {
  2360. turnplate_angle_limit_anti_clockwise_ = 0;
  2361. clear_has_turnplate_angle_limit_anti_clockwise();
  2362. }
  2363. inline float Region::turnplate_angle_limit_anti_clockwise() const {
  2364. // @@protoc_insertion_point(field_get:wj.Region.turnplate_angle_limit_anti_clockwise)
  2365. return turnplate_angle_limit_anti_clockwise_;
  2366. }
  2367. inline void Region::set_turnplate_angle_limit_anti_clockwise(float value) {
  2368. set_has_turnplate_angle_limit_anti_clockwise();
  2369. turnplate_angle_limit_anti_clockwise_ = value;
  2370. // @@protoc_insertion_point(field_set:wj.Region.turnplate_angle_limit_anti_clockwise)
  2371. }
  2372. // required float turnplate_angle_limit_clockwise = 22;
  2373. inline bool Region::has_turnplate_angle_limit_clockwise() const {
  2374. return (_has_bits_[0] & 0x00100000u) != 0;
  2375. }
  2376. inline void Region::set_has_turnplate_angle_limit_clockwise() {
  2377. _has_bits_[0] |= 0x00100000u;
  2378. }
  2379. inline void Region::clear_has_turnplate_angle_limit_clockwise() {
  2380. _has_bits_[0] &= ~0x00100000u;
  2381. }
  2382. inline void Region::clear_turnplate_angle_limit_clockwise() {
  2383. turnplate_angle_limit_clockwise_ = 0;
  2384. clear_has_turnplate_angle_limit_clockwise();
  2385. }
  2386. inline float Region::turnplate_angle_limit_clockwise() const {
  2387. // @@protoc_insertion_point(field_get:wj.Region.turnplate_angle_limit_clockwise)
  2388. return turnplate_angle_limit_clockwise_;
  2389. }
  2390. inline void Region::set_turnplate_angle_limit_clockwise(float value) {
  2391. set_has_turnplate_angle_limit_clockwise();
  2392. turnplate_angle_limit_clockwise_ = value;
  2393. // @@protoc_insertion_point(field_set:wj.Region.turnplate_angle_limit_clockwise)
  2394. }
  2395. // -------------------------------------------------------------------
  2396. // wjLidarParams
  2397. // optional float angle_min = 1 [default = -2.3561945];
  2398. inline bool wjLidarParams::has_angle_min() const {
  2399. return (_has_bits_[0] & 0x00000040u) != 0;
  2400. }
  2401. inline void wjLidarParams::set_has_angle_min() {
  2402. _has_bits_[0] |= 0x00000040u;
  2403. }
  2404. inline void wjLidarParams::clear_has_angle_min() {
  2405. _has_bits_[0] &= ~0x00000040u;
  2406. }
  2407. inline void wjLidarParams::clear_angle_min() {
  2408. angle_min_ = -2.3561945f;
  2409. clear_has_angle_min();
  2410. }
  2411. inline float wjLidarParams::angle_min() const {
  2412. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_min)
  2413. return angle_min_;
  2414. }
  2415. inline void wjLidarParams::set_angle_min(float value) {
  2416. set_has_angle_min();
  2417. angle_min_ = value;
  2418. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_min)
  2419. }
  2420. // optional float angle_max = 2 [default = 2.3561945];
  2421. inline bool wjLidarParams::has_angle_max() const {
  2422. return (_has_bits_[0] & 0x00000080u) != 0;
  2423. }
  2424. inline void wjLidarParams::set_has_angle_max() {
  2425. _has_bits_[0] |= 0x00000080u;
  2426. }
  2427. inline void wjLidarParams::clear_has_angle_max() {
  2428. _has_bits_[0] &= ~0x00000080u;
  2429. }
  2430. inline void wjLidarParams::clear_angle_max() {
  2431. angle_max_ = 2.3561945f;
  2432. clear_has_angle_max();
  2433. }
  2434. inline float wjLidarParams::angle_max() const {
  2435. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_max)
  2436. return angle_max_;
  2437. }
  2438. inline void wjLidarParams::set_angle_max(float value) {
  2439. set_has_angle_max();
  2440. angle_max_ = value;
  2441. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_max)
  2442. }
  2443. // optional float angle_increment = 3 [default = 0.00582];
  2444. inline bool wjLidarParams::has_angle_increment() const {
  2445. return (_has_bits_[0] & 0x00000100u) != 0;
  2446. }
  2447. inline void wjLidarParams::set_has_angle_increment() {
  2448. _has_bits_[0] |= 0x00000100u;
  2449. }
  2450. inline void wjLidarParams::clear_has_angle_increment() {
  2451. _has_bits_[0] &= ~0x00000100u;
  2452. }
  2453. inline void wjLidarParams::clear_angle_increment() {
  2454. angle_increment_ = 0.00582f;
  2455. clear_has_angle_increment();
  2456. }
  2457. inline float wjLidarParams::angle_increment() const {
  2458. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_increment)
  2459. return angle_increment_;
  2460. }
  2461. inline void wjLidarParams::set_angle_increment(float value) {
  2462. set_has_angle_increment();
  2463. angle_increment_ = value;
  2464. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_increment)
  2465. }
  2466. // optional float time_increment = 4 [default = 6.2e-05];
  2467. inline bool wjLidarParams::has_time_increment() const {
  2468. return (_has_bits_[0] & 0x00000200u) != 0;
  2469. }
  2470. inline void wjLidarParams::set_has_time_increment() {
  2471. _has_bits_[0] |= 0x00000200u;
  2472. }
  2473. inline void wjLidarParams::clear_has_time_increment() {
  2474. _has_bits_[0] &= ~0x00000200u;
  2475. }
  2476. inline void wjLidarParams::clear_time_increment() {
  2477. time_increment_ = 6.2e-05f;
  2478. clear_has_time_increment();
  2479. }
  2480. inline float wjLidarParams::time_increment() const {
  2481. // @@protoc_insertion_point(field_get:wj.wjLidarParams.time_increment)
  2482. return time_increment_;
  2483. }
  2484. inline void wjLidarParams::set_time_increment(float value) {
  2485. set_has_time_increment();
  2486. time_increment_ = value;
  2487. // @@protoc_insertion_point(field_set:wj.wjLidarParams.time_increment)
  2488. }
  2489. // optional int32 range_min = 5 [default = 0];
  2490. inline bool wjLidarParams::has_range_min() const {
  2491. return (_has_bits_[0] & 0x00000008u) != 0;
  2492. }
  2493. inline void wjLidarParams::set_has_range_min() {
  2494. _has_bits_[0] |= 0x00000008u;
  2495. }
  2496. inline void wjLidarParams::clear_has_range_min() {
  2497. _has_bits_[0] &= ~0x00000008u;
  2498. }
  2499. inline void wjLidarParams::clear_range_min() {
  2500. range_min_ = 0;
  2501. clear_has_range_min();
  2502. }
  2503. inline ::google::protobuf::int32 wjLidarParams::range_min() const {
  2504. // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_min)
  2505. return range_min_;
  2506. }
  2507. inline void wjLidarParams::set_range_min(::google::protobuf::int32 value) {
  2508. set_has_range_min();
  2509. range_min_ = value;
  2510. // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_min)
  2511. }
  2512. // optional int32 range_max = 6 [default = 30];
  2513. inline bool wjLidarParams::has_range_max() const {
  2514. return (_has_bits_[0] & 0x00000020u) != 0;
  2515. }
  2516. inline void wjLidarParams::set_has_range_max() {
  2517. _has_bits_[0] |= 0x00000020u;
  2518. }
  2519. inline void wjLidarParams::clear_has_range_max() {
  2520. _has_bits_[0] &= ~0x00000020u;
  2521. }
  2522. inline void wjLidarParams::clear_range_max() {
  2523. range_max_ = 30;
  2524. clear_has_range_max();
  2525. }
  2526. inline ::google::protobuf::int32 wjLidarParams::range_max() const {
  2527. // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_max)
  2528. return range_max_;
  2529. }
  2530. inline void wjLidarParams::set_range_max(::google::protobuf::int32 value) {
  2531. set_has_range_max();
  2532. range_max_ = value;
  2533. // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_max)
  2534. }
  2535. // required .wj.netConfig net_config = 7;
  2536. inline bool wjLidarParams::has_net_config() const {
  2537. return (_has_bits_[0] & 0x00000001u) != 0;
  2538. }
  2539. inline void wjLidarParams::set_has_net_config() {
  2540. _has_bits_[0] |= 0x00000001u;
  2541. }
  2542. inline void wjLidarParams::clear_has_net_config() {
  2543. _has_bits_[0] &= ~0x00000001u;
  2544. }
  2545. inline void wjLidarParams::clear_net_config() {
  2546. if (net_config_ != NULL) net_config_->Clear();
  2547. clear_has_net_config();
  2548. }
  2549. inline const ::wj::netConfig& wjLidarParams::_internal_net_config() const {
  2550. return *net_config_;
  2551. }
  2552. inline const ::wj::netConfig& wjLidarParams::net_config() const {
  2553. const ::wj::netConfig* p = net_config_;
  2554. // @@protoc_insertion_point(field_get:wj.wjLidarParams.net_config)
  2555. return p != NULL ? *p : *reinterpret_cast<const ::wj::netConfig*>(
  2556. &::wj::_netConfig_default_instance_);
  2557. }
  2558. inline ::wj::netConfig* wjLidarParams::release_net_config() {
  2559. // @@protoc_insertion_point(field_release:wj.wjLidarParams.net_config)
  2560. clear_has_net_config();
  2561. ::wj::netConfig* temp = net_config_;
  2562. net_config_ = NULL;
  2563. return temp;
  2564. }
  2565. inline ::wj::netConfig* wjLidarParams::mutable_net_config() {
  2566. set_has_net_config();
  2567. if (net_config_ == NULL) {
  2568. auto* p = CreateMaybeMessage<::wj::netConfig>(GetArenaNoVirtual());
  2569. net_config_ = p;
  2570. }
  2571. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.net_config)
  2572. return net_config_;
  2573. }
  2574. inline void wjLidarParams::set_allocated_net_config(::wj::netConfig* net_config) {
  2575. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2576. if (message_arena == NULL) {
  2577. delete net_config_;
  2578. }
  2579. if (net_config) {
  2580. ::google::protobuf::Arena* submessage_arena = NULL;
  2581. if (message_arena != submessage_arena) {
  2582. net_config = ::google::protobuf::internal::GetOwnedMessage(
  2583. message_arena, net_config, submessage_arena);
  2584. }
  2585. set_has_net_config();
  2586. } else {
  2587. clear_has_net_config();
  2588. }
  2589. net_config_ = net_config;
  2590. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.net_config)
  2591. }
  2592. // required .wj.Transform2d transform = 8;
  2593. inline bool wjLidarParams::has_transform() const {
  2594. return (_has_bits_[0] & 0x00000002u) != 0;
  2595. }
  2596. inline void wjLidarParams::set_has_transform() {
  2597. _has_bits_[0] |= 0x00000002u;
  2598. }
  2599. inline void wjLidarParams::clear_has_transform() {
  2600. _has_bits_[0] &= ~0x00000002u;
  2601. }
  2602. inline void wjLidarParams::clear_transform() {
  2603. if (transform_ != NULL) transform_->Clear();
  2604. clear_has_transform();
  2605. }
  2606. inline const ::wj::Transform2d& wjLidarParams::_internal_transform() const {
  2607. return *transform_;
  2608. }
  2609. inline const ::wj::Transform2d& wjLidarParams::transform() const {
  2610. const ::wj::Transform2d* p = transform_;
  2611. // @@protoc_insertion_point(field_get:wj.wjLidarParams.transform)
  2612. return p != NULL ? *p : *reinterpret_cast<const ::wj::Transform2d*>(
  2613. &::wj::_Transform2d_default_instance_);
  2614. }
  2615. inline ::wj::Transform2d* wjLidarParams::release_transform() {
  2616. // @@protoc_insertion_point(field_release:wj.wjLidarParams.transform)
  2617. clear_has_transform();
  2618. ::wj::Transform2d* temp = transform_;
  2619. transform_ = NULL;
  2620. return temp;
  2621. }
  2622. inline ::wj::Transform2d* wjLidarParams::mutable_transform() {
  2623. set_has_transform();
  2624. if (transform_ == NULL) {
  2625. auto* p = CreateMaybeMessage<::wj::Transform2d>(GetArenaNoVirtual());
  2626. transform_ = p;
  2627. }
  2628. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.transform)
  2629. return transform_;
  2630. }
  2631. inline void wjLidarParams::set_allocated_transform(::wj::Transform2d* transform) {
  2632. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2633. if (message_arena == NULL) {
  2634. delete transform_;
  2635. }
  2636. if (transform) {
  2637. ::google::protobuf::Arena* submessage_arena = NULL;
  2638. if (message_arena != submessage_arena) {
  2639. transform = ::google::protobuf::internal::GetOwnedMessage(
  2640. message_arena, transform, submessage_arena);
  2641. }
  2642. set_has_transform();
  2643. } else {
  2644. clear_has_transform();
  2645. }
  2646. transform_ = transform;
  2647. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.transform)
  2648. }
  2649. // required .wj.scanLimit scan_limit = 9;
  2650. inline bool wjLidarParams::has_scan_limit() const {
  2651. return (_has_bits_[0] & 0x00000004u) != 0;
  2652. }
  2653. inline void wjLidarParams::set_has_scan_limit() {
  2654. _has_bits_[0] |= 0x00000004u;
  2655. }
  2656. inline void wjLidarParams::clear_has_scan_limit() {
  2657. _has_bits_[0] &= ~0x00000004u;
  2658. }
  2659. inline void wjLidarParams::clear_scan_limit() {
  2660. if (scan_limit_ != NULL) scan_limit_->Clear();
  2661. clear_has_scan_limit();
  2662. }
  2663. inline const ::wj::scanLimit& wjLidarParams::_internal_scan_limit() const {
  2664. return *scan_limit_;
  2665. }
  2666. inline const ::wj::scanLimit& wjLidarParams::scan_limit() const {
  2667. const ::wj::scanLimit* p = scan_limit_;
  2668. // @@protoc_insertion_point(field_get:wj.wjLidarParams.scan_limit)
  2669. return p != NULL ? *p : *reinterpret_cast<const ::wj::scanLimit*>(
  2670. &::wj::_scanLimit_default_instance_);
  2671. }
  2672. inline ::wj::scanLimit* wjLidarParams::release_scan_limit() {
  2673. // @@protoc_insertion_point(field_release:wj.wjLidarParams.scan_limit)
  2674. clear_has_scan_limit();
  2675. ::wj::scanLimit* temp = scan_limit_;
  2676. scan_limit_ = NULL;
  2677. return temp;
  2678. }
  2679. inline ::wj::scanLimit* wjLidarParams::mutable_scan_limit() {
  2680. set_has_scan_limit();
  2681. if (scan_limit_ == NULL) {
  2682. auto* p = CreateMaybeMessage<::wj::scanLimit>(GetArenaNoVirtual());
  2683. scan_limit_ = p;
  2684. }
  2685. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.scan_limit)
  2686. return scan_limit_;
  2687. }
  2688. inline void wjLidarParams::set_allocated_scan_limit(::wj::scanLimit* scan_limit) {
  2689. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2690. if (message_arena == NULL) {
  2691. delete scan_limit_;
  2692. }
  2693. if (scan_limit) {
  2694. ::google::protobuf::Arena* submessage_arena = NULL;
  2695. if (message_arena != submessage_arena) {
  2696. scan_limit = ::google::protobuf::internal::GetOwnedMessage(
  2697. message_arena, scan_limit, submessage_arena);
  2698. }
  2699. set_has_scan_limit();
  2700. } else {
  2701. clear_has_scan_limit();
  2702. }
  2703. scan_limit_ = scan_limit;
  2704. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.scan_limit)
  2705. }
  2706. // required int32 lidar_id = 10 [default = 0];
  2707. inline bool wjLidarParams::has_lidar_id() const {
  2708. return (_has_bits_[0] & 0x00000010u) != 0;
  2709. }
  2710. inline void wjLidarParams::set_has_lidar_id() {
  2711. _has_bits_[0] |= 0x00000010u;
  2712. }
  2713. inline void wjLidarParams::clear_has_lidar_id() {
  2714. _has_bits_[0] &= ~0x00000010u;
  2715. }
  2716. inline void wjLidarParams::clear_lidar_id() {
  2717. lidar_id_ = 0;
  2718. clear_has_lidar_id();
  2719. }
  2720. inline ::google::protobuf::int32 wjLidarParams::lidar_id() const {
  2721. // @@protoc_insertion_point(field_get:wj.wjLidarParams.lidar_id)
  2722. return lidar_id_;
  2723. }
  2724. inline void wjLidarParams::set_lidar_id(::google::protobuf::int32 value) {
  2725. set_has_lidar_id();
  2726. lidar_id_ = value;
  2727. // @@protoc_insertion_point(field_set:wj.wjLidarParams.lidar_id)
  2728. }
  2729. // -------------------------------------------------------------------
  2730. // netConfig
  2731. // optional string ip_address = 1 [default = ""];
  2732. inline bool netConfig::has_ip_address() const {
  2733. return (_has_bits_[0] & 0x00000001u) != 0;
  2734. }
  2735. inline void netConfig::set_has_ip_address() {
  2736. _has_bits_[0] |= 0x00000001u;
  2737. }
  2738. inline void netConfig::clear_has_ip_address() {
  2739. _has_bits_[0] &= ~0x00000001u;
  2740. }
  2741. inline void netConfig::clear_ip_address() {
  2742. ip_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2743. clear_has_ip_address();
  2744. }
  2745. inline const ::std::string& netConfig::ip_address() const {
  2746. // @@protoc_insertion_point(field_get:wj.netConfig.ip_address)
  2747. return ip_address_.GetNoArena();
  2748. }
  2749. inline void netConfig::set_ip_address(const ::std::string& value) {
  2750. set_has_ip_address();
  2751. ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2752. // @@protoc_insertion_point(field_set:wj.netConfig.ip_address)
  2753. }
  2754. #if LANG_CXX11
  2755. inline void netConfig::set_ip_address(::std::string&& value) {
  2756. set_has_ip_address();
  2757. ip_address_.SetNoArena(
  2758. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2759. // @@protoc_insertion_point(field_set_rvalue:wj.netConfig.ip_address)
  2760. }
  2761. #endif
  2762. inline void netConfig::set_ip_address(const char* value) {
  2763. GOOGLE_DCHECK(value != NULL);
  2764. set_has_ip_address();
  2765. ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2766. // @@protoc_insertion_point(field_set_char:wj.netConfig.ip_address)
  2767. }
  2768. inline void netConfig::set_ip_address(const char* value, size_t size) {
  2769. set_has_ip_address();
  2770. ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2771. ::std::string(reinterpret_cast<const char*>(value), size));
  2772. // @@protoc_insertion_point(field_set_pointer:wj.netConfig.ip_address)
  2773. }
  2774. inline ::std::string* netConfig::mutable_ip_address() {
  2775. set_has_ip_address();
  2776. // @@protoc_insertion_point(field_mutable:wj.netConfig.ip_address)
  2777. return ip_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2778. }
  2779. inline ::std::string* netConfig::release_ip_address() {
  2780. // @@protoc_insertion_point(field_release:wj.netConfig.ip_address)
  2781. if (!has_ip_address()) {
  2782. return NULL;
  2783. }
  2784. clear_has_ip_address();
  2785. return ip_address_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2786. }
  2787. inline void netConfig::set_allocated_ip_address(::std::string* ip_address) {
  2788. if (ip_address != NULL) {
  2789. set_has_ip_address();
  2790. } else {
  2791. clear_has_ip_address();
  2792. }
  2793. ip_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip_address);
  2794. // @@protoc_insertion_point(field_set_allocated:wj.netConfig.ip_address)
  2795. }
  2796. // optional int32 port = 2 [default = 8000];
  2797. inline bool netConfig::has_port() const {
  2798. return (_has_bits_[0] & 0x00000002u) != 0;
  2799. }
  2800. inline void netConfig::set_has_port() {
  2801. _has_bits_[0] |= 0x00000002u;
  2802. }
  2803. inline void netConfig::clear_has_port() {
  2804. _has_bits_[0] &= ~0x00000002u;
  2805. }
  2806. inline void netConfig::clear_port() {
  2807. port_ = 8000;
  2808. clear_has_port();
  2809. }
  2810. inline ::google::protobuf::int32 netConfig::port() const {
  2811. // @@protoc_insertion_point(field_get:wj.netConfig.port)
  2812. return port_;
  2813. }
  2814. inline void netConfig::set_port(::google::protobuf::int32 value) {
  2815. set_has_port();
  2816. port_ = value;
  2817. // @@protoc_insertion_point(field_set:wj.netConfig.port)
  2818. }
  2819. // -------------------------------------------------------------------
  2820. // Transform2d
  2821. // optional float m00 = 1 [default = 1];
  2822. inline bool Transform2d::has_m00() const {
  2823. return (_has_bits_[0] & 0x00000010u) != 0;
  2824. }
  2825. inline void Transform2d::set_has_m00() {
  2826. _has_bits_[0] |= 0x00000010u;
  2827. }
  2828. inline void Transform2d::clear_has_m00() {
  2829. _has_bits_[0] &= ~0x00000010u;
  2830. }
  2831. inline void Transform2d::clear_m00() {
  2832. m00_ = 1;
  2833. clear_has_m00();
  2834. }
  2835. inline float Transform2d::m00() const {
  2836. // @@protoc_insertion_point(field_get:wj.Transform2d.m00)
  2837. return m00_;
  2838. }
  2839. inline void Transform2d::set_m00(float value) {
  2840. set_has_m00();
  2841. m00_ = value;
  2842. // @@protoc_insertion_point(field_set:wj.Transform2d.m00)
  2843. }
  2844. // optional float m01 = 2 [default = 0];
  2845. inline bool Transform2d::has_m01() const {
  2846. return (_has_bits_[0] & 0x00000001u) != 0;
  2847. }
  2848. inline void Transform2d::set_has_m01() {
  2849. _has_bits_[0] |= 0x00000001u;
  2850. }
  2851. inline void Transform2d::clear_has_m01() {
  2852. _has_bits_[0] &= ~0x00000001u;
  2853. }
  2854. inline void Transform2d::clear_m01() {
  2855. m01_ = 0;
  2856. clear_has_m01();
  2857. }
  2858. inline float Transform2d::m01() const {
  2859. // @@protoc_insertion_point(field_get:wj.Transform2d.m01)
  2860. return m01_;
  2861. }
  2862. inline void Transform2d::set_m01(float value) {
  2863. set_has_m01();
  2864. m01_ = value;
  2865. // @@protoc_insertion_point(field_set:wj.Transform2d.m01)
  2866. }
  2867. // optional float m02 = 3 [default = 0];
  2868. inline bool Transform2d::has_m02() const {
  2869. return (_has_bits_[0] & 0x00000002u) != 0;
  2870. }
  2871. inline void Transform2d::set_has_m02() {
  2872. _has_bits_[0] |= 0x00000002u;
  2873. }
  2874. inline void Transform2d::clear_has_m02() {
  2875. _has_bits_[0] &= ~0x00000002u;
  2876. }
  2877. inline void Transform2d::clear_m02() {
  2878. m02_ = 0;
  2879. clear_has_m02();
  2880. }
  2881. inline float Transform2d::m02() const {
  2882. // @@protoc_insertion_point(field_get:wj.Transform2d.m02)
  2883. return m02_;
  2884. }
  2885. inline void Transform2d::set_m02(float value) {
  2886. set_has_m02();
  2887. m02_ = value;
  2888. // @@protoc_insertion_point(field_set:wj.Transform2d.m02)
  2889. }
  2890. // optional float m10 = 4 [default = 0];
  2891. inline bool Transform2d::has_m10() const {
  2892. return (_has_bits_[0] & 0x00000004u) != 0;
  2893. }
  2894. inline void Transform2d::set_has_m10() {
  2895. _has_bits_[0] |= 0x00000004u;
  2896. }
  2897. inline void Transform2d::clear_has_m10() {
  2898. _has_bits_[0] &= ~0x00000004u;
  2899. }
  2900. inline void Transform2d::clear_m10() {
  2901. m10_ = 0;
  2902. clear_has_m10();
  2903. }
  2904. inline float Transform2d::m10() const {
  2905. // @@protoc_insertion_point(field_get:wj.Transform2d.m10)
  2906. return m10_;
  2907. }
  2908. inline void Transform2d::set_m10(float value) {
  2909. set_has_m10();
  2910. m10_ = value;
  2911. // @@protoc_insertion_point(field_set:wj.Transform2d.m10)
  2912. }
  2913. // optional float m11 = 5 [default = 1];
  2914. inline bool Transform2d::has_m11() const {
  2915. return (_has_bits_[0] & 0x00000020u) != 0;
  2916. }
  2917. inline void Transform2d::set_has_m11() {
  2918. _has_bits_[0] |= 0x00000020u;
  2919. }
  2920. inline void Transform2d::clear_has_m11() {
  2921. _has_bits_[0] &= ~0x00000020u;
  2922. }
  2923. inline void Transform2d::clear_m11() {
  2924. m11_ = 1;
  2925. clear_has_m11();
  2926. }
  2927. inline float Transform2d::m11() const {
  2928. // @@protoc_insertion_point(field_get:wj.Transform2d.m11)
  2929. return m11_;
  2930. }
  2931. inline void Transform2d::set_m11(float value) {
  2932. set_has_m11();
  2933. m11_ = value;
  2934. // @@protoc_insertion_point(field_set:wj.Transform2d.m11)
  2935. }
  2936. // optional float m12 = 6 [default = 0];
  2937. inline bool Transform2d::has_m12() const {
  2938. return (_has_bits_[0] & 0x00000008u) != 0;
  2939. }
  2940. inline void Transform2d::set_has_m12() {
  2941. _has_bits_[0] |= 0x00000008u;
  2942. }
  2943. inline void Transform2d::clear_has_m12() {
  2944. _has_bits_[0] &= ~0x00000008u;
  2945. }
  2946. inline void Transform2d::clear_m12() {
  2947. m12_ = 0;
  2948. clear_has_m12();
  2949. }
  2950. inline float Transform2d::m12() const {
  2951. // @@protoc_insertion_point(field_get:wj.Transform2d.m12)
  2952. return m12_;
  2953. }
  2954. inline void Transform2d::set_m12(float value) {
  2955. set_has_m12();
  2956. m12_ = value;
  2957. // @@protoc_insertion_point(field_set:wj.Transform2d.m12)
  2958. }
  2959. // -------------------------------------------------------------------
  2960. // scanLimit
  2961. // optional float dist_limit = 1 [default = 8];
  2962. inline bool scanLimit::has_dist_limit() const {
  2963. return (_has_bits_[0] & 0x00000002u) != 0;
  2964. }
  2965. inline void scanLimit::set_has_dist_limit() {
  2966. _has_bits_[0] |= 0x00000002u;
  2967. }
  2968. inline void scanLimit::clear_has_dist_limit() {
  2969. _has_bits_[0] &= ~0x00000002u;
  2970. }
  2971. inline void scanLimit::clear_dist_limit() {
  2972. dist_limit_ = 8;
  2973. clear_has_dist_limit();
  2974. }
  2975. inline float scanLimit::dist_limit() const {
  2976. // @@protoc_insertion_point(field_get:wj.scanLimit.dist_limit)
  2977. return dist_limit_;
  2978. }
  2979. inline void scanLimit::set_dist_limit(float value) {
  2980. set_has_dist_limit();
  2981. dist_limit_ = value;
  2982. // @@protoc_insertion_point(field_set:wj.scanLimit.dist_limit)
  2983. }
  2984. // optional float minx = 2 [default = -6];
  2985. inline bool scanLimit::has_minx() const {
  2986. return (_has_bits_[0] & 0x00000004u) != 0;
  2987. }
  2988. inline void scanLimit::set_has_minx() {
  2989. _has_bits_[0] |= 0x00000004u;
  2990. }
  2991. inline void scanLimit::clear_has_minx() {
  2992. _has_bits_[0] &= ~0x00000004u;
  2993. }
  2994. inline void scanLimit::clear_minx() {
  2995. minx_ = -6;
  2996. clear_has_minx();
  2997. }
  2998. inline float scanLimit::minx() const {
  2999. // @@protoc_insertion_point(field_get:wj.scanLimit.minx)
  3000. return minx_;
  3001. }
  3002. inline void scanLimit::set_minx(float value) {
  3003. set_has_minx();
  3004. minx_ = value;
  3005. // @@protoc_insertion_point(field_set:wj.scanLimit.minx)
  3006. }
  3007. // optional float maxx = 3 [default = -0.2];
  3008. inline bool scanLimit::has_maxx() const {
  3009. return (_has_bits_[0] & 0x00000008u) != 0;
  3010. }
  3011. inline void scanLimit::set_has_maxx() {
  3012. _has_bits_[0] |= 0x00000008u;
  3013. }
  3014. inline void scanLimit::clear_has_maxx() {
  3015. _has_bits_[0] &= ~0x00000008u;
  3016. }
  3017. inline void scanLimit::clear_maxx() {
  3018. maxx_ = -0.2f;
  3019. clear_has_maxx();
  3020. }
  3021. inline float scanLimit::maxx() const {
  3022. // @@protoc_insertion_point(field_get:wj.scanLimit.maxx)
  3023. return maxx_;
  3024. }
  3025. inline void scanLimit::set_maxx(float value) {
  3026. set_has_maxx();
  3027. maxx_ = value;
  3028. // @@protoc_insertion_point(field_set:wj.scanLimit.maxx)
  3029. }
  3030. // optional float miny = 4 [default = -3.5];
  3031. inline bool scanLimit::has_miny() const {
  3032. return (_has_bits_[0] & 0x00000010u) != 0;
  3033. }
  3034. inline void scanLimit::set_has_miny() {
  3035. _has_bits_[0] |= 0x00000010u;
  3036. }
  3037. inline void scanLimit::clear_has_miny() {
  3038. _has_bits_[0] &= ~0x00000010u;
  3039. }
  3040. inline void scanLimit::clear_miny() {
  3041. miny_ = -3.5f;
  3042. clear_has_miny();
  3043. }
  3044. inline float scanLimit::miny() const {
  3045. // @@protoc_insertion_point(field_get:wj.scanLimit.miny)
  3046. return miny_;
  3047. }
  3048. inline void scanLimit::set_miny(float value) {
  3049. set_has_miny();
  3050. miny_ = value;
  3051. // @@protoc_insertion_point(field_set:wj.scanLimit.miny)
  3052. }
  3053. // optional float maxy = 5 [default = 3.5];
  3054. inline bool scanLimit::has_maxy() const {
  3055. return (_has_bits_[0] & 0x00000001u) != 0;
  3056. }
  3057. inline void scanLimit::set_has_maxy() {
  3058. _has_bits_[0] |= 0x00000001u;
  3059. }
  3060. inline void scanLimit::clear_has_maxy() {
  3061. _has_bits_[0] &= ~0x00000001u;
  3062. }
  3063. inline void scanLimit::clear_maxy() {
  3064. maxy_ = 3.5f;
  3065. clear_has_maxy();
  3066. }
  3067. inline float scanLimit::maxy() const {
  3068. // @@protoc_insertion_point(field_get:wj.scanLimit.maxy)
  3069. return maxy_;
  3070. }
  3071. inline void scanLimit::set_maxy(float value) {
  3072. set_has_maxy();
  3073. maxy_ = value;
  3074. // @@protoc_insertion_point(field_set:wj.scanLimit.maxy)
  3075. }
  3076. #ifdef __GNUC__
  3077. #pragma GCC diagnostic pop
  3078. #endif // __GNUC__
  3079. // -------------------------------------------------------------------
  3080. // -------------------------------------------------------------------
  3081. // -------------------------------------------------------------------
  3082. // -------------------------------------------------------------------
  3083. // -------------------------------------------------------------------
  3084. // -------------------------------------------------------------------
  3085. // -------------------------------------------------------------------
  3086. // @@protoc_insertion_point(namespace_scope)
  3087. } // namespace wj
  3088. // @@protoc_insertion_point(global_scope)
  3089. #endif // PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto