velodyne_config.pb.h 86 KB

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