velodyne_config.pb.h 95 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771
  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 plc_border_maxy = 17;
  910. bool has_plc_border_maxy() const;
  911. void clear_plc_border_maxy();
  912. static const int kPlcBorderMaxyFieldNumber = 17;
  913. float plc_border_maxy() const;
  914. void set_plc_border_maxy(float value);
  915. // required float car_min_width = 18;
  916. bool has_car_min_width() const;
  917. void clear_car_min_width();
  918. static const int kCarMinWidthFieldNumber = 18;
  919. float car_min_width() const;
  920. void set_car_min_width(float value);
  921. // required float car_max_width = 19;
  922. bool has_car_max_width() const;
  923. void clear_car_max_width();
  924. static const int kCarMaxWidthFieldNumber = 19;
  925. float car_max_width() const;
  926. void set_car_max_width(float value);
  927. // required float car_min_wheelbase = 20;
  928. bool has_car_min_wheelbase() const;
  929. void clear_car_min_wheelbase();
  930. static const int kCarMinWheelbaseFieldNumber = 20;
  931. float car_min_wheelbase() const;
  932. void set_car_min_wheelbase(float value);
  933. // required float car_max_wheelbase = 21;
  934. bool has_car_max_wheelbase() const;
  935. void clear_car_max_wheelbase();
  936. static const int kCarMaxWheelbaseFieldNumber = 21;
  937. float car_max_wheelbase() const;
  938. void set_car_max_wheelbase(float value);
  939. // required float turnplate_angle_limit_anti_clockwise = 22;
  940. bool has_turnplate_angle_limit_anti_clockwise() const;
  941. void clear_turnplate_angle_limit_anti_clockwise();
  942. static const int kTurnplateAngleLimitAntiClockwiseFieldNumber = 22;
  943. float turnplate_angle_limit_anti_clockwise() const;
  944. void set_turnplate_angle_limit_anti_clockwise(float value);
  945. // required float turnplate_angle_limit_clockwise = 23;
  946. bool has_turnplate_angle_limit_clockwise() const;
  947. void clear_turnplate_angle_limit_clockwise();
  948. static const int kTurnplateAngleLimitClockwiseFieldNumber = 23;
  949. float turnplate_angle_limit_clockwise() const;
  950. void set_turnplate_angle_limit_clockwise(float value);
  951. // @@protoc_insertion_point(class_scope:velodyne.Region)
  952. private:
  953. void set_has_minx();
  954. void clear_has_minx();
  955. void set_has_maxx();
  956. void clear_has_maxx();
  957. void set_has_miny();
  958. void clear_has_miny();
  959. void set_has_maxy();
  960. void clear_has_maxy();
  961. void set_has_minz();
  962. void clear_has_minz();
  963. void set_has_maxz();
  964. void clear_has_maxz();
  965. void set_has_region_id();
  966. void clear_has_region_id();
  967. void set_has_turnplate_cx();
  968. void clear_has_turnplate_cx();
  969. void set_has_turnplate_cy();
  970. void clear_has_turnplate_cy();
  971. void set_has_border_minx();
  972. void clear_has_border_minx();
  973. void set_has_border_maxx();
  974. void clear_has_border_maxx();
  975. void set_has_plc_offsetx();
  976. void clear_has_plc_offsetx();
  977. void set_has_plc_offsety();
  978. void clear_has_plc_offsety();
  979. void set_has_plc_offset_degree();
  980. void clear_has_plc_offset_degree();
  981. void set_has_plc_border_miny();
  982. void clear_has_plc_border_miny();
  983. void set_has_plc_border_maxy();
  984. void clear_has_plc_border_maxy();
  985. void set_has_car_min_width();
  986. void clear_has_car_min_width();
  987. void set_has_car_max_width();
  988. void clear_has_car_max_width();
  989. void set_has_car_min_wheelbase();
  990. void clear_has_car_min_wheelbase();
  991. void set_has_car_max_wheelbase();
  992. void clear_has_car_max_wheelbase();
  993. void set_has_turnplate_angle_limit_anti_clockwise();
  994. void clear_has_turnplate_angle_limit_anti_clockwise();
  995. void set_has_turnplate_angle_limit_clockwise();
  996. void clear_has_turnplate_angle_limit_clockwise();
  997. // helper for ByteSizeLong()
  998. size_t RequiredFieldsByteSizeFallback() const;
  999. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1000. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1001. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1002. ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic > lidar_exts_;
  1003. float minx_;
  1004. float maxx_;
  1005. float miny_;
  1006. float maxy_;
  1007. float minz_;
  1008. float maxz_;
  1009. ::google::protobuf::int32 region_id_;
  1010. float turnplate_cx_;
  1011. float turnplate_cy_;
  1012. float border_minx_;
  1013. float border_maxx_;
  1014. float plc_offsetx_;
  1015. float plc_offsety_;
  1016. float plc_offset_degree_;
  1017. float plc_border_miny_;
  1018. float plc_border_maxy_;
  1019. float car_min_width_;
  1020. float car_max_width_;
  1021. float car_min_wheelbase_;
  1022. float car_max_wheelbase_;
  1023. float turnplate_angle_limit_anti_clockwise_;
  1024. float turnplate_angle_limit_clockwise_;
  1025. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  1026. };
  1027. // ===================================================================
  1028. // ===================================================================
  1029. #ifdef __GNUC__
  1030. #pragma GCC diagnostic push
  1031. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1032. #endif // __GNUC__
  1033. // velodyneManagerParams
  1034. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  1035. inline int velodyneManagerParams::velodyne_lidars_size() const {
  1036. return velodyne_lidars_.size();
  1037. }
  1038. inline void velodyneManagerParams::clear_velodyne_lidars() {
  1039. velodyne_lidars_.Clear();
  1040. }
  1041. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::mutable_velodyne_lidars(int index) {
  1042. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.velodyne_lidars)
  1043. return velodyne_lidars_.Mutable(index);
  1044. }
  1045. inline ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  1046. velodyneManagerParams::mutable_velodyne_lidars() {
  1047. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.velodyne_lidars)
  1048. return &velodyne_lidars_;
  1049. }
  1050. inline const ::velodyne::velodyneLidarParams& velodyneManagerParams::velodyne_lidars(int index) const {
  1051. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.velodyne_lidars)
  1052. return velodyne_lidars_.Get(index);
  1053. }
  1054. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::add_velodyne_lidars() {
  1055. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.velodyne_lidars)
  1056. return velodyne_lidars_.Add();
  1057. }
  1058. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  1059. velodyneManagerParams::velodyne_lidars() const {
  1060. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.velodyne_lidars)
  1061. return velodyne_lidars_;
  1062. }
  1063. // repeated .velodyne.Region region = 2;
  1064. inline int velodyneManagerParams::region_size() const {
  1065. return region_.size();
  1066. }
  1067. inline void velodyneManagerParams::clear_region() {
  1068. region_.Clear();
  1069. }
  1070. inline ::velodyne::Region* velodyneManagerParams::mutable_region(int index) {
  1071. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.region)
  1072. return region_.Mutable(index);
  1073. }
  1074. inline ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  1075. velodyneManagerParams::mutable_region() {
  1076. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.region)
  1077. return &region_;
  1078. }
  1079. inline const ::velodyne::Region& velodyneManagerParams::region(int index) const {
  1080. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.region)
  1081. return region_.Get(index);
  1082. }
  1083. inline ::velodyne::Region* velodyneManagerParams::add_region() {
  1084. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.region)
  1085. return region_.Add();
  1086. }
  1087. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  1088. velodyneManagerParams::region() const {
  1089. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.region)
  1090. return region_;
  1091. }
  1092. // optional string fence_data_path = 3 [default = ""];
  1093. inline bool velodyneManagerParams::has_fence_data_path() const {
  1094. return (_has_bits_[0] & 0x00000001u) != 0;
  1095. }
  1096. inline void velodyneManagerParams::set_has_fence_data_path() {
  1097. _has_bits_[0] |= 0x00000001u;
  1098. }
  1099. inline void velodyneManagerParams::clear_has_fence_data_path() {
  1100. _has_bits_[0] &= ~0x00000001u;
  1101. }
  1102. inline void velodyneManagerParams::clear_fence_data_path() {
  1103. fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1104. clear_has_fence_data_path();
  1105. }
  1106. inline const ::std::string& velodyneManagerParams::fence_data_path() const {
  1107. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_data_path)
  1108. return fence_data_path_.GetNoArena();
  1109. }
  1110. inline void velodyneManagerParams::set_fence_data_path(const ::std::string& value) {
  1111. set_has_fence_data_path();
  1112. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1113. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_data_path)
  1114. }
  1115. #if LANG_CXX11
  1116. inline void velodyneManagerParams::set_fence_data_path(::std::string&& value) {
  1117. set_has_fence_data_path();
  1118. fence_data_path_.SetNoArena(
  1119. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1120. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_data_path)
  1121. }
  1122. #endif
  1123. inline void velodyneManagerParams::set_fence_data_path(const char* value) {
  1124. GOOGLE_DCHECK(value != NULL);
  1125. set_has_fence_data_path();
  1126. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1127. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_data_path)
  1128. }
  1129. inline void velodyneManagerParams::set_fence_data_path(const char* value, size_t size) {
  1130. set_has_fence_data_path();
  1131. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1132. ::std::string(reinterpret_cast<const char*>(value), size));
  1133. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_data_path)
  1134. }
  1135. inline ::std::string* velodyneManagerParams::mutable_fence_data_path() {
  1136. set_has_fence_data_path();
  1137. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_data_path)
  1138. return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1139. }
  1140. inline ::std::string* velodyneManagerParams::release_fence_data_path() {
  1141. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_data_path)
  1142. if (!has_fence_data_path()) {
  1143. return NULL;
  1144. }
  1145. clear_has_fence_data_path();
  1146. return fence_data_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1147. }
  1148. inline void velodyneManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
  1149. if (fence_data_path != NULL) {
  1150. set_has_fence_data_path();
  1151. } else {
  1152. clear_has_fence_data_path();
  1153. }
  1154. fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
  1155. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_data_path)
  1156. }
  1157. // optional string fence_log_path = 4 [default = ""];
  1158. inline bool velodyneManagerParams::has_fence_log_path() const {
  1159. return (_has_bits_[0] & 0x00000002u) != 0;
  1160. }
  1161. inline void velodyneManagerParams::set_has_fence_log_path() {
  1162. _has_bits_[0] |= 0x00000002u;
  1163. }
  1164. inline void velodyneManagerParams::clear_has_fence_log_path() {
  1165. _has_bits_[0] &= ~0x00000002u;
  1166. }
  1167. inline void velodyneManagerParams::clear_fence_log_path() {
  1168. fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1169. clear_has_fence_log_path();
  1170. }
  1171. inline const ::std::string& velodyneManagerParams::fence_log_path() const {
  1172. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_log_path)
  1173. return fence_log_path_.GetNoArena();
  1174. }
  1175. inline void velodyneManagerParams::set_fence_log_path(const ::std::string& value) {
  1176. set_has_fence_log_path();
  1177. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1178. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_log_path)
  1179. }
  1180. #if LANG_CXX11
  1181. inline void velodyneManagerParams::set_fence_log_path(::std::string&& value) {
  1182. set_has_fence_log_path();
  1183. fence_log_path_.SetNoArena(
  1184. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1185. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_log_path)
  1186. }
  1187. #endif
  1188. inline void velodyneManagerParams::set_fence_log_path(const char* value) {
  1189. GOOGLE_DCHECK(value != NULL);
  1190. set_has_fence_log_path();
  1191. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1192. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_log_path)
  1193. }
  1194. inline void velodyneManagerParams::set_fence_log_path(const char* value, size_t size) {
  1195. set_has_fence_log_path();
  1196. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1197. ::std::string(reinterpret_cast<const char*>(value), size));
  1198. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_log_path)
  1199. }
  1200. inline ::std::string* velodyneManagerParams::mutable_fence_log_path() {
  1201. set_has_fence_log_path();
  1202. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_log_path)
  1203. return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1204. }
  1205. inline ::std::string* velodyneManagerParams::release_fence_log_path() {
  1206. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_log_path)
  1207. if (!has_fence_log_path()) {
  1208. return NULL;
  1209. }
  1210. clear_has_fence_log_path();
  1211. return fence_log_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1212. }
  1213. inline void velodyneManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
  1214. if (fence_log_path != NULL) {
  1215. set_has_fence_log_path();
  1216. } else {
  1217. clear_has_fence_log_path();
  1218. }
  1219. fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
  1220. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_log_path)
  1221. }
  1222. // optional string left_model_path = 5 [default = ""];
  1223. inline bool velodyneManagerParams::has_left_model_path() const {
  1224. return (_has_bits_[0] & 0x00000004u) != 0;
  1225. }
  1226. inline void velodyneManagerParams::set_has_left_model_path() {
  1227. _has_bits_[0] |= 0x00000004u;
  1228. }
  1229. inline void velodyneManagerParams::clear_has_left_model_path() {
  1230. _has_bits_[0] &= ~0x00000004u;
  1231. }
  1232. inline void velodyneManagerParams::clear_left_model_path() {
  1233. left_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1234. clear_has_left_model_path();
  1235. }
  1236. inline const ::std::string& velodyneManagerParams::left_model_path() const {
  1237. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.left_model_path)
  1238. return left_model_path_.GetNoArena();
  1239. }
  1240. inline void velodyneManagerParams::set_left_model_path(const ::std::string& value) {
  1241. set_has_left_model_path();
  1242. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1243. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.left_model_path)
  1244. }
  1245. #if LANG_CXX11
  1246. inline void velodyneManagerParams::set_left_model_path(::std::string&& value) {
  1247. set_has_left_model_path();
  1248. left_model_path_.SetNoArena(
  1249. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1250. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.left_model_path)
  1251. }
  1252. #endif
  1253. inline void velodyneManagerParams::set_left_model_path(const char* value) {
  1254. GOOGLE_DCHECK(value != NULL);
  1255. set_has_left_model_path();
  1256. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1257. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.left_model_path)
  1258. }
  1259. inline void velodyneManagerParams::set_left_model_path(const char* value, size_t size) {
  1260. set_has_left_model_path();
  1261. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1262. ::std::string(reinterpret_cast<const char*>(value), size));
  1263. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.left_model_path)
  1264. }
  1265. inline ::std::string* velodyneManagerParams::mutable_left_model_path() {
  1266. set_has_left_model_path();
  1267. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.left_model_path)
  1268. return left_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1269. }
  1270. inline ::std::string* velodyneManagerParams::release_left_model_path() {
  1271. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.left_model_path)
  1272. if (!has_left_model_path()) {
  1273. return NULL;
  1274. }
  1275. clear_has_left_model_path();
  1276. return left_model_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1277. }
  1278. inline void velodyneManagerParams::set_allocated_left_model_path(::std::string* left_model_path) {
  1279. if (left_model_path != NULL) {
  1280. set_has_left_model_path();
  1281. } else {
  1282. clear_has_left_model_path();
  1283. }
  1284. left_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), left_model_path);
  1285. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.left_model_path)
  1286. }
  1287. // optional string right_model_path = 6 [default = ""];
  1288. inline bool velodyneManagerParams::has_right_model_path() const {
  1289. return (_has_bits_[0] & 0x00000008u) != 0;
  1290. }
  1291. inline void velodyneManagerParams::set_has_right_model_path() {
  1292. _has_bits_[0] |= 0x00000008u;
  1293. }
  1294. inline void velodyneManagerParams::clear_has_right_model_path() {
  1295. _has_bits_[0] &= ~0x00000008u;
  1296. }
  1297. inline void velodyneManagerParams::clear_right_model_path() {
  1298. right_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1299. clear_has_right_model_path();
  1300. }
  1301. inline const ::std::string& velodyneManagerParams::right_model_path() const {
  1302. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.right_model_path)
  1303. return right_model_path_.GetNoArena();
  1304. }
  1305. inline void velodyneManagerParams::set_right_model_path(const ::std::string& value) {
  1306. set_has_right_model_path();
  1307. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1308. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.right_model_path)
  1309. }
  1310. #if LANG_CXX11
  1311. inline void velodyneManagerParams::set_right_model_path(::std::string&& value) {
  1312. set_has_right_model_path();
  1313. right_model_path_.SetNoArena(
  1314. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1315. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.right_model_path)
  1316. }
  1317. #endif
  1318. inline void velodyneManagerParams::set_right_model_path(const char* value) {
  1319. GOOGLE_DCHECK(value != NULL);
  1320. set_has_right_model_path();
  1321. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1322. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.right_model_path)
  1323. }
  1324. inline void velodyneManagerParams::set_right_model_path(const char* value, size_t size) {
  1325. set_has_right_model_path();
  1326. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1327. ::std::string(reinterpret_cast<const char*>(value), size));
  1328. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.right_model_path)
  1329. }
  1330. inline ::std::string* velodyneManagerParams::mutable_right_model_path() {
  1331. set_has_right_model_path();
  1332. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.right_model_path)
  1333. return right_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1334. }
  1335. inline ::std::string* velodyneManagerParams::release_right_model_path() {
  1336. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.right_model_path)
  1337. if (!has_right_model_path()) {
  1338. return NULL;
  1339. }
  1340. clear_has_right_model_path();
  1341. return right_model_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1342. }
  1343. inline void velodyneManagerParams::set_allocated_right_model_path(::std::string* right_model_path) {
  1344. if (right_model_path != NULL) {
  1345. set_has_right_model_path();
  1346. } else {
  1347. clear_has_right_model_path();
  1348. }
  1349. right_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), right_model_path);
  1350. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.right_model_path)
  1351. }
  1352. // required bool distribution_mode = 7 [default = false];
  1353. inline bool velodyneManagerParams::has_distribution_mode() const {
  1354. return (_has_bits_[0] & 0x00000010u) != 0;
  1355. }
  1356. inline void velodyneManagerParams::set_has_distribution_mode() {
  1357. _has_bits_[0] |= 0x00000010u;
  1358. }
  1359. inline void velodyneManagerParams::clear_has_distribution_mode() {
  1360. _has_bits_[0] &= ~0x00000010u;
  1361. }
  1362. inline void velodyneManagerParams::clear_distribution_mode() {
  1363. distribution_mode_ = false;
  1364. clear_has_distribution_mode();
  1365. }
  1366. inline bool velodyneManagerParams::distribution_mode() const {
  1367. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.distribution_mode)
  1368. return distribution_mode_;
  1369. }
  1370. inline void velodyneManagerParams::set_distribution_mode(bool value) {
  1371. set_has_distribution_mode();
  1372. distribution_mode_ = value;
  1373. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.distribution_mode)
  1374. }
  1375. // -------------------------------------------------------------------
  1376. // velodyneLidarParams
  1377. // required string ip = 1 [default = ""];
  1378. inline bool velodyneLidarParams::has_ip() const {
  1379. return (_has_bits_[0] & 0x00000001u) != 0;
  1380. }
  1381. inline void velodyneLidarParams::set_has_ip() {
  1382. _has_bits_[0] |= 0x00000001u;
  1383. }
  1384. inline void velodyneLidarParams::clear_has_ip() {
  1385. _has_bits_[0] &= ~0x00000001u;
  1386. }
  1387. inline void velodyneLidarParams::clear_ip() {
  1388. ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1389. clear_has_ip();
  1390. }
  1391. inline const ::std::string& velodyneLidarParams::ip() const {
  1392. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.ip)
  1393. return ip_.GetNoArena();
  1394. }
  1395. inline void velodyneLidarParams::set_ip(const ::std::string& value) {
  1396. set_has_ip();
  1397. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1398. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.ip)
  1399. }
  1400. #if LANG_CXX11
  1401. inline void velodyneLidarParams::set_ip(::std::string&& value) {
  1402. set_has_ip();
  1403. ip_.SetNoArena(
  1404. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1405. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.ip)
  1406. }
  1407. #endif
  1408. inline void velodyneLidarParams::set_ip(const char* value) {
  1409. GOOGLE_DCHECK(value != NULL);
  1410. set_has_ip();
  1411. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1412. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.ip)
  1413. }
  1414. inline void velodyneLidarParams::set_ip(const char* value, size_t size) {
  1415. set_has_ip();
  1416. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1417. ::std::string(reinterpret_cast<const char*>(value), size));
  1418. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.ip)
  1419. }
  1420. inline ::std::string* velodyneLidarParams::mutable_ip() {
  1421. set_has_ip();
  1422. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.ip)
  1423. return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1424. }
  1425. inline ::std::string* velodyneLidarParams::release_ip() {
  1426. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.ip)
  1427. if (!has_ip()) {
  1428. return NULL;
  1429. }
  1430. clear_has_ip();
  1431. return ip_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1432. }
  1433. inline void velodyneLidarParams::set_allocated_ip(::std::string* ip) {
  1434. if (ip != NULL) {
  1435. set_has_ip();
  1436. } else {
  1437. clear_has_ip();
  1438. }
  1439. ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
  1440. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.ip)
  1441. }
  1442. // required int32 port = 2 [default = 2368];
  1443. inline bool velodyneLidarParams::has_port() const {
  1444. return (_has_bits_[0] & 0x00000080u) != 0;
  1445. }
  1446. inline void velodyneLidarParams::set_has_port() {
  1447. _has_bits_[0] |= 0x00000080u;
  1448. }
  1449. inline void velodyneLidarParams::clear_has_port() {
  1450. _has_bits_[0] &= ~0x00000080u;
  1451. }
  1452. inline void velodyneLidarParams::clear_port() {
  1453. port_ = 2368;
  1454. clear_has_port();
  1455. }
  1456. inline ::google::protobuf::int32 velodyneLidarParams::port() const {
  1457. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.port)
  1458. return port_;
  1459. }
  1460. inline void velodyneLidarParams::set_port(::google::protobuf::int32 value) {
  1461. set_has_port();
  1462. port_ = value;
  1463. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.port)
  1464. }
  1465. // required string model = 3 [default = "VLP16"];
  1466. inline bool velodyneLidarParams::has_model() const {
  1467. return (_has_bits_[0] & 0x00000002u) != 0;
  1468. }
  1469. inline void velodyneLidarParams::set_has_model() {
  1470. _has_bits_[0] |= 0x00000002u;
  1471. }
  1472. inline void velodyneLidarParams::clear_has_model() {
  1473. _has_bits_[0] &= ~0x00000002u;
  1474. }
  1475. inline void velodyneLidarParams::clear_model() {
  1476. model_.ClearToDefaultNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1477. clear_has_model();
  1478. }
  1479. inline const ::std::string& velodyneLidarParams::model() const {
  1480. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.model)
  1481. return model_.GetNoArena();
  1482. }
  1483. inline void velodyneLidarParams::set_model(const ::std::string& value) {
  1484. set_has_model();
  1485. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), value);
  1486. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.model)
  1487. }
  1488. #if LANG_CXX11
  1489. inline void velodyneLidarParams::set_model(::std::string&& value) {
  1490. set_has_model();
  1491. model_.SetNoArena(
  1492. &::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), ::std::move(value));
  1493. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.model)
  1494. }
  1495. #endif
  1496. inline void velodyneLidarParams::set_model(const char* value) {
  1497. GOOGLE_DCHECK(value != NULL);
  1498. set_has_model();
  1499. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), ::std::string(value));
  1500. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.model)
  1501. }
  1502. inline void velodyneLidarParams::set_model(const char* value, size_t size) {
  1503. set_has_model();
  1504. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(),
  1505. ::std::string(reinterpret_cast<const char*>(value), size));
  1506. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.model)
  1507. }
  1508. inline ::std::string* velodyneLidarParams::mutable_model() {
  1509. set_has_model();
  1510. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.model)
  1511. return model_.MutableNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1512. }
  1513. inline ::std::string* velodyneLidarParams::release_model() {
  1514. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.model)
  1515. if (!has_model()) {
  1516. return NULL;
  1517. }
  1518. clear_has_model();
  1519. return model_.ReleaseNonDefaultNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1520. }
  1521. inline void velodyneLidarParams::set_allocated_model(::std::string* model) {
  1522. if (model != NULL) {
  1523. set_has_model();
  1524. } else {
  1525. clear_has_model();
  1526. }
  1527. model_.SetAllocatedNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), model);
  1528. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.model)
  1529. }
  1530. // required string calibrationFile = 4 [default = ""];
  1531. inline bool velodyneLidarParams::has_calibrationfile() const {
  1532. return (_has_bits_[0] & 0x00000004u) != 0;
  1533. }
  1534. inline void velodyneLidarParams::set_has_calibrationfile() {
  1535. _has_bits_[0] |= 0x00000004u;
  1536. }
  1537. inline void velodyneLidarParams::clear_has_calibrationfile() {
  1538. _has_bits_[0] &= ~0x00000004u;
  1539. }
  1540. inline void velodyneLidarParams::clear_calibrationfile() {
  1541. calibrationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1542. clear_has_calibrationfile();
  1543. }
  1544. inline const ::std::string& velodyneLidarParams::calibrationfile() const {
  1545. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calibrationFile)
  1546. return calibrationfile_.GetNoArena();
  1547. }
  1548. inline void velodyneLidarParams::set_calibrationfile(const ::std::string& value) {
  1549. set_has_calibrationfile();
  1550. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1551. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.calibrationFile)
  1552. }
  1553. #if LANG_CXX11
  1554. inline void velodyneLidarParams::set_calibrationfile(::std::string&& value) {
  1555. set_has_calibrationfile();
  1556. calibrationfile_.SetNoArena(
  1557. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1558. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.calibrationFile)
  1559. }
  1560. #endif
  1561. inline void velodyneLidarParams::set_calibrationfile(const char* value) {
  1562. GOOGLE_DCHECK(value != NULL);
  1563. set_has_calibrationfile();
  1564. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1565. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.calibrationFile)
  1566. }
  1567. inline void velodyneLidarParams::set_calibrationfile(const char* value, size_t size) {
  1568. set_has_calibrationfile();
  1569. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1570. ::std::string(reinterpret_cast<const char*>(value), size));
  1571. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.calibrationFile)
  1572. }
  1573. inline ::std::string* velodyneLidarParams::mutable_calibrationfile() {
  1574. set_has_calibrationfile();
  1575. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calibrationFile)
  1576. return calibrationfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1577. }
  1578. inline ::std::string* velodyneLidarParams::release_calibrationfile() {
  1579. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calibrationFile)
  1580. if (!has_calibrationfile()) {
  1581. return NULL;
  1582. }
  1583. clear_has_calibrationfile();
  1584. return calibrationfile_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1585. }
  1586. inline void velodyneLidarParams::set_allocated_calibrationfile(::std::string* calibrationfile) {
  1587. if (calibrationfile != NULL) {
  1588. set_has_calibrationfile();
  1589. } else {
  1590. clear_has_calibrationfile();
  1591. }
  1592. calibrationfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), calibrationfile);
  1593. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calibrationFile)
  1594. }
  1595. // required int32 lidar_id = 5 [default = 0];
  1596. inline bool velodyneLidarParams::has_lidar_id() const {
  1597. return (_has_bits_[0] & 0x00000010u) != 0;
  1598. }
  1599. inline void velodyneLidarParams::set_has_lidar_id() {
  1600. _has_bits_[0] |= 0x00000010u;
  1601. }
  1602. inline void velodyneLidarParams::clear_has_lidar_id() {
  1603. _has_bits_[0] &= ~0x00000010u;
  1604. }
  1605. inline void velodyneLidarParams::clear_lidar_id() {
  1606. lidar_id_ = 0;
  1607. clear_has_lidar_id();
  1608. }
  1609. inline ::google::protobuf::int32 velodyneLidarParams::lidar_id() const {
  1610. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.lidar_id)
  1611. return lidar_id_;
  1612. }
  1613. inline void velodyneLidarParams::set_lidar_id(::google::protobuf::int32 value) {
  1614. set_has_lidar_id();
  1615. lidar_id_ = value;
  1616. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.lidar_id)
  1617. }
  1618. // optional float max_range = 6 [default = 10];
  1619. inline bool velodyneLidarParams::has_max_range() const {
  1620. return (_has_bits_[0] & 0x00000100u) != 0;
  1621. }
  1622. inline void velodyneLidarParams::set_has_max_range() {
  1623. _has_bits_[0] |= 0x00000100u;
  1624. }
  1625. inline void velodyneLidarParams::clear_has_max_range() {
  1626. _has_bits_[0] &= ~0x00000100u;
  1627. }
  1628. inline void velodyneLidarParams::clear_max_range() {
  1629. max_range_ = 10;
  1630. clear_has_max_range();
  1631. }
  1632. inline float velodyneLidarParams::max_range() const {
  1633. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_range)
  1634. return max_range_;
  1635. }
  1636. inline void velodyneLidarParams::set_max_range(float value) {
  1637. set_has_max_range();
  1638. max_range_ = value;
  1639. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_range)
  1640. }
  1641. // optional float min_range = 7 [default = 0.15];
  1642. inline bool velodyneLidarParams::has_min_range() const {
  1643. return (_has_bits_[0] & 0x00000200u) != 0;
  1644. }
  1645. inline void velodyneLidarParams::set_has_min_range() {
  1646. _has_bits_[0] |= 0x00000200u;
  1647. }
  1648. inline void velodyneLidarParams::clear_has_min_range() {
  1649. _has_bits_[0] &= ~0x00000200u;
  1650. }
  1651. inline void velodyneLidarParams::clear_min_range() {
  1652. min_range_ = 0.15f;
  1653. clear_has_min_range();
  1654. }
  1655. inline float velodyneLidarParams::min_range() const {
  1656. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_range)
  1657. return min_range_;
  1658. }
  1659. inline void velodyneLidarParams::set_min_range(float value) {
  1660. set_has_min_range();
  1661. min_range_ = value;
  1662. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_range)
  1663. }
  1664. // optional int32 min_angle = 8 [default = 0];
  1665. inline bool velodyneLidarParams::has_min_angle() const {
  1666. return (_has_bits_[0] & 0x00000020u) != 0;
  1667. }
  1668. inline void velodyneLidarParams::set_has_min_angle() {
  1669. _has_bits_[0] |= 0x00000020u;
  1670. }
  1671. inline void velodyneLidarParams::clear_has_min_angle() {
  1672. _has_bits_[0] &= ~0x00000020u;
  1673. }
  1674. inline void velodyneLidarParams::clear_min_angle() {
  1675. min_angle_ = 0;
  1676. clear_has_min_angle();
  1677. }
  1678. inline ::google::protobuf::int32 velodyneLidarParams::min_angle() const {
  1679. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_angle)
  1680. return min_angle_;
  1681. }
  1682. inline void velodyneLidarParams::set_min_angle(::google::protobuf::int32 value) {
  1683. set_has_min_angle();
  1684. min_angle_ = value;
  1685. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_angle)
  1686. }
  1687. // optional int32 max_angle = 9 [default = 360];
  1688. inline bool velodyneLidarParams::has_max_angle() const {
  1689. return (_has_bits_[0] & 0x00000400u) != 0;
  1690. }
  1691. inline void velodyneLidarParams::set_has_max_angle() {
  1692. _has_bits_[0] |= 0x00000400u;
  1693. }
  1694. inline void velodyneLidarParams::clear_has_max_angle() {
  1695. _has_bits_[0] &= ~0x00000400u;
  1696. }
  1697. inline void velodyneLidarParams::clear_max_angle() {
  1698. max_angle_ = 360;
  1699. clear_has_max_angle();
  1700. }
  1701. inline ::google::protobuf::int32 velodyneLidarParams::max_angle() const {
  1702. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_angle)
  1703. return max_angle_;
  1704. }
  1705. inline void velodyneLidarParams::set_max_angle(::google::protobuf::int32 value) {
  1706. set_has_max_angle();
  1707. max_angle_ = value;
  1708. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_angle)
  1709. }
  1710. // optional int32 rpm = 10 [default = 600];
  1711. inline bool velodyneLidarParams::has_rpm() const {
  1712. return (_has_bits_[0] & 0x00000040u) != 0;
  1713. }
  1714. inline void velodyneLidarParams::set_has_rpm() {
  1715. _has_bits_[0] |= 0x00000040u;
  1716. }
  1717. inline void velodyneLidarParams::clear_has_rpm() {
  1718. _has_bits_[0] &= ~0x00000040u;
  1719. }
  1720. inline void velodyneLidarParams::clear_rpm() {
  1721. rpm_ = 600;
  1722. clear_has_rpm();
  1723. }
  1724. inline ::google::protobuf::int32 velodyneLidarParams::rpm() const {
  1725. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.rpm)
  1726. return rpm_;
  1727. }
  1728. inline void velodyneLidarParams::set_rpm(::google::protobuf::int32 value) {
  1729. set_has_rpm();
  1730. rpm_ = value;
  1731. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.rpm)
  1732. }
  1733. // optional .velodyne.CalibParameter calib = 11;
  1734. inline bool velodyneLidarParams::has_calib() const {
  1735. return (_has_bits_[0] & 0x00000008u) != 0;
  1736. }
  1737. inline void velodyneLidarParams::set_has_calib() {
  1738. _has_bits_[0] |= 0x00000008u;
  1739. }
  1740. inline void velodyneLidarParams::clear_has_calib() {
  1741. _has_bits_[0] &= ~0x00000008u;
  1742. }
  1743. inline void velodyneLidarParams::clear_calib() {
  1744. if (calib_ != NULL) calib_->Clear();
  1745. clear_has_calib();
  1746. }
  1747. inline const ::velodyne::CalibParameter& velodyneLidarParams::_internal_calib() const {
  1748. return *calib_;
  1749. }
  1750. inline const ::velodyne::CalibParameter& velodyneLidarParams::calib() const {
  1751. const ::velodyne::CalibParameter* p = calib_;
  1752. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calib)
  1753. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
  1754. &::velodyne::_CalibParameter_default_instance_);
  1755. }
  1756. inline ::velodyne::CalibParameter* velodyneLidarParams::release_calib() {
  1757. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calib)
  1758. clear_has_calib();
  1759. ::velodyne::CalibParameter* temp = calib_;
  1760. calib_ = NULL;
  1761. return temp;
  1762. }
  1763. inline ::velodyne::CalibParameter* velodyneLidarParams::mutable_calib() {
  1764. set_has_calib();
  1765. if (calib_ == NULL) {
  1766. auto* p = CreateMaybeMessage<::velodyne::CalibParameter>(GetArenaNoVirtual());
  1767. calib_ = p;
  1768. }
  1769. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calib)
  1770. return calib_;
  1771. }
  1772. inline void velodyneLidarParams::set_allocated_calib(::velodyne::CalibParameter* calib) {
  1773. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1774. if (message_arena == NULL) {
  1775. delete calib_;
  1776. }
  1777. if (calib) {
  1778. ::google::protobuf::Arena* submessage_arena = NULL;
  1779. if (message_arena != submessage_arena) {
  1780. calib = ::google::protobuf::internal::GetOwnedMessage(
  1781. message_arena, calib, submessage_arena);
  1782. }
  1783. set_has_calib();
  1784. } else {
  1785. clear_has_calib();
  1786. }
  1787. calib_ = calib;
  1788. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calib)
  1789. }
  1790. // -------------------------------------------------------------------
  1791. // CalibParameter
  1792. // optional float r = 1 [default = 0];
  1793. inline bool CalibParameter::has_r() const {
  1794. return (_has_bits_[0] & 0x00000001u) != 0;
  1795. }
  1796. inline void CalibParameter::set_has_r() {
  1797. _has_bits_[0] |= 0x00000001u;
  1798. }
  1799. inline void CalibParameter::clear_has_r() {
  1800. _has_bits_[0] &= ~0x00000001u;
  1801. }
  1802. inline void CalibParameter::clear_r() {
  1803. r_ = 0;
  1804. clear_has_r();
  1805. }
  1806. inline float CalibParameter::r() const {
  1807. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.r)
  1808. return r_;
  1809. }
  1810. inline void CalibParameter::set_r(float value) {
  1811. set_has_r();
  1812. r_ = value;
  1813. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.r)
  1814. }
  1815. // optional float p = 2 [default = 0];
  1816. inline bool CalibParameter::has_p() const {
  1817. return (_has_bits_[0] & 0x00000002u) != 0;
  1818. }
  1819. inline void CalibParameter::set_has_p() {
  1820. _has_bits_[0] |= 0x00000002u;
  1821. }
  1822. inline void CalibParameter::clear_has_p() {
  1823. _has_bits_[0] &= ~0x00000002u;
  1824. }
  1825. inline void CalibParameter::clear_p() {
  1826. p_ = 0;
  1827. clear_has_p();
  1828. }
  1829. inline float CalibParameter::p() const {
  1830. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.p)
  1831. return p_;
  1832. }
  1833. inline void CalibParameter::set_p(float value) {
  1834. set_has_p();
  1835. p_ = value;
  1836. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.p)
  1837. }
  1838. // optional float y = 3 [default = 0];
  1839. inline bool CalibParameter::has_y() const {
  1840. return (_has_bits_[0] & 0x00000004u) != 0;
  1841. }
  1842. inline void CalibParameter::set_has_y() {
  1843. _has_bits_[0] |= 0x00000004u;
  1844. }
  1845. inline void CalibParameter::clear_has_y() {
  1846. _has_bits_[0] &= ~0x00000004u;
  1847. }
  1848. inline void CalibParameter::clear_y() {
  1849. y_ = 0;
  1850. clear_has_y();
  1851. }
  1852. inline float CalibParameter::y() const {
  1853. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.y)
  1854. return y_;
  1855. }
  1856. inline void CalibParameter::set_y(float value) {
  1857. set_has_y();
  1858. y_ = value;
  1859. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.y)
  1860. }
  1861. // optional float cx = 4 [default = 0];
  1862. inline bool CalibParameter::has_cx() const {
  1863. return (_has_bits_[0] & 0x00000008u) != 0;
  1864. }
  1865. inline void CalibParameter::set_has_cx() {
  1866. _has_bits_[0] |= 0x00000008u;
  1867. }
  1868. inline void CalibParameter::clear_has_cx() {
  1869. _has_bits_[0] &= ~0x00000008u;
  1870. }
  1871. inline void CalibParameter::clear_cx() {
  1872. cx_ = 0;
  1873. clear_has_cx();
  1874. }
  1875. inline float CalibParameter::cx() const {
  1876. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cx)
  1877. return cx_;
  1878. }
  1879. inline void CalibParameter::set_cx(float value) {
  1880. set_has_cx();
  1881. cx_ = value;
  1882. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cx)
  1883. }
  1884. // optional float cy = 5 [default = 0];
  1885. inline bool CalibParameter::has_cy() const {
  1886. return (_has_bits_[0] & 0x00000010u) != 0;
  1887. }
  1888. inline void CalibParameter::set_has_cy() {
  1889. _has_bits_[0] |= 0x00000010u;
  1890. }
  1891. inline void CalibParameter::clear_has_cy() {
  1892. _has_bits_[0] &= ~0x00000010u;
  1893. }
  1894. inline void CalibParameter::clear_cy() {
  1895. cy_ = 0;
  1896. clear_has_cy();
  1897. }
  1898. inline float CalibParameter::cy() const {
  1899. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cy)
  1900. return cy_;
  1901. }
  1902. inline void CalibParameter::set_cy(float value) {
  1903. set_has_cy();
  1904. cy_ = value;
  1905. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cy)
  1906. }
  1907. // optional float cz = 6 [default = 0];
  1908. inline bool CalibParameter::has_cz() const {
  1909. return (_has_bits_[0] & 0x00000020u) != 0;
  1910. }
  1911. inline void CalibParameter::set_has_cz() {
  1912. _has_bits_[0] |= 0x00000020u;
  1913. }
  1914. inline void CalibParameter::clear_has_cz() {
  1915. _has_bits_[0] &= ~0x00000020u;
  1916. }
  1917. inline void CalibParameter::clear_cz() {
  1918. cz_ = 0;
  1919. clear_has_cz();
  1920. }
  1921. inline float CalibParameter::cz() const {
  1922. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cz)
  1923. return cz_;
  1924. }
  1925. inline void CalibParameter::set_cz(float value) {
  1926. set_has_cz();
  1927. cz_ = value;
  1928. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cz)
  1929. }
  1930. // -------------------------------------------------------------------
  1931. // lidarExtrinsic
  1932. // required int32 lidar_id = 1;
  1933. inline bool lidarExtrinsic::has_lidar_id() const {
  1934. return (_has_bits_[0] & 0x00000002u) != 0;
  1935. }
  1936. inline void lidarExtrinsic::set_has_lidar_id() {
  1937. _has_bits_[0] |= 0x00000002u;
  1938. }
  1939. inline void lidarExtrinsic::clear_has_lidar_id() {
  1940. _has_bits_[0] &= ~0x00000002u;
  1941. }
  1942. inline void lidarExtrinsic::clear_lidar_id() {
  1943. lidar_id_ = 0;
  1944. clear_has_lidar_id();
  1945. }
  1946. inline ::google::protobuf::int32 lidarExtrinsic::lidar_id() const {
  1947. // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.lidar_id)
  1948. return lidar_id_;
  1949. }
  1950. inline void lidarExtrinsic::set_lidar_id(::google::protobuf::int32 value) {
  1951. set_has_lidar_id();
  1952. lidar_id_ = value;
  1953. // @@protoc_insertion_point(field_set:velodyne.lidarExtrinsic.lidar_id)
  1954. }
  1955. // optional .velodyne.CalibParameter calib = 2;
  1956. inline bool lidarExtrinsic::has_calib() const {
  1957. return (_has_bits_[0] & 0x00000001u) != 0;
  1958. }
  1959. inline void lidarExtrinsic::set_has_calib() {
  1960. _has_bits_[0] |= 0x00000001u;
  1961. }
  1962. inline void lidarExtrinsic::clear_has_calib() {
  1963. _has_bits_[0] &= ~0x00000001u;
  1964. }
  1965. inline void lidarExtrinsic::clear_calib() {
  1966. if (calib_ != NULL) calib_->Clear();
  1967. clear_has_calib();
  1968. }
  1969. inline const ::velodyne::CalibParameter& lidarExtrinsic::_internal_calib() const {
  1970. return *calib_;
  1971. }
  1972. inline const ::velodyne::CalibParameter& lidarExtrinsic::calib() const {
  1973. const ::velodyne::CalibParameter* p = calib_;
  1974. // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.calib)
  1975. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
  1976. &::velodyne::_CalibParameter_default_instance_);
  1977. }
  1978. inline ::velodyne::CalibParameter* lidarExtrinsic::release_calib() {
  1979. // @@protoc_insertion_point(field_release:velodyne.lidarExtrinsic.calib)
  1980. clear_has_calib();
  1981. ::velodyne::CalibParameter* temp = calib_;
  1982. calib_ = NULL;
  1983. return temp;
  1984. }
  1985. inline ::velodyne::CalibParameter* lidarExtrinsic::mutable_calib() {
  1986. set_has_calib();
  1987. if (calib_ == NULL) {
  1988. auto* p = CreateMaybeMessage<::velodyne::CalibParameter>(GetArenaNoVirtual());
  1989. calib_ = p;
  1990. }
  1991. // @@protoc_insertion_point(field_mutable:velodyne.lidarExtrinsic.calib)
  1992. return calib_;
  1993. }
  1994. inline void lidarExtrinsic::set_allocated_calib(::velodyne::CalibParameter* calib) {
  1995. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1996. if (message_arena == NULL) {
  1997. delete calib_;
  1998. }
  1999. if (calib) {
  2000. ::google::protobuf::Arena* submessage_arena = NULL;
  2001. if (message_arena != submessage_arena) {
  2002. calib = ::google::protobuf::internal::GetOwnedMessage(
  2003. message_arena, calib, submessage_arena);
  2004. }
  2005. set_has_calib();
  2006. } else {
  2007. clear_has_calib();
  2008. }
  2009. calib_ = calib;
  2010. // @@protoc_insertion_point(field_set_allocated:velodyne.lidarExtrinsic.calib)
  2011. }
  2012. // -------------------------------------------------------------------
  2013. // Region
  2014. // required float minx = 1;
  2015. inline bool Region::has_minx() const {
  2016. return (_has_bits_[0] & 0x00000001u) != 0;
  2017. }
  2018. inline void Region::set_has_minx() {
  2019. _has_bits_[0] |= 0x00000001u;
  2020. }
  2021. inline void Region::clear_has_minx() {
  2022. _has_bits_[0] &= ~0x00000001u;
  2023. }
  2024. inline void Region::clear_minx() {
  2025. minx_ = 0;
  2026. clear_has_minx();
  2027. }
  2028. inline float Region::minx() const {
  2029. // @@protoc_insertion_point(field_get:velodyne.Region.minx)
  2030. return minx_;
  2031. }
  2032. inline void Region::set_minx(float value) {
  2033. set_has_minx();
  2034. minx_ = value;
  2035. // @@protoc_insertion_point(field_set:velodyne.Region.minx)
  2036. }
  2037. // required float maxx = 2;
  2038. inline bool Region::has_maxx() const {
  2039. return (_has_bits_[0] & 0x00000002u) != 0;
  2040. }
  2041. inline void Region::set_has_maxx() {
  2042. _has_bits_[0] |= 0x00000002u;
  2043. }
  2044. inline void Region::clear_has_maxx() {
  2045. _has_bits_[0] &= ~0x00000002u;
  2046. }
  2047. inline void Region::clear_maxx() {
  2048. maxx_ = 0;
  2049. clear_has_maxx();
  2050. }
  2051. inline float Region::maxx() const {
  2052. // @@protoc_insertion_point(field_get:velodyne.Region.maxx)
  2053. return maxx_;
  2054. }
  2055. inline void Region::set_maxx(float value) {
  2056. set_has_maxx();
  2057. maxx_ = value;
  2058. // @@protoc_insertion_point(field_set:velodyne.Region.maxx)
  2059. }
  2060. // required float miny = 3;
  2061. inline bool Region::has_miny() const {
  2062. return (_has_bits_[0] & 0x00000004u) != 0;
  2063. }
  2064. inline void Region::set_has_miny() {
  2065. _has_bits_[0] |= 0x00000004u;
  2066. }
  2067. inline void Region::clear_has_miny() {
  2068. _has_bits_[0] &= ~0x00000004u;
  2069. }
  2070. inline void Region::clear_miny() {
  2071. miny_ = 0;
  2072. clear_has_miny();
  2073. }
  2074. inline float Region::miny() const {
  2075. // @@protoc_insertion_point(field_get:velodyne.Region.miny)
  2076. return miny_;
  2077. }
  2078. inline void Region::set_miny(float value) {
  2079. set_has_miny();
  2080. miny_ = value;
  2081. // @@protoc_insertion_point(field_set:velodyne.Region.miny)
  2082. }
  2083. // required float maxy = 4;
  2084. inline bool Region::has_maxy() const {
  2085. return (_has_bits_[0] & 0x00000008u) != 0;
  2086. }
  2087. inline void Region::set_has_maxy() {
  2088. _has_bits_[0] |= 0x00000008u;
  2089. }
  2090. inline void Region::clear_has_maxy() {
  2091. _has_bits_[0] &= ~0x00000008u;
  2092. }
  2093. inline void Region::clear_maxy() {
  2094. maxy_ = 0;
  2095. clear_has_maxy();
  2096. }
  2097. inline float Region::maxy() const {
  2098. // @@protoc_insertion_point(field_get:velodyne.Region.maxy)
  2099. return maxy_;
  2100. }
  2101. inline void Region::set_maxy(float value) {
  2102. set_has_maxy();
  2103. maxy_ = value;
  2104. // @@protoc_insertion_point(field_set:velodyne.Region.maxy)
  2105. }
  2106. // required float minz = 5;
  2107. inline bool Region::has_minz() const {
  2108. return (_has_bits_[0] & 0x00000010u) != 0;
  2109. }
  2110. inline void Region::set_has_minz() {
  2111. _has_bits_[0] |= 0x00000010u;
  2112. }
  2113. inline void Region::clear_has_minz() {
  2114. _has_bits_[0] &= ~0x00000010u;
  2115. }
  2116. inline void Region::clear_minz() {
  2117. minz_ = 0;
  2118. clear_has_minz();
  2119. }
  2120. inline float Region::minz() const {
  2121. // @@protoc_insertion_point(field_get:velodyne.Region.minz)
  2122. return minz_;
  2123. }
  2124. inline void Region::set_minz(float value) {
  2125. set_has_minz();
  2126. minz_ = value;
  2127. // @@protoc_insertion_point(field_set:velodyne.Region.minz)
  2128. }
  2129. // required float maxz = 6;
  2130. inline bool Region::has_maxz() const {
  2131. return (_has_bits_[0] & 0x00000020u) != 0;
  2132. }
  2133. inline void Region::set_has_maxz() {
  2134. _has_bits_[0] |= 0x00000020u;
  2135. }
  2136. inline void Region::clear_has_maxz() {
  2137. _has_bits_[0] &= ~0x00000020u;
  2138. }
  2139. inline void Region::clear_maxz() {
  2140. maxz_ = 0;
  2141. clear_has_maxz();
  2142. }
  2143. inline float Region::maxz() const {
  2144. // @@protoc_insertion_point(field_get:velodyne.Region.maxz)
  2145. return maxz_;
  2146. }
  2147. inline void Region::set_maxz(float value) {
  2148. set_has_maxz();
  2149. maxz_ = value;
  2150. // @@protoc_insertion_point(field_set:velodyne.Region.maxz)
  2151. }
  2152. // required int32 region_id = 7;
  2153. inline bool Region::has_region_id() const {
  2154. return (_has_bits_[0] & 0x00000040u) != 0;
  2155. }
  2156. inline void Region::set_has_region_id() {
  2157. _has_bits_[0] |= 0x00000040u;
  2158. }
  2159. inline void Region::clear_has_region_id() {
  2160. _has_bits_[0] &= ~0x00000040u;
  2161. }
  2162. inline void Region::clear_region_id() {
  2163. region_id_ = 0;
  2164. clear_has_region_id();
  2165. }
  2166. inline ::google::protobuf::int32 Region::region_id() const {
  2167. // @@protoc_insertion_point(field_get:velodyne.Region.region_id)
  2168. return region_id_;
  2169. }
  2170. inline void Region::set_region_id(::google::protobuf::int32 value) {
  2171. set_has_region_id();
  2172. region_id_ = value;
  2173. // @@protoc_insertion_point(field_set:velodyne.Region.region_id)
  2174. }
  2175. // repeated .velodyne.lidarExtrinsic lidar_exts = 8;
  2176. inline int Region::lidar_exts_size() const {
  2177. return lidar_exts_.size();
  2178. }
  2179. inline void Region::clear_lidar_exts() {
  2180. lidar_exts_.Clear();
  2181. }
  2182. inline ::velodyne::lidarExtrinsic* Region::mutable_lidar_exts(int index) {
  2183. // @@protoc_insertion_point(field_mutable:velodyne.Region.lidar_exts)
  2184. return lidar_exts_.Mutable(index);
  2185. }
  2186. inline ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >*
  2187. Region::mutable_lidar_exts() {
  2188. // @@protoc_insertion_point(field_mutable_list:velodyne.Region.lidar_exts)
  2189. return &lidar_exts_;
  2190. }
  2191. inline const ::velodyne::lidarExtrinsic& Region::lidar_exts(int index) const {
  2192. // @@protoc_insertion_point(field_get:velodyne.Region.lidar_exts)
  2193. return lidar_exts_.Get(index);
  2194. }
  2195. inline ::velodyne::lidarExtrinsic* Region::add_lidar_exts() {
  2196. // @@protoc_insertion_point(field_add:velodyne.Region.lidar_exts)
  2197. return lidar_exts_.Add();
  2198. }
  2199. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >&
  2200. Region::lidar_exts() const {
  2201. // @@protoc_insertion_point(field_list:velodyne.Region.lidar_exts)
  2202. return lidar_exts_;
  2203. }
  2204. // required float turnplate_cx = 9;
  2205. inline bool Region::has_turnplate_cx() const {
  2206. return (_has_bits_[0] & 0x00000080u) != 0;
  2207. }
  2208. inline void Region::set_has_turnplate_cx() {
  2209. _has_bits_[0] |= 0x00000080u;
  2210. }
  2211. inline void Region::clear_has_turnplate_cx() {
  2212. _has_bits_[0] &= ~0x00000080u;
  2213. }
  2214. inline void Region::clear_turnplate_cx() {
  2215. turnplate_cx_ = 0;
  2216. clear_has_turnplate_cx();
  2217. }
  2218. inline float Region::turnplate_cx() const {
  2219. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_cx)
  2220. return turnplate_cx_;
  2221. }
  2222. inline void Region::set_turnplate_cx(float value) {
  2223. set_has_turnplate_cx();
  2224. turnplate_cx_ = value;
  2225. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_cx)
  2226. }
  2227. // required float turnplate_cy = 10;
  2228. inline bool Region::has_turnplate_cy() const {
  2229. return (_has_bits_[0] & 0x00000100u) != 0;
  2230. }
  2231. inline void Region::set_has_turnplate_cy() {
  2232. _has_bits_[0] |= 0x00000100u;
  2233. }
  2234. inline void Region::clear_has_turnplate_cy() {
  2235. _has_bits_[0] &= ~0x00000100u;
  2236. }
  2237. inline void Region::clear_turnplate_cy() {
  2238. turnplate_cy_ = 0;
  2239. clear_has_turnplate_cy();
  2240. }
  2241. inline float Region::turnplate_cy() const {
  2242. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_cy)
  2243. return turnplate_cy_;
  2244. }
  2245. inline void Region::set_turnplate_cy(float value) {
  2246. set_has_turnplate_cy();
  2247. turnplate_cy_ = value;
  2248. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_cy)
  2249. }
  2250. // required float border_minx = 11;
  2251. inline bool Region::has_border_minx() const {
  2252. return (_has_bits_[0] & 0x00000200u) != 0;
  2253. }
  2254. inline void Region::set_has_border_minx() {
  2255. _has_bits_[0] |= 0x00000200u;
  2256. }
  2257. inline void Region::clear_has_border_minx() {
  2258. _has_bits_[0] &= ~0x00000200u;
  2259. }
  2260. inline void Region::clear_border_minx() {
  2261. border_minx_ = 0;
  2262. clear_has_border_minx();
  2263. }
  2264. inline float Region::border_minx() const {
  2265. // @@protoc_insertion_point(field_get:velodyne.Region.border_minx)
  2266. return border_minx_;
  2267. }
  2268. inline void Region::set_border_minx(float value) {
  2269. set_has_border_minx();
  2270. border_minx_ = value;
  2271. // @@protoc_insertion_point(field_set:velodyne.Region.border_minx)
  2272. }
  2273. // required float border_maxx = 12;
  2274. inline bool Region::has_border_maxx() const {
  2275. return (_has_bits_[0] & 0x00000400u) != 0;
  2276. }
  2277. inline void Region::set_has_border_maxx() {
  2278. _has_bits_[0] |= 0x00000400u;
  2279. }
  2280. inline void Region::clear_has_border_maxx() {
  2281. _has_bits_[0] &= ~0x00000400u;
  2282. }
  2283. inline void Region::clear_border_maxx() {
  2284. border_maxx_ = 0;
  2285. clear_has_border_maxx();
  2286. }
  2287. inline float Region::border_maxx() const {
  2288. // @@protoc_insertion_point(field_get:velodyne.Region.border_maxx)
  2289. return border_maxx_;
  2290. }
  2291. inline void Region::set_border_maxx(float value) {
  2292. set_has_border_maxx();
  2293. border_maxx_ = value;
  2294. // @@protoc_insertion_point(field_set:velodyne.Region.border_maxx)
  2295. }
  2296. // required float plc_offsetx = 13;
  2297. inline bool Region::has_plc_offsetx() const {
  2298. return (_has_bits_[0] & 0x00000800u) != 0;
  2299. }
  2300. inline void Region::set_has_plc_offsetx() {
  2301. _has_bits_[0] |= 0x00000800u;
  2302. }
  2303. inline void Region::clear_has_plc_offsetx() {
  2304. _has_bits_[0] &= ~0x00000800u;
  2305. }
  2306. inline void Region::clear_plc_offsetx() {
  2307. plc_offsetx_ = 0;
  2308. clear_has_plc_offsetx();
  2309. }
  2310. inline float Region::plc_offsetx() const {
  2311. // @@protoc_insertion_point(field_get:velodyne.Region.plc_offsetx)
  2312. return plc_offsetx_;
  2313. }
  2314. inline void Region::set_plc_offsetx(float value) {
  2315. set_has_plc_offsetx();
  2316. plc_offsetx_ = value;
  2317. // @@protoc_insertion_point(field_set:velodyne.Region.plc_offsetx)
  2318. }
  2319. // required float plc_offsety = 14;
  2320. inline bool Region::has_plc_offsety() const {
  2321. return (_has_bits_[0] & 0x00001000u) != 0;
  2322. }
  2323. inline void Region::set_has_plc_offsety() {
  2324. _has_bits_[0] |= 0x00001000u;
  2325. }
  2326. inline void Region::clear_has_plc_offsety() {
  2327. _has_bits_[0] &= ~0x00001000u;
  2328. }
  2329. inline void Region::clear_plc_offsety() {
  2330. plc_offsety_ = 0;
  2331. clear_has_plc_offsety();
  2332. }
  2333. inline float Region::plc_offsety() const {
  2334. // @@protoc_insertion_point(field_get:velodyne.Region.plc_offsety)
  2335. return plc_offsety_;
  2336. }
  2337. inline void Region::set_plc_offsety(float value) {
  2338. set_has_plc_offsety();
  2339. plc_offsety_ = value;
  2340. // @@protoc_insertion_point(field_set:velodyne.Region.plc_offsety)
  2341. }
  2342. // required float plc_offset_degree = 15;
  2343. inline bool Region::has_plc_offset_degree() const {
  2344. return (_has_bits_[0] & 0x00002000u) != 0;
  2345. }
  2346. inline void Region::set_has_plc_offset_degree() {
  2347. _has_bits_[0] |= 0x00002000u;
  2348. }
  2349. inline void Region::clear_has_plc_offset_degree() {
  2350. _has_bits_[0] &= ~0x00002000u;
  2351. }
  2352. inline void Region::clear_plc_offset_degree() {
  2353. plc_offset_degree_ = 0;
  2354. clear_has_plc_offset_degree();
  2355. }
  2356. inline float Region::plc_offset_degree() const {
  2357. // @@protoc_insertion_point(field_get:velodyne.Region.plc_offset_degree)
  2358. return plc_offset_degree_;
  2359. }
  2360. inline void Region::set_plc_offset_degree(float value) {
  2361. set_has_plc_offset_degree();
  2362. plc_offset_degree_ = value;
  2363. // @@protoc_insertion_point(field_set:velodyne.Region.plc_offset_degree)
  2364. }
  2365. // required float plc_border_miny = 16;
  2366. inline bool Region::has_plc_border_miny() const {
  2367. return (_has_bits_[0] & 0x00004000u) != 0;
  2368. }
  2369. inline void Region::set_has_plc_border_miny() {
  2370. _has_bits_[0] |= 0x00004000u;
  2371. }
  2372. inline void Region::clear_has_plc_border_miny() {
  2373. _has_bits_[0] &= ~0x00004000u;
  2374. }
  2375. inline void Region::clear_plc_border_miny() {
  2376. plc_border_miny_ = 0;
  2377. clear_has_plc_border_miny();
  2378. }
  2379. inline float Region::plc_border_miny() const {
  2380. // @@protoc_insertion_point(field_get:velodyne.Region.plc_border_miny)
  2381. return plc_border_miny_;
  2382. }
  2383. inline void Region::set_plc_border_miny(float value) {
  2384. set_has_plc_border_miny();
  2385. plc_border_miny_ = value;
  2386. // @@protoc_insertion_point(field_set:velodyne.Region.plc_border_miny)
  2387. }
  2388. // required float plc_border_maxy = 17;
  2389. inline bool Region::has_plc_border_maxy() const {
  2390. return (_has_bits_[0] & 0x00008000u) != 0;
  2391. }
  2392. inline void Region::set_has_plc_border_maxy() {
  2393. _has_bits_[0] |= 0x00008000u;
  2394. }
  2395. inline void Region::clear_has_plc_border_maxy() {
  2396. _has_bits_[0] &= ~0x00008000u;
  2397. }
  2398. inline void Region::clear_plc_border_maxy() {
  2399. plc_border_maxy_ = 0;
  2400. clear_has_plc_border_maxy();
  2401. }
  2402. inline float Region::plc_border_maxy() const {
  2403. // @@protoc_insertion_point(field_get:velodyne.Region.plc_border_maxy)
  2404. return plc_border_maxy_;
  2405. }
  2406. inline void Region::set_plc_border_maxy(float value) {
  2407. set_has_plc_border_maxy();
  2408. plc_border_maxy_ = value;
  2409. // @@protoc_insertion_point(field_set:velodyne.Region.plc_border_maxy)
  2410. }
  2411. // required float car_min_width = 18;
  2412. inline bool Region::has_car_min_width() const {
  2413. return (_has_bits_[0] & 0x00010000u) != 0;
  2414. }
  2415. inline void Region::set_has_car_min_width() {
  2416. _has_bits_[0] |= 0x00010000u;
  2417. }
  2418. inline void Region::clear_has_car_min_width() {
  2419. _has_bits_[0] &= ~0x00010000u;
  2420. }
  2421. inline void Region::clear_car_min_width() {
  2422. car_min_width_ = 0;
  2423. clear_has_car_min_width();
  2424. }
  2425. inline float Region::car_min_width() const {
  2426. // @@protoc_insertion_point(field_get:velodyne.Region.car_min_width)
  2427. return car_min_width_;
  2428. }
  2429. inline void Region::set_car_min_width(float value) {
  2430. set_has_car_min_width();
  2431. car_min_width_ = value;
  2432. // @@protoc_insertion_point(field_set:velodyne.Region.car_min_width)
  2433. }
  2434. // required float car_max_width = 19;
  2435. inline bool Region::has_car_max_width() const {
  2436. return (_has_bits_[0] & 0x00020000u) != 0;
  2437. }
  2438. inline void Region::set_has_car_max_width() {
  2439. _has_bits_[0] |= 0x00020000u;
  2440. }
  2441. inline void Region::clear_has_car_max_width() {
  2442. _has_bits_[0] &= ~0x00020000u;
  2443. }
  2444. inline void Region::clear_car_max_width() {
  2445. car_max_width_ = 0;
  2446. clear_has_car_max_width();
  2447. }
  2448. inline float Region::car_max_width() const {
  2449. // @@protoc_insertion_point(field_get:velodyne.Region.car_max_width)
  2450. return car_max_width_;
  2451. }
  2452. inline void Region::set_car_max_width(float value) {
  2453. set_has_car_max_width();
  2454. car_max_width_ = value;
  2455. // @@protoc_insertion_point(field_set:velodyne.Region.car_max_width)
  2456. }
  2457. // required float car_min_wheelbase = 20;
  2458. inline bool Region::has_car_min_wheelbase() const {
  2459. return (_has_bits_[0] & 0x00040000u) != 0;
  2460. }
  2461. inline void Region::set_has_car_min_wheelbase() {
  2462. _has_bits_[0] |= 0x00040000u;
  2463. }
  2464. inline void Region::clear_has_car_min_wheelbase() {
  2465. _has_bits_[0] &= ~0x00040000u;
  2466. }
  2467. inline void Region::clear_car_min_wheelbase() {
  2468. car_min_wheelbase_ = 0;
  2469. clear_has_car_min_wheelbase();
  2470. }
  2471. inline float Region::car_min_wheelbase() const {
  2472. // @@protoc_insertion_point(field_get:velodyne.Region.car_min_wheelbase)
  2473. return car_min_wheelbase_;
  2474. }
  2475. inline void Region::set_car_min_wheelbase(float value) {
  2476. set_has_car_min_wheelbase();
  2477. car_min_wheelbase_ = value;
  2478. // @@protoc_insertion_point(field_set:velodyne.Region.car_min_wheelbase)
  2479. }
  2480. // required float car_max_wheelbase = 21;
  2481. inline bool Region::has_car_max_wheelbase() const {
  2482. return (_has_bits_[0] & 0x00080000u) != 0;
  2483. }
  2484. inline void Region::set_has_car_max_wheelbase() {
  2485. _has_bits_[0] |= 0x00080000u;
  2486. }
  2487. inline void Region::clear_has_car_max_wheelbase() {
  2488. _has_bits_[0] &= ~0x00080000u;
  2489. }
  2490. inline void Region::clear_car_max_wheelbase() {
  2491. car_max_wheelbase_ = 0;
  2492. clear_has_car_max_wheelbase();
  2493. }
  2494. inline float Region::car_max_wheelbase() const {
  2495. // @@protoc_insertion_point(field_get:velodyne.Region.car_max_wheelbase)
  2496. return car_max_wheelbase_;
  2497. }
  2498. inline void Region::set_car_max_wheelbase(float value) {
  2499. set_has_car_max_wheelbase();
  2500. car_max_wheelbase_ = value;
  2501. // @@protoc_insertion_point(field_set:velodyne.Region.car_max_wheelbase)
  2502. }
  2503. // required float turnplate_angle_limit_anti_clockwise = 22;
  2504. inline bool Region::has_turnplate_angle_limit_anti_clockwise() const {
  2505. return (_has_bits_[0] & 0x00100000u) != 0;
  2506. }
  2507. inline void Region::set_has_turnplate_angle_limit_anti_clockwise() {
  2508. _has_bits_[0] |= 0x00100000u;
  2509. }
  2510. inline void Region::clear_has_turnplate_angle_limit_anti_clockwise() {
  2511. _has_bits_[0] &= ~0x00100000u;
  2512. }
  2513. inline void Region::clear_turnplate_angle_limit_anti_clockwise() {
  2514. turnplate_angle_limit_anti_clockwise_ = 0;
  2515. clear_has_turnplate_angle_limit_anti_clockwise();
  2516. }
  2517. inline float Region::turnplate_angle_limit_anti_clockwise() const {
  2518. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_angle_limit_anti_clockwise)
  2519. return turnplate_angle_limit_anti_clockwise_;
  2520. }
  2521. inline void Region::set_turnplate_angle_limit_anti_clockwise(float value) {
  2522. set_has_turnplate_angle_limit_anti_clockwise();
  2523. turnplate_angle_limit_anti_clockwise_ = value;
  2524. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_angle_limit_anti_clockwise)
  2525. }
  2526. // required float turnplate_angle_limit_clockwise = 23;
  2527. inline bool Region::has_turnplate_angle_limit_clockwise() const {
  2528. return (_has_bits_[0] & 0x00200000u) != 0;
  2529. }
  2530. inline void Region::set_has_turnplate_angle_limit_clockwise() {
  2531. _has_bits_[0] |= 0x00200000u;
  2532. }
  2533. inline void Region::clear_has_turnplate_angle_limit_clockwise() {
  2534. _has_bits_[0] &= ~0x00200000u;
  2535. }
  2536. inline void Region::clear_turnplate_angle_limit_clockwise() {
  2537. turnplate_angle_limit_clockwise_ = 0;
  2538. clear_has_turnplate_angle_limit_clockwise();
  2539. }
  2540. inline float Region::turnplate_angle_limit_clockwise() const {
  2541. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_angle_limit_clockwise)
  2542. return turnplate_angle_limit_clockwise_;
  2543. }
  2544. inline void Region::set_turnplate_angle_limit_clockwise(float value) {
  2545. set_has_turnplate_angle_limit_clockwise();
  2546. turnplate_angle_limit_clockwise_ = value;
  2547. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_angle_limit_clockwise)
  2548. }
  2549. #ifdef __GNUC__
  2550. #pragma GCC diagnostic pop
  2551. #endif // __GNUC__
  2552. // -------------------------------------------------------------------
  2553. // -------------------------------------------------------------------
  2554. // -------------------------------------------------------------------
  2555. // -------------------------------------------------------------------
  2556. // @@protoc_insertion_point(namespace_scope)
  2557. } // namespace velodyne
  2558. // @@protoc_insertion_point(global_scope)
  2559. #endif // PROTOBUF_INCLUDED_velodyne_5fconfig_2eproto