velodyne_config.pb.h 94 KB

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