velodyne_config.pb.h 96 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: velodyne_config.proto
  3. #ifndef PROTOBUF_INCLUDED_velodyne_5fconfig_2eproto
  4. #define PROTOBUF_INCLUDED_velodyne_5fconfig_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_velodyne_5fconfig_2eproto
  30. namespace protobuf_velodyne_5fconfig_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[5];
  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_velodyne_5fconfig_2eproto
  42. namespace velodyne {
  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 lidarExtrinsic;
  50. class lidarExtrinsicDefaultTypeInternal;
  51. extern lidarExtrinsicDefaultTypeInternal _lidarExtrinsic_default_instance_;
  52. class velodyneLidarParams;
  53. class velodyneLidarParamsDefaultTypeInternal;
  54. extern velodyneLidarParamsDefaultTypeInternal _velodyneLidarParams_default_instance_;
  55. class velodyneManagerParams;
  56. class velodyneManagerParamsDefaultTypeInternal;
  57. extern velodyneManagerParamsDefaultTypeInternal _velodyneManagerParams_default_instance_;
  58. } // namespace velodyne
  59. namespace google {
  60. namespace protobuf {
  61. template<> ::velodyne::CalibParameter* Arena::CreateMaybeMessage<::velodyne::CalibParameter>(Arena*);
  62. template<> ::velodyne::Region* Arena::CreateMaybeMessage<::velodyne::Region>(Arena*);
  63. template<> ::velodyne::lidarExtrinsic* Arena::CreateMaybeMessage<::velodyne::lidarExtrinsic>(Arena*);
  64. template<> ::velodyne::velodyneLidarParams* Arena::CreateMaybeMessage<::velodyne::velodyneLidarParams>(Arena*);
  65. template<> ::velodyne::velodyneManagerParams* Arena::CreateMaybeMessage<::velodyne::velodyneManagerParams>(Arena*);
  66. } // namespace protobuf
  67. } // namespace google
  68. namespace velodyne {
  69. // ===================================================================
  70. class velodyneManagerParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneManagerParams) */ {
  71. public:
  72. velodyneManagerParams();
  73. virtual ~velodyneManagerParams();
  74. velodyneManagerParams(const velodyneManagerParams& from);
  75. inline velodyneManagerParams& operator=(const velodyneManagerParams& from) {
  76. CopyFrom(from);
  77. return *this;
  78. }
  79. #if LANG_CXX11
  80. velodyneManagerParams(velodyneManagerParams&& from) noexcept
  81. : velodyneManagerParams() {
  82. *this = ::std::move(from);
  83. }
  84. inline velodyneManagerParams& operator=(velodyneManagerParams&& from) noexcept {
  85. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  86. if (this != &from) InternalSwap(&from);
  87. } else {
  88. CopyFrom(from);
  89. }
  90. return *this;
  91. }
  92. #endif
  93. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  94. return _internal_metadata_.unknown_fields();
  95. }
  96. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  97. return _internal_metadata_.mutable_unknown_fields();
  98. }
  99. static const ::google::protobuf::Descriptor* descriptor();
  100. static const velodyneManagerParams& default_instance();
  101. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  102. static inline const velodyneManagerParams* internal_default_instance() {
  103. return reinterpret_cast<const velodyneManagerParams*>(
  104. &_velodyneManagerParams_default_instance_);
  105. }
  106. static constexpr int kIndexInFileMessages =
  107. 0;
  108. void Swap(velodyneManagerParams* other);
  109. friend void swap(velodyneManagerParams& a, velodyneManagerParams& b) {
  110. a.Swap(&b);
  111. }
  112. // implements Message ----------------------------------------------
  113. inline velodyneManagerParams* New() const final {
  114. return CreateMaybeMessage<velodyneManagerParams>(NULL);
  115. }
  116. velodyneManagerParams* New(::google::protobuf::Arena* arena) const final {
  117. return CreateMaybeMessage<velodyneManagerParams>(arena);
  118. }
  119. void CopyFrom(const ::google::protobuf::Message& from) final;
  120. void MergeFrom(const ::google::protobuf::Message& from) final;
  121. void CopyFrom(const velodyneManagerParams& from);
  122. void MergeFrom(const velodyneManagerParams& from);
  123. void Clear() final;
  124. bool IsInitialized() const final;
  125. size_t ByteSizeLong() const final;
  126. bool MergePartialFromCodedStream(
  127. ::google::protobuf::io::CodedInputStream* input) final;
  128. void SerializeWithCachedSizes(
  129. ::google::protobuf::io::CodedOutputStream* output) const final;
  130. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  131. bool deterministic, ::google::protobuf::uint8* target) const final;
  132. int GetCachedSize() const final { return _cached_size_.Get(); }
  133. private:
  134. void SharedCtor();
  135. void SharedDtor();
  136. void SetCachedSize(int size) const final;
  137. void InternalSwap(velodyneManagerParams* other);
  138. private:
  139. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  140. return NULL;
  141. }
  142. inline void* MaybeArenaPtr() const {
  143. return NULL;
  144. }
  145. public:
  146. ::google::protobuf::Metadata GetMetadata() const final;
  147. // nested types ----------------------------------------------------
  148. // accessors -------------------------------------------------------
  149. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  150. int velodyne_lidars_size() const;
  151. void clear_velodyne_lidars();
  152. static const int kVelodyneLidarsFieldNumber = 1;
  153. ::velodyne::velodyneLidarParams* mutable_velodyne_lidars(int index);
  154. ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  155. mutable_velodyne_lidars();
  156. const ::velodyne::velodyneLidarParams& velodyne_lidars(int index) const;
  157. ::velodyne::velodyneLidarParams* add_velodyne_lidars();
  158. const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  159. velodyne_lidars() const;
  160. // repeated .velodyne.Region region = 2;
  161. int region_size() const;
  162. void clear_region();
  163. static const int kRegionFieldNumber = 2;
  164. ::velodyne::Region* mutable_region(int index);
  165. ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  166. mutable_region();
  167. const ::velodyne::Region& region(int index) const;
  168. ::velodyne::Region* add_region();
  169. const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  170. region() const;
  171. // optional string fence_data_path = 3 [default = ""];
  172. bool has_fence_data_path() const;
  173. void clear_fence_data_path();
  174. static const int kFenceDataPathFieldNumber = 3;
  175. const ::std::string& fence_data_path() const;
  176. void set_fence_data_path(const ::std::string& value);
  177. #if LANG_CXX11
  178. void set_fence_data_path(::std::string&& value);
  179. #endif
  180. void set_fence_data_path(const char* value);
  181. void set_fence_data_path(const char* value, size_t size);
  182. ::std::string* mutable_fence_data_path();
  183. ::std::string* release_fence_data_path();
  184. void set_allocated_fence_data_path(::std::string* fence_data_path);
  185. // optional string fence_log_path = 4 [default = ""];
  186. bool has_fence_log_path() const;
  187. void clear_fence_log_path();
  188. static const int kFenceLogPathFieldNumber = 4;
  189. const ::std::string& fence_log_path() const;
  190. void set_fence_log_path(const ::std::string& value);
  191. #if LANG_CXX11
  192. void set_fence_log_path(::std::string&& value);
  193. #endif
  194. void set_fence_log_path(const char* value);
  195. void set_fence_log_path(const char* value, size_t size);
  196. ::std::string* mutable_fence_log_path();
  197. ::std::string* release_fence_log_path();
  198. void set_allocated_fence_log_path(::std::string* fence_log_path);
  199. // optional string left_model_path = 5 [default = ""];
  200. bool has_left_model_path() const;
  201. void clear_left_model_path();
  202. static const int kLeftModelPathFieldNumber = 5;
  203. const ::std::string& left_model_path() const;
  204. void set_left_model_path(const ::std::string& value);
  205. #if LANG_CXX11
  206. void set_left_model_path(::std::string&& value);
  207. #endif
  208. void set_left_model_path(const char* value);
  209. void set_left_model_path(const char* value, size_t size);
  210. ::std::string* mutable_left_model_path();
  211. ::std::string* release_left_model_path();
  212. void set_allocated_left_model_path(::std::string* left_model_path);
  213. // optional string right_model_path = 6 [default = ""];
  214. bool has_right_model_path() const;
  215. void clear_right_model_path();
  216. static const int kRightModelPathFieldNumber = 6;
  217. const ::std::string& right_model_path() const;
  218. void set_right_model_path(const ::std::string& value);
  219. #if LANG_CXX11
  220. void set_right_model_path(::std::string&& value);
  221. #endif
  222. void set_right_model_path(const char* value);
  223. void set_right_model_path(const char* value, size_t size);
  224. ::std::string* mutable_right_model_path();
  225. ::std::string* release_right_model_path();
  226. void set_allocated_right_model_path(::std::string* right_model_path);
  227. // required bool distribution_mode = 7 [default = false];
  228. bool has_distribution_mode() const;
  229. void clear_distribution_mode();
  230. static const int kDistributionModeFieldNumber = 7;
  231. bool distribution_mode() const;
  232. void set_distribution_mode(bool value);
  233. // @@protoc_insertion_point(class_scope:velodyne.velodyneManagerParams)
  234. private:
  235. void set_has_fence_data_path();
  236. void clear_has_fence_data_path();
  237. void set_has_fence_log_path();
  238. void clear_has_fence_log_path();
  239. void set_has_left_model_path();
  240. void clear_has_left_model_path();
  241. void set_has_right_model_path();
  242. void clear_has_right_model_path();
  243. void set_has_distribution_mode();
  244. void clear_has_distribution_mode();
  245. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  246. ::google::protobuf::internal::HasBits<1> _has_bits_;
  247. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  248. ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams > velodyne_lidars_;
  249. ::google::protobuf::RepeatedPtrField< ::velodyne::Region > region_;
  250. ::google::protobuf::internal::ArenaStringPtr fence_data_path_;
  251. ::google::protobuf::internal::ArenaStringPtr fence_log_path_;
  252. ::google::protobuf::internal::ArenaStringPtr left_model_path_;
  253. ::google::protobuf::internal::ArenaStringPtr right_model_path_;
  254. bool distribution_mode_;
  255. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  256. };
  257. // -------------------------------------------------------------------
  258. class velodyneLidarParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneLidarParams) */ {
  259. public:
  260. velodyneLidarParams();
  261. virtual ~velodyneLidarParams();
  262. velodyneLidarParams(const velodyneLidarParams& from);
  263. inline velodyneLidarParams& operator=(const velodyneLidarParams& from) {
  264. CopyFrom(from);
  265. return *this;
  266. }
  267. #if LANG_CXX11
  268. velodyneLidarParams(velodyneLidarParams&& from) noexcept
  269. : velodyneLidarParams() {
  270. *this = ::std::move(from);
  271. }
  272. inline velodyneLidarParams& operator=(velodyneLidarParams&& from) noexcept {
  273. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  274. if (this != &from) InternalSwap(&from);
  275. } else {
  276. CopyFrom(from);
  277. }
  278. return *this;
  279. }
  280. #endif
  281. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  282. return _internal_metadata_.unknown_fields();
  283. }
  284. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  285. return _internal_metadata_.mutable_unknown_fields();
  286. }
  287. static const ::google::protobuf::Descriptor* descriptor();
  288. static const velodyneLidarParams& default_instance();
  289. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  290. static inline const velodyneLidarParams* internal_default_instance() {
  291. return reinterpret_cast<const velodyneLidarParams*>(
  292. &_velodyneLidarParams_default_instance_);
  293. }
  294. static constexpr int kIndexInFileMessages =
  295. 1;
  296. void Swap(velodyneLidarParams* other);
  297. friend void swap(velodyneLidarParams& a, velodyneLidarParams& b) {
  298. a.Swap(&b);
  299. }
  300. // implements Message ----------------------------------------------
  301. inline velodyneLidarParams* New() const final {
  302. return CreateMaybeMessage<velodyneLidarParams>(NULL);
  303. }
  304. velodyneLidarParams* New(::google::protobuf::Arena* arena) const final {
  305. return CreateMaybeMessage<velodyneLidarParams>(arena);
  306. }
  307. void CopyFrom(const ::google::protobuf::Message& from) final;
  308. void MergeFrom(const ::google::protobuf::Message& from) final;
  309. void CopyFrom(const velodyneLidarParams& from);
  310. void MergeFrom(const velodyneLidarParams& from);
  311. void Clear() final;
  312. bool IsInitialized() const final;
  313. size_t ByteSizeLong() const final;
  314. bool MergePartialFromCodedStream(
  315. ::google::protobuf::io::CodedInputStream* input) final;
  316. void SerializeWithCachedSizes(
  317. ::google::protobuf::io::CodedOutputStream* output) const final;
  318. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  319. bool deterministic, ::google::protobuf::uint8* target) const final;
  320. int GetCachedSize() const final { return _cached_size_.Get(); }
  321. private:
  322. void SharedCtor();
  323. void SharedDtor();
  324. void SetCachedSize(int size) const final;
  325. void InternalSwap(velodyneLidarParams* other);
  326. private:
  327. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  328. return NULL;
  329. }
  330. inline void* MaybeArenaPtr() const {
  331. return NULL;
  332. }
  333. public:
  334. ::google::protobuf::Metadata GetMetadata() const final;
  335. // nested types ----------------------------------------------------
  336. // accessors -------------------------------------------------------
  337. // required string ip = 1 [default = ""];
  338. bool has_ip() const;
  339. void clear_ip();
  340. static const int kIpFieldNumber = 1;
  341. const ::std::string& ip() const;
  342. void set_ip(const ::std::string& value);
  343. #if LANG_CXX11
  344. void set_ip(::std::string&& value);
  345. #endif
  346. void set_ip(const char* value);
  347. void set_ip(const char* value, size_t size);
  348. ::std::string* mutable_ip();
  349. ::std::string* release_ip();
  350. void set_allocated_ip(::std::string* ip);
  351. // required string model = 3 [default = "VLP16"];
  352. bool has_model() const;
  353. void clear_model();
  354. static const int kModelFieldNumber = 3;
  355. const ::std::string& model() const;
  356. void set_model(const ::std::string& value);
  357. #if LANG_CXX11
  358. void set_model(::std::string&& value);
  359. #endif
  360. void set_model(const char* value);
  361. void set_model(const char* value, size_t size);
  362. ::std::string* mutable_model();
  363. ::std::string* release_model();
  364. void set_allocated_model(::std::string* model);
  365. // required string calibrationFile = 4 [default = ""];
  366. bool has_calibrationfile() const;
  367. void clear_calibrationfile();
  368. static const int kCalibrationFileFieldNumber = 4;
  369. const ::std::string& calibrationfile() const;
  370. void set_calibrationfile(const ::std::string& value);
  371. #if LANG_CXX11
  372. void set_calibrationfile(::std::string&& value);
  373. #endif
  374. void set_calibrationfile(const char* value);
  375. void set_calibrationfile(const char* value, size_t size);
  376. ::std::string* mutable_calibrationfile();
  377. ::std::string* release_calibrationfile();
  378. void set_allocated_calibrationfile(::std::string* calibrationfile);
  379. // optional .velodyne.CalibParameter calib = 11;
  380. bool has_calib() const;
  381. void clear_calib();
  382. static const int kCalibFieldNumber = 11;
  383. private:
  384. const ::velodyne::CalibParameter& _internal_calib() const;
  385. public:
  386. const ::velodyne::CalibParameter& calib() const;
  387. ::velodyne::CalibParameter* release_calib();
  388. ::velodyne::CalibParameter* mutable_calib();
  389. void set_allocated_calib(::velodyne::CalibParameter* calib);
  390. // required int32 lidar_id = 5 [default = 0];
  391. bool has_lidar_id() const;
  392. void clear_lidar_id();
  393. static const int kLidarIdFieldNumber = 5;
  394. ::google::protobuf::int32 lidar_id() const;
  395. void set_lidar_id(::google::protobuf::int32 value);
  396. // optional int32 min_angle = 8 [default = 0];
  397. bool has_min_angle() const;
  398. void clear_min_angle();
  399. static const int kMinAngleFieldNumber = 8;
  400. ::google::protobuf::int32 min_angle() const;
  401. void set_min_angle(::google::protobuf::int32 value);
  402. // required int32 port = 2 [default = 2368];
  403. bool has_port() const;
  404. void clear_port();
  405. static const int kPortFieldNumber = 2;
  406. ::google::protobuf::int32 port() const;
  407. void set_port(::google::protobuf::int32 value);
  408. // optional float max_range = 6 [default = 10];
  409. bool has_max_range() const;
  410. void clear_max_range();
  411. static const int kMaxRangeFieldNumber = 6;
  412. float max_range() const;
  413. void set_max_range(float value);
  414. // optional float min_range = 7 [default = 0.15];
  415. bool has_min_range() const;
  416. void clear_min_range();
  417. static const int kMinRangeFieldNumber = 7;
  418. float min_range() const;
  419. void set_min_range(float value);
  420. // optional int32 max_angle = 9 [default = 360];
  421. bool has_max_angle() const;
  422. void clear_max_angle();
  423. static const int kMaxAngleFieldNumber = 9;
  424. ::google::protobuf::int32 max_angle() const;
  425. void set_max_angle(::google::protobuf::int32 value);
  426. // optional int32 rpm = 10 [default = 600];
  427. bool has_rpm() const;
  428. void clear_rpm();
  429. static const int kRpmFieldNumber = 10;
  430. ::google::protobuf::int32 rpm() const;
  431. void set_rpm(::google::protobuf::int32 value);
  432. // optional int32 difop = 12 [default = 7788];
  433. bool has_difop() const;
  434. void clear_difop();
  435. static const int kDifopFieldNumber = 12;
  436. ::google::protobuf::int32 difop() const;
  437. void set_difop(::google::protobuf::int32 value);
  438. // @@protoc_insertion_point(class_scope:velodyne.velodyneLidarParams)
  439. private:
  440. void set_has_ip();
  441. void clear_has_ip();
  442. void set_has_port();
  443. void clear_has_port();
  444. void set_has_model();
  445. void clear_has_model();
  446. void set_has_calibrationfile();
  447. void clear_has_calibrationfile();
  448. void set_has_lidar_id();
  449. void clear_has_lidar_id();
  450. void set_has_max_range();
  451. void clear_has_max_range();
  452. void set_has_min_range();
  453. void clear_has_min_range();
  454. void set_has_min_angle();
  455. void clear_has_min_angle();
  456. void set_has_max_angle();
  457. void clear_has_max_angle();
  458. void set_has_rpm();
  459. void clear_has_rpm();
  460. void set_has_calib();
  461. void clear_has_calib();
  462. void set_has_difop();
  463. void clear_has_difop();
  464. // helper for ByteSizeLong()
  465. size_t RequiredFieldsByteSizeFallback() const;
  466. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  467. ::google::protobuf::internal::HasBits<1> _has_bits_;
  468. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  469. ::google::protobuf::internal::ArenaStringPtr ip_;
  470. public:
  471. static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_model_;
  472. private:
  473. ::google::protobuf::internal::ArenaStringPtr model_;
  474. ::google::protobuf::internal::ArenaStringPtr calibrationfile_;
  475. ::velodyne::CalibParameter* calib_;
  476. ::google::protobuf::int32 lidar_id_;
  477. ::google::protobuf::int32 min_angle_;
  478. ::google::protobuf::int32 port_;
  479. float max_range_;
  480. float min_range_;
  481. ::google::protobuf::int32 max_angle_;
  482. ::google::protobuf::int32 rpm_;
  483. ::google::protobuf::int32 difop_;
  484. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  485. };
  486. // -------------------------------------------------------------------
  487. class CalibParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.CalibParameter) */ {
  488. public:
  489. CalibParameter();
  490. virtual ~CalibParameter();
  491. CalibParameter(const CalibParameter& from);
  492. inline CalibParameter& operator=(const CalibParameter& from) {
  493. CopyFrom(from);
  494. return *this;
  495. }
  496. #if LANG_CXX11
  497. CalibParameter(CalibParameter&& from) noexcept
  498. : CalibParameter() {
  499. *this = ::std::move(from);
  500. }
  501. inline CalibParameter& operator=(CalibParameter&& from) noexcept {
  502. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  503. if (this != &from) InternalSwap(&from);
  504. } else {
  505. CopyFrom(from);
  506. }
  507. return *this;
  508. }
  509. #endif
  510. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  511. return _internal_metadata_.unknown_fields();
  512. }
  513. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  514. return _internal_metadata_.mutable_unknown_fields();
  515. }
  516. static const ::google::protobuf::Descriptor* descriptor();
  517. static const CalibParameter& default_instance();
  518. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  519. static inline const CalibParameter* internal_default_instance() {
  520. return reinterpret_cast<const CalibParameter*>(
  521. &_CalibParameter_default_instance_);
  522. }
  523. static constexpr int kIndexInFileMessages =
  524. 2;
  525. void Swap(CalibParameter* other);
  526. friend void swap(CalibParameter& a, CalibParameter& b) {
  527. a.Swap(&b);
  528. }
  529. // implements Message ----------------------------------------------
  530. inline CalibParameter* New() const final {
  531. return CreateMaybeMessage<CalibParameter>(NULL);
  532. }
  533. CalibParameter* New(::google::protobuf::Arena* arena) const final {
  534. return CreateMaybeMessage<CalibParameter>(arena);
  535. }
  536. void CopyFrom(const ::google::protobuf::Message& from) final;
  537. void MergeFrom(const ::google::protobuf::Message& from) final;
  538. void CopyFrom(const CalibParameter& from);
  539. void MergeFrom(const CalibParameter& from);
  540. void Clear() final;
  541. bool IsInitialized() const final;
  542. size_t ByteSizeLong() const final;
  543. bool MergePartialFromCodedStream(
  544. ::google::protobuf::io::CodedInputStream* input) final;
  545. void SerializeWithCachedSizes(
  546. ::google::protobuf::io::CodedOutputStream* output) const final;
  547. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  548. bool deterministic, ::google::protobuf::uint8* target) const final;
  549. int GetCachedSize() const final { return _cached_size_.Get(); }
  550. private:
  551. void SharedCtor();
  552. void SharedDtor();
  553. void SetCachedSize(int size) const final;
  554. void InternalSwap(CalibParameter* other);
  555. private:
  556. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  557. return NULL;
  558. }
  559. inline void* MaybeArenaPtr() const {
  560. return NULL;
  561. }
  562. public:
  563. ::google::protobuf::Metadata GetMetadata() const final;
  564. // nested types ----------------------------------------------------
  565. // accessors -------------------------------------------------------
  566. // optional float r = 1 [default = 0];
  567. bool has_r() const;
  568. void clear_r();
  569. static const int kRFieldNumber = 1;
  570. float r() const;
  571. void set_r(float value);
  572. // optional float p = 2 [default = 0];
  573. bool has_p() const;
  574. void clear_p();
  575. static const int kPFieldNumber = 2;
  576. float p() const;
  577. void set_p(float value);
  578. // optional float y = 3 [default = 0];
  579. bool has_y() const;
  580. void clear_y();
  581. static const int kYFieldNumber = 3;
  582. float y() const;
  583. void set_y(float value);
  584. // optional float cx = 4 [default = 0];
  585. bool has_cx() const;
  586. void clear_cx();
  587. static const int kCxFieldNumber = 4;
  588. float cx() const;
  589. void set_cx(float value);
  590. // optional float cy = 5 [default = 0];
  591. bool has_cy() const;
  592. void clear_cy();
  593. static const int kCyFieldNumber = 5;
  594. float cy() const;
  595. void set_cy(float value);
  596. // optional float cz = 6 [default = 0];
  597. bool has_cz() const;
  598. void clear_cz();
  599. static const int kCzFieldNumber = 6;
  600. float cz() const;
  601. void set_cz(float value);
  602. // @@protoc_insertion_point(class_scope:velodyne.CalibParameter)
  603. private:
  604. void set_has_r();
  605. void clear_has_r();
  606. void set_has_p();
  607. void clear_has_p();
  608. void set_has_y();
  609. void clear_has_y();
  610. void set_has_cx();
  611. void clear_has_cx();
  612. void set_has_cy();
  613. void clear_has_cy();
  614. void set_has_cz();
  615. void clear_has_cz();
  616. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  617. ::google::protobuf::internal::HasBits<1> _has_bits_;
  618. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  619. float r_;
  620. float p_;
  621. float y_;
  622. float cx_;
  623. float cy_;
  624. float cz_;
  625. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  626. };
  627. // -------------------------------------------------------------------
  628. class lidarExtrinsic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.lidarExtrinsic) */ {
  629. public:
  630. lidarExtrinsic();
  631. virtual ~lidarExtrinsic();
  632. lidarExtrinsic(const lidarExtrinsic& from);
  633. inline lidarExtrinsic& operator=(const lidarExtrinsic& from) {
  634. CopyFrom(from);
  635. return *this;
  636. }
  637. #if LANG_CXX11
  638. lidarExtrinsic(lidarExtrinsic&& from) noexcept
  639. : lidarExtrinsic() {
  640. *this = ::std::move(from);
  641. }
  642. inline lidarExtrinsic& operator=(lidarExtrinsic&& from) noexcept {
  643. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  644. if (this != &from) InternalSwap(&from);
  645. } else {
  646. CopyFrom(from);
  647. }
  648. return *this;
  649. }
  650. #endif
  651. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  652. return _internal_metadata_.unknown_fields();
  653. }
  654. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  655. return _internal_metadata_.mutable_unknown_fields();
  656. }
  657. static const ::google::protobuf::Descriptor* descriptor();
  658. static const lidarExtrinsic& default_instance();
  659. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  660. static inline const lidarExtrinsic* internal_default_instance() {
  661. return reinterpret_cast<const lidarExtrinsic*>(
  662. &_lidarExtrinsic_default_instance_);
  663. }
  664. static constexpr int kIndexInFileMessages =
  665. 3;
  666. void Swap(lidarExtrinsic* other);
  667. friend void swap(lidarExtrinsic& a, lidarExtrinsic& b) {
  668. a.Swap(&b);
  669. }
  670. // implements Message ----------------------------------------------
  671. inline lidarExtrinsic* New() const final {
  672. return CreateMaybeMessage<lidarExtrinsic>(NULL);
  673. }
  674. lidarExtrinsic* New(::google::protobuf::Arena* arena) const final {
  675. return CreateMaybeMessage<lidarExtrinsic>(arena);
  676. }
  677. void CopyFrom(const ::google::protobuf::Message& from) final;
  678. void MergeFrom(const ::google::protobuf::Message& from) final;
  679. void CopyFrom(const lidarExtrinsic& from);
  680. void MergeFrom(const lidarExtrinsic& from);
  681. void Clear() final;
  682. bool IsInitialized() const final;
  683. size_t ByteSizeLong() const final;
  684. bool MergePartialFromCodedStream(
  685. ::google::protobuf::io::CodedInputStream* input) final;
  686. void SerializeWithCachedSizes(
  687. ::google::protobuf::io::CodedOutputStream* output) const final;
  688. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  689. bool deterministic, ::google::protobuf::uint8* target) const final;
  690. int GetCachedSize() const final { return _cached_size_.Get(); }
  691. private:
  692. void SharedCtor();
  693. void SharedDtor();
  694. void SetCachedSize(int size) const final;
  695. void InternalSwap(lidarExtrinsic* other);
  696. private:
  697. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  698. return NULL;
  699. }
  700. inline void* MaybeArenaPtr() const {
  701. return NULL;
  702. }
  703. public:
  704. ::google::protobuf::Metadata GetMetadata() const final;
  705. // nested types ----------------------------------------------------
  706. // accessors -------------------------------------------------------
  707. // optional .velodyne.CalibParameter calib = 2;
  708. bool has_calib() const;
  709. void clear_calib();
  710. static const int kCalibFieldNumber = 2;
  711. private:
  712. const ::velodyne::CalibParameter& _internal_calib() const;
  713. public:
  714. const ::velodyne::CalibParameter& calib() const;
  715. ::velodyne::CalibParameter* release_calib();
  716. ::velodyne::CalibParameter* mutable_calib();
  717. void set_allocated_calib(::velodyne::CalibParameter* calib);
  718. // required int32 lidar_id = 1;
  719. bool has_lidar_id() const;
  720. void clear_lidar_id();
  721. static const int kLidarIdFieldNumber = 1;
  722. ::google::protobuf::int32 lidar_id() const;
  723. void set_lidar_id(::google::protobuf::int32 value);
  724. // @@protoc_insertion_point(class_scope:velodyne.lidarExtrinsic)
  725. private:
  726. void set_has_lidar_id();
  727. void clear_has_lidar_id();
  728. void set_has_calib();
  729. void clear_has_calib();
  730. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  731. ::google::protobuf::internal::HasBits<1> _has_bits_;
  732. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  733. ::velodyne::CalibParameter* calib_;
  734. ::google::protobuf::int32 lidar_id_;
  735. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  736. };
  737. // -------------------------------------------------------------------
  738. class Region : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.Region) */ {
  739. public:
  740. Region();
  741. virtual ~Region();
  742. Region(const Region& from);
  743. inline Region& operator=(const Region& from) {
  744. CopyFrom(from);
  745. return *this;
  746. }
  747. #if LANG_CXX11
  748. Region(Region&& from) noexcept
  749. : Region() {
  750. *this = ::std::move(from);
  751. }
  752. inline Region& operator=(Region&& from) noexcept {
  753. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  754. if (this != &from) InternalSwap(&from);
  755. } else {
  756. CopyFrom(from);
  757. }
  758. return *this;
  759. }
  760. #endif
  761. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  762. return _internal_metadata_.unknown_fields();
  763. }
  764. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  765. return _internal_metadata_.mutable_unknown_fields();
  766. }
  767. static const ::google::protobuf::Descriptor* descriptor();
  768. static const Region& default_instance();
  769. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  770. static inline const Region* internal_default_instance() {
  771. return reinterpret_cast<const Region*>(
  772. &_Region_default_instance_);
  773. }
  774. static constexpr int kIndexInFileMessages =
  775. 4;
  776. void Swap(Region* other);
  777. friend void swap(Region& a, Region& b) {
  778. a.Swap(&b);
  779. }
  780. // implements Message ----------------------------------------------
  781. inline Region* New() const final {
  782. return CreateMaybeMessage<Region>(NULL);
  783. }
  784. Region* New(::google::protobuf::Arena* arena) const final {
  785. return CreateMaybeMessage<Region>(arena);
  786. }
  787. void CopyFrom(const ::google::protobuf::Message& from) final;
  788. void MergeFrom(const ::google::protobuf::Message& from) final;
  789. void CopyFrom(const Region& from);
  790. void MergeFrom(const Region& from);
  791. void Clear() final;
  792. bool IsInitialized() const final;
  793. size_t ByteSizeLong() const final;
  794. bool MergePartialFromCodedStream(
  795. ::google::protobuf::io::CodedInputStream* input) final;
  796. void SerializeWithCachedSizes(
  797. ::google::protobuf::io::CodedOutputStream* output) const final;
  798. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  799. bool deterministic, ::google::protobuf::uint8* target) const final;
  800. int GetCachedSize() const final { return _cached_size_.Get(); }
  801. private:
  802. void SharedCtor();
  803. void SharedDtor();
  804. void SetCachedSize(int size) const final;
  805. void InternalSwap(Region* other);
  806. private:
  807. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  808. return NULL;
  809. }
  810. inline void* MaybeArenaPtr() const {
  811. return NULL;
  812. }
  813. public:
  814. ::google::protobuf::Metadata GetMetadata() const final;
  815. // nested types ----------------------------------------------------
  816. // accessors -------------------------------------------------------
  817. // repeated .velodyne.lidarExtrinsic lidar_exts = 8;
  818. int lidar_exts_size() const;
  819. void clear_lidar_exts();
  820. static const int kLidarExtsFieldNumber = 8;
  821. ::velodyne::lidarExtrinsic* mutable_lidar_exts(int index);
  822. ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >*
  823. mutable_lidar_exts();
  824. const ::velodyne::lidarExtrinsic& lidar_exts(int index) const;
  825. ::velodyne::lidarExtrinsic* add_lidar_exts();
  826. const ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >&
  827. lidar_exts() const;
  828. // required float minx = 1;
  829. bool has_minx() const;
  830. void clear_minx();
  831. static const int kMinxFieldNumber = 1;
  832. float minx() const;
  833. void set_minx(float value);
  834. // required float maxx = 2;
  835. bool has_maxx() const;
  836. void clear_maxx();
  837. static const int kMaxxFieldNumber = 2;
  838. float maxx() const;
  839. void set_maxx(float value);
  840. // required float miny = 3;
  841. bool has_miny() const;
  842. void clear_miny();
  843. static const int kMinyFieldNumber = 3;
  844. float miny() const;
  845. void set_miny(float value);
  846. // required float maxy = 4;
  847. bool has_maxy() const;
  848. void clear_maxy();
  849. static const int kMaxyFieldNumber = 4;
  850. float maxy() const;
  851. void set_maxy(float value);
  852. // required float minz = 5;
  853. bool has_minz() const;
  854. void clear_minz();
  855. static const int kMinzFieldNumber = 5;
  856. float minz() const;
  857. void set_minz(float value);
  858. // required float maxz = 6;
  859. bool has_maxz() const;
  860. void clear_maxz();
  861. static const int kMaxzFieldNumber = 6;
  862. float maxz() const;
  863. void set_maxz(float value);
  864. // required int32 region_id = 7;
  865. bool has_region_id() const;
  866. void clear_region_id();
  867. static const int kRegionIdFieldNumber = 7;
  868. ::google::protobuf::int32 region_id() const;
  869. void set_region_id(::google::protobuf::int32 value);
  870. // required float turnplate_cx = 9;
  871. bool has_turnplate_cx() const;
  872. void clear_turnplate_cx();
  873. static const int kTurnplateCxFieldNumber = 9;
  874. float turnplate_cx() const;
  875. void set_turnplate_cx(float value);
  876. // required float turnplate_cy = 10;
  877. bool has_turnplate_cy() const;
  878. void clear_turnplate_cy();
  879. static const int kTurnplateCyFieldNumber = 10;
  880. float turnplate_cy() const;
  881. void set_turnplate_cy(float value);
  882. // required float border_minx = 11;
  883. bool has_border_minx() const;
  884. void clear_border_minx();
  885. static const int kBorderMinxFieldNumber = 11;
  886. float border_minx() const;
  887. void set_border_minx(float value);
  888. // required float border_maxx = 12;
  889. bool has_border_maxx() const;
  890. void clear_border_maxx();
  891. static const int kBorderMaxxFieldNumber = 12;
  892. float border_maxx() const;
  893. void set_border_maxx(float value);
  894. // required float plc_offsetx = 13;
  895. bool has_plc_offsetx() const;
  896. void clear_plc_offsetx();
  897. static const int kPlcOffsetxFieldNumber = 13;
  898. float plc_offsetx() const;
  899. void set_plc_offsetx(float value);
  900. // required float plc_offsety = 14;
  901. bool has_plc_offsety() const;
  902. void clear_plc_offsety();
  903. static const int kPlcOffsetyFieldNumber = 14;
  904. float plc_offsety() const;
  905. void set_plc_offsety(float value);
  906. // required float plc_offset_degree = 15;
  907. bool has_plc_offset_degree() const;
  908. void clear_plc_offset_degree();
  909. static const int kPlcOffsetDegreeFieldNumber = 15;
  910. float plc_offset_degree() const;
  911. void set_plc_offset_degree(float value);
  912. // required float plc_border_miny = 16;
  913. bool has_plc_border_miny() const;
  914. void clear_plc_border_miny();
  915. static const int kPlcBorderMinyFieldNumber = 16;
  916. float plc_border_miny() const;
  917. void set_plc_border_miny(float value);
  918. // required float plc_border_maxy = 17;
  919. bool has_plc_border_maxy() const;
  920. void clear_plc_border_maxy();
  921. static const int kPlcBorderMaxyFieldNumber = 17;
  922. float plc_border_maxy() const;
  923. void set_plc_border_maxy(float value);
  924. // required float car_min_width = 18;
  925. bool has_car_min_width() const;
  926. void clear_car_min_width();
  927. static const int kCarMinWidthFieldNumber = 18;
  928. float car_min_width() const;
  929. void set_car_min_width(float value);
  930. // required float car_max_width = 19;
  931. bool has_car_max_width() const;
  932. void clear_car_max_width();
  933. static const int kCarMaxWidthFieldNumber = 19;
  934. float car_max_width() const;
  935. void set_car_max_width(float value);
  936. // required float car_min_wheelbase = 20;
  937. bool has_car_min_wheelbase() const;
  938. void clear_car_min_wheelbase();
  939. static const int kCarMinWheelbaseFieldNumber = 20;
  940. float car_min_wheelbase() const;
  941. void set_car_min_wheelbase(float value);
  942. // required float car_max_wheelbase = 21;
  943. bool has_car_max_wheelbase() const;
  944. void clear_car_max_wheelbase();
  945. static const int kCarMaxWheelbaseFieldNumber = 21;
  946. float car_max_wheelbase() const;
  947. void set_car_max_wheelbase(float value);
  948. // required float turnplate_angle_limit_anti_clockwise = 22;
  949. bool has_turnplate_angle_limit_anti_clockwise() const;
  950. void clear_turnplate_angle_limit_anti_clockwise();
  951. static const int kTurnplateAngleLimitAntiClockwiseFieldNumber = 22;
  952. float turnplate_angle_limit_anti_clockwise() const;
  953. void set_turnplate_angle_limit_anti_clockwise(float value);
  954. // required float turnplate_angle_limit_clockwise = 23;
  955. bool has_turnplate_angle_limit_clockwise() const;
  956. void clear_turnplate_angle_limit_clockwise();
  957. static const int kTurnplateAngleLimitClockwiseFieldNumber = 23;
  958. float turnplate_angle_limit_clockwise() const;
  959. void set_turnplate_angle_limit_clockwise(float value);
  960. // @@protoc_insertion_point(class_scope:velodyne.Region)
  961. private:
  962. void set_has_minx();
  963. void clear_has_minx();
  964. void set_has_maxx();
  965. void clear_has_maxx();
  966. void set_has_miny();
  967. void clear_has_miny();
  968. void set_has_maxy();
  969. void clear_has_maxy();
  970. void set_has_minz();
  971. void clear_has_minz();
  972. void set_has_maxz();
  973. void clear_has_maxz();
  974. void set_has_region_id();
  975. void clear_has_region_id();
  976. void set_has_turnplate_cx();
  977. void clear_has_turnplate_cx();
  978. void set_has_turnplate_cy();
  979. void clear_has_turnplate_cy();
  980. void set_has_border_minx();
  981. void clear_has_border_minx();
  982. void set_has_border_maxx();
  983. void clear_has_border_maxx();
  984. void set_has_plc_offsetx();
  985. void clear_has_plc_offsetx();
  986. void set_has_plc_offsety();
  987. void clear_has_plc_offsety();
  988. void set_has_plc_offset_degree();
  989. void clear_has_plc_offset_degree();
  990. void set_has_plc_border_miny();
  991. void clear_has_plc_border_miny();
  992. void set_has_plc_border_maxy();
  993. void clear_has_plc_border_maxy();
  994. void set_has_car_min_width();
  995. void clear_has_car_min_width();
  996. void set_has_car_max_width();
  997. void clear_has_car_max_width();
  998. void set_has_car_min_wheelbase();
  999. void clear_has_car_min_wheelbase();
  1000. void set_has_car_max_wheelbase();
  1001. void clear_has_car_max_wheelbase();
  1002. void set_has_turnplate_angle_limit_anti_clockwise();
  1003. void clear_has_turnplate_angle_limit_anti_clockwise();
  1004. void set_has_turnplate_angle_limit_clockwise();
  1005. void clear_has_turnplate_angle_limit_clockwise();
  1006. // helper for ByteSizeLong()
  1007. size_t RequiredFieldsByteSizeFallback() const;
  1008. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1009. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1010. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1011. ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic > lidar_exts_;
  1012. float minx_;
  1013. float maxx_;
  1014. float miny_;
  1015. float maxy_;
  1016. float minz_;
  1017. float maxz_;
  1018. ::google::protobuf::int32 region_id_;
  1019. float turnplate_cx_;
  1020. float turnplate_cy_;
  1021. float border_minx_;
  1022. float border_maxx_;
  1023. float plc_offsetx_;
  1024. float plc_offsety_;
  1025. float plc_offset_degree_;
  1026. float plc_border_miny_;
  1027. float plc_border_maxy_;
  1028. float car_min_width_;
  1029. float car_max_width_;
  1030. float car_min_wheelbase_;
  1031. float car_max_wheelbase_;
  1032. float turnplate_angle_limit_anti_clockwise_;
  1033. float turnplate_angle_limit_clockwise_;
  1034. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  1035. };
  1036. // ===================================================================
  1037. // ===================================================================
  1038. #ifdef __GNUC__
  1039. #pragma GCC diagnostic push
  1040. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1041. #endif // __GNUC__
  1042. // velodyneManagerParams
  1043. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  1044. inline int velodyneManagerParams::velodyne_lidars_size() const {
  1045. return velodyne_lidars_.size();
  1046. }
  1047. inline void velodyneManagerParams::clear_velodyne_lidars() {
  1048. velodyne_lidars_.Clear();
  1049. }
  1050. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::mutable_velodyne_lidars(int index) {
  1051. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.velodyne_lidars)
  1052. return velodyne_lidars_.Mutable(index);
  1053. }
  1054. inline ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  1055. velodyneManagerParams::mutable_velodyne_lidars() {
  1056. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.velodyne_lidars)
  1057. return &velodyne_lidars_;
  1058. }
  1059. inline const ::velodyne::velodyneLidarParams& velodyneManagerParams::velodyne_lidars(int index) const {
  1060. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.velodyne_lidars)
  1061. return velodyne_lidars_.Get(index);
  1062. }
  1063. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::add_velodyne_lidars() {
  1064. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.velodyne_lidars)
  1065. return velodyne_lidars_.Add();
  1066. }
  1067. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  1068. velodyneManagerParams::velodyne_lidars() const {
  1069. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.velodyne_lidars)
  1070. return velodyne_lidars_;
  1071. }
  1072. // repeated .velodyne.Region region = 2;
  1073. inline int velodyneManagerParams::region_size() const {
  1074. return region_.size();
  1075. }
  1076. inline void velodyneManagerParams::clear_region() {
  1077. region_.Clear();
  1078. }
  1079. inline ::velodyne::Region* velodyneManagerParams::mutable_region(int index) {
  1080. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.region)
  1081. return region_.Mutable(index);
  1082. }
  1083. inline ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  1084. velodyneManagerParams::mutable_region() {
  1085. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.region)
  1086. return &region_;
  1087. }
  1088. inline const ::velodyne::Region& velodyneManagerParams::region(int index) const {
  1089. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.region)
  1090. return region_.Get(index);
  1091. }
  1092. inline ::velodyne::Region* velodyneManagerParams::add_region() {
  1093. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.region)
  1094. return region_.Add();
  1095. }
  1096. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  1097. velodyneManagerParams::region() const {
  1098. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.region)
  1099. return region_;
  1100. }
  1101. // optional string fence_data_path = 3 [default = ""];
  1102. inline bool velodyneManagerParams::has_fence_data_path() const {
  1103. return (_has_bits_[0] & 0x00000001u) != 0;
  1104. }
  1105. inline void velodyneManagerParams::set_has_fence_data_path() {
  1106. _has_bits_[0] |= 0x00000001u;
  1107. }
  1108. inline void velodyneManagerParams::clear_has_fence_data_path() {
  1109. _has_bits_[0] &= ~0x00000001u;
  1110. }
  1111. inline void velodyneManagerParams::clear_fence_data_path() {
  1112. fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1113. clear_has_fence_data_path();
  1114. }
  1115. inline const ::std::string& velodyneManagerParams::fence_data_path() const {
  1116. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_data_path)
  1117. return fence_data_path_.GetNoArena();
  1118. }
  1119. inline void velodyneManagerParams::set_fence_data_path(const ::std::string& value) {
  1120. set_has_fence_data_path();
  1121. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1122. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_data_path)
  1123. }
  1124. #if LANG_CXX11
  1125. inline void velodyneManagerParams::set_fence_data_path(::std::string&& value) {
  1126. set_has_fence_data_path();
  1127. fence_data_path_.SetNoArena(
  1128. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1129. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_data_path)
  1130. }
  1131. #endif
  1132. inline void velodyneManagerParams::set_fence_data_path(const char* value) {
  1133. GOOGLE_DCHECK(value != NULL);
  1134. set_has_fence_data_path();
  1135. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1136. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_data_path)
  1137. }
  1138. inline void velodyneManagerParams::set_fence_data_path(const char* value, size_t size) {
  1139. set_has_fence_data_path();
  1140. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1141. ::std::string(reinterpret_cast<const char*>(value), size));
  1142. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_data_path)
  1143. }
  1144. inline ::std::string* velodyneManagerParams::mutable_fence_data_path() {
  1145. set_has_fence_data_path();
  1146. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_data_path)
  1147. return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1148. }
  1149. inline ::std::string* velodyneManagerParams::release_fence_data_path() {
  1150. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_data_path)
  1151. if (!has_fence_data_path()) {
  1152. return NULL;
  1153. }
  1154. clear_has_fence_data_path();
  1155. return fence_data_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1156. }
  1157. inline void velodyneManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
  1158. if (fence_data_path != NULL) {
  1159. set_has_fence_data_path();
  1160. } else {
  1161. clear_has_fence_data_path();
  1162. }
  1163. fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
  1164. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_data_path)
  1165. }
  1166. // optional string fence_log_path = 4 [default = ""];
  1167. inline bool velodyneManagerParams::has_fence_log_path() const {
  1168. return (_has_bits_[0] & 0x00000002u) != 0;
  1169. }
  1170. inline void velodyneManagerParams::set_has_fence_log_path() {
  1171. _has_bits_[0] |= 0x00000002u;
  1172. }
  1173. inline void velodyneManagerParams::clear_has_fence_log_path() {
  1174. _has_bits_[0] &= ~0x00000002u;
  1175. }
  1176. inline void velodyneManagerParams::clear_fence_log_path() {
  1177. fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1178. clear_has_fence_log_path();
  1179. }
  1180. inline const ::std::string& velodyneManagerParams::fence_log_path() const {
  1181. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_log_path)
  1182. return fence_log_path_.GetNoArena();
  1183. }
  1184. inline void velodyneManagerParams::set_fence_log_path(const ::std::string& value) {
  1185. set_has_fence_log_path();
  1186. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1187. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_log_path)
  1188. }
  1189. #if LANG_CXX11
  1190. inline void velodyneManagerParams::set_fence_log_path(::std::string&& value) {
  1191. set_has_fence_log_path();
  1192. fence_log_path_.SetNoArena(
  1193. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1194. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_log_path)
  1195. }
  1196. #endif
  1197. inline void velodyneManagerParams::set_fence_log_path(const char* value) {
  1198. GOOGLE_DCHECK(value != NULL);
  1199. set_has_fence_log_path();
  1200. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1201. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_log_path)
  1202. }
  1203. inline void velodyneManagerParams::set_fence_log_path(const char* value, size_t size) {
  1204. set_has_fence_log_path();
  1205. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1206. ::std::string(reinterpret_cast<const char*>(value), size));
  1207. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_log_path)
  1208. }
  1209. inline ::std::string* velodyneManagerParams::mutable_fence_log_path() {
  1210. set_has_fence_log_path();
  1211. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_log_path)
  1212. return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1213. }
  1214. inline ::std::string* velodyneManagerParams::release_fence_log_path() {
  1215. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_log_path)
  1216. if (!has_fence_log_path()) {
  1217. return NULL;
  1218. }
  1219. clear_has_fence_log_path();
  1220. return fence_log_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1221. }
  1222. inline void velodyneManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
  1223. if (fence_log_path != NULL) {
  1224. set_has_fence_log_path();
  1225. } else {
  1226. clear_has_fence_log_path();
  1227. }
  1228. fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
  1229. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_log_path)
  1230. }
  1231. // optional string left_model_path = 5 [default = ""];
  1232. inline bool velodyneManagerParams::has_left_model_path() const {
  1233. return (_has_bits_[0] & 0x00000004u) != 0;
  1234. }
  1235. inline void velodyneManagerParams::set_has_left_model_path() {
  1236. _has_bits_[0] |= 0x00000004u;
  1237. }
  1238. inline void velodyneManagerParams::clear_has_left_model_path() {
  1239. _has_bits_[0] &= ~0x00000004u;
  1240. }
  1241. inline void velodyneManagerParams::clear_left_model_path() {
  1242. left_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1243. clear_has_left_model_path();
  1244. }
  1245. inline const ::std::string& velodyneManagerParams::left_model_path() const {
  1246. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.left_model_path)
  1247. return left_model_path_.GetNoArena();
  1248. }
  1249. inline void velodyneManagerParams::set_left_model_path(const ::std::string& value) {
  1250. set_has_left_model_path();
  1251. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1252. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.left_model_path)
  1253. }
  1254. #if LANG_CXX11
  1255. inline void velodyneManagerParams::set_left_model_path(::std::string&& value) {
  1256. set_has_left_model_path();
  1257. left_model_path_.SetNoArena(
  1258. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1259. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.left_model_path)
  1260. }
  1261. #endif
  1262. inline void velodyneManagerParams::set_left_model_path(const char* value) {
  1263. GOOGLE_DCHECK(value != NULL);
  1264. set_has_left_model_path();
  1265. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1266. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.left_model_path)
  1267. }
  1268. inline void velodyneManagerParams::set_left_model_path(const char* value, size_t size) {
  1269. set_has_left_model_path();
  1270. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1271. ::std::string(reinterpret_cast<const char*>(value), size));
  1272. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.left_model_path)
  1273. }
  1274. inline ::std::string* velodyneManagerParams::mutable_left_model_path() {
  1275. set_has_left_model_path();
  1276. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.left_model_path)
  1277. return left_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1278. }
  1279. inline ::std::string* velodyneManagerParams::release_left_model_path() {
  1280. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.left_model_path)
  1281. if (!has_left_model_path()) {
  1282. return NULL;
  1283. }
  1284. clear_has_left_model_path();
  1285. return left_model_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1286. }
  1287. inline void velodyneManagerParams::set_allocated_left_model_path(::std::string* left_model_path) {
  1288. if (left_model_path != NULL) {
  1289. set_has_left_model_path();
  1290. } else {
  1291. clear_has_left_model_path();
  1292. }
  1293. left_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), left_model_path);
  1294. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.left_model_path)
  1295. }
  1296. // optional string right_model_path = 6 [default = ""];
  1297. inline bool velodyneManagerParams::has_right_model_path() const {
  1298. return (_has_bits_[0] & 0x00000008u) != 0;
  1299. }
  1300. inline void velodyneManagerParams::set_has_right_model_path() {
  1301. _has_bits_[0] |= 0x00000008u;
  1302. }
  1303. inline void velodyneManagerParams::clear_has_right_model_path() {
  1304. _has_bits_[0] &= ~0x00000008u;
  1305. }
  1306. inline void velodyneManagerParams::clear_right_model_path() {
  1307. right_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1308. clear_has_right_model_path();
  1309. }
  1310. inline const ::std::string& velodyneManagerParams::right_model_path() const {
  1311. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.right_model_path)
  1312. return right_model_path_.GetNoArena();
  1313. }
  1314. inline void velodyneManagerParams::set_right_model_path(const ::std::string& value) {
  1315. set_has_right_model_path();
  1316. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1317. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.right_model_path)
  1318. }
  1319. #if LANG_CXX11
  1320. inline void velodyneManagerParams::set_right_model_path(::std::string&& value) {
  1321. set_has_right_model_path();
  1322. right_model_path_.SetNoArena(
  1323. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1324. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.right_model_path)
  1325. }
  1326. #endif
  1327. inline void velodyneManagerParams::set_right_model_path(const char* value) {
  1328. GOOGLE_DCHECK(value != NULL);
  1329. set_has_right_model_path();
  1330. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1331. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.right_model_path)
  1332. }
  1333. inline void velodyneManagerParams::set_right_model_path(const char* value, size_t size) {
  1334. set_has_right_model_path();
  1335. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1336. ::std::string(reinterpret_cast<const char*>(value), size));
  1337. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.right_model_path)
  1338. }
  1339. inline ::std::string* velodyneManagerParams::mutable_right_model_path() {
  1340. set_has_right_model_path();
  1341. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.right_model_path)
  1342. return right_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1343. }
  1344. inline ::std::string* velodyneManagerParams::release_right_model_path() {
  1345. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.right_model_path)
  1346. if (!has_right_model_path()) {
  1347. return NULL;
  1348. }
  1349. clear_has_right_model_path();
  1350. return right_model_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1351. }
  1352. inline void velodyneManagerParams::set_allocated_right_model_path(::std::string* right_model_path) {
  1353. if (right_model_path != NULL) {
  1354. set_has_right_model_path();
  1355. } else {
  1356. clear_has_right_model_path();
  1357. }
  1358. right_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), right_model_path);
  1359. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.right_model_path)
  1360. }
  1361. // required bool distribution_mode = 7 [default = false];
  1362. inline bool velodyneManagerParams::has_distribution_mode() const {
  1363. return (_has_bits_[0] & 0x00000010u) != 0;
  1364. }
  1365. inline void velodyneManagerParams::set_has_distribution_mode() {
  1366. _has_bits_[0] |= 0x00000010u;
  1367. }
  1368. inline void velodyneManagerParams::clear_has_distribution_mode() {
  1369. _has_bits_[0] &= ~0x00000010u;
  1370. }
  1371. inline void velodyneManagerParams::clear_distribution_mode() {
  1372. distribution_mode_ = false;
  1373. clear_has_distribution_mode();
  1374. }
  1375. inline bool velodyneManagerParams::distribution_mode() const {
  1376. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.distribution_mode)
  1377. return distribution_mode_;
  1378. }
  1379. inline void velodyneManagerParams::set_distribution_mode(bool value) {
  1380. set_has_distribution_mode();
  1381. distribution_mode_ = value;
  1382. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.distribution_mode)
  1383. }
  1384. // -------------------------------------------------------------------
  1385. // velodyneLidarParams
  1386. // required string ip = 1 [default = ""];
  1387. inline bool velodyneLidarParams::has_ip() const {
  1388. return (_has_bits_[0] & 0x00000001u) != 0;
  1389. }
  1390. inline void velodyneLidarParams::set_has_ip() {
  1391. _has_bits_[0] |= 0x00000001u;
  1392. }
  1393. inline void velodyneLidarParams::clear_has_ip() {
  1394. _has_bits_[0] &= ~0x00000001u;
  1395. }
  1396. inline void velodyneLidarParams::clear_ip() {
  1397. ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1398. clear_has_ip();
  1399. }
  1400. inline const ::std::string& velodyneLidarParams::ip() const {
  1401. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.ip)
  1402. return ip_.GetNoArena();
  1403. }
  1404. inline void velodyneLidarParams::set_ip(const ::std::string& value) {
  1405. set_has_ip();
  1406. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1407. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.ip)
  1408. }
  1409. #if LANG_CXX11
  1410. inline void velodyneLidarParams::set_ip(::std::string&& value) {
  1411. set_has_ip();
  1412. ip_.SetNoArena(
  1413. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1414. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.ip)
  1415. }
  1416. #endif
  1417. inline void velodyneLidarParams::set_ip(const char* value) {
  1418. GOOGLE_DCHECK(value != NULL);
  1419. set_has_ip();
  1420. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1421. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.ip)
  1422. }
  1423. inline void velodyneLidarParams::set_ip(const char* value, size_t size) {
  1424. set_has_ip();
  1425. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1426. ::std::string(reinterpret_cast<const char*>(value), size));
  1427. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.ip)
  1428. }
  1429. inline ::std::string* velodyneLidarParams::mutable_ip() {
  1430. set_has_ip();
  1431. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.ip)
  1432. return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1433. }
  1434. inline ::std::string* velodyneLidarParams::release_ip() {
  1435. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.ip)
  1436. if (!has_ip()) {
  1437. return NULL;
  1438. }
  1439. clear_has_ip();
  1440. return ip_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1441. }
  1442. inline void velodyneLidarParams::set_allocated_ip(::std::string* ip) {
  1443. if (ip != NULL) {
  1444. set_has_ip();
  1445. } else {
  1446. clear_has_ip();
  1447. }
  1448. ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
  1449. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.ip)
  1450. }
  1451. // required int32 port = 2 [default = 2368];
  1452. inline bool velodyneLidarParams::has_port() const {
  1453. return (_has_bits_[0] & 0x00000040u) != 0;
  1454. }
  1455. inline void velodyneLidarParams::set_has_port() {
  1456. _has_bits_[0] |= 0x00000040u;
  1457. }
  1458. inline void velodyneLidarParams::clear_has_port() {
  1459. _has_bits_[0] &= ~0x00000040u;
  1460. }
  1461. inline void velodyneLidarParams::clear_port() {
  1462. port_ = 2368;
  1463. clear_has_port();
  1464. }
  1465. inline ::google::protobuf::int32 velodyneLidarParams::port() const {
  1466. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.port)
  1467. return port_;
  1468. }
  1469. inline void velodyneLidarParams::set_port(::google::protobuf::int32 value) {
  1470. set_has_port();
  1471. port_ = value;
  1472. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.port)
  1473. }
  1474. // required string model = 3 [default = "VLP16"];
  1475. inline bool velodyneLidarParams::has_model() const {
  1476. return (_has_bits_[0] & 0x00000002u) != 0;
  1477. }
  1478. inline void velodyneLidarParams::set_has_model() {
  1479. _has_bits_[0] |= 0x00000002u;
  1480. }
  1481. inline void velodyneLidarParams::clear_has_model() {
  1482. _has_bits_[0] &= ~0x00000002u;
  1483. }
  1484. inline void velodyneLidarParams::clear_model() {
  1485. model_.ClearToDefaultNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1486. clear_has_model();
  1487. }
  1488. inline const ::std::string& velodyneLidarParams::model() const {
  1489. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.model)
  1490. return model_.GetNoArena();
  1491. }
  1492. inline void velodyneLidarParams::set_model(const ::std::string& value) {
  1493. set_has_model();
  1494. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), value);
  1495. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.model)
  1496. }
  1497. #if LANG_CXX11
  1498. inline void velodyneLidarParams::set_model(::std::string&& value) {
  1499. set_has_model();
  1500. model_.SetNoArena(
  1501. &::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), ::std::move(value));
  1502. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.model)
  1503. }
  1504. #endif
  1505. inline void velodyneLidarParams::set_model(const char* value) {
  1506. GOOGLE_DCHECK(value != NULL);
  1507. set_has_model();
  1508. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), ::std::string(value));
  1509. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.model)
  1510. }
  1511. inline void velodyneLidarParams::set_model(const char* value, size_t size) {
  1512. set_has_model();
  1513. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(),
  1514. ::std::string(reinterpret_cast<const char*>(value), size));
  1515. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.model)
  1516. }
  1517. inline ::std::string* velodyneLidarParams::mutable_model() {
  1518. set_has_model();
  1519. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.model)
  1520. return model_.MutableNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1521. }
  1522. inline ::std::string* velodyneLidarParams::release_model() {
  1523. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.model)
  1524. if (!has_model()) {
  1525. return NULL;
  1526. }
  1527. clear_has_model();
  1528. return model_.ReleaseNonDefaultNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1529. }
  1530. inline void velodyneLidarParams::set_allocated_model(::std::string* model) {
  1531. if (model != NULL) {
  1532. set_has_model();
  1533. } else {
  1534. clear_has_model();
  1535. }
  1536. model_.SetAllocatedNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), model);
  1537. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.model)
  1538. }
  1539. // required string calibrationFile = 4 [default = ""];
  1540. inline bool velodyneLidarParams::has_calibrationfile() const {
  1541. return (_has_bits_[0] & 0x00000004u) != 0;
  1542. }
  1543. inline void velodyneLidarParams::set_has_calibrationfile() {
  1544. _has_bits_[0] |= 0x00000004u;
  1545. }
  1546. inline void velodyneLidarParams::clear_has_calibrationfile() {
  1547. _has_bits_[0] &= ~0x00000004u;
  1548. }
  1549. inline void velodyneLidarParams::clear_calibrationfile() {
  1550. calibrationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1551. clear_has_calibrationfile();
  1552. }
  1553. inline const ::std::string& velodyneLidarParams::calibrationfile() const {
  1554. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calibrationFile)
  1555. return calibrationfile_.GetNoArena();
  1556. }
  1557. inline void velodyneLidarParams::set_calibrationfile(const ::std::string& value) {
  1558. set_has_calibrationfile();
  1559. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1560. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.calibrationFile)
  1561. }
  1562. #if LANG_CXX11
  1563. inline void velodyneLidarParams::set_calibrationfile(::std::string&& value) {
  1564. set_has_calibrationfile();
  1565. calibrationfile_.SetNoArena(
  1566. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1567. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.calibrationFile)
  1568. }
  1569. #endif
  1570. inline void velodyneLidarParams::set_calibrationfile(const char* value) {
  1571. GOOGLE_DCHECK(value != NULL);
  1572. set_has_calibrationfile();
  1573. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1574. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.calibrationFile)
  1575. }
  1576. inline void velodyneLidarParams::set_calibrationfile(const char* value, size_t size) {
  1577. set_has_calibrationfile();
  1578. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1579. ::std::string(reinterpret_cast<const char*>(value), size));
  1580. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.calibrationFile)
  1581. }
  1582. inline ::std::string* velodyneLidarParams::mutable_calibrationfile() {
  1583. set_has_calibrationfile();
  1584. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calibrationFile)
  1585. return calibrationfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1586. }
  1587. inline ::std::string* velodyneLidarParams::release_calibrationfile() {
  1588. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calibrationFile)
  1589. if (!has_calibrationfile()) {
  1590. return NULL;
  1591. }
  1592. clear_has_calibrationfile();
  1593. return calibrationfile_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1594. }
  1595. inline void velodyneLidarParams::set_allocated_calibrationfile(::std::string* calibrationfile) {
  1596. if (calibrationfile != NULL) {
  1597. set_has_calibrationfile();
  1598. } else {
  1599. clear_has_calibrationfile();
  1600. }
  1601. calibrationfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), calibrationfile);
  1602. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calibrationFile)
  1603. }
  1604. // required int32 lidar_id = 5 [default = 0];
  1605. inline bool velodyneLidarParams::has_lidar_id() const {
  1606. return (_has_bits_[0] & 0x00000010u) != 0;
  1607. }
  1608. inline void velodyneLidarParams::set_has_lidar_id() {
  1609. _has_bits_[0] |= 0x00000010u;
  1610. }
  1611. inline void velodyneLidarParams::clear_has_lidar_id() {
  1612. _has_bits_[0] &= ~0x00000010u;
  1613. }
  1614. inline void velodyneLidarParams::clear_lidar_id() {
  1615. lidar_id_ = 0;
  1616. clear_has_lidar_id();
  1617. }
  1618. inline ::google::protobuf::int32 velodyneLidarParams::lidar_id() const {
  1619. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.lidar_id)
  1620. return lidar_id_;
  1621. }
  1622. inline void velodyneLidarParams::set_lidar_id(::google::protobuf::int32 value) {
  1623. set_has_lidar_id();
  1624. lidar_id_ = value;
  1625. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.lidar_id)
  1626. }
  1627. // optional float max_range = 6 [default = 10];
  1628. inline bool velodyneLidarParams::has_max_range() const {
  1629. return (_has_bits_[0] & 0x00000080u) != 0;
  1630. }
  1631. inline void velodyneLidarParams::set_has_max_range() {
  1632. _has_bits_[0] |= 0x00000080u;
  1633. }
  1634. inline void velodyneLidarParams::clear_has_max_range() {
  1635. _has_bits_[0] &= ~0x00000080u;
  1636. }
  1637. inline void velodyneLidarParams::clear_max_range() {
  1638. max_range_ = 10;
  1639. clear_has_max_range();
  1640. }
  1641. inline float velodyneLidarParams::max_range() const {
  1642. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_range)
  1643. return max_range_;
  1644. }
  1645. inline void velodyneLidarParams::set_max_range(float value) {
  1646. set_has_max_range();
  1647. max_range_ = value;
  1648. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_range)
  1649. }
  1650. // optional float min_range = 7 [default = 0.15];
  1651. inline bool velodyneLidarParams::has_min_range() const {
  1652. return (_has_bits_[0] & 0x00000100u) != 0;
  1653. }
  1654. inline void velodyneLidarParams::set_has_min_range() {
  1655. _has_bits_[0] |= 0x00000100u;
  1656. }
  1657. inline void velodyneLidarParams::clear_has_min_range() {
  1658. _has_bits_[0] &= ~0x00000100u;
  1659. }
  1660. inline void velodyneLidarParams::clear_min_range() {
  1661. min_range_ = 0.15f;
  1662. clear_has_min_range();
  1663. }
  1664. inline float velodyneLidarParams::min_range() const {
  1665. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_range)
  1666. return min_range_;
  1667. }
  1668. inline void velodyneLidarParams::set_min_range(float value) {
  1669. set_has_min_range();
  1670. min_range_ = value;
  1671. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_range)
  1672. }
  1673. // optional int32 min_angle = 8 [default = 0];
  1674. inline bool velodyneLidarParams::has_min_angle() const {
  1675. return (_has_bits_[0] & 0x00000020u) != 0;
  1676. }
  1677. inline void velodyneLidarParams::set_has_min_angle() {
  1678. _has_bits_[0] |= 0x00000020u;
  1679. }
  1680. inline void velodyneLidarParams::clear_has_min_angle() {
  1681. _has_bits_[0] &= ~0x00000020u;
  1682. }
  1683. inline void velodyneLidarParams::clear_min_angle() {
  1684. min_angle_ = 0;
  1685. clear_has_min_angle();
  1686. }
  1687. inline ::google::protobuf::int32 velodyneLidarParams::min_angle() const {
  1688. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_angle)
  1689. return min_angle_;
  1690. }
  1691. inline void velodyneLidarParams::set_min_angle(::google::protobuf::int32 value) {
  1692. set_has_min_angle();
  1693. min_angle_ = value;
  1694. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_angle)
  1695. }
  1696. // optional int32 max_angle = 9 [default = 360];
  1697. inline bool velodyneLidarParams::has_max_angle() const {
  1698. return (_has_bits_[0] & 0x00000200u) != 0;
  1699. }
  1700. inline void velodyneLidarParams::set_has_max_angle() {
  1701. _has_bits_[0] |= 0x00000200u;
  1702. }
  1703. inline void velodyneLidarParams::clear_has_max_angle() {
  1704. _has_bits_[0] &= ~0x00000200u;
  1705. }
  1706. inline void velodyneLidarParams::clear_max_angle() {
  1707. max_angle_ = 360;
  1708. clear_has_max_angle();
  1709. }
  1710. inline ::google::protobuf::int32 velodyneLidarParams::max_angle() const {
  1711. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_angle)
  1712. return max_angle_;
  1713. }
  1714. inline void velodyneLidarParams::set_max_angle(::google::protobuf::int32 value) {
  1715. set_has_max_angle();
  1716. max_angle_ = value;
  1717. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_angle)
  1718. }
  1719. // optional int32 rpm = 10 [default = 600];
  1720. inline bool velodyneLidarParams::has_rpm() const {
  1721. return (_has_bits_[0] & 0x00000400u) != 0;
  1722. }
  1723. inline void velodyneLidarParams::set_has_rpm() {
  1724. _has_bits_[0] |= 0x00000400u;
  1725. }
  1726. inline void velodyneLidarParams::clear_has_rpm() {
  1727. _has_bits_[0] &= ~0x00000400u;
  1728. }
  1729. inline void velodyneLidarParams::clear_rpm() {
  1730. rpm_ = 600;
  1731. clear_has_rpm();
  1732. }
  1733. inline ::google::protobuf::int32 velodyneLidarParams::rpm() const {
  1734. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.rpm)
  1735. return rpm_;
  1736. }
  1737. inline void velodyneLidarParams::set_rpm(::google::protobuf::int32 value) {
  1738. set_has_rpm();
  1739. rpm_ = value;
  1740. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.rpm)
  1741. }
  1742. // optional .velodyne.CalibParameter calib = 11;
  1743. inline bool velodyneLidarParams::has_calib() const {
  1744. return (_has_bits_[0] & 0x00000008u) != 0;
  1745. }
  1746. inline void velodyneLidarParams::set_has_calib() {
  1747. _has_bits_[0] |= 0x00000008u;
  1748. }
  1749. inline void velodyneLidarParams::clear_has_calib() {
  1750. _has_bits_[0] &= ~0x00000008u;
  1751. }
  1752. inline void velodyneLidarParams::clear_calib() {
  1753. if (calib_ != NULL) calib_->Clear();
  1754. clear_has_calib();
  1755. }
  1756. inline const ::velodyne::CalibParameter& velodyneLidarParams::_internal_calib() const {
  1757. return *calib_;
  1758. }
  1759. inline const ::velodyne::CalibParameter& velodyneLidarParams::calib() const {
  1760. const ::velodyne::CalibParameter* p = calib_;
  1761. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calib)
  1762. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
  1763. &::velodyne::_CalibParameter_default_instance_);
  1764. }
  1765. inline ::velodyne::CalibParameter* velodyneLidarParams::release_calib() {
  1766. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calib)
  1767. clear_has_calib();
  1768. ::velodyne::CalibParameter* temp = calib_;
  1769. calib_ = NULL;
  1770. return temp;
  1771. }
  1772. inline ::velodyne::CalibParameter* velodyneLidarParams::mutable_calib() {
  1773. set_has_calib();
  1774. if (calib_ == NULL) {
  1775. auto* p = CreateMaybeMessage<::velodyne::CalibParameter>(GetArenaNoVirtual());
  1776. calib_ = p;
  1777. }
  1778. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calib)
  1779. return calib_;
  1780. }
  1781. inline void velodyneLidarParams::set_allocated_calib(::velodyne::CalibParameter* calib) {
  1782. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1783. if (message_arena == NULL) {
  1784. delete calib_;
  1785. }
  1786. if (calib) {
  1787. ::google::protobuf::Arena* submessage_arena = NULL;
  1788. if (message_arena != submessage_arena) {
  1789. calib = ::google::protobuf::internal::GetOwnedMessage(
  1790. message_arena, calib, submessage_arena);
  1791. }
  1792. set_has_calib();
  1793. } else {
  1794. clear_has_calib();
  1795. }
  1796. calib_ = calib;
  1797. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calib)
  1798. }
  1799. // optional int32 difop = 12 [default = 7788];
  1800. inline bool velodyneLidarParams::has_difop() const {
  1801. return (_has_bits_[0] & 0x00000800u) != 0;
  1802. }
  1803. inline void velodyneLidarParams::set_has_difop() {
  1804. _has_bits_[0] |= 0x00000800u;
  1805. }
  1806. inline void velodyneLidarParams::clear_has_difop() {
  1807. _has_bits_[0] &= ~0x00000800u;
  1808. }
  1809. inline void velodyneLidarParams::clear_difop() {
  1810. difop_ = 7788;
  1811. clear_has_difop();
  1812. }
  1813. inline ::google::protobuf::int32 velodyneLidarParams::difop() const {
  1814. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.difop)
  1815. return difop_;
  1816. }
  1817. inline void velodyneLidarParams::set_difop(::google::protobuf::int32 value) {
  1818. set_has_difop();
  1819. difop_ = value;
  1820. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.difop)
  1821. }
  1822. // -------------------------------------------------------------------
  1823. // CalibParameter
  1824. // optional float r = 1 [default = 0];
  1825. inline bool CalibParameter::has_r() const {
  1826. return (_has_bits_[0] & 0x00000001u) != 0;
  1827. }
  1828. inline void CalibParameter::set_has_r() {
  1829. _has_bits_[0] |= 0x00000001u;
  1830. }
  1831. inline void CalibParameter::clear_has_r() {
  1832. _has_bits_[0] &= ~0x00000001u;
  1833. }
  1834. inline void CalibParameter::clear_r() {
  1835. r_ = 0;
  1836. clear_has_r();
  1837. }
  1838. inline float CalibParameter::r() const {
  1839. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.r)
  1840. return r_;
  1841. }
  1842. inline void CalibParameter::set_r(float value) {
  1843. set_has_r();
  1844. r_ = value;
  1845. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.r)
  1846. }
  1847. // optional float p = 2 [default = 0];
  1848. inline bool CalibParameter::has_p() const {
  1849. return (_has_bits_[0] & 0x00000002u) != 0;
  1850. }
  1851. inline void CalibParameter::set_has_p() {
  1852. _has_bits_[0] |= 0x00000002u;
  1853. }
  1854. inline void CalibParameter::clear_has_p() {
  1855. _has_bits_[0] &= ~0x00000002u;
  1856. }
  1857. inline void CalibParameter::clear_p() {
  1858. p_ = 0;
  1859. clear_has_p();
  1860. }
  1861. inline float CalibParameter::p() const {
  1862. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.p)
  1863. return p_;
  1864. }
  1865. inline void CalibParameter::set_p(float value) {
  1866. set_has_p();
  1867. p_ = value;
  1868. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.p)
  1869. }
  1870. // optional float y = 3 [default = 0];
  1871. inline bool CalibParameter::has_y() const {
  1872. return (_has_bits_[0] & 0x00000004u) != 0;
  1873. }
  1874. inline void CalibParameter::set_has_y() {
  1875. _has_bits_[0] |= 0x00000004u;
  1876. }
  1877. inline void CalibParameter::clear_has_y() {
  1878. _has_bits_[0] &= ~0x00000004u;
  1879. }
  1880. inline void CalibParameter::clear_y() {
  1881. y_ = 0;
  1882. clear_has_y();
  1883. }
  1884. inline float CalibParameter::y() const {
  1885. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.y)
  1886. return y_;
  1887. }
  1888. inline void CalibParameter::set_y(float value) {
  1889. set_has_y();
  1890. y_ = value;
  1891. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.y)
  1892. }
  1893. // optional float cx = 4 [default = 0];
  1894. inline bool CalibParameter::has_cx() const {
  1895. return (_has_bits_[0] & 0x00000008u) != 0;
  1896. }
  1897. inline void CalibParameter::set_has_cx() {
  1898. _has_bits_[0] |= 0x00000008u;
  1899. }
  1900. inline void CalibParameter::clear_has_cx() {
  1901. _has_bits_[0] &= ~0x00000008u;
  1902. }
  1903. inline void CalibParameter::clear_cx() {
  1904. cx_ = 0;
  1905. clear_has_cx();
  1906. }
  1907. inline float CalibParameter::cx() const {
  1908. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cx)
  1909. return cx_;
  1910. }
  1911. inline void CalibParameter::set_cx(float value) {
  1912. set_has_cx();
  1913. cx_ = value;
  1914. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cx)
  1915. }
  1916. // optional float cy = 5 [default = 0];
  1917. inline bool CalibParameter::has_cy() const {
  1918. return (_has_bits_[0] & 0x00000010u) != 0;
  1919. }
  1920. inline void CalibParameter::set_has_cy() {
  1921. _has_bits_[0] |= 0x00000010u;
  1922. }
  1923. inline void CalibParameter::clear_has_cy() {
  1924. _has_bits_[0] &= ~0x00000010u;
  1925. }
  1926. inline void CalibParameter::clear_cy() {
  1927. cy_ = 0;
  1928. clear_has_cy();
  1929. }
  1930. inline float CalibParameter::cy() const {
  1931. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cy)
  1932. return cy_;
  1933. }
  1934. inline void CalibParameter::set_cy(float value) {
  1935. set_has_cy();
  1936. cy_ = value;
  1937. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cy)
  1938. }
  1939. // optional float cz = 6 [default = 0];
  1940. inline bool CalibParameter::has_cz() const {
  1941. return (_has_bits_[0] & 0x00000020u) != 0;
  1942. }
  1943. inline void CalibParameter::set_has_cz() {
  1944. _has_bits_[0] |= 0x00000020u;
  1945. }
  1946. inline void CalibParameter::clear_has_cz() {
  1947. _has_bits_[0] &= ~0x00000020u;
  1948. }
  1949. inline void CalibParameter::clear_cz() {
  1950. cz_ = 0;
  1951. clear_has_cz();
  1952. }
  1953. inline float CalibParameter::cz() const {
  1954. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cz)
  1955. return cz_;
  1956. }
  1957. inline void CalibParameter::set_cz(float value) {
  1958. set_has_cz();
  1959. cz_ = value;
  1960. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cz)
  1961. }
  1962. // -------------------------------------------------------------------
  1963. // lidarExtrinsic
  1964. // required int32 lidar_id = 1;
  1965. inline bool lidarExtrinsic::has_lidar_id() const {
  1966. return (_has_bits_[0] & 0x00000002u) != 0;
  1967. }
  1968. inline void lidarExtrinsic::set_has_lidar_id() {
  1969. _has_bits_[0] |= 0x00000002u;
  1970. }
  1971. inline void lidarExtrinsic::clear_has_lidar_id() {
  1972. _has_bits_[0] &= ~0x00000002u;
  1973. }
  1974. inline void lidarExtrinsic::clear_lidar_id() {
  1975. lidar_id_ = 0;
  1976. clear_has_lidar_id();
  1977. }
  1978. inline ::google::protobuf::int32 lidarExtrinsic::lidar_id() const {
  1979. // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.lidar_id)
  1980. return lidar_id_;
  1981. }
  1982. inline void lidarExtrinsic::set_lidar_id(::google::protobuf::int32 value) {
  1983. set_has_lidar_id();
  1984. lidar_id_ = value;
  1985. // @@protoc_insertion_point(field_set:velodyne.lidarExtrinsic.lidar_id)
  1986. }
  1987. // optional .velodyne.CalibParameter calib = 2;
  1988. inline bool lidarExtrinsic::has_calib() const {
  1989. return (_has_bits_[0] & 0x00000001u) != 0;
  1990. }
  1991. inline void lidarExtrinsic::set_has_calib() {
  1992. _has_bits_[0] |= 0x00000001u;
  1993. }
  1994. inline void lidarExtrinsic::clear_has_calib() {
  1995. _has_bits_[0] &= ~0x00000001u;
  1996. }
  1997. inline void lidarExtrinsic::clear_calib() {
  1998. if (calib_ != NULL) calib_->Clear();
  1999. clear_has_calib();
  2000. }
  2001. inline const ::velodyne::CalibParameter& lidarExtrinsic::_internal_calib() const {
  2002. return *calib_;
  2003. }
  2004. inline const ::velodyne::CalibParameter& lidarExtrinsic::calib() const {
  2005. const ::velodyne::CalibParameter* p = calib_;
  2006. // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.calib)
  2007. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
  2008. &::velodyne::_CalibParameter_default_instance_);
  2009. }
  2010. inline ::velodyne::CalibParameter* lidarExtrinsic::release_calib() {
  2011. // @@protoc_insertion_point(field_release:velodyne.lidarExtrinsic.calib)
  2012. clear_has_calib();
  2013. ::velodyne::CalibParameter* temp = calib_;
  2014. calib_ = NULL;
  2015. return temp;
  2016. }
  2017. inline ::velodyne::CalibParameter* lidarExtrinsic::mutable_calib() {
  2018. set_has_calib();
  2019. if (calib_ == NULL) {
  2020. auto* p = CreateMaybeMessage<::velodyne::CalibParameter>(GetArenaNoVirtual());
  2021. calib_ = p;
  2022. }
  2023. // @@protoc_insertion_point(field_mutable:velodyne.lidarExtrinsic.calib)
  2024. return calib_;
  2025. }
  2026. inline void lidarExtrinsic::set_allocated_calib(::velodyne::CalibParameter* calib) {
  2027. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2028. if (message_arena == NULL) {
  2029. delete calib_;
  2030. }
  2031. if (calib) {
  2032. ::google::protobuf::Arena* submessage_arena = NULL;
  2033. if (message_arena != submessage_arena) {
  2034. calib = ::google::protobuf::internal::GetOwnedMessage(
  2035. message_arena, calib, submessage_arena);
  2036. }
  2037. set_has_calib();
  2038. } else {
  2039. clear_has_calib();
  2040. }
  2041. calib_ = calib;
  2042. // @@protoc_insertion_point(field_set_allocated:velodyne.lidarExtrinsic.calib)
  2043. }
  2044. // -------------------------------------------------------------------
  2045. // Region
  2046. // required float minx = 1;
  2047. inline bool Region::has_minx() const {
  2048. return (_has_bits_[0] & 0x00000001u) != 0;
  2049. }
  2050. inline void Region::set_has_minx() {
  2051. _has_bits_[0] |= 0x00000001u;
  2052. }
  2053. inline void Region::clear_has_minx() {
  2054. _has_bits_[0] &= ~0x00000001u;
  2055. }
  2056. inline void Region::clear_minx() {
  2057. minx_ = 0;
  2058. clear_has_minx();
  2059. }
  2060. inline float Region::minx() const {
  2061. // @@protoc_insertion_point(field_get:velodyne.Region.minx)
  2062. return minx_;
  2063. }
  2064. inline void Region::set_minx(float value) {
  2065. set_has_minx();
  2066. minx_ = value;
  2067. // @@protoc_insertion_point(field_set:velodyne.Region.minx)
  2068. }
  2069. // required float maxx = 2;
  2070. inline bool Region::has_maxx() const {
  2071. return (_has_bits_[0] & 0x00000002u) != 0;
  2072. }
  2073. inline void Region::set_has_maxx() {
  2074. _has_bits_[0] |= 0x00000002u;
  2075. }
  2076. inline void Region::clear_has_maxx() {
  2077. _has_bits_[0] &= ~0x00000002u;
  2078. }
  2079. inline void Region::clear_maxx() {
  2080. maxx_ = 0;
  2081. clear_has_maxx();
  2082. }
  2083. inline float Region::maxx() const {
  2084. // @@protoc_insertion_point(field_get:velodyne.Region.maxx)
  2085. return maxx_;
  2086. }
  2087. inline void Region::set_maxx(float value) {
  2088. set_has_maxx();
  2089. maxx_ = value;
  2090. // @@protoc_insertion_point(field_set:velodyne.Region.maxx)
  2091. }
  2092. // required float miny = 3;
  2093. inline bool Region::has_miny() const {
  2094. return (_has_bits_[0] & 0x00000004u) != 0;
  2095. }
  2096. inline void Region::set_has_miny() {
  2097. _has_bits_[0] |= 0x00000004u;
  2098. }
  2099. inline void Region::clear_has_miny() {
  2100. _has_bits_[0] &= ~0x00000004u;
  2101. }
  2102. inline void Region::clear_miny() {
  2103. miny_ = 0;
  2104. clear_has_miny();
  2105. }
  2106. inline float Region::miny() const {
  2107. // @@protoc_insertion_point(field_get:velodyne.Region.miny)
  2108. return miny_;
  2109. }
  2110. inline void Region::set_miny(float value) {
  2111. set_has_miny();
  2112. miny_ = value;
  2113. // @@protoc_insertion_point(field_set:velodyne.Region.miny)
  2114. }
  2115. // required float maxy = 4;
  2116. inline bool Region::has_maxy() const {
  2117. return (_has_bits_[0] & 0x00000008u) != 0;
  2118. }
  2119. inline void Region::set_has_maxy() {
  2120. _has_bits_[0] |= 0x00000008u;
  2121. }
  2122. inline void Region::clear_has_maxy() {
  2123. _has_bits_[0] &= ~0x00000008u;
  2124. }
  2125. inline void Region::clear_maxy() {
  2126. maxy_ = 0;
  2127. clear_has_maxy();
  2128. }
  2129. inline float Region::maxy() const {
  2130. // @@protoc_insertion_point(field_get:velodyne.Region.maxy)
  2131. return maxy_;
  2132. }
  2133. inline void Region::set_maxy(float value) {
  2134. set_has_maxy();
  2135. maxy_ = value;
  2136. // @@protoc_insertion_point(field_set:velodyne.Region.maxy)
  2137. }
  2138. // required float minz = 5;
  2139. inline bool Region::has_minz() const {
  2140. return (_has_bits_[0] & 0x00000010u) != 0;
  2141. }
  2142. inline void Region::set_has_minz() {
  2143. _has_bits_[0] |= 0x00000010u;
  2144. }
  2145. inline void Region::clear_has_minz() {
  2146. _has_bits_[0] &= ~0x00000010u;
  2147. }
  2148. inline void Region::clear_minz() {
  2149. minz_ = 0;
  2150. clear_has_minz();
  2151. }
  2152. inline float Region::minz() const {
  2153. // @@protoc_insertion_point(field_get:velodyne.Region.minz)
  2154. return minz_;
  2155. }
  2156. inline void Region::set_minz(float value) {
  2157. set_has_minz();
  2158. minz_ = value;
  2159. // @@protoc_insertion_point(field_set:velodyne.Region.minz)
  2160. }
  2161. // required float maxz = 6;
  2162. inline bool Region::has_maxz() const {
  2163. return (_has_bits_[0] & 0x00000020u) != 0;
  2164. }
  2165. inline void Region::set_has_maxz() {
  2166. _has_bits_[0] |= 0x00000020u;
  2167. }
  2168. inline void Region::clear_has_maxz() {
  2169. _has_bits_[0] &= ~0x00000020u;
  2170. }
  2171. inline void Region::clear_maxz() {
  2172. maxz_ = 0;
  2173. clear_has_maxz();
  2174. }
  2175. inline float Region::maxz() const {
  2176. // @@protoc_insertion_point(field_get:velodyne.Region.maxz)
  2177. return maxz_;
  2178. }
  2179. inline void Region::set_maxz(float value) {
  2180. set_has_maxz();
  2181. maxz_ = value;
  2182. // @@protoc_insertion_point(field_set:velodyne.Region.maxz)
  2183. }
  2184. // required int32 region_id = 7;
  2185. inline bool Region::has_region_id() const {
  2186. return (_has_bits_[0] & 0x00000040u) != 0;
  2187. }
  2188. inline void Region::set_has_region_id() {
  2189. _has_bits_[0] |= 0x00000040u;
  2190. }
  2191. inline void Region::clear_has_region_id() {
  2192. _has_bits_[0] &= ~0x00000040u;
  2193. }
  2194. inline void Region::clear_region_id() {
  2195. region_id_ = 0;
  2196. clear_has_region_id();
  2197. }
  2198. inline ::google::protobuf::int32 Region::region_id() const {
  2199. // @@protoc_insertion_point(field_get:velodyne.Region.region_id)
  2200. return region_id_;
  2201. }
  2202. inline void Region::set_region_id(::google::protobuf::int32 value) {
  2203. set_has_region_id();
  2204. region_id_ = value;
  2205. // @@protoc_insertion_point(field_set:velodyne.Region.region_id)
  2206. }
  2207. // repeated .velodyne.lidarExtrinsic lidar_exts = 8;
  2208. inline int Region::lidar_exts_size() const {
  2209. return lidar_exts_.size();
  2210. }
  2211. inline void Region::clear_lidar_exts() {
  2212. lidar_exts_.Clear();
  2213. }
  2214. inline ::velodyne::lidarExtrinsic* Region::mutable_lidar_exts(int index) {
  2215. // @@protoc_insertion_point(field_mutable:velodyne.Region.lidar_exts)
  2216. return lidar_exts_.Mutable(index);
  2217. }
  2218. inline ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >*
  2219. Region::mutable_lidar_exts() {
  2220. // @@protoc_insertion_point(field_mutable_list:velodyne.Region.lidar_exts)
  2221. return &lidar_exts_;
  2222. }
  2223. inline const ::velodyne::lidarExtrinsic& Region::lidar_exts(int index) const {
  2224. // @@protoc_insertion_point(field_get:velodyne.Region.lidar_exts)
  2225. return lidar_exts_.Get(index);
  2226. }
  2227. inline ::velodyne::lidarExtrinsic* Region::add_lidar_exts() {
  2228. // @@protoc_insertion_point(field_add:velodyne.Region.lidar_exts)
  2229. return lidar_exts_.Add();
  2230. }
  2231. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >&
  2232. Region::lidar_exts() const {
  2233. // @@protoc_insertion_point(field_list:velodyne.Region.lidar_exts)
  2234. return lidar_exts_;
  2235. }
  2236. // required float turnplate_cx = 9;
  2237. inline bool Region::has_turnplate_cx() const {
  2238. return (_has_bits_[0] & 0x00000080u) != 0;
  2239. }
  2240. inline void Region::set_has_turnplate_cx() {
  2241. _has_bits_[0] |= 0x00000080u;
  2242. }
  2243. inline void Region::clear_has_turnplate_cx() {
  2244. _has_bits_[0] &= ~0x00000080u;
  2245. }
  2246. inline void Region::clear_turnplate_cx() {
  2247. turnplate_cx_ = 0;
  2248. clear_has_turnplate_cx();
  2249. }
  2250. inline float Region::turnplate_cx() const {
  2251. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_cx)
  2252. return turnplate_cx_;
  2253. }
  2254. inline void Region::set_turnplate_cx(float value) {
  2255. set_has_turnplate_cx();
  2256. turnplate_cx_ = value;
  2257. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_cx)
  2258. }
  2259. // required float turnplate_cy = 10;
  2260. inline bool Region::has_turnplate_cy() const {
  2261. return (_has_bits_[0] & 0x00000100u) != 0;
  2262. }
  2263. inline void Region::set_has_turnplate_cy() {
  2264. _has_bits_[0] |= 0x00000100u;
  2265. }
  2266. inline void Region::clear_has_turnplate_cy() {
  2267. _has_bits_[0] &= ~0x00000100u;
  2268. }
  2269. inline void Region::clear_turnplate_cy() {
  2270. turnplate_cy_ = 0;
  2271. clear_has_turnplate_cy();
  2272. }
  2273. inline float Region::turnplate_cy() const {
  2274. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_cy)
  2275. return turnplate_cy_;
  2276. }
  2277. inline void Region::set_turnplate_cy(float value) {
  2278. set_has_turnplate_cy();
  2279. turnplate_cy_ = value;
  2280. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_cy)
  2281. }
  2282. // required float border_minx = 11;
  2283. inline bool Region::has_border_minx() const {
  2284. return (_has_bits_[0] & 0x00000200u) != 0;
  2285. }
  2286. inline void Region::set_has_border_minx() {
  2287. _has_bits_[0] |= 0x00000200u;
  2288. }
  2289. inline void Region::clear_has_border_minx() {
  2290. _has_bits_[0] &= ~0x00000200u;
  2291. }
  2292. inline void Region::clear_border_minx() {
  2293. border_minx_ = 0;
  2294. clear_has_border_minx();
  2295. }
  2296. inline float Region::border_minx() const {
  2297. // @@protoc_insertion_point(field_get:velodyne.Region.border_minx)
  2298. return border_minx_;
  2299. }
  2300. inline void Region::set_border_minx(float value) {
  2301. set_has_border_minx();
  2302. border_minx_ = value;
  2303. // @@protoc_insertion_point(field_set:velodyne.Region.border_minx)
  2304. }
  2305. // required float border_maxx = 12;
  2306. inline bool Region::has_border_maxx() const {
  2307. return (_has_bits_[0] & 0x00000400u) != 0;
  2308. }
  2309. inline void Region::set_has_border_maxx() {
  2310. _has_bits_[0] |= 0x00000400u;
  2311. }
  2312. inline void Region::clear_has_border_maxx() {
  2313. _has_bits_[0] &= ~0x00000400u;
  2314. }
  2315. inline void Region::clear_border_maxx() {
  2316. border_maxx_ = 0;
  2317. clear_has_border_maxx();
  2318. }
  2319. inline float Region::border_maxx() const {
  2320. // @@protoc_insertion_point(field_get:velodyne.Region.border_maxx)
  2321. return border_maxx_;
  2322. }
  2323. inline void Region::set_border_maxx(float value) {
  2324. set_has_border_maxx();
  2325. border_maxx_ = value;
  2326. // @@protoc_insertion_point(field_set:velodyne.Region.border_maxx)
  2327. }
  2328. // required float plc_offsetx = 13;
  2329. inline bool Region::has_plc_offsetx() const {
  2330. return (_has_bits_[0] & 0x00000800u) != 0;
  2331. }
  2332. inline void Region::set_has_plc_offsetx() {
  2333. _has_bits_[0] |= 0x00000800u;
  2334. }
  2335. inline void Region::clear_has_plc_offsetx() {
  2336. _has_bits_[0] &= ~0x00000800u;
  2337. }
  2338. inline void Region::clear_plc_offsetx() {
  2339. plc_offsetx_ = 0;
  2340. clear_has_plc_offsetx();
  2341. }
  2342. inline float Region::plc_offsetx() const {
  2343. // @@protoc_insertion_point(field_get:velodyne.Region.plc_offsetx)
  2344. return plc_offsetx_;
  2345. }
  2346. inline void Region::set_plc_offsetx(float value) {
  2347. set_has_plc_offsetx();
  2348. plc_offsetx_ = value;
  2349. // @@protoc_insertion_point(field_set:velodyne.Region.plc_offsetx)
  2350. }
  2351. // required float plc_offsety = 14;
  2352. inline bool Region::has_plc_offsety() const {
  2353. return (_has_bits_[0] & 0x00001000u) != 0;
  2354. }
  2355. inline void Region::set_has_plc_offsety() {
  2356. _has_bits_[0] |= 0x00001000u;
  2357. }
  2358. inline void Region::clear_has_plc_offsety() {
  2359. _has_bits_[0] &= ~0x00001000u;
  2360. }
  2361. inline void Region::clear_plc_offsety() {
  2362. plc_offsety_ = 0;
  2363. clear_has_plc_offsety();
  2364. }
  2365. inline float Region::plc_offsety() const {
  2366. // @@protoc_insertion_point(field_get:velodyne.Region.plc_offsety)
  2367. return plc_offsety_;
  2368. }
  2369. inline void Region::set_plc_offsety(float value) {
  2370. set_has_plc_offsety();
  2371. plc_offsety_ = value;
  2372. // @@protoc_insertion_point(field_set:velodyne.Region.plc_offsety)
  2373. }
  2374. // required float plc_offset_degree = 15;
  2375. inline bool Region::has_plc_offset_degree() const {
  2376. return (_has_bits_[0] & 0x00002000u) != 0;
  2377. }
  2378. inline void Region::set_has_plc_offset_degree() {
  2379. _has_bits_[0] |= 0x00002000u;
  2380. }
  2381. inline void Region::clear_has_plc_offset_degree() {
  2382. _has_bits_[0] &= ~0x00002000u;
  2383. }
  2384. inline void Region::clear_plc_offset_degree() {
  2385. plc_offset_degree_ = 0;
  2386. clear_has_plc_offset_degree();
  2387. }
  2388. inline float Region::plc_offset_degree() const {
  2389. // @@protoc_insertion_point(field_get:velodyne.Region.plc_offset_degree)
  2390. return plc_offset_degree_;
  2391. }
  2392. inline void Region::set_plc_offset_degree(float value) {
  2393. set_has_plc_offset_degree();
  2394. plc_offset_degree_ = value;
  2395. // @@protoc_insertion_point(field_set:velodyne.Region.plc_offset_degree)
  2396. }
  2397. // required float plc_border_miny = 16;
  2398. inline bool Region::has_plc_border_miny() const {
  2399. return (_has_bits_[0] & 0x00004000u) != 0;
  2400. }
  2401. inline void Region::set_has_plc_border_miny() {
  2402. _has_bits_[0] |= 0x00004000u;
  2403. }
  2404. inline void Region::clear_has_plc_border_miny() {
  2405. _has_bits_[0] &= ~0x00004000u;
  2406. }
  2407. inline void Region::clear_plc_border_miny() {
  2408. plc_border_miny_ = 0;
  2409. clear_has_plc_border_miny();
  2410. }
  2411. inline float Region::plc_border_miny() const {
  2412. // @@protoc_insertion_point(field_get:velodyne.Region.plc_border_miny)
  2413. return plc_border_miny_;
  2414. }
  2415. inline void Region::set_plc_border_miny(float value) {
  2416. set_has_plc_border_miny();
  2417. plc_border_miny_ = value;
  2418. // @@protoc_insertion_point(field_set:velodyne.Region.plc_border_miny)
  2419. }
  2420. // required float plc_border_maxy = 17;
  2421. inline bool Region::has_plc_border_maxy() const {
  2422. return (_has_bits_[0] & 0x00008000u) != 0;
  2423. }
  2424. inline void Region::set_has_plc_border_maxy() {
  2425. _has_bits_[0] |= 0x00008000u;
  2426. }
  2427. inline void Region::clear_has_plc_border_maxy() {
  2428. _has_bits_[0] &= ~0x00008000u;
  2429. }
  2430. inline void Region::clear_plc_border_maxy() {
  2431. plc_border_maxy_ = 0;
  2432. clear_has_plc_border_maxy();
  2433. }
  2434. inline float Region::plc_border_maxy() const {
  2435. // @@protoc_insertion_point(field_get:velodyne.Region.plc_border_maxy)
  2436. return plc_border_maxy_;
  2437. }
  2438. inline void Region::set_plc_border_maxy(float value) {
  2439. set_has_plc_border_maxy();
  2440. plc_border_maxy_ = value;
  2441. // @@protoc_insertion_point(field_set:velodyne.Region.plc_border_maxy)
  2442. }
  2443. // required float car_min_width = 18;
  2444. inline bool Region::has_car_min_width() const {
  2445. return (_has_bits_[0] & 0x00010000u) != 0;
  2446. }
  2447. inline void Region::set_has_car_min_width() {
  2448. _has_bits_[0] |= 0x00010000u;
  2449. }
  2450. inline void Region::clear_has_car_min_width() {
  2451. _has_bits_[0] &= ~0x00010000u;
  2452. }
  2453. inline void Region::clear_car_min_width() {
  2454. car_min_width_ = 0;
  2455. clear_has_car_min_width();
  2456. }
  2457. inline float Region::car_min_width() const {
  2458. // @@protoc_insertion_point(field_get:velodyne.Region.car_min_width)
  2459. return car_min_width_;
  2460. }
  2461. inline void Region::set_car_min_width(float value) {
  2462. set_has_car_min_width();
  2463. car_min_width_ = value;
  2464. // @@protoc_insertion_point(field_set:velodyne.Region.car_min_width)
  2465. }
  2466. // required float car_max_width = 19;
  2467. inline bool Region::has_car_max_width() const {
  2468. return (_has_bits_[0] & 0x00020000u) != 0;
  2469. }
  2470. inline void Region::set_has_car_max_width() {
  2471. _has_bits_[0] |= 0x00020000u;
  2472. }
  2473. inline void Region::clear_has_car_max_width() {
  2474. _has_bits_[0] &= ~0x00020000u;
  2475. }
  2476. inline void Region::clear_car_max_width() {
  2477. car_max_width_ = 0;
  2478. clear_has_car_max_width();
  2479. }
  2480. inline float Region::car_max_width() const {
  2481. // @@protoc_insertion_point(field_get:velodyne.Region.car_max_width)
  2482. return car_max_width_;
  2483. }
  2484. inline void Region::set_car_max_width(float value) {
  2485. set_has_car_max_width();
  2486. car_max_width_ = value;
  2487. // @@protoc_insertion_point(field_set:velodyne.Region.car_max_width)
  2488. }
  2489. // required float car_min_wheelbase = 20;
  2490. inline bool Region::has_car_min_wheelbase() const {
  2491. return (_has_bits_[0] & 0x00040000u) != 0;
  2492. }
  2493. inline void Region::set_has_car_min_wheelbase() {
  2494. _has_bits_[0] |= 0x00040000u;
  2495. }
  2496. inline void Region::clear_has_car_min_wheelbase() {
  2497. _has_bits_[0] &= ~0x00040000u;
  2498. }
  2499. inline void Region::clear_car_min_wheelbase() {
  2500. car_min_wheelbase_ = 0;
  2501. clear_has_car_min_wheelbase();
  2502. }
  2503. inline float Region::car_min_wheelbase() const {
  2504. // @@protoc_insertion_point(field_get:velodyne.Region.car_min_wheelbase)
  2505. return car_min_wheelbase_;
  2506. }
  2507. inline void Region::set_car_min_wheelbase(float value) {
  2508. set_has_car_min_wheelbase();
  2509. car_min_wheelbase_ = value;
  2510. // @@protoc_insertion_point(field_set:velodyne.Region.car_min_wheelbase)
  2511. }
  2512. // required float car_max_wheelbase = 21;
  2513. inline bool Region::has_car_max_wheelbase() const {
  2514. return (_has_bits_[0] & 0x00080000u) != 0;
  2515. }
  2516. inline void Region::set_has_car_max_wheelbase() {
  2517. _has_bits_[0] |= 0x00080000u;
  2518. }
  2519. inline void Region::clear_has_car_max_wheelbase() {
  2520. _has_bits_[0] &= ~0x00080000u;
  2521. }
  2522. inline void Region::clear_car_max_wheelbase() {
  2523. car_max_wheelbase_ = 0;
  2524. clear_has_car_max_wheelbase();
  2525. }
  2526. inline float Region::car_max_wheelbase() const {
  2527. // @@protoc_insertion_point(field_get:velodyne.Region.car_max_wheelbase)
  2528. return car_max_wheelbase_;
  2529. }
  2530. inline void Region::set_car_max_wheelbase(float value) {
  2531. set_has_car_max_wheelbase();
  2532. car_max_wheelbase_ = value;
  2533. // @@protoc_insertion_point(field_set:velodyne.Region.car_max_wheelbase)
  2534. }
  2535. // required float turnplate_angle_limit_anti_clockwise = 22;
  2536. inline bool Region::has_turnplate_angle_limit_anti_clockwise() const {
  2537. return (_has_bits_[0] & 0x00100000u) != 0;
  2538. }
  2539. inline void Region::set_has_turnplate_angle_limit_anti_clockwise() {
  2540. _has_bits_[0] |= 0x00100000u;
  2541. }
  2542. inline void Region::clear_has_turnplate_angle_limit_anti_clockwise() {
  2543. _has_bits_[0] &= ~0x00100000u;
  2544. }
  2545. inline void Region::clear_turnplate_angle_limit_anti_clockwise() {
  2546. turnplate_angle_limit_anti_clockwise_ = 0;
  2547. clear_has_turnplate_angle_limit_anti_clockwise();
  2548. }
  2549. inline float Region::turnplate_angle_limit_anti_clockwise() const {
  2550. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_angle_limit_anti_clockwise)
  2551. return turnplate_angle_limit_anti_clockwise_;
  2552. }
  2553. inline void Region::set_turnplate_angle_limit_anti_clockwise(float value) {
  2554. set_has_turnplate_angle_limit_anti_clockwise();
  2555. turnplate_angle_limit_anti_clockwise_ = value;
  2556. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_angle_limit_anti_clockwise)
  2557. }
  2558. // required float turnplate_angle_limit_clockwise = 23;
  2559. inline bool Region::has_turnplate_angle_limit_clockwise() const {
  2560. return (_has_bits_[0] & 0x00200000u) != 0;
  2561. }
  2562. inline void Region::set_has_turnplate_angle_limit_clockwise() {
  2563. _has_bits_[0] |= 0x00200000u;
  2564. }
  2565. inline void Region::clear_has_turnplate_angle_limit_clockwise() {
  2566. _has_bits_[0] &= ~0x00200000u;
  2567. }
  2568. inline void Region::clear_turnplate_angle_limit_clockwise() {
  2569. turnplate_angle_limit_clockwise_ = 0;
  2570. clear_has_turnplate_angle_limit_clockwise();
  2571. }
  2572. inline float Region::turnplate_angle_limit_clockwise() const {
  2573. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_angle_limit_clockwise)
  2574. return turnplate_angle_limit_clockwise_;
  2575. }
  2576. inline void Region::set_turnplate_angle_limit_clockwise(float value) {
  2577. set_has_turnplate_angle_limit_clockwise();
  2578. turnplate_angle_limit_clockwise_ = value;
  2579. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_angle_limit_clockwise)
  2580. }
  2581. #ifdef __GNUC__
  2582. #pragma GCC diagnostic pop
  2583. #endif // __GNUC__
  2584. // -------------------------------------------------------------------
  2585. // -------------------------------------------------------------------
  2586. // -------------------------------------------------------------------
  2587. // -------------------------------------------------------------------
  2588. // @@protoc_insertion_point(namespace_scope)
  2589. } // namespace velodyne
  2590. // @@protoc_insertion_point(global_scope)
  2591. #endif // PROTOBUF_INCLUDED_velodyne_5fconfig_2eproto