velodyne_config.pb.h 71 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: velodyne_config.proto
  3. #ifndef PROTOBUF_velodyne_5fconfig_2eproto__INCLUDED
  4. #define PROTOBUF_velodyne_5fconfig_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  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 3005000 < 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/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/unknown_field_set.h>
  27. // @@protoc_insertion_point(includes)
  28. namespace protobuf_velodyne_5fconfig_2eproto {
  29. // Internal implementation detail -- do not use these members.
  30. struct TableStruct {
  31. static const ::google::protobuf::internal::ParseTableField entries[];
  32. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  33. static const ::google::protobuf::internal::ParseTable schema[4];
  34. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  35. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  36. static const ::google::protobuf::uint32 offsets[];
  37. };
  38. void AddDescriptors();
  39. void InitDefaultsvelodyneManagerParamsImpl();
  40. void InitDefaultsvelodyneManagerParams();
  41. void InitDefaultsvelodyneLidarParamsImpl();
  42. void InitDefaultsvelodyneLidarParams();
  43. void InitDefaultsCalib_parameterImpl();
  44. void InitDefaultsCalib_parameter();
  45. void InitDefaultsRegionImpl();
  46. void InitDefaultsRegion();
  47. inline void InitDefaults() {
  48. InitDefaultsvelodyneManagerParams();
  49. InitDefaultsvelodyneLidarParams();
  50. InitDefaultsCalib_parameter();
  51. InitDefaultsRegion();
  52. }
  53. } // namespace protobuf_velodyne_5fconfig_2eproto
  54. namespace velodyne {
  55. class Calib_parameter;
  56. class Calib_parameterDefaultTypeInternal;
  57. extern Calib_parameterDefaultTypeInternal _Calib_parameter_default_instance_;
  58. class Region;
  59. class RegionDefaultTypeInternal;
  60. extern RegionDefaultTypeInternal _Region_default_instance_;
  61. class velodyneLidarParams;
  62. class velodyneLidarParamsDefaultTypeInternal;
  63. extern velodyneLidarParamsDefaultTypeInternal _velodyneLidarParams_default_instance_;
  64. class velodyneManagerParams;
  65. class velodyneManagerParamsDefaultTypeInternal;
  66. extern velodyneManagerParamsDefaultTypeInternal _velodyneManagerParams_default_instance_;
  67. } // namespace velodyne
  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 PROTOBUF_CONSTEXPR int const 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 PROTOBUF_FINAL { return New(NULL); }
  114. velodyneManagerParams* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  115. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  116. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  117. void CopyFrom(const velodyneManagerParams& from);
  118. void MergeFrom(const velodyneManagerParams& from);
  119. void Clear() PROTOBUF_FINAL;
  120. bool IsInitialized() const PROTOBUF_FINAL;
  121. size_t ByteSizeLong() const PROTOBUF_FINAL;
  122. bool MergePartialFromCodedStream(
  123. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  124. void SerializeWithCachedSizes(
  125. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  126. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  127. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  128. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  129. private:
  130. void SharedCtor();
  131. void SharedDtor();
  132. void SetCachedSize(int size) const PROTOBUF_FINAL;
  133. void InternalSwap(velodyneManagerParams* other);
  134. private:
  135. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  136. return NULL;
  137. }
  138. inline void* MaybeArenaPtr() const {
  139. return NULL;
  140. }
  141. public:
  142. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  143. // nested types ----------------------------------------------------
  144. // accessors -------------------------------------------------------
  145. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  146. int velodyne_lidars_size() const;
  147. void clear_velodyne_lidars();
  148. static const int kVelodyneLidarsFieldNumber = 1;
  149. const ::velodyne::velodyneLidarParams& velodyne_lidars(int index) const;
  150. ::velodyne::velodyneLidarParams* mutable_velodyne_lidars(int index);
  151. ::velodyne::velodyneLidarParams* add_velodyne_lidars();
  152. ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  153. mutable_velodyne_lidars();
  154. const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  155. velodyne_lidars() const;
  156. // repeated .velodyne.Region region = 2;
  157. int region_size() const;
  158. void clear_region();
  159. static const int kRegionFieldNumber = 2;
  160. const ::velodyne::Region& region(int index) const;
  161. ::velodyne::Region* mutable_region(int index);
  162. ::velodyne::Region* add_region();
  163. ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  164. mutable_region();
  165. const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  166. region() const;
  167. // optional string fence_data_path = 3 [default = ""];
  168. bool has_fence_data_path() const;
  169. void clear_fence_data_path();
  170. static const int kFenceDataPathFieldNumber = 3;
  171. const ::std::string& fence_data_path() const;
  172. void set_fence_data_path(const ::std::string& value);
  173. #if LANG_CXX11
  174. void set_fence_data_path(::std::string&& value);
  175. #endif
  176. void set_fence_data_path(const char* value);
  177. void set_fence_data_path(const char* value, size_t size);
  178. ::std::string* mutable_fence_data_path();
  179. ::std::string* release_fence_data_path();
  180. void set_allocated_fence_data_path(::std::string* fence_data_path);
  181. // optional string fence_log_path = 4 [default = ""];
  182. bool has_fence_log_path() const;
  183. void clear_fence_log_path();
  184. static const int kFenceLogPathFieldNumber = 4;
  185. const ::std::string& fence_log_path() const;
  186. void set_fence_log_path(const ::std::string& value);
  187. #if LANG_CXX11
  188. void set_fence_log_path(::std::string&& value);
  189. #endif
  190. void set_fence_log_path(const char* value);
  191. void set_fence_log_path(const char* value, size_t size);
  192. ::std::string* mutable_fence_log_path();
  193. ::std::string* release_fence_log_path();
  194. void set_allocated_fence_log_path(::std::string* fence_log_path);
  195. // optional string left_model_path = 5 [default = ""];
  196. bool has_left_model_path() const;
  197. void clear_left_model_path();
  198. static const int kLeftModelPathFieldNumber = 5;
  199. const ::std::string& left_model_path() const;
  200. void set_left_model_path(const ::std::string& value);
  201. #if LANG_CXX11
  202. void set_left_model_path(::std::string&& value);
  203. #endif
  204. void set_left_model_path(const char* value);
  205. void set_left_model_path(const char* value, size_t size);
  206. ::std::string* mutable_left_model_path();
  207. ::std::string* release_left_model_path();
  208. void set_allocated_left_model_path(::std::string* left_model_path);
  209. // optional string right_model_path = 6 [default = ""];
  210. bool has_right_model_path() const;
  211. void clear_right_model_path();
  212. static const int kRightModelPathFieldNumber = 6;
  213. const ::std::string& right_model_path() const;
  214. void set_right_model_path(const ::std::string& value);
  215. #if LANG_CXX11
  216. void set_right_model_path(::std::string&& value);
  217. #endif
  218. void set_right_model_path(const char* value);
  219. void set_right_model_path(const char* value, size_t size);
  220. ::std::string* mutable_right_model_path();
  221. ::std::string* release_right_model_path();
  222. void set_allocated_right_model_path(::std::string* right_model_path);
  223. // required bool distribution_mode = 7 [default = false];
  224. bool has_distribution_mode() const;
  225. void clear_distribution_mode();
  226. static const int kDistributionModeFieldNumber = 7;
  227. bool distribution_mode() const;
  228. void set_distribution_mode(bool value);
  229. // @@protoc_insertion_point(class_scope:velodyne.velodyneManagerParams)
  230. private:
  231. void set_has_fence_data_path();
  232. void clear_has_fence_data_path();
  233. void set_has_fence_log_path();
  234. void clear_has_fence_log_path();
  235. void set_has_left_model_path();
  236. void clear_has_left_model_path();
  237. void set_has_right_model_path();
  238. void clear_has_right_model_path();
  239. void set_has_distribution_mode();
  240. void clear_has_distribution_mode();
  241. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  242. ::google::protobuf::internal::HasBits<1> _has_bits_;
  243. mutable int _cached_size_;
  244. ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams > velodyne_lidars_;
  245. ::google::protobuf::RepeatedPtrField< ::velodyne::Region > region_;
  246. ::google::protobuf::internal::ArenaStringPtr fence_data_path_;
  247. ::google::protobuf::internal::ArenaStringPtr fence_log_path_;
  248. ::google::protobuf::internal::ArenaStringPtr left_model_path_;
  249. ::google::protobuf::internal::ArenaStringPtr right_model_path_;
  250. bool distribution_mode_;
  251. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  252. friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsvelodyneManagerParamsImpl();
  253. };
  254. // -------------------------------------------------------------------
  255. class velodyneLidarParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneLidarParams) */ {
  256. public:
  257. velodyneLidarParams();
  258. virtual ~velodyneLidarParams();
  259. velodyneLidarParams(const velodyneLidarParams& from);
  260. inline velodyneLidarParams& operator=(const velodyneLidarParams& from) {
  261. CopyFrom(from);
  262. return *this;
  263. }
  264. #if LANG_CXX11
  265. velodyneLidarParams(velodyneLidarParams&& from) noexcept
  266. : velodyneLidarParams() {
  267. *this = ::std::move(from);
  268. }
  269. inline velodyneLidarParams& operator=(velodyneLidarParams&& from) noexcept {
  270. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  271. if (this != &from) InternalSwap(&from);
  272. } else {
  273. CopyFrom(from);
  274. }
  275. return *this;
  276. }
  277. #endif
  278. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  279. return _internal_metadata_.unknown_fields();
  280. }
  281. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  282. return _internal_metadata_.mutable_unknown_fields();
  283. }
  284. static const ::google::protobuf::Descriptor* descriptor();
  285. static const velodyneLidarParams& default_instance();
  286. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  287. static inline const velodyneLidarParams* internal_default_instance() {
  288. return reinterpret_cast<const velodyneLidarParams*>(
  289. &_velodyneLidarParams_default_instance_);
  290. }
  291. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  292. 1;
  293. void Swap(velodyneLidarParams* other);
  294. friend void swap(velodyneLidarParams& a, velodyneLidarParams& b) {
  295. a.Swap(&b);
  296. }
  297. // implements Message ----------------------------------------------
  298. inline velodyneLidarParams* New() const PROTOBUF_FINAL { return New(NULL); }
  299. velodyneLidarParams* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  300. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  301. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  302. void CopyFrom(const velodyneLidarParams& from);
  303. void MergeFrom(const velodyneLidarParams& from);
  304. void Clear() PROTOBUF_FINAL;
  305. bool IsInitialized() const PROTOBUF_FINAL;
  306. size_t ByteSizeLong() const PROTOBUF_FINAL;
  307. bool MergePartialFromCodedStream(
  308. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  309. void SerializeWithCachedSizes(
  310. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  311. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  312. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  313. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  314. private:
  315. void SharedCtor();
  316. void SharedDtor();
  317. void SetCachedSize(int size) const PROTOBUF_FINAL;
  318. void InternalSwap(velodyneLidarParams* other);
  319. private:
  320. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  321. return NULL;
  322. }
  323. inline void* MaybeArenaPtr() const {
  324. return NULL;
  325. }
  326. public:
  327. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  328. // nested types ----------------------------------------------------
  329. // accessors -------------------------------------------------------
  330. // required string ip = 1 [default = ""];
  331. bool has_ip() const;
  332. void clear_ip();
  333. static const int kIpFieldNumber = 1;
  334. const ::std::string& ip() const;
  335. void set_ip(const ::std::string& value);
  336. #if LANG_CXX11
  337. void set_ip(::std::string&& value);
  338. #endif
  339. void set_ip(const char* value);
  340. void set_ip(const char* value, size_t size);
  341. ::std::string* mutable_ip();
  342. ::std::string* release_ip();
  343. void set_allocated_ip(::std::string* ip);
  344. // required string model = 3 [default = "VLP16"];
  345. bool has_model() const;
  346. void clear_model();
  347. static const int kModelFieldNumber = 3;
  348. const ::std::string& model() const;
  349. void set_model(const ::std::string& value);
  350. #if LANG_CXX11
  351. void set_model(::std::string&& value);
  352. #endif
  353. void set_model(const char* value);
  354. void set_model(const char* value, size_t size);
  355. ::std::string* mutable_model();
  356. ::std::string* release_model();
  357. void set_allocated_model(::std::string* model);
  358. // required string calibrationFile = 4 [default = ""];
  359. bool has_calibrationfile() const;
  360. void clear_calibrationfile();
  361. static const int kCalibrationFileFieldNumber = 4;
  362. const ::std::string& calibrationfile() const;
  363. void set_calibrationfile(const ::std::string& value);
  364. #if LANG_CXX11
  365. void set_calibrationfile(::std::string&& value);
  366. #endif
  367. void set_calibrationfile(const char* value);
  368. void set_calibrationfile(const char* value, size_t size);
  369. ::std::string* mutable_calibrationfile();
  370. ::std::string* release_calibrationfile();
  371. void set_allocated_calibrationfile(::std::string* calibrationfile);
  372. // optional .velodyne.Calib_parameter calib = 11;
  373. bool has_calib() const;
  374. void clear_calib();
  375. static const int kCalibFieldNumber = 11;
  376. const ::velodyne::Calib_parameter& calib() const;
  377. ::velodyne::Calib_parameter* release_calib();
  378. ::velodyne::Calib_parameter* mutable_calib();
  379. void set_allocated_calib(::velodyne::Calib_parameter* calib);
  380. // required int32 lidar_id = 5 [default = 0];
  381. bool has_lidar_id() const;
  382. void clear_lidar_id();
  383. static const int kLidarIdFieldNumber = 5;
  384. ::google::protobuf::int32 lidar_id() const;
  385. void set_lidar_id(::google::protobuf::int32 value);
  386. // optional int32 min_angle = 8 [default = 0];
  387. bool has_min_angle() const;
  388. void clear_min_angle();
  389. static const int kMinAngleFieldNumber = 8;
  390. ::google::protobuf::int32 min_angle() const;
  391. void set_min_angle(::google::protobuf::int32 value);
  392. // optional int32 rpm = 10 [default = 600];
  393. bool has_rpm() const;
  394. void clear_rpm();
  395. static const int kRpmFieldNumber = 10;
  396. ::google::protobuf::int32 rpm() const;
  397. void set_rpm(::google::protobuf::int32 value);
  398. // required int32 port = 2 [default = 2368];
  399. bool has_port() const;
  400. void clear_port();
  401. static const int kPortFieldNumber = 2;
  402. ::google::protobuf::int32 port() const;
  403. void set_port(::google::protobuf::int32 value);
  404. // optional float max_range = 6 [default = 10];
  405. bool has_max_range() const;
  406. void clear_max_range();
  407. static const int kMaxRangeFieldNumber = 6;
  408. float max_range() const;
  409. void set_max_range(float value);
  410. // optional float min_range = 7 [default = 0.15];
  411. bool has_min_range() const;
  412. void clear_min_range();
  413. static const int kMinRangeFieldNumber = 7;
  414. float min_range() const;
  415. void set_min_range(float value);
  416. // optional int32 max_angle = 9 [default = 360];
  417. bool has_max_angle() const;
  418. void clear_max_angle();
  419. static const int kMaxAngleFieldNumber = 9;
  420. ::google::protobuf::int32 max_angle() const;
  421. void set_max_angle(::google::protobuf::int32 value);
  422. // @@protoc_insertion_point(class_scope:velodyne.velodyneLidarParams)
  423. private:
  424. void set_has_ip();
  425. void clear_has_ip();
  426. void set_has_port();
  427. void clear_has_port();
  428. void set_has_model();
  429. void clear_has_model();
  430. void set_has_calibrationfile();
  431. void clear_has_calibrationfile();
  432. void set_has_lidar_id();
  433. void clear_has_lidar_id();
  434. void set_has_max_range();
  435. void clear_has_max_range();
  436. void set_has_min_range();
  437. void clear_has_min_range();
  438. void set_has_min_angle();
  439. void clear_has_min_angle();
  440. void set_has_max_angle();
  441. void clear_has_max_angle();
  442. void set_has_rpm();
  443. void clear_has_rpm();
  444. void set_has_calib();
  445. void clear_has_calib();
  446. // helper for ByteSizeLong()
  447. size_t RequiredFieldsByteSizeFallback() const;
  448. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  449. ::google::protobuf::internal::HasBits<1> _has_bits_;
  450. mutable int _cached_size_;
  451. ::google::protobuf::internal::ArenaStringPtr ip_;
  452. static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_model_;
  453. ::google::protobuf::internal::ArenaStringPtr model_;
  454. ::google::protobuf::internal::ArenaStringPtr calibrationfile_;
  455. ::velodyne::Calib_parameter* calib_;
  456. ::google::protobuf::int32 lidar_id_;
  457. ::google::protobuf::int32 min_angle_;
  458. ::google::protobuf::int32 rpm_;
  459. ::google::protobuf::int32 port_;
  460. float max_range_;
  461. float min_range_;
  462. ::google::protobuf::int32 max_angle_;
  463. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  464. friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsvelodyneLidarParamsImpl();
  465. };
  466. // -------------------------------------------------------------------
  467. class Calib_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.Calib_parameter) */ {
  468. public:
  469. Calib_parameter();
  470. virtual ~Calib_parameter();
  471. Calib_parameter(const Calib_parameter& from);
  472. inline Calib_parameter& operator=(const Calib_parameter& from) {
  473. CopyFrom(from);
  474. return *this;
  475. }
  476. #if LANG_CXX11
  477. Calib_parameter(Calib_parameter&& from) noexcept
  478. : Calib_parameter() {
  479. *this = ::std::move(from);
  480. }
  481. inline Calib_parameter& operator=(Calib_parameter&& from) noexcept {
  482. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  483. if (this != &from) InternalSwap(&from);
  484. } else {
  485. CopyFrom(from);
  486. }
  487. return *this;
  488. }
  489. #endif
  490. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  491. return _internal_metadata_.unknown_fields();
  492. }
  493. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  494. return _internal_metadata_.mutable_unknown_fields();
  495. }
  496. static const ::google::protobuf::Descriptor* descriptor();
  497. static const Calib_parameter& default_instance();
  498. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  499. static inline const Calib_parameter* internal_default_instance() {
  500. return reinterpret_cast<const Calib_parameter*>(
  501. &_Calib_parameter_default_instance_);
  502. }
  503. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  504. 2;
  505. void Swap(Calib_parameter* other);
  506. friend void swap(Calib_parameter& a, Calib_parameter& b) {
  507. a.Swap(&b);
  508. }
  509. // implements Message ----------------------------------------------
  510. inline Calib_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
  511. Calib_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  512. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  513. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  514. void CopyFrom(const Calib_parameter& from);
  515. void MergeFrom(const Calib_parameter& from);
  516. void Clear() PROTOBUF_FINAL;
  517. bool IsInitialized() const PROTOBUF_FINAL;
  518. size_t ByteSizeLong() const PROTOBUF_FINAL;
  519. bool MergePartialFromCodedStream(
  520. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  521. void SerializeWithCachedSizes(
  522. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  523. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  524. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  525. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  526. private:
  527. void SharedCtor();
  528. void SharedDtor();
  529. void SetCachedSize(int size) const PROTOBUF_FINAL;
  530. void InternalSwap(Calib_parameter* other);
  531. private:
  532. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  533. return NULL;
  534. }
  535. inline void* MaybeArenaPtr() const {
  536. return NULL;
  537. }
  538. public:
  539. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  540. // nested types ----------------------------------------------------
  541. // accessors -------------------------------------------------------
  542. // optional float r = 1 [default = 0];
  543. bool has_r() const;
  544. void clear_r();
  545. static const int kRFieldNumber = 1;
  546. float r() const;
  547. void set_r(float value);
  548. // optional float p = 2 [default = 0];
  549. bool has_p() const;
  550. void clear_p();
  551. static const int kPFieldNumber = 2;
  552. float p() const;
  553. void set_p(float value);
  554. // optional float y = 3 [default = 0];
  555. bool has_y() const;
  556. void clear_y();
  557. static const int kYFieldNumber = 3;
  558. float y() const;
  559. void set_y(float value);
  560. // optional float cx = 4 [default = 0];
  561. bool has_cx() const;
  562. void clear_cx();
  563. static const int kCxFieldNumber = 4;
  564. float cx() const;
  565. void set_cx(float value);
  566. // optional float cy = 5 [default = 0];
  567. bool has_cy() const;
  568. void clear_cy();
  569. static const int kCyFieldNumber = 5;
  570. float cy() const;
  571. void set_cy(float value);
  572. // optional float cz = 6 [default = 0];
  573. bool has_cz() const;
  574. void clear_cz();
  575. static const int kCzFieldNumber = 6;
  576. float cz() const;
  577. void set_cz(float value);
  578. // @@protoc_insertion_point(class_scope:velodyne.Calib_parameter)
  579. private:
  580. void set_has_r();
  581. void clear_has_r();
  582. void set_has_p();
  583. void clear_has_p();
  584. void set_has_y();
  585. void clear_has_y();
  586. void set_has_cx();
  587. void clear_has_cx();
  588. void set_has_cy();
  589. void clear_has_cy();
  590. void set_has_cz();
  591. void clear_has_cz();
  592. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  593. ::google::protobuf::internal::HasBits<1> _has_bits_;
  594. mutable int _cached_size_;
  595. float r_;
  596. float p_;
  597. float y_;
  598. float cx_;
  599. float cy_;
  600. float cz_;
  601. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  602. friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsCalib_parameterImpl();
  603. };
  604. // -------------------------------------------------------------------
  605. class Region : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.Region) */ {
  606. public:
  607. Region();
  608. virtual ~Region();
  609. Region(const Region& from);
  610. inline Region& operator=(const Region& from) {
  611. CopyFrom(from);
  612. return *this;
  613. }
  614. #if LANG_CXX11
  615. Region(Region&& from) noexcept
  616. : Region() {
  617. *this = ::std::move(from);
  618. }
  619. inline Region& operator=(Region&& from) noexcept {
  620. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  621. if (this != &from) InternalSwap(&from);
  622. } else {
  623. CopyFrom(from);
  624. }
  625. return *this;
  626. }
  627. #endif
  628. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  629. return _internal_metadata_.unknown_fields();
  630. }
  631. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  632. return _internal_metadata_.mutable_unknown_fields();
  633. }
  634. static const ::google::protobuf::Descriptor* descriptor();
  635. static const Region& default_instance();
  636. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  637. static inline const Region* internal_default_instance() {
  638. return reinterpret_cast<const Region*>(
  639. &_Region_default_instance_);
  640. }
  641. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  642. 3;
  643. void Swap(Region* other);
  644. friend void swap(Region& a, Region& b) {
  645. a.Swap(&b);
  646. }
  647. // implements Message ----------------------------------------------
  648. inline Region* New() const PROTOBUF_FINAL { return New(NULL); }
  649. Region* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  650. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  651. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  652. void CopyFrom(const Region& from);
  653. void MergeFrom(const Region& from);
  654. void Clear() PROTOBUF_FINAL;
  655. bool IsInitialized() const PROTOBUF_FINAL;
  656. size_t ByteSizeLong() const PROTOBUF_FINAL;
  657. bool MergePartialFromCodedStream(
  658. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  659. void SerializeWithCachedSizes(
  660. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  661. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  662. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  663. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  664. private:
  665. void SharedCtor();
  666. void SharedDtor();
  667. void SetCachedSize(int size) const PROTOBUF_FINAL;
  668. void InternalSwap(Region* other);
  669. private:
  670. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  671. return NULL;
  672. }
  673. inline void* MaybeArenaPtr() const {
  674. return NULL;
  675. }
  676. public:
  677. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  678. // nested types ----------------------------------------------------
  679. // accessors -------------------------------------------------------
  680. // repeated int32 lidar_ids = 8;
  681. int lidar_ids_size() const;
  682. void clear_lidar_ids();
  683. static const int kLidarIdsFieldNumber = 8;
  684. ::google::protobuf::int32 lidar_ids(int index) const;
  685. void set_lidar_ids(int index, ::google::protobuf::int32 value);
  686. void add_lidar_ids(::google::protobuf::int32 value);
  687. const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  688. lidar_ids() const;
  689. ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  690. mutable_lidar_ids();
  691. // required float minx = 1;
  692. bool has_minx() const;
  693. void clear_minx();
  694. static const int kMinxFieldNumber = 1;
  695. float minx() const;
  696. void set_minx(float value);
  697. // required float maxx = 2;
  698. bool has_maxx() const;
  699. void clear_maxx();
  700. static const int kMaxxFieldNumber = 2;
  701. float maxx() const;
  702. void set_maxx(float value);
  703. // required float miny = 3;
  704. bool has_miny() const;
  705. void clear_miny();
  706. static const int kMinyFieldNumber = 3;
  707. float miny() const;
  708. void set_miny(float value);
  709. // required float maxy = 4;
  710. bool has_maxy() const;
  711. void clear_maxy();
  712. static const int kMaxyFieldNumber = 4;
  713. float maxy() const;
  714. void set_maxy(float value);
  715. // required float minz = 5;
  716. bool has_minz() const;
  717. void clear_minz();
  718. static const int kMinzFieldNumber = 5;
  719. float minz() const;
  720. void set_minz(float value);
  721. // required float maxz = 6;
  722. bool has_maxz() const;
  723. void clear_maxz();
  724. static const int kMaxzFieldNumber = 6;
  725. float maxz() const;
  726. void set_maxz(float value);
  727. // required int32 region_id = 7;
  728. bool has_region_id() const;
  729. void clear_region_id();
  730. static const int kRegionIdFieldNumber = 7;
  731. ::google::protobuf::int32 region_id() const;
  732. void set_region_id(::google::protobuf::int32 value);
  733. // @@protoc_insertion_point(class_scope:velodyne.Region)
  734. private:
  735. void set_has_minx();
  736. void clear_has_minx();
  737. void set_has_maxx();
  738. void clear_has_maxx();
  739. void set_has_miny();
  740. void clear_has_miny();
  741. void set_has_maxy();
  742. void clear_has_maxy();
  743. void set_has_minz();
  744. void clear_has_minz();
  745. void set_has_maxz();
  746. void clear_has_maxz();
  747. void set_has_region_id();
  748. void clear_has_region_id();
  749. // helper for ByteSizeLong()
  750. size_t RequiredFieldsByteSizeFallback() const;
  751. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  752. ::google::protobuf::internal::HasBits<1> _has_bits_;
  753. mutable int _cached_size_;
  754. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > lidar_ids_;
  755. float minx_;
  756. float maxx_;
  757. float miny_;
  758. float maxy_;
  759. float minz_;
  760. float maxz_;
  761. ::google::protobuf::int32 region_id_;
  762. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  763. friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsRegionImpl();
  764. };
  765. // ===================================================================
  766. // ===================================================================
  767. #ifdef __GNUC__
  768. #pragma GCC diagnostic push
  769. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  770. #endif // __GNUC__
  771. // velodyneManagerParams
  772. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  773. inline int velodyneManagerParams::velodyne_lidars_size() const {
  774. return velodyne_lidars_.size();
  775. }
  776. inline void velodyneManagerParams::clear_velodyne_lidars() {
  777. velodyne_lidars_.Clear();
  778. }
  779. inline const ::velodyne::velodyneLidarParams& velodyneManagerParams::velodyne_lidars(int index) const {
  780. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.velodyne_lidars)
  781. return velodyne_lidars_.Get(index);
  782. }
  783. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::mutable_velodyne_lidars(int index) {
  784. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.velodyne_lidars)
  785. return velodyne_lidars_.Mutable(index);
  786. }
  787. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::add_velodyne_lidars() {
  788. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.velodyne_lidars)
  789. return velodyne_lidars_.Add();
  790. }
  791. inline ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  792. velodyneManagerParams::mutable_velodyne_lidars() {
  793. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.velodyne_lidars)
  794. return &velodyne_lidars_;
  795. }
  796. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  797. velodyneManagerParams::velodyne_lidars() const {
  798. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.velodyne_lidars)
  799. return velodyne_lidars_;
  800. }
  801. // repeated .velodyne.Region region = 2;
  802. inline int velodyneManagerParams::region_size() const {
  803. return region_.size();
  804. }
  805. inline void velodyneManagerParams::clear_region() {
  806. region_.Clear();
  807. }
  808. inline const ::velodyne::Region& velodyneManagerParams::region(int index) const {
  809. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.region)
  810. return region_.Get(index);
  811. }
  812. inline ::velodyne::Region* velodyneManagerParams::mutable_region(int index) {
  813. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.region)
  814. return region_.Mutable(index);
  815. }
  816. inline ::velodyne::Region* velodyneManagerParams::add_region() {
  817. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.region)
  818. return region_.Add();
  819. }
  820. inline ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  821. velodyneManagerParams::mutable_region() {
  822. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.region)
  823. return &region_;
  824. }
  825. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  826. velodyneManagerParams::region() const {
  827. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.region)
  828. return region_;
  829. }
  830. // optional string fence_data_path = 3 [default = ""];
  831. inline bool velodyneManagerParams::has_fence_data_path() const {
  832. return (_has_bits_[0] & 0x00000001u) != 0;
  833. }
  834. inline void velodyneManagerParams::set_has_fence_data_path() {
  835. _has_bits_[0] |= 0x00000001u;
  836. }
  837. inline void velodyneManagerParams::clear_has_fence_data_path() {
  838. _has_bits_[0] &= ~0x00000001u;
  839. }
  840. inline void velodyneManagerParams::clear_fence_data_path() {
  841. fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  842. clear_has_fence_data_path();
  843. }
  844. inline const ::std::string& velodyneManagerParams::fence_data_path() const {
  845. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_data_path)
  846. return fence_data_path_.GetNoArena();
  847. }
  848. inline void velodyneManagerParams::set_fence_data_path(const ::std::string& value) {
  849. set_has_fence_data_path();
  850. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  851. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_data_path)
  852. }
  853. #if LANG_CXX11
  854. inline void velodyneManagerParams::set_fence_data_path(::std::string&& value) {
  855. set_has_fence_data_path();
  856. fence_data_path_.SetNoArena(
  857. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  858. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_data_path)
  859. }
  860. #endif
  861. inline void velodyneManagerParams::set_fence_data_path(const char* value) {
  862. GOOGLE_DCHECK(value != NULL);
  863. set_has_fence_data_path();
  864. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  865. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_data_path)
  866. }
  867. inline void velodyneManagerParams::set_fence_data_path(const char* value, size_t size) {
  868. set_has_fence_data_path();
  869. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  870. ::std::string(reinterpret_cast<const char*>(value), size));
  871. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_data_path)
  872. }
  873. inline ::std::string* velodyneManagerParams::mutable_fence_data_path() {
  874. set_has_fence_data_path();
  875. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_data_path)
  876. return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  877. }
  878. inline ::std::string* velodyneManagerParams::release_fence_data_path() {
  879. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_data_path)
  880. clear_has_fence_data_path();
  881. return fence_data_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  882. }
  883. inline void velodyneManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
  884. if (fence_data_path != NULL) {
  885. set_has_fence_data_path();
  886. } else {
  887. clear_has_fence_data_path();
  888. }
  889. fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
  890. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_data_path)
  891. }
  892. // optional string fence_log_path = 4 [default = ""];
  893. inline bool velodyneManagerParams::has_fence_log_path() const {
  894. return (_has_bits_[0] & 0x00000002u) != 0;
  895. }
  896. inline void velodyneManagerParams::set_has_fence_log_path() {
  897. _has_bits_[0] |= 0x00000002u;
  898. }
  899. inline void velodyneManagerParams::clear_has_fence_log_path() {
  900. _has_bits_[0] &= ~0x00000002u;
  901. }
  902. inline void velodyneManagerParams::clear_fence_log_path() {
  903. fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  904. clear_has_fence_log_path();
  905. }
  906. inline const ::std::string& velodyneManagerParams::fence_log_path() const {
  907. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_log_path)
  908. return fence_log_path_.GetNoArena();
  909. }
  910. inline void velodyneManagerParams::set_fence_log_path(const ::std::string& value) {
  911. set_has_fence_log_path();
  912. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  913. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_log_path)
  914. }
  915. #if LANG_CXX11
  916. inline void velodyneManagerParams::set_fence_log_path(::std::string&& value) {
  917. set_has_fence_log_path();
  918. fence_log_path_.SetNoArena(
  919. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  920. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_log_path)
  921. }
  922. #endif
  923. inline void velodyneManagerParams::set_fence_log_path(const char* value) {
  924. GOOGLE_DCHECK(value != NULL);
  925. set_has_fence_log_path();
  926. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  927. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_log_path)
  928. }
  929. inline void velodyneManagerParams::set_fence_log_path(const char* value, size_t size) {
  930. set_has_fence_log_path();
  931. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  932. ::std::string(reinterpret_cast<const char*>(value), size));
  933. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_log_path)
  934. }
  935. inline ::std::string* velodyneManagerParams::mutable_fence_log_path() {
  936. set_has_fence_log_path();
  937. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_log_path)
  938. return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  939. }
  940. inline ::std::string* velodyneManagerParams::release_fence_log_path() {
  941. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_log_path)
  942. clear_has_fence_log_path();
  943. return fence_log_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  944. }
  945. inline void velodyneManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
  946. if (fence_log_path != NULL) {
  947. set_has_fence_log_path();
  948. } else {
  949. clear_has_fence_log_path();
  950. }
  951. fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
  952. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_log_path)
  953. }
  954. // optional string left_model_path = 5 [default = ""];
  955. inline bool velodyneManagerParams::has_left_model_path() const {
  956. return (_has_bits_[0] & 0x00000004u) != 0;
  957. }
  958. inline void velodyneManagerParams::set_has_left_model_path() {
  959. _has_bits_[0] |= 0x00000004u;
  960. }
  961. inline void velodyneManagerParams::clear_has_left_model_path() {
  962. _has_bits_[0] &= ~0x00000004u;
  963. }
  964. inline void velodyneManagerParams::clear_left_model_path() {
  965. left_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  966. clear_has_left_model_path();
  967. }
  968. inline const ::std::string& velodyneManagerParams::left_model_path() const {
  969. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.left_model_path)
  970. return left_model_path_.GetNoArena();
  971. }
  972. inline void velodyneManagerParams::set_left_model_path(const ::std::string& value) {
  973. set_has_left_model_path();
  974. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  975. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.left_model_path)
  976. }
  977. #if LANG_CXX11
  978. inline void velodyneManagerParams::set_left_model_path(::std::string&& value) {
  979. set_has_left_model_path();
  980. left_model_path_.SetNoArena(
  981. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  982. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.left_model_path)
  983. }
  984. #endif
  985. inline void velodyneManagerParams::set_left_model_path(const char* value) {
  986. GOOGLE_DCHECK(value != NULL);
  987. set_has_left_model_path();
  988. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  989. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.left_model_path)
  990. }
  991. inline void velodyneManagerParams::set_left_model_path(const char* value, size_t size) {
  992. set_has_left_model_path();
  993. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  994. ::std::string(reinterpret_cast<const char*>(value), size));
  995. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.left_model_path)
  996. }
  997. inline ::std::string* velodyneManagerParams::mutable_left_model_path() {
  998. set_has_left_model_path();
  999. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.left_model_path)
  1000. return left_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1001. }
  1002. inline ::std::string* velodyneManagerParams::release_left_model_path() {
  1003. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.left_model_path)
  1004. clear_has_left_model_path();
  1005. return left_model_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1006. }
  1007. inline void velodyneManagerParams::set_allocated_left_model_path(::std::string* left_model_path) {
  1008. if (left_model_path != NULL) {
  1009. set_has_left_model_path();
  1010. } else {
  1011. clear_has_left_model_path();
  1012. }
  1013. left_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), left_model_path);
  1014. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.left_model_path)
  1015. }
  1016. // optional string right_model_path = 6 [default = ""];
  1017. inline bool velodyneManagerParams::has_right_model_path() const {
  1018. return (_has_bits_[0] & 0x00000008u) != 0;
  1019. }
  1020. inline void velodyneManagerParams::set_has_right_model_path() {
  1021. _has_bits_[0] |= 0x00000008u;
  1022. }
  1023. inline void velodyneManagerParams::clear_has_right_model_path() {
  1024. _has_bits_[0] &= ~0x00000008u;
  1025. }
  1026. inline void velodyneManagerParams::clear_right_model_path() {
  1027. right_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1028. clear_has_right_model_path();
  1029. }
  1030. inline const ::std::string& velodyneManagerParams::right_model_path() const {
  1031. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.right_model_path)
  1032. return right_model_path_.GetNoArena();
  1033. }
  1034. inline void velodyneManagerParams::set_right_model_path(const ::std::string& value) {
  1035. set_has_right_model_path();
  1036. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1037. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.right_model_path)
  1038. }
  1039. #if LANG_CXX11
  1040. inline void velodyneManagerParams::set_right_model_path(::std::string&& value) {
  1041. set_has_right_model_path();
  1042. right_model_path_.SetNoArena(
  1043. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1044. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.right_model_path)
  1045. }
  1046. #endif
  1047. inline void velodyneManagerParams::set_right_model_path(const char* value) {
  1048. GOOGLE_DCHECK(value != NULL);
  1049. set_has_right_model_path();
  1050. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1051. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.right_model_path)
  1052. }
  1053. inline void velodyneManagerParams::set_right_model_path(const char* value, size_t size) {
  1054. set_has_right_model_path();
  1055. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1056. ::std::string(reinterpret_cast<const char*>(value), size));
  1057. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.right_model_path)
  1058. }
  1059. inline ::std::string* velodyneManagerParams::mutable_right_model_path() {
  1060. set_has_right_model_path();
  1061. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.right_model_path)
  1062. return right_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1063. }
  1064. inline ::std::string* velodyneManagerParams::release_right_model_path() {
  1065. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.right_model_path)
  1066. clear_has_right_model_path();
  1067. return right_model_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1068. }
  1069. inline void velodyneManagerParams::set_allocated_right_model_path(::std::string* right_model_path) {
  1070. if (right_model_path != NULL) {
  1071. set_has_right_model_path();
  1072. } else {
  1073. clear_has_right_model_path();
  1074. }
  1075. right_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), right_model_path);
  1076. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.right_model_path)
  1077. }
  1078. // required bool distribution_mode = 7 [default = false];
  1079. inline bool velodyneManagerParams::has_distribution_mode() const {
  1080. return (_has_bits_[0] & 0x00000010u) != 0;
  1081. }
  1082. inline void velodyneManagerParams::set_has_distribution_mode() {
  1083. _has_bits_[0] |= 0x00000010u;
  1084. }
  1085. inline void velodyneManagerParams::clear_has_distribution_mode() {
  1086. _has_bits_[0] &= ~0x00000010u;
  1087. }
  1088. inline void velodyneManagerParams::clear_distribution_mode() {
  1089. distribution_mode_ = false;
  1090. clear_has_distribution_mode();
  1091. }
  1092. inline bool velodyneManagerParams::distribution_mode() const {
  1093. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.distribution_mode)
  1094. return distribution_mode_;
  1095. }
  1096. inline void velodyneManagerParams::set_distribution_mode(bool value) {
  1097. set_has_distribution_mode();
  1098. distribution_mode_ = value;
  1099. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.distribution_mode)
  1100. }
  1101. // -------------------------------------------------------------------
  1102. // velodyneLidarParams
  1103. // required string ip = 1 [default = ""];
  1104. inline bool velodyneLidarParams::has_ip() const {
  1105. return (_has_bits_[0] & 0x00000001u) != 0;
  1106. }
  1107. inline void velodyneLidarParams::set_has_ip() {
  1108. _has_bits_[0] |= 0x00000001u;
  1109. }
  1110. inline void velodyneLidarParams::clear_has_ip() {
  1111. _has_bits_[0] &= ~0x00000001u;
  1112. }
  1113. inline void velodyneLidarParams::clear_ip() {
  1114. ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1115. clear_has_ip();
  1116. }
  1117. inline const ::std::string& velodyneLidarParams::ip() const {
  1118. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.ip)
  1119. return ip_.GetNoArena();
  1120. }
  1121. inline void velodyneLidarParams::set_ip(const ::std::string& value) {
  1122. set_has_ip();
  1123. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1124. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.ip)
  1125. }
  1126. #if LANG_CXX11
  1127. inline void velodyneLidarParams::set_ip(::std::string&& value) {
  1128. set_has_ip();
  1129. ip_.SetNoArena(
  1130. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1131. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.ip)
  1132. }
  1133. #endif
  1134. inline void velodyneLidarParams::set_ip(const char* value) {
  1135. GOOGLE_DCHECK(value != NULL);
  1136. set_has_ip();
  1137. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1138. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.ip)
  1139. }
  1140. inline void velodyneLidarParams::set_ip(const char* value, size_t size) {
  1141. set_has_ip();
  1142. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1143. ::std::string(reinterpret_cast<const char*>(value), size));
  1144. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.ip)
  1145. }
  1146. inline ::std::string* velodyneLidarParams::mutable_ip() {
  1147. set_has_ip();
  1148. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.ip)
  1149. return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1150. }
  1151. inline ::std::string* velodyneLidarParams::release_ip() {
  1152. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.ip)
  1153. clear_has_ip();
  1154. return ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1155. }
  1156. inline void velodyneLidarParams::set_allocated_ip(::std::string* ip) {
  1157. if (ip != NULL) {
  1158. set_has_ip();
  1159. } else {
  1160. clear_has_ip();
  1161. }
  1162. ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
  1163. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.ip)
  1164. }
  1165. // required int32 port = 2 [default = 2368];
  1166. inline bool velodyneLidarParams::has_port() const {
  1167. return (_has_bits_[0] & 0x00000080u) != 0;
  1168. }
  1169. inline void velodyneLidarParams::set_has_port() {
  1170. _has_bits_[0] |= 0x00000080u;
  1171. }
  1172. inline void velodyneLidarParams::clear_has_port() {
  1173. _has_bits_[0] &= ~0x00000080u;
  1174. }
  1175. inline void velodyneLidarParams::clear_port() {
  1176. port_ = 2368;
  1177. clear_has_port();
  1178. }
  1179. inline ::google::protobuf::int32 velodyneLidarParams::port() const {
  1180. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.port)
  1181. return port_;
  1182. }
  1183. inline void velodyneLidarParams::set_port(::google::protobuf::int32 value) {
  1184. set_has_port();
  1185. port_ = value;
  1186. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.port)
  1187. }
  1188. // required string model = 3 [default = "VLP16"];
  1189. inline bool velodyneLidarParams::has_model() const {
  1190. return (_has_bits_[0] & 0x00000002u) != 0;
  1191. }
  1192. inline void velodyneLidarParams::set_has_model() {
  1193. _has_bits_[0] |= 0x00000002u;
  1194. }
  1195. inline void velodyneLidarParams::clear_has_model() {
  1196. _has_bits_[0] &= ~0x00000002u;
  1197. }
  1198. inline void velodyneLidarParams::clear_model() {
  1199. model_.ClearToDefaultNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
  1200. clear_has_model();
  1201. }
  1202. inline const ::std::string& velodyneLidarParams::model() const {
  1203. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.model)
  1204. return model_.GetNoArena();
  1205. }
  1206. inline void velodyneLidarParams::set_model(const ::std::string& value) {
  1207. set_has_model();
  1208. model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), value);
  1209. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.model)
  1210. }
  1211. #if LANG_CXX11
  1212. inline void velodyneLidarParams::set_model(::std::string&& value) {
  1213. set_has_model();
  1214. model_.SetNoArena(
  1215. &::velodyne::velodyneLidarParams::_default_model_.get(), ::std::move(value));
  1216. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.model)
  1217. }
  1218. #endif
  1219. inline void velodyneLidarParams::set_model(const char* value) {
  1220. GOOGLE_DCHECK(value != NULL);
  1221. set_has_model();
  1222. model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), ::std::string(value));
  1223. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.model)
  1224. }
  1225. inline void velodyneLidarParams::set_model(const char* value, size_t size) {
  1226. set_has_model();
  1227. model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(),
  1228. ::std::string(reinterpret_cast<const char*>(value), size));
  1229. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.model)
  1230. }
  1231. inline ::std::string* velodyneLidarParams::mutable_model() {
  1232. set_has_model();
  1233. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.model)
  1234. return model_.MutableNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
  1235. }
  1236. inline ::std::string* velodyneLidarParams::release_model() {
  1237. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.model)
  1238. clear_has_model();
  1239. return model_.ReleaseNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
  1240. }
  1241. inline void velodyneLidarParams::set_allocated_model(::std::string* model) {
  1242. if (model != NULL) {
  1243. set_has_model();
  1244. } else {
  1245. clear_has_model();
  1246. }
  1247. model_.SetAllocatedNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), model);
  1248. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.model)
  1249. }
  1250. // required string calibrationFile = 4 [default = ""];
  1251. inline bool velodyneLidarParams::has_calibrationfile() const {
  1252. return (_has_bits_[0] & 0x00000004u) != 0;
  1253. }
  1254. inline void velodyneLidarParams::set_has_calibrationfile() {
  1255. _has_bits_[0] |= 0x00000004u;
  1256. }
  1257. inline void velodyneLidarParams::clear_has_calibrationfile() {
  1258. _has_bits_[0] &= ~0x00000004u;
  1259. }
  1260. inline void velodyneLidarParams::clear_calibrationfile() {
  1261. calibrationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1262. clear_has_calibrationfile();
  1263. }
  1264. inline const ::std::string& velodyneLidarParams::calibrationfile() const {
  1265. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calibrationFile)
  1266. return calibrationfile_.GetNoArena();
  1267. }
  1268. inline void velodyneLidarParams::set_calibrationfile(const ::std::string& value) {
  1269. set_has_calibrationfile();
  1270. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1271. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.calibrationFile)
  1272. }
  1273. #if LANG_CXX11
  1274. inline void velodyneLidarParams::set_calibrationfile(::std::string&& value) {
  1275. set_has_calibrationfile();
  1276. calibrationfile_.SetNoArena(
  1277. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1278. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.calibrationFile)
  1279. }
  1280. #endif
  1281. inline void velodyneLidarParams::set_calibrationfile(const char* value) {
  1282. GOOGLE_DCHECK(value != NULL);
  1283. set_has_calibrationfile();
  1284. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1285. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.calibrationFile)
  1286. }
  1287. inline void velodyneLidarParams::set_calibrationfile(const char* value, size_t size) {
  1288. set_has_calibrationfile();
  1289. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1290. ::std::string(reinterpret_cast<const char*>(value), size));
  1291. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.calibrationFile)
  1292. }
  1293. inline ::std::string* velodyneLidarParams::mutable_calibrationfile() {
  1294. set_has_calibrationfile();
  1295. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calibrationFile)
  1296. return calibrationfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1297. }
  1298. inline ::std::string* velodyneLidarParams::release_calibrationfile() {
  1299. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calibrationFile)
  1300. clear_has_calibrationfile();
  1301. return calibrationfile_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1302. }
  1303. inline void velodyneLidarParams::set_allocated_calibrationfile(::std::string* calibrationfile) {
  1304. if (calibrationfile != NULL) {
  1305. set_has_calibrationfile();
  1306. } else {
  1307. clear_has_calibrationfile();
  1308. }
  1309. calibrationfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), calibrationfile);
  1310. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calibrationFile)
  1311. }
  1312. // required int32 lidar_id = 5 [default = 0];
  1313. inline bool velodyneLidarParams::has_lidar_id() const {
  1314. return (_has_bits_[0] & 0x00000010u) != 0;
  1315. }
  1316. inline void velodyneLidarParams::set_has_lidar_id() {
  1317. _has_bits_[0] |= 0x00000010u;
  1318. }
  1319. inline void velodyneLidarParams::clear_has_lidar_id() {
  1320. _has_bits_[0] &= ~0x00000010u;
  1321. }
  1322. inline void velodyneLidarParams::clear_lidar_id() {
  1323. lidar_id_ = 0;
  1324. clear_has_lidar_id();
  1325. }
  1326. inline ::google::protobuf::int32 velodyneLidarParams::lidar_id() const {
  1327. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.lidar_id)
  1328. return lidar_id_;
  1329. }
  1330. inline void velodyneLidarParams::set_lidar_id(::google::protobuf::int32 value) {
  1331. set_has_lidar_id();
  1332. lidar_id_ = value;
  1333. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.lidar_id)
  1334. }
  1335. // optional float max_range = 6 [default = 10];
  1336. inline bool velodyneLidarParams::has_max_range() const {
  1337. return (_has_bits_[0] & 0x00000100u) != 0;
  1338. }
  1339. inline void velodyneLidarParams::set_has_max_range() {
  1340. _has_bits_[0] |= 0x00000100u;
  1341. }
  1342. inline void velodyneLidarParams::clear_has_max_range() {
  1343. _has_bits_[0] &= ~0x00000100u;
  1344. }
  1345. inline void velodyneLidarParams::clear_max_range() {
  1346. max_range_ = 10;
  1347. clear_has_max_range();
  1348. }
  1349. inline float velodyneLidarParams::max_range() const {
  1350. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_range)
  1351. return max_range_;
  1352. }
  1353. inline void velodyneLidarParams::set_max_range(float value) {
  1354. set_has_max_range();
  1355. max_range_ = value;
  1356. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_range)
  1357. }
  1358. // optional float min_range = 7 [default = 0.15];
  1359. inline bool velodyneLidarParams::has_min_range() const {
  1360. return (_has_bits_[0] & 0x00000200u) != 0;
  1361. }
  1362. inline void velodyneLidarParams::set_has_min_range() {
  1363. _has_bits_[0] |= 0x00000200u;
  1364. }
  1365. inline void velodyneLidarParams::clear_has_min_range() {
  1366. _has_bits_[0] &= ~0x00000200u;
  1367. }
  1368. inline void velodyneLidarParams::clear_min_range() {
  1369. min_range_ = 0.15f;
  1370. clear_has_min_range();
  1371. }
  1372. inline float velodyneLidarParams::min_range() const {
  1373. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_range)
  1374. return min_range_;
  1375. }
  1376. inline void velodyneLidarParams::set_min_range(float value) {
  1377. set_has_min_range();
  1378. min_range_ = value;
  1379. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_range)
  1380. }
  1381. // optional int32 min_angle = 8 [default = 0];
  1382. inline bool velodyneLidarParams::has_min_angle() const {
  1383. return (_has_bits_[0] & 0x00000020u) != 0;
  1384. }
  1385. inline void velodyneLidarParams::set_has_min_angle() {
  1386. _has_bits_[0] |= 0x00000020u;
  1387. }
  1388. inline void velodyneLidarParams::clear_has_min_angle() {
  1389. _has_bits_[0] &= ~0x00000020u;
  1390. }
  1391. inline void velodyneLidarParams::clear_min_angle() {
  1392. min_angle_ = 0;
  1393. clear_has_min_angle();
  1394. }
  1395. inline ::google::protobuf::int32 velodyneLidarParams::min_angle() const {
  1396. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_angle)
  1397. return min_angle_;
  1398. }
  1399. inline void velodyneLidarParams::set_min_angle(::google::protobuf::int32 value) {
  1400. set_has_min_angle();
  1401. min_angle_ = value;
  1402. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_angle)
  1403. }
  1404. // optional int32 max_angle = 9 [default = 360];
  1405. inline bool velodyneLidarParams::has_max_angle() const {
  1406. return (_has_bits_[0] & 0x00000400u) != 0;
  1407. }
  1408. inline void velodyneLidarParams::set_has_max_angle() {
  1409. _has_bits_[0] |= 0x00000400u;
  1410. }
  1411. inline void velodyneLidarParams::clear_has_max_angle() {
  1412. _has_bits_[0] &= ~0x00000400u;
  1413. }
  1414. inline void velodyneLidarParams::clear_max_angle() {
  1415. max_angle_ = 360;
  1416. clear_has_max_angle();
  1417. }
  1418. inline ::google::protobuf::int32 velodyneLidarParams::max_angle() const {
  1419. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_angle)
  1420. return max_angle_;
  1421. }
  1422. inline void velodyneLidarParams::set_max_angle(::google::protobuf::int32 value) {
  1423. set_has_max_angle();
  1424. max_angle_ = value;
  1425. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_angle)
  1426. }
  1427. // optional int32 rpm = 10 [default = 600];
  1428. inline bool velodyneLidarParams::has_rpm() const {
  1429. return (_has_bits_[0] & 0x00000040u) != 0;
  1430. }
  1431. inline void velodyneLidarParams::set_has_rpm() {
  1432. _has_bits_[0] |= 0x00000040u;
  1433. }
  1434. inline void velodyneLidarParams::clear_has_rpm() {
  1435. _has_bits_[0] &= ~0x00000040u;
  1436. }
  1437. inline void velodyneLidarParams::clear_rpm() {
  1438. rpm_ = 600;
  1439. clear_has_rpm();
  1440. }
  1441. inline ::google::protobuf::int32 velodyneLidarParams::rpm() const {
  1442. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.rpm)
  1443. return rpm_;
  1444. }
  1445. inline void velodyneLidarParams::set_rpm(::google::protobuf::int32 value) {
  1446. set_has_rpm();
  1447. rpm_ = value;
  1448. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.rpm)
  1449. }
  1450. // optional .velodyne.Calib_parameter calib = 11;
  1451. inline bool velodyneLidarParams::has_calib() const {
  1452. return (_has_bits_[0] & 0x00000008u) != 0;
  1453. }
  1454. inline void velodyneLidarParams::set_has_calib() {
  1455. _has_bits_[0] |= 0x00000008u;
  1456. }
  1457. inline void velodyneLidarParams::clear_has_calib() {
  1458. _has_bits_[0] &= ~0x00000008u;
  1459. }
  1460. inline void velodyneLidarParams::clear_calib() {
  1461. if (calib_ != NULL) calib_->Clear();
  1462. clear_has_calib();
  1463. }
  1464. inline const ::velodyne::Calib_parameter& velodyneLidarParams::calib() const {
  1465. const ::velodyne::Calib_parameter* p = calib_;
  1466. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calib)
  1467. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::Calib_parameter*>(
  1468. &::velodyne::_Calib_parameter_default_instance_);
  1469. }
  1470. inline ::velodyne::Calib_parameter* velodyneLidarParams::release_calib() {
  1471. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calib)
  1472. clear_has_calib();
  1473. ::velodyne::Calib_parameter* temp = calib_;
  1474. calib_ = NULL;
  1475. return temp;
  1476. }
  1477. inline ::velodyne::Calib_parameter* velodyneLidarParams::mutable_calib() {
  1478. set_has_calib();
  1479. if (calib_ == NULL) {
  1480. calib_ = new ::velodyne::Calib_parameter;
  1481. }
  1482. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calib)
  1483. return calib_;
  1484. }
  1485. inline void velodyneLidarParams::set_allocated_calib(::velodyne::Calib_parameter* calib) {
  1486. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1487. if (message_arena == NULL) {
  1488. delete calib_;
  1489. }
  1490. if (calib) {
  1491. ::google::protobuf::Arena* submessage_arena = NULL;
  1492. if (message_arena != submessage_arena) {
  1493. calib = ::google::protobuf::internal::GetOwnedMessage(
  1494. message_arena, calib, submessage_arena);
  1495. }
  1496. set_has_calib();
  1497. } else {
  1498. clear_has_calib();
  1499. }
  1500. calib_ = calib;
  1501. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calib)
  1502. }
  1503. // -------------------------------------------------------------------
  1504. // Calib_parameter
  1505. // optional float r = 1 [default = 0];
  1506. inline bool Calib_parameter::has_r() const {
  1507. return (_has_bits_[0] & 0x00000001u) != 0;
  1508. }
  1509. inline void Calib_parameter::set_has_r() {
  1510. _has_bits_[0] |= 0x00000001u;
  1511. }
  1512. inline void Calib_parameter::clear_has_r() {
  1513. _has_bits_[0] &= ~0x00000001u;
  1514. }
  1515. inline void Calib_parameter::clear_r() {
  1516. r_ = 0;
  1517. clear_has_r();
  1518. }
  1519. inline float Calib_parameter::r() const {
  1520. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.r)
  1521. return r_;
  1522. }
  1523. inline void Calib_parameter::set_r(float value) {
  1524. set_has_r();
  1525. r_ = value;
  1526. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.r)
  1527. }
  1528. // optional float p = 2 [default = 0];
  1529. inline bool Calib_parameter::has_p() const {
  1530. return (_has_bits_[0] & 0x00000002u) != 0;
  1531. }
  1532. inline void Calib_parameter::set_has_p() {
  1533. _has_bits_[0] |= 0x00000002u;
  1534. }
  1535. inline void Calib_parameter::clear_has_p() {
  1536. _has_bits_[0] &= ~0x00000002u;
  1537. }
  1538. inline void Calib_parameter::clear_p() {
  1539. p_ = 0;
  1540. clear_has_p();
  1541. }
  1542. inline float Calib_parameter::p() const {
  1543. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.p)
  1544. return p_;
  1545. }
  1546. inline void Calib_parameter::set_p(float value) {
  1547. set_has_p();
  1548. p_ = value;
  1549. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.p)
  1550. }
  1551. // optional float y = 3 [default = 0];
  1552. inline bool Calib_parameter::has_y() const {
  1553. return (_has_bits_[0] & 0x00000004u) != 0;
  1554. }
  1555. inline void Calib_parameter::set_has_y() {
  1556. _has_bits_[0] |= 0x00000004u;
  1557. }
  1558. inline void Calib_parameter::clear_has_y() {
  1559. _has_bits_[0] &= ~0x00000004u;
  1560. }
  1561. inline void Calib_parameter::clear_y() {
  1562. y_ = 0;
  1563. clear_has_y();
  1564. }
  1565. inline float Calib_parameter::y() const {
  1566. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.y)
  1567. return y_;
  1568. }
  1569. inline void Calib_parameter::set_y(float value) {
  1570. set_has_y();
  1571. y_ = value;
  1572. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.y)
  1573. }
  1574. // optional float cx = 4 [default = 0];
  1575. inline bool Calib_parameter::has_cx() const {
  1576. return (_has_bits_[0] & 0x00000008u) != 0;
  1577. }
  1578. inline void Calib_parameter::set_has_cx() {
  1579. _has_bits_[0] |= 0x00000008u;
  1580. }
  1581. inline void Calib_parameter::clear_has_cx() {
  1582. _has_bits_[0] &= ~0x00000008u;
  1583. }
  1584. inline void Calib_parameter::clear_cx() {
  1585. cx_ = 0;
  1586. clear_has_cx();
  1587. }
  1588. inline float Calib_parameter::cx() const {
  1589. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.cx)
  1590. return cx_;
  1591. }
  1592. inline void Calib_parameter::set_cx(float value) {
  1593. set_has_cx();
  1594. cx_ = value;
  1595. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.cx)
  1596. }
  1597. // optional float cy = 5 [default = 0];
  1598. inline bool Calib_parameter::has_cy() const {
  1599. return (_has_bits_[0] & 0x00000010u) != 0;
  1600. }
  1601. inline void Calib_parameter::set_has_cy() {
  1602. _has_bits_[0] |= 0x00000010u;
  1603. }
  1604. inline void Calib_parameter::clear_has_cy() {
  1605. _has_bits_[0] &= ~0x00000010u;
  1606. }
  1607. inline void Calib_parameter::clear_cy() {
  1608. cy_ = 0;
  1609. clear_has_cy();
  1610. }
  1611. inline float Calib_parameter::cy() const {
  1612. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.cy)
  1613. return cy_;
  1614. }
  1615. inline void Calib_parameter::set_cy(float value) {
  1616. set_has_cy();
  1617. cy_ = value;
  1618. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.cy)
  1619. }
  1620. // optional float cz = 6 [default = 0];
  1621. inline bool Calib_parameter::has_cz() const {
  1622. return (_has_bits_[0] & 0x00000020u) != 0;
  1623. }
  1624. inline void Calib_parameter::set_has_cz() {
  1625. _has_bits_[0] |= 0x00000020u;
  1626. }
  1627. inline void Calib_parameter::clear_has_cz() {
  1628. _has_bits_[0] &= ~0x00000020u;
  1629. }
  1630. inline void Calib_parameter::clear_cz() {
  1631. cz_ = 0;
  1632. clear_has_cz();
  1633. }
  1634. inline float Calib_parameter::cz() const {
  1635. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.cz)
  1636. return cz_;
  1637. }
  1638. inline void Calib_parameter::set_cz(float value) {
  1639. set_has_cz();
  1640. cz_ = value;
  1641. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.cz)
  1642. }
  1643. // -------------------------------------------------------------------
  1644. // Region
  1645. // required float minx = 1;
  1646. inline bool Region::has_minx() const {
  1647. return (_has_bits_[0] & 0x00000001u) != 0;
  1648. }
  1649. inline void Region::set_has_minx() {
  1650. _has_bits_[0] |= 0x00000001u;
  1651. }
  1652. inline void Region::clear_has_minx() {
  1653. _has_bits_[0] &= ~0x00000001u;
  1654. }
  1655. inline void Region::clear_minx() {
  1656. minx_ = 0;
  1657. clear_has_minx();
  1658. }
  1659. inline float Region::minx() const {
  1660. // @@protoc_insertion_point(field_get:velodyne.Region.minx)
  1661. return minx_;
  1662. }
  1663. inline void Region::set_minx(float value) {
  1664. set_has_minx();
  1665. minx_ = value;
  1666. // @@protoc_insertion_point(field_set:velodyne.Region.minx)
  1667. }
  1668. // required float maxx = 2;
  1669. inline bool Region::has_maxx() const {
  1670. return (_has_bits_[0] & 0x00000002u) != 0;
  1671. }
  1672. inline void Region::set_has_maxx() {
  1673. _has_bits_[0] |= 0x00000002u;
  1674. }
  1675. inline void Region::clear_has_maxx() {
  1676. _has_bits_[0] &= ~0x00000002u;
  1677. }
  1678. inline void Region::clear_maxx() {
  1679. maxx_ = 0;
  1680. clear_has_maxx();
  1681. }
  1682. inline float Region::maxx() const {
  1683. // @@protoc_insertion_point(field_get:velodyne.Region.maxx)
  1684. return maxx_;
  1685. }
  1686. inline void Region::set_maxx(float value) {
  1687. set_has_maxx();
  1688. maxx_ = value;
  1689. // @@protoc_insertion_point(field_set:velodyne.Region.maxx)
  1690. }
  1691. // required float miny = 3;
  1692. inline bool Region::has_miny() const {
  1693. return (_has_bits_[0] & 0x00000004u) != 0;
  1694. }
  1695. inline void Region::set_has_miny() {
  1696. _has_bits_[0] |= 0x00000004u;
  1697. }
  1698. inline void Region::clear_has_miny() {
  1699. _has_bits_[0] &= ~0x00000004u;
  1700. }
  1701. inline void Region::clear_miny() {
  1702. miny_ = 0;
  1703. clear_has_miny();
  1704. }
  1705. inline float Region::miny() const {
  1706. // @@protoc_insertion_point(field_get:velodyne.Region.miny)
  1707. return miny_;
  1708. }
  1709. inline void Region::set_miny(float value) {
  1710. set_has_miny();
  1711. miny_ = value;
  1712. // @@protoc_insertion_point(field_set:velodyne.Region.miny)
  1713. }
  1714. // required float maxy = 4;
  1715. inline bool Region::has_maxy() const {
  1716. return (_has_bits_[0] & 0x00000008u) != 0;
  1717. }
  1718. inline void Region::set_has_maxy() {
  1719. _has_bits_[0] |= 0x00000008u;
  1720. }
  1721. inline void Region::clear_has_maxy() {
  1722. _has_bits_[0] &= ~0x00000008u;
  1723. }
  1724. inline void Region::clear_maxy() {
  1725. maxy_ = 0;
  1726. clear_has_maxy();
  1727. }
  1728. inline float Region::maxy() const {
  1729. // @@protoc_insertion_point(field_get:velodyne.Region.maxy)
  1730. return maxy_;
  1731. }
  1732. inline void Region::set_maxy(float value) {
  1733. set_has_maxy();
  1734. maxy_ = value;
  1735. // @@protoc_insertion_point(field_set:velodyne.Region.maxy)
  1736. }
  1737. // required float minz = 5;
  1738. inline bool Region::has_minz() const {
  1739. return (_has_bits_[0] & 0x00000010u) != 0;
  1740. }
  1741. inline void Region::set_has_minz() {
  1742. _has_bits_[0] |= 0x00000010u;
  1743. }
  1744. inline void Region::clear_has_minz() {
  1745. _has_bits_[0] &= ~0x00000010u;
  1746. }
  1747. inline void Region::clear_minz() {
  1748. minz_ = 0;
  1749. clear_has_minz();
  1750. }
  1751. inline float Region::minz() const {
  1752. // @@protoc_insertion_point(field_get:velodyne.Region.minz)
  1753. return minz_;
  1754. }
  1755. inline void Region::set_minz(float value) {
  1756. set_has_minz();
  1757. minz_ = value;
  1758. // @@protoc_insertion_point(field_set:velodyne.Region.minz)
  1759. }
  1760. // required float maxz = 6;
  1761. inline bool Region::has_maxz() const {
  1762. return (_has_bits_[0] & 0x00000020u) != 0;
  1763. }
  1764. inline void Region::set_has_maxz() {
  1765. _has_bits_[0] |= 0x00000020u;
  1766. }
  1767. inline void Region::clear_has_maxz() {
  1768. _has_bits_[0] &= ~0x00000020u;
  1769. }
  1770. inline void Region::clear_maxz() {
  1771. maxz_ = 0;
  1772. clear_has_maxz();
  1773. }
  1774. inline float Region::maxz() const {
  1775. // @@protoc_insertion_point(field_get:velodyne.Region.maxz)
  1776. return maxz_;
  1777. }
  1778. inline void Region::set_maxz(float value) {
  1779. set_has_maxz();
  1780. maxz_ = value;
  1781. // @@protoc_insertion_point(field_set:velodyne.Region.maxz)
  1782. }
  1783. // required int32 region_id = 7;
  1784. inline bool Region::has_region_id() const {
  1785. return (_has_bits_[0] & 0x00000040u) != 0;
  1786. }
  1787. inline void Region::set_has_region_id() {
  1788. _has_bits_[0] |= 0x00000040u;
  1789. }
  1790. inline void Region::clear_has_region_id() {
  1791. _has_bits_[0] &= ~0x00000040u;
  1792. }
  1793. inline void Region::clear_region_id() {
  1794. region_id_ = 0;
  1795. clear_has_region_id();
  1796. }
  1797. inline ::google::protobuf::int32 Region::region_id() const {
  1798. // @@protoc_insertion_point(field_get:velodyne.Region.region_id)
  1799. return region_id_;
  1800. }
  1801. inline void Region::set_region_id(::google::protobuf::int32 value) {
  1802. set_has_region_id();
  1803. region_id_ = value;
  1804. // @@protoc_insertion_point(field_set:velodyne.Region.region_id)
  1805. }
  1806. // repeated int32 lidar_ids = 8;
  1807. inline int Region::lidar_ids_size() const {
  1808. return lidar_ids_.size();
  1809. }
  1810. inline void Region::clear_lidar_ids() {
  1811. lidar_ids_.Clear();
  1812. }
  1813. inline ::google::protobuf::int32 Region::lidar_ids(int index) const {
  1814. // @@protoc_insertion_point(field_get:velodyne.Region.lidar_ids)
  1815. return lidar_ids_.Get(index);
  1816. }
  1817. inline void Region::set_lidar_ids(int index, ::google::protobuf::int32 value) {
  1818. lidar_ids_.Set(index, value);
  1819. // @@protoc_insertion_point(field_set:velodyne.Region.lidar_ids)
  1820. }
  1821. inline void Region::add_lidar_ids(::google::protobuf::int32 value) {
  1822. lidar_ids_.Add(value);
  1823. // @@protoc_insertion_point(field_add:velodyne.Region.lidar_ids)
  1824. }
  1825. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  1826. Region::lidar_ids() const {
  1827. // @@protoc_insertion_point(field_list:velodyne.Region.lidar_ids)
  1828. return lidar_ids_;
  1829. }
  1830. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  1831. Region::mutable_lidar_ids() {
  1832. // @@protoc_insertion_point(field_mutable_list:velodyne.Region.lidar_ids)
  1833. return &lidar_ids_;
  1834. }
  1835. #ifdef __GNUC__
  1836. #pragma GCC diagnostic pop
  1837. #endif // __GNUC__
  1838. // -------------------------------------------------------------------
  1839. // -------------------------------------------------------------------
  1840. // -------------------------------------------------------------------
  1841. // @@protoc_insertion_point(namespace_scope)
  1842. } // namespace velodyne
  1843. // @@protoc_insertion_point(global_scope)
  1844. #endif // PROTOBUF_velodyne_5fconfig_2eproto__INCLUDED