123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: velodyne_config.proto
- #ifndef PROTOBUF_velodyne_5fconfig_2eproto__INCLUDED
- #define PROTOBUF_velodyne_5fconfig_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3005000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- namespace protobuf_velodyne_5fconfig_2eproto {
- // Internal implementation detail -- do not use these members.
- struct TableStruct {
- static const ::google::protobuf::internal::ParseTableField entries[];
- static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
- static const ::google::protobuf::internal::ParseTable schema[5];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- void InitDefaultsvelodyneManagerParamsImpl();
- void InitDefaultsvelodyneManagerParams();
- void InitDefaultsvelodyneLidarParamsImpl();
- void InitDefaultsvelodyneLidarParams();
- void InitDefaultsCalibParameterImpl();
- void InitDefaultsCalibParameter();
- void InitDefaultslidarExtrinsicImpl();
- void InitDefaultslidarExtrinsic();
- void InitDefaultsRegionImpl();
- void InitDefaultsRegion();
- inline void InitDefaults() {
- InitDefaultsvelodyneManagerParams();
- InitDefaultsvelodyneLidarParams();
- InitDefaultsCalibParameter();
- InitDefaultslidarExtrinsic();
- InitDefaultsRegion();
- }
- } // namespace protobuf_velodyne_5fconfig_2eproto
- namespace velodyne {
- class CalibParameter;
- class CalibParameterDefaultTypeInternal;
- extern CalibParameterDefaultTypeInternal _CalibParameter_default_instance_;
- class Region;
- class RegionDefaultTypeInternal;
- extern RegionDefaultTypeInternal _Region_default_instance_;
- class lidarExtrinsic;
- class lidarExtrinsicDefaultTypeInternal;
- extern lidarExtrinsicDefaultTypeInternal _lidarExtrinsic_default_instance_;
- class velodyneLidarParams;
- class velodyneLidarParamsDefaultTypeInternal;
- extern velodyneLidarParamsDefaultTypeInternal _velodyneLidarParams_default_instance_;
- class velodyneManagerParams;
- class velodyneManagerParamsDefaultTypeInternal;
- extern velodyneManagerParamsDefaultTypeInternal _velodyneManagerParams_default_instance_;
- } // namespace velodyne
- namespace velodyne {
- // ===================================================================
- class velodyneManagerParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneManagerParams) */ {
- public:
- velodyneManagerParams();
- virtual ~velodyneManagerParams();
- velodyneManagerParams(const velodyneManagerParams& from);
- inline velodyneManagerParams& operator=(const velodyneManagerParams& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- velodyneManagerParams(velodyneManagerParams&& from) noexcept
- : velodyneManagerParams() {
- *this = ::std::move(from);
- }
- inline velodyneManagerParams& operator=(velodyneManagerParams&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const velodyneManagerParams& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const velodyneManagerParams* internal_default_instance() {
- return reinterpret_cast<const velodyneManagerParams*>(
- &_velodyneManagerParams_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 0;
- void Swap(velodyneManagerParams* other);
- friend void swap(velodyneManagerParams& a, velodyneManagerParams& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline velodyneManagerParams* New() const PROTOBUF_FINAL { return New(NULL); }
- velodyneManagerParams* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const velodyneManagerParams& from);
- void MergeFrom(const velodyneManagerParams& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(velodyneManagerParams* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
- int velodyne_lidars_size() const;
- void clear_velodyne_lidars();
- static const int kVelodyneLidarsFieldNumber = 1;
- const ::velodyne::velodyneLidarParams& velodyne_lidars(int index) const;
- ::velodyne::velodyneLidarParams* mutable_velodyne_lidars(int index);
- ::velodyne::velodyneLidarParams* add_velodyne_lidars();
- ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
- mutable_velodyne_lidars();
- const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
- velodyne_lidars() const;
- // repeated .velodyne.Region region = 2;
- int region_size() const;
- void clear_region();
- static const int kRegionFieldNumber = 2;
- const ::velodyne::Region& region(int index) const;
- ::velodyne::Region* mutable_region(int index);
- ::velodyne::Region* add_region();
- ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
- mutable_region();
- const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
- region() const;
- // optional string fence_data_path = 3 [default = ""];
- bool has_fence_data_path() const;
- void clear_fence_data_path();
- static const int kFenceDataPathFieldNumber = 3;
- const ::std::string& fence_data_path() const;
- void set_fence_data_path(const ::std::string& value);
- #if LANG_CXX11
- void set_fence_data_path(::std::string&& value);
- #endif
- void set_fence_data_path(const char* value);
- void set_fence_data_path(const char* value, size_t size);
- ::std::string* mutable_fence_data_path();
- ::std::string* release_fence_data_path();
- void set_allocated_fence_data_path(::std::string* fence_data_path);
- // optional string fence_log_path = 4 [default = ""];
- bool has_fence_log_path() const;
- void clear_fence_log_path();
- static const int kFenceLogPathFieldNumber = 4;
- const ::std::string& fence_log_path() const;
- void set_fence_log_path(const ::std::string& value);
- #if LANG_CXX11
- void set_fence_log_path(::std::string&& value);
- #endif
- void set_fence_log_path(const char* value);
- void set_fence_log_path(const char* value, size_t size);
- ::std::string* mutable_fence_log_path();
- ::std::string* release_fence_log_path();
- void set_allocated_fence_log_path(::std::string* fence_log_path);
- // optional string left_model_path = 5 [default = ""];
- bool has_left_model_path() const;
- void clear_left_model_path();
- static const int kLeftModelPathFieldNumber = 5;
- const ::std::string& left_model_path() const;
- void set_left_model_path(const ::std::string& value);
- #if LANG_CXX11
- void set_left_model_path(::std::string&& value);
- #endif
- void set_left_model_path(const char* value);
- void set_left_model_path(const char* value, size_t size);
- ::std::string* mutable_left_model_path();
- ::std::string* release_left_model_path();
- void set_allocated_left_model_path(::std::string* left_model_path);
- // optional string right_model_path = 6 [default = ""];
- bool has_right_model_path() const;
- void clear_right_model_path();
- static const int kRightModelPathFieldNumber = 6;
- const ::std::string& right_model_path() const;
- void set_right_model_path(const ::std::string& value);
- #if LANG_CXX11
- void set_right_model_path(::std::string&& value);
- #endif
- void set_right_model_path(const char* value);
- void set_right_model_path(const char* value, size_t size);
- ::std::string* mutable_right_model_path();
- ::std::string* release_right_model_path();
- void set_allocated_right_model_path(::std::string* right_model_path);
- // required bool distribution_mode = 7 [default = false];
- bool has_distribution_mode() const;
- void clear_distribution_mode();
- static const int kDistributionModeFieldNumber = 7;
- bool distribution_mode() const;
- void set_distribution_mode(bool value);
- // @@protoc_insertion_point(class_scope:velodyne.velodyneManagerParams)
- private:
- void set_has_fence_data_path();
- void clear_has_fence_data_path();
- void set_has_fence_log_path();
- void clear_has_fence_log_path();
- void set_has_left_model_path();
- void clear_has_left_model_path();
- void set_has_right_model_path();
- void clear_has_right_model_path();
- void set_has_distribution_mode();
- void clear_has_distribution_mode();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams > velodyne_lidars_;
- ::google::protobuf::RepeatedPtrField< ::velodyne::Region > region_;
- ::google::protobuf::internal::ArenaStringPtr fence_data_path_;
- ::google::protobuf::internal::ArenaStringPtr fence_log_path_;
- ::google::protobuf::internal::ArenaStringPtr left_model_path_;
- ::google::protobuf::internal::ArenaStringPtr right_model_path_;
- bool distribution_mode_;
- friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
- friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsvelodyneManagerParamsImpl();
- };
- // -------------------------------------------------------------------
- class velodyneLidarParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneLidarParams) */ {
- public:
- velodyneLidarParams();
- virtual ~velodyneLidarParams();
- velodyneLidarParams(const velodyneLidarParams& from);
- inline velodyneLidarParams& operator=(const velodyneLidarParams& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- velodyneLidarParams(velodyneLidarParams&& from) noexcept
- : velodyneLidarParams() {
- *this = ::std::move(from);
- }
- inline velodyneLidarParams& operator=(velodyneLidarParams&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const velodyneLidarParams& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const velodyneLidarParams* internal_default_instance() {
- return reinterpret_cast<const velodyneLidarParams*>(
- &_velodyneLidarParams_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 1;
- void Swap(velodyneLidarParams* other);
- friend void swap(velodyneLidarParams& a, velodyneLidarParams& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline velodyneLidarParams* New() const PROTOBUF_FINAL { return New(NULL); }
- velodyneLidarParams* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const velodyneLidarParams& from);
- void MergeFrom(const velodyneLidarParams& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(velodyneLidarParams* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required string ip = 1 [default = ""];
- bool has_ip() const;
- void clear_ip();
- static const int kIpFieldNumber = 1;
- const ::std::string& ip() const;
- void set_ip(const ::std::string& value);
- #if LANG_CXX11
- void set_ip(::std::string&& value);
- #endif
- void set_ip(const char* value);
- void set_ip(const char* value, size_t size);
- ::std::string* mutable_ip();
- ::std::string* release_ip();
- void set_allocated_ip(::std::string* ip);
- // required string model = 3 [default = "VLP16"];
- bool has_model() const;
- void clear_model();
- static const int kModelFieldNumber = 3;
- const ::std::string& model() const;
- void set_model(const ::std::string& value);
- #if LANG_CXX11
- void set_model(::std::string&& value);
- #endif
- void set_model(const char* value);
- void set_model(const char* value, size_t size);
- ::std::string* mutable_model();
- ::std::string* release_model();
- void set_allocated_model(::std::string* model);
- // required string calibrationFile = 4 [default = ""];
- bool has_calibrationfile() const;
- void clear_calibrationfile();
- static const int kCalibrationFileFieldNumber = 4;
- const ::std::string& calibrationfile() const;
- void set_calibrationfile(const ::std::string& value);
- #if LANG_CXX11
- void set_calibrationfile(::std::string&& value);
- #endif
- void set_calibrationfile(const char* value);
- void set_calibrationfile(const char* value, size_t size);
- ::std::string* mutable_calibrationfile();
- ::std::string* release_calibrationfile();
- void set_allocated_calibrationfile(::std::string* calibrationfile);
- // optional .velodyne.CalibParameter calib = 11;
- bool has_calib() const;
- void clear_calib();
- static const int kCalibFieldNumber = 11;
- const ::velodyne::CalibParameter& calib() const;
- ::velodyne::CalibParameter* release_calib();
- ::velodyne::CalibParameter* mutable_calib();
- void set_allocated_calib(::velodyne::CalibParameter* calib);
- // required int32 lidar_id = 5 [default = 0];
- bool has_lidar_id() const;
- void clear_lidar_id();
- static const int kLidarIdFieldNumber = 5;
- ::google::protobuf::int32 lidar_id() const;
- void set_lidar_id(::google::protobuf::int32 value);
- // optional int32 min_angle = 8 [default = 0];
- bool has_min_angle() const;
- void clear_min_angle();
- static const int kMinAngleFieldNumber = 8;
- ::google::protobuf::int32 min_angle() const;
- void set_min_angle(::google::protobuf::int32 value);
- // optional int32 rpm = 10 [default = 600];
- bool has_rpm() const;
- void clear_rpm();
- static const int kRpmFieldNumber = 10;
- ::google::protobuf::int32 rpm() const;
- void set_rpm(::google::protobuf::int32 value);
- // required int32 port = 2 [default = 2368];
- bool has_port() const;
- void clear_port();
- static const int kPortFieldNumber = 2;
- ::google::protobuf::int32 port() const;
- void set_port(::google::protobuf::int32 value);
- // optional float max_range = 6 [default = 10];
- bool has_max_range() const;
- void clear_max_range();
- static const int kMaxRangeFieldNumber = 6;
- float max_range() const;
- void set_max_range(float value);
- // optional float min_range = 7 [default = 0.15];
- bool has_min_range() const;
- void clear_min_range();
- static const int kMinRangeFieldNumber = 7;
- float min_range() const;
- void set_min_range(float value);
- // optional int32 max_angle = 9 [default = 360];
- bool has_max_angle() const;
- void clear_max_angle();
- static const int kMaxAngleFieldNumber = 9;
- ::google::protobuf::int32 max_angle() const;
- void set_max_angle(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:velodyne.velodyneLidarParams)
- private:
- void set_has_ip();
- void clear_has_ip();
- void set_has_port();
- void clear_has_port();
- void set_has_model();
- void clear_has_model();
- void set_has_calibrationfile();
- void clear_has_calibrationfile();
- void set_has_lidar_id();
- void clear_has_lidar_id();
- void set_has_max_range();
- void clear_has_max_range();
- void set_has_min_range();
- void clear_has_min_range();
- void set_has_min_angle();
- void clear_has_min_angle();
- void set_has_max_angle();
- void clear_has_max_angle();
- void set_has_rpm();
- void clear_has_rpm();
- void set_has_calib();
- void clear_has_calib();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr ip_;
- static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_model_;
- ::google::protobuf::internal::ArenaStringPtr model_;
- ::google::protobuf::internal::ArenaStringPtr calibrationfile_;
- ::velodyne::CalibParameter* calib_;
- ::google::protobuf::int32 lidar_id_;
- ::google::protobuf::int32 min_angle_;
- ::google::protobuf::int32 rpm_;
- ::google::protobuf::int32 port_;
- float max_range_;
- float min_range_;
- ::google::protobuf::int32 max_angle_;
- friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
- friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsvelodyneLidarParamsImpl();
- };
- // -------------------------------------------------------------------
- class CalibParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.CalibParameter) */ {
- public:
- CalibParameter();
- virtual ~CalibParameter();
- CalibParameter(const CalibParameter& from);
- inline CalibParameter& operator=(const CalibParameter& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- CalibParameter(CalibParameter&& from) noexcept
- : CalibParameter() {
- *this = ::std::move(from);
- }
- inline CalibParameter& operator=(CalibParameter&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const CalibParameter& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const CalibParameter* internal_default_instance() {
- return reinterpret_cast<const CalibParameter*>(
- &_CalibParameter_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 2;
- void Swap(CalibParameter* other);
- friend void swap(CalibParameter& a, CalibParameter& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline CalibParameter* New() const PROTOBUF_FINAL { return New(NULL); }
- CalibParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const CalibParameter& from);
- void MergeFrom(const CalibParameter& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(CalibParameter* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional float r = 1 [default = 0];
- bool has_r() const;
- void clear_r();
- static const int kRFieldNumber = 1;
- float r() const;
- void set_r(float value);
- // optional float p = 2 [default = 0];
- bool has_p() const;
- void clear_p();
- static const int kPFieldNumber = 2;
- float p() const;
- void set_p(float value);
- // optional float y = 3 [default = 0];
- bool has_y() const;
- void clear_y();
- static const int kYFieldNumber = 3;
- float y() const;
- void set_y(float value);
- // optional float cx = 4 [default = 0];
- bool has_cx() const;
- void clear_cx();
- static const int kCxFieldNumber = 4;
- float cx() const;
- void set_cx(float value);
- // optional float cy = 5 [default = 0];
- bool has_cy() const;
- void clear_cy();
- static const int kCyFieldNumber = 5;
- float cy() const;
- void set_cy(float value);
- // optional float cz = 6 [default = 0];
- bool has_cz() const;
- void clear_cz();
- static const int kCzFieldNumber = 6;
- float cz() const;
- void set_cz(float value);
- // @@protoc_insertion_point(class_scope:velodyne.CalibParameter)
- private:
- void set_has_r();
- void clear_has_r();
- void set_has_p();
- void clear_has_p();
- void set_has_y();
- void clear_has_y();
- void set_has_cx();
- void clear_has_cx();
- void set_has_cy();
- void clear_has_cy();
- void set_has_cz();
- void clear_has_cz();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- float r_;
- float p_;
- float y_;
- float cx_;
- float cy_;
- float cz_;
- friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
- friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsCalibParameterImpl();
- };
- // -------------------------------------------------------------------
- class lidarExtrinsic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.lidarExtrinsic) */ {
- public:
- lidarExtrinsic();
- virtual ~lidarExtrinsic();
- lidarExtrinsic(const lidarExtrinsic& from);
- inline lidarExtrinsic& operator=(const lidarExtrinsic& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- lidarExtrinsic(lidarExtrinsic&& from) noexcept
- : lidarExtrinsic() {
- *this = ::std::move(from);
- }
- inline lidarExtrinsic& operator=(lidarExtrinsic&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const lidarExtrinsic& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const lidarExtrinsic* internal_default_instance() {
- return reinterpret_cast<const lidarExtrinsic*>(
- &_lidarExtrinsic_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 3;
- void Swap(lidarExtrinsic* other);
- friend void swap(lidarExtrinsic& a, lidarExtrinsic& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline lidarExtrinsic* New() const PROTOBUF_FINAL { return New(NULL); }
- lidarExtrinsic* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const lidarExtrinsic& from);
- void MergeFrom(const lidarExtrinsic& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(lidarExtrinsic* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional .velodyne.CalibParameter calib = 2;
- bool has_calib() const;
- void clear_calib();
- static const int kCalibFieldNumber = 2;
- const ::velodyne::CalibParameter& calib() const;
- ::velodyne::CalibParameter* release_calib();
- ::velodyne::CalibParameter* mutable_calib();
- void set_allocated_calib(::velodyne::CalibParameter* calib);
- // required int32 lidar_id = 1;
- bool has_lidar_id() const;
- void clear_lidar_id();
- static const int kLidarIdFieldNumber = 1;
- ::google::protobuf::int32 lidar_id() const;
- void set_lidar_id(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:velodyne.lidarExtrinsic)
- private:
- void set_has_lidar_id();
- void clear_has_lidar_id();
- void set_has_calib();
- void clear_has_calib();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::velodyne::CalibParameter* calib_;
- ::google::protobuf::int32 lidar_id_;
- friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
- friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultslidarExtrinsicImpl();
- };
- // -------------------------------------------------------------------
- class Region : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.Region) */ {
- public:
- Region();
- virtual ~Region();
- Region(const Region& from);
- inline Region& operator=(const Region& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Region(Region&& from) noexcept
- : Region() {
- *this = ::std::move(from);
- }
- inline Region& operator=(Region&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Region& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Region* internal_default_instance() {
- return reinterpret_cast<const Region*>(
- &_Region_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 4;
- void Swap(Region* other);
- friend void swap(Region& a, Region& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Region* New() const PROTOBUF_FINAL { return New(NULL); }
- Region* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Region& from);
- void MergeFrom(const Region& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Region* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated .velodyne.lidarExtrinsic lidar_exts = 8;
- int lidar_exts_size() const;
- void clear_lidar_exts();
- static const int kLidarExtsFieldNumber = 8;
- const ::velodyne::lidarExtrinsic& lidar_exts(int index) const;
- ::velodyne::lidarExtrinsic* mutable_lidar_exts(int index);
- ::velodyne::lidarExtrinsic* add_lidar_exts();
- ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >*
- mutable_lidar_exts();
- const ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >&
- lidar_exts() const;
- // required float minx = 1;
- bool has_minx() const;
- void clear_minx();
- static const int kMinxFieldNumber = 1;
- float minx() const;
- void set_minx(float value);
- // required float maxx = 2;
- bool has_maxx() const;
- void clear_maxx();
- static const int kMaxxFieldNumber = 2;
- float maxx() const;
- void set_maxx(float value);
- // required float miny = 3;
- bool has_miny() const;
- void clear_miny();
- static const int kMinyFieldNumber = 3;
- float miny() const;
- void set_miny(float value);
- // required float maxy = 4;
- bool has_maxy() const;
- void clear_maxy();
- static const int kMaxyFieldNumber = 4;
- float maxy() const;
- void set_maxy(float value);
- // required float minz = 5;
- bool has_minz() const;
- void clear_minz();
- static const int kMinzFieldNumber = 5;
- float minz() const;
- void set_minz(float value);
- // required float maxz = 6;
- bool has_maxz() const;
- void clear_maxz();
- static const int kMaxzFieldNumber = 6;
- float maxz() const;
- void set_maxz(float value);
- // required int32 region_id = 7;
- bool has_region_id() const;
- void clear_region_id();
- static const int kRegionIdFieldNumber = 7;
- ::google::protobuf::int32 region_id() const;
- void set_region_id(::google::protobuf::int32 value);
- // required float turnplate_cx = 9;
- bool has_turnplate_cx() const;
- void clear_turnplate_cx();
- static const int kTurnplateCxFieldNumber = 9;
- float turnplate_cx() const;
- void set_turnplate_cx(float value);
- // required float turnplate_cy = 10;
- bool has_turnplate_cy() const;
- void clear_turnplate_cy();
- static const int kTurnplateCyFieldNumber = 10;
- float turnplate_cy() const;
- void set_turnplate_cy(float value);
- // required float border_minx = 11;
- bool has_border_minx() const;
- void clear_border_minx();
- static const int kBorderMinxFieldNumber = 11;
- float border_minx() const;
- void set_border_minx(float value);
- // required float border_maxx = 12;
- bool has_border_maxx() const;
- void clear_border_maxx();
- static const int kBorderMaxxFieldNumber = 12;
- float border_maxx() const;
- void set_border_maxx(float value);
- // required float plc_offsetx = 13;
- bool has_plc_offsetx() const;
- void clear_plc_offsetx();
- static const int kPlcOffsetxFieldNumber = 13;
- float plc_offsetx() const;
- void set_plc_offsetx(float value);
- // required float plc_offsety = 14;
- bool has_plc_offsety() const;
- void clear_plc_offsety();
- static const int kPlcOffsetyFieldNumber = 14;
- float plc_offsety() const;
- void set_plc_offsety(float value);
- // required float plc_border_miny = 15;
- bool has_plc_border_miny() const;
- void clear_plc_border_miny();
- static const int kPlcBorderMinyFieldNumber = 15;
- float plc_border_miny() const;
- void set_plc_border_miny(float value);
- // @@protoc_insertion_point(class_scope:velodyne.Region)
- private:
- void set_has_minx();
- void clear_has_minx();
- void set_has_maxx();
- void clear_has_maxx();
- void set_has_miny();
- void clear_has_miny();
- void set_has_maxy();
- void clear_has_maxy();
- void set_has_minz();
- void clear_has_minz();
- void set_has_maxz();
- void clear_has_maxz();
- void set_has_region_id();
- void clear_has_region_id();
- void set_has_turnplate_cx();
- void clear_has_turnplate_cx();
- void set_has_turnplate_cy();
- void clear_has_turnplate_cy();
- void set_has_border_minx();
- void clear_has_border_minx();
- void set_has_border_maxx();
- void clear_has_border_maxx();
- void set_has_plc_offsetx();
- void clear_has_plc_offsetx();
- void set_has_plc_offsety();
- void clear_has_plc_offsety();
- void set_has_plc_border_miny();
- void clear_has_plc_border_miny();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic > lidar_exts_;
- float minx_;
- float maxx_;
- float miny_;
- float maxy_;
- float minz_;
- float maxz_;
- ::google::protobuf::int32 region_id_;
- float turnplate_cx_;
- float turnplate_cy_;
- float border_minx_;
- float border_maxx_;
- float plc_offsetx_;
- float plc_offsety_;
- float plc_border_miny_;
- friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
- friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsRegionImpl();
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // velodyneManagerParams
- // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
- inline int velodyneManagerParams::velodyne_lidars_size() const {
- return velodyne_lidars_.size();
- }
- inline void velodyneManagerParams::clear_velodyne_lidars() {
- velodyne_lidars_.Clear();
- }
- inline const ::velodyne::velodyneLidarParams& velodyneManagerParams::velodyne_lidars(int index) const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.velodyne_lidars)
- return velodyne_lidars_.Get(index);
- }
- inline ::velodyne::velodyneLidarParams* velodyneManagerParams::mutable_velodyne_lidars(int index) {
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.velodyne_lidars)
- return velodyne_lidars_.Mutable(index);
- }
- inline ::velodyne::velodyneLidarParams* velodyneManagerParams::add_velodyne_lidars() {
- // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.velodyne_lidars)
- return velodyne_lidars_.Add();
- }
- inline ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
- velodyneManagerParams::mutable_velodyne_lidars() {
- // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.velodyne_lidars)
- return &velodyne_lidars_;
- }
- inline const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
- velodyneManagerParams::velodyne_lidars() const {
- // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.velodyne_lidars)
- return velodyne_lidars_;
- }
- // repeated .velodyne.Region region = 2;
- inline int velodyneManagerParams::region_size() const {
- return region_.size();
- }
- inline void velodyneManagerParams::clear_region() {
- region_.Clear();
- }
- inline const ::velodyne::Region& velodyneManagerParams::region(int index) const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.region)
- return region_.Get(index);
- }
- inline ::velodyne::Region* velodyneManagerParams::mutable_region(int index) {
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.region)
- return region_.Mutable(index);
- }
- inline ::velodyne::Region* velodyneManagerParams::add_region() {
- // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.region)
- return region_.Add();
- }
- inline ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
- velodyneManagerParams::mutable_region() {
- // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.region)
- return ®ion_;
- }
- inline const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
- velodyneManagerParams::region() const {
- // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.region)
- return region_;
- }
- // optional string fence_data_path = 3 [default = ""];
- inline bool velodyneManagerParams::has_fence_data_path() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void velodyneManagerParams::set_has_fence_data_path() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void velodyneManagerParams::clear_has_fence_data_path() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void velodyneManagerParams::clear_fence_data_path() {
- fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_fence_data_path();
- }
- inline const ::std::string& velodyneManagerParams::fence_data_path() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_data_path)
- return fence_data_path_.GetNoArena();
- }
- inline void velodyneManagerParams::set_fence_data_path(const ::std::string& value) {
- set_has_fence_data_path();
- fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_data_path)
- }
- #if LANG_CXX11
- inline void velodyneManagerParams::set_fence_data_path(::std::string&& value) {
- set_has_fence_data_path();
- fence_data_path_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_data_path)
- }
- #endif
- inline void velodyneManagerParams::set_fence_data_path(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_fence_data_path();
- fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_data_path)
- }
- inline void velodyneManagerParams::set_fence_data_path(const char* value, size_t size) {
- set_has_fence_data_path();
- fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_data_path)
- }
- inline ::std::string* velodyneManagerParams::mutable_fence_data_path() {
- set_has_fence_data_path();
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_data_path)
- return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* velodyneManagerParams::release_fence_data_path() {
- // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_data_path)
- clear_has_fence_data_path();
- return fence_data_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void velodyneManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
- if (fence_data_path != NULL) {
- set_has_fence_data_path();
- } else {
- clear_has_fence_data_path();
- }
- fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
- // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_data_path)
- }
- // optional string fence_log_path = 4 [default = ""];
- inline bool velodyneManagerParams::has_fence_log_path() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void velodyneManagerParams::set_has_fence_log_path() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void velodyneManagerParams::clear_has_fence_log_path() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void velodyneManagerParams::clear_fence_log_path() {
- fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_fence_log_path();
- }
- inline const ::std::string& velodyneManagerParams::fence_log_path() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_log_path)
- return fence_log_path_.GetNoArena();
- }
- inline void velodyneManagerParams::set_fence_log_path(const ::std::string& value) {
- set_has_fence_log_path();
- fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_log_path)
- }
- #if LANG_CXX11
- inline void velodyneManagerParams::set_fence_log_path(::std::string&& value) {
- set_has_fence_log_path();
- fence_log_path_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_log_path)
- }
- #endif
- inline void velodyneManagerParams::set_fence_log_path(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_fence_log_path();
- fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_log_path)
- }
- inline void velodyneManagerParams::set_fence_log_path(const char* value, size_t size) {
- set_has_fence_log_path();
- fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_log_path)
- }
- inline ::std::string* velodyneManagerParams::mutable_fence_log_path() {
- set_has_fence_log_path();
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_log_path)
- return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* velodyneManagerParams::release_fence_log_path() {
- // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_log_path)
- clear_has_fence_log_path();
- return fence_log_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void velodyneManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
- if (fence_log_path != NULL) {
- set_has_fence_log_path();
- } else {
- clear_has_fence_log_path();
- }
- fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
- // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_log_path)
- }
- // optional string left_model_path = 5 [default = ""];
- inline bool velodyneManagerParams::has_left_model_path() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void velodyneManagerParams::set_has_left_model_path() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void velodyneManagerParams::clear_has_left_model_path() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void velodyneManagerParams::clear_left_model_path() {
- left_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_left_model_path();
- }
- inline const ::std::string& velodyneManagerParams::left_model_path() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.left_model_path)
- return left_model_path_.GetNoArena();
- }
- inline void velodyneManagerParams::set_left_model_path(const ::std::string& value) {
- set_has_left_model_path();
- left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.left_model_path)
- }
- #if LANG_CXX11
- inline void velodyneManagerParams::set_left_model_path(::std::string&& value) {
- set_has_left_model_path();
- left_model_path_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.left_model_path)
- }
- #endif
- inline void velodyneManagerParams::set_left_model_path(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_left_model_path();
- left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.left_model_path)
- }
- inline void velodyneManagerParams::set_left_model_path(const char* value, size_t size) {
- set_has_left_model_path();
- left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.left_model_path)
- }
- inline ::std::string* velodyneManagerParams::mutable_left_model_path() {
- set_has_left_model_path();
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.left_model_path)
- return left_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* velodyneManagerParams::release_left_model_path() {
- // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.left_model_path)
- clear_has_left_model_path();
- return left_model_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void velodyneManagerParams::set_allocated_left_model_path(::std::string* left_model_path) {
- if (left_model_path != NULL) {
- set_has_left_model_path();
- } else {
- clear_has_left_model_path();
- }
- left_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), left_model_path);
- // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.left_model_path)
- }
- // optional string right_model_path = 6 [default = ""];
- inline bool velodyneManagerParams::has_right_model_path() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void velodyneManagerParams::set_has_right_model_path() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void velodyneManagerParams::clear_has_right_model_path() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void velodyneManagerParams::clear_right_model_path() {
- right_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_right_model_path();
- }
- inline const ::std::string& velodyneManagerParams::right_model_path() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.right_model_path)
- return right_model_path_.GetNoArena();
- }
- inline void velodyneManagerParams::set_right_model_path(const ::std::string& value) {
- set_has_right_model_path();
- right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.right_model_path)
- }
- #if LANG_CXX11
- inline void velodyneManagerParams::set_right_model_path(::std::string&& value) {
- set_has_right_model_path();
- right_model_path_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.right_model_path)
- }
- #endif
- inline void velodyneManagerParams::set_right_model_path(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_right_model_path();
- right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.right_model_path)
- }
- inline void velodyneManagerParams::set_right_model_path(const char* value, size_t size) {
- set_has_right_model_path();
- right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.right_model_path)
- }
- inline ::std::string* velodyneManagerParams::mutable_right_model_path() {
- set_has_right_model_path();
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.right_model_path)
- return right_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* velodyneManagerParams::release_right_model_path() {
- // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.right_model_path)
- clear_has_right_model_path();
- return right_model_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void velodyneManagerParams::set_allocated_right_model_path(::std::string* right_model_path) {
- if (right_model_path != NULL) {
- set_has_right_model_path();
- } else {
- clear_has_right_model_path();
- }
- right_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), right_model_path);
- // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.right_model_path)
- }
- // required bool distribution_mode = 7 [default = false];
- inline bool velodyneManagerParams::has_distribution_mode() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void velodyneManagerParams::set_has_distribution_mode() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void velodyneManagerParams::clear_has_distribution_mode() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void velodyneManagerParams::clear_distribution_mode() {
- distribution_mode_ = false;
- clear_has_distribution_mode();
- }
- inline bool velodyneManagerParams::distribution_mode() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.distribution_mode)
- return distribution_mode_;
- }
- inline void velodyneManagerParams::set_distribution_mode(bool value) {
- set_has_distribution_mode();
- distribution_mode_ = value;
- // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.distribution_mode)
- }
- // -------------------------------------------------------------------
- // velodyneLidarParams
- // required string ip = 1 [default = ""];
- inline bool velodyneLidarParams::has_ip() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void velodyneLidarParams::set_has_ip() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void velodyneLidarParams::clear_has_ip() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void velodyneLidarParams::clear_ip() {
- ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_ip();
- }
- inline const ::std::string& velodyneLidarParams::ip() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.ip)
- return ip_.GetNoArena();
- }
- inline void velodyneLidarParams::set_ip(const ::std::string& value) {
- set_has_ip();
- ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.ip)
- }
- #if LANG_CXX11
- inline void velodyneLidarParams::set_ip(::std::string&& value) {
- set_has_ip();
- ip_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.ip)
- }
- #endif
- inline void velodyneLidarParams::set_ip(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_ip();
- ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.ip)
- }
- inline void velodyneLidarParams::set_ip(const char* value, size_t size) {
- set_has_ip();
- ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.ip)
- }
- inline ::std::string* velodyneLidarParams::mutable_ip() {
- set_has_ip();
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.ip)
- return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* velodyneLidarParams::release_ip() {
- // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.ip)
- clear_has_ip();
- return ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void velodyneLidarParams::set_allocated_ip(::std::string* ip) {
- if (ip != NULL) {
- set_has_ip();
- } else {
- clear_has_ip();
- }
- ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
- // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.ip)
- }
- // required int32 port = 2 [default = 2368];
- inline bool velodyneLidarParams::has_port() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
- }
- inline void velodyneLidarParams::set_has_port() {
- _has_bits_[0] |= 0x00000080u;
- }
- inline void velodyneLidarParams::clear_has_port() {
- _has_bits_[0] &= ~0x00000080u;
- }
- inline void velodyneLidarParams::clear_port() {
- port_ = 2368;
- clear_has_port();
- }
- inline ::google::protobuf::int32 velodyneLidarParams::port() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.port)
- return port_;
- }
- inline void velodyneLidarParams::set_port(::google::protobuf::int32 value) {
- set_has_port();
- port_ = value;
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.port)
- }
- // required string model = 3 [default = "VLP16"];
- inline bool velodyneLidarParams::has_model() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void velodyneLidarParams::set_has_model() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void velodyneLidarParams::clear_has_model() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void velodyneLidarParams::clear_model() {
- model_.ClearToDefaultNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
- clear_has_model();
- }
- inline const ::std::string& velodyneLidarParams::model() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.model)
- return model_.GetNoArena();
- }
- inline void velodyneLidarParams::set_model(const ::std::string& value) {
- set_has_model();
- model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), value);
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.model)
- }
- #if LANG_CXX11
- inline void velodyneLidarParams::set_model(::std::string&& value) {
- set_has_model();
- model_.SetNoArena(
- &::velodyne::velodyneLidarParams::_default_model_.get(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.model)
- }
- #endif
- inline void velodyneLidarParams::set_model(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_model();
- model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.model)
- }
- inline void velodyneLidarParams::set_model(const char* value, size_t size) {
- set_has_model();
- model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.model)
- }
- inline ::std::string* velodyneLidarParams::mutable_model() {
- set_has_model();
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.model)
- return model_.MutableNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
- }
- inline ::std::string* velodyneLidarParams::release_model() {
- // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.model)
- clear_has_model();
- return model_.ReleaseNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
- }
- inline void velodyneLidarParams::set_allocated_model(::std::string* model) {
- if (model != NULL) {
- set_has_model();
- } else {
- clear_has_model();
- }
- model_.SetAllocatedNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), model);
- // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.model)
- }
- // required string calibrationFile = 4 [default = ""];
- inline bool velodyneLidarParams::has_calibrationfile() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void velodyneLidarParams::set_has_calibrationfile() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void velodyneLidarParams::clear_has_calibrationfile() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void velodyneLidarParams::clear_calibrationfile() {
- calibrationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_calibrationfile();
- }
- inline const ::std::string& velodyneLidarParams::calibrationfile() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calibrationFile)
- return calibrationfile_.GetNoArena();
- }
- inline void velodyneLidarParams::set_calibrationfile(const ::std::string& value) {
- set_has_calibrationfile();
- calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.calibrationFile)
- }
- #if LANG_CXX11
- inline void velodyneLidarParams::set_calibrationfile(::std::string&& value) {
- set_has_calibrationfile();
- calibrationfile_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.calibrationFile)
- }
- #endif
- inline void velodyneLidarParams::set_calibrationfile(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_calibrationfile();
- calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.calibrationFile)
- }
- inline void velodyneLidarParams::set_calibrationfile(const char* value, size_t size) {
- set_has_calibrationfile();
- calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.calibrationFile)
- }
- inline ::std::string* velodyneLidarParams::mutable_calibrationfile() {
- set_has_calibrationfile();
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calibrationFile)
- return calibrationfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* velodyneLidarParams::release_calibrationfile() {
- // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calibrationFile)
- clear_has_calibrationfile();
- return calibrationfile_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void velodyneLidarParams::set_allocated_calibrationfile(::std::string* calibrationfile) {
- if (calibrationfile != NULL) {
- set_has_calibrationfile();
- } else {
- clear_has_calibrationfile();
- }
- calibrationfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), calibrationfile);
- // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calibrationFile)
- }
- // required int32 lidar_id = 5 [default = 0];
- inline bool velodyneLidarParams::has_lidar_id() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void velodyneLidarParams::set_has_lidar_id() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void velodyneLidarParams::clear_has_lidar_id() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void velodyneLidarParams::clear_lidar_id() {
- lidar_id_ = 0;
- clear_has_lidar_id();
- }
- inline ::google::protobuf::int32 velodyneLidarParams::lidar_id() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.lidar_id)
- return lidar_id_;
- }
- inline void velodyneLidarParams::set_lidar_id(::google::protobuf::int32 value) {
- set_has_lidar_id();
- lidar_id_ = value;
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.lidar_id)
- }
- // optional float max_range = 6 [default = 10];
- inline bool velodyneLidarParams::has_max_range() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void velodyneLidarParams::set_has_max_range() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void velodyneLidarParams::clear_has_max_range() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void velodyneLidarParams::clear_max_range() {
- max_range_ = 10;
- clear_has_max_range();
- }
- inline float velodyneLidarParams::max_range() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_range)
- return max_range_;
- }
- inline void velodyneLidarParams::set_max_range(float value) {
- set_has_max_range();
- max_range_ = value;
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_range)
- }
- // optional float min_range = 7 [default = 0.15];
- inline bool velodyneLidarParams::has_min_range() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
- }
- inline void velodyneLidarParams::set_has_min_range() {
- _has_bits_[0] |= 0x00000200u;
- }
- inline void velodyneLidarParams::clear_has_min_range() {
- _has_bits_[0] &= ~0x00000200u;
- }
- inline void velodyneLidarParams::clear_min_range() {
- min_range_ = 0.15f;
- clear_has_min_range();
- }
- inline float velodyneLidarParams::min_range() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_range)
- return min_range_;
- }
- inline void velodyneLidarParams::set_min_range(float value) {
- set_has_min_range();
- min_range_ = value;
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_range)
- }
- // optional int32 min_angle = 8 [default = 0];
- inline bool velodyneLidarParams::has_min_angle() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void velodyneLidarParams::set_has_min_angle() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void velodyneLidarParams::clear_has_min_angle() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void velodyneLidarParams::clear_min_angle() {
- min_angle_ = 0;
- clear_has_min_angle();
- }
- inline ::google::protobuf::int32 velodyneLidarParams::min_angle() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_angle)
- return min_angle_;
- }
- inline void velodyneLidarParams::set_min_angle(::google::protobuf::int32 value) {
- set_has_min_angle();
- min_angle_ = value;
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_angle)
- }
- // optional int32 max_angle = 9 [default = 360];
- inline bool velodyneLidarParams::has_max_angle() const {
- return (_has_bits_[0] & 0x00000400u) != 0;
- }
- inline void velodyneLidarParams::set_has_max_angle() {
- _has_bits_[0] |= 0x00000400u;
- }
- inline void velodyneLidarParams::clear_has_max_angle() {
- _has_bits_[0] &= ~0x00000400u;
- }
- inline void velodyneLidarParams::clear_max_angle() {
- max_angle_ = 360;
- clear_has_max_angle();
- }
- inline ::google::protobuf::int32 velodyneLidarParams::max_angle() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_angle)
- return max_angle_;
- }
- inline void velodyneLidarParams::set_max_angle(::google::protobuf::int32 value) {
- set_has_max_angle();
- max_angle_ = value;
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_angle)
- }
- // optional int32 rpm = 10 [default = 600];
- inline bool velodyneLidarParams::has_rpm() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void velodyneLidarParams::set_has_rpm() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void velodyneLidarParams::clear_has_rpm() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void velodyneLidarParams::clear_rpm() {
- rpm_ = 600;
- clear_has_rpm();
- }
- inline ::google::protobuf::int32 velodyneLidarParams::rpm() const {
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.rpm)
- return rpm_;
- }
- inline void velodyneLidarParams::set_rpm(::google::protobuf::int32 value) {
- set_has_rpm();
- rpm_ = value;
- // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.rpm)
- }
- // optional .velodyne.CalibParameter calib = 11;
- inline bool velodyneLidarParams::has_calib() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void velodyneLidarParams::set_has_calib() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void velodyneLidarParams::clear_has_calib() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void velodyneLidarParams::clear_calib() {
- if (calib_ != NULL) calib_->Clear();
- clear_has_calib();
- }
- inline const ::velodyne::CalibParameter& velodyneLidarParams::calib() const {
- const ::velodyne::CalibParameter* p = calib_;
- // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calib)
- return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
- &::velodyne::_CalibParameter_default_instance_);
- }
- inline ::velodyne::CalibParameter* velodyneLidarParams::release_calib() {
- // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calib)
- clear_has_calib();
- ::velodyne::CalibParameter* temp = calib_;
- calib_ = NULL;
- return temp;
- }
- inline ::velodyne::CalibParameter* velodyneLidarParams::mutable_calib() {
- set_has_calib();
- if (calib_ == NULL) {
- calib_ = new ::velodyne::CalibParameter;
- }
- // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calib)
- return calib_;
- }
- inline void velodyneLidarParams::set_allocated_calib(::velodyne::CalibParameter* calib) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete calib_;
- }
- if (calib) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- calib = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, calib, submessage_arena);
- }
- set_has_calib();
- } else {
- clear_has_calib();
- }
- calib_ = calib;
- // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calib)
- }
- // -------------------------------------------------------------------
- // CalibParameter
- // optional float r = 1 [default = 0];
- inline bool CalibParameter::has_r() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void CalibParameter::set_has_r() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void CalibParameter::clear_has_r() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void CalibParameter::clear_r() {
- r_ = 0;
- clear_has_r();
- }
- inline float CalibParameter::r() const {
- // @@protoc_insertion_point(field_get:velodyne.CalibParameter.r)
- return r_;
- }
- inline void CalibParameter::set_r(float value) {
- set_has_r();
- r_ = value;
- // @@protoc_insertion_point(field_set:velodyne.CalibParameter.r)
- }
- // optional float p = 2 [default = 0];
- inline bool CalibParameter::has_p() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void CalibParameter::set_has_p() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void CalibParameter::clear_has_p() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void CalibParameter::clear_p() {
- p_ = 0;
- clear_has_p();
- }
- inline float CalibParameter::p() const {
- // @@protoc_insertion_point(field_get:velodyne.CalibParameter.p)
- return p_;
- }
- inline void CalibParameter::set_p(float value) {
- set_has_p();
- p_ = value;
- // @@protoc_insertion_point(field_set:velodyne.CalibParameter.p)
- }
- // optional float y = 3 [default = 0];
- inline bool CalibParameter::has_y() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void CalibParameter::set_has_y() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void CalibParameter::clear_has_y() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void CalibParameter::clear_y() {
- y_ = 0;
- clear_has_y();
- }
- inline float CalibParameter::y() const {
- // @@protoc_insertion_point(field_get:velodyne.CalibParameter.y)
- return y_;
- }
- inline void CalibParameter::set_y(float value) {
- set_has_y();
- y_ = value;
- // @@protoc_insertion_point(field_set:velodyne.CalibParameter.y)
- }
- // optional float cx = 4 [default = 0];
- inline bool CalibParameter::has_cx() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void CalibParameter::set_has_cx() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void CalibParameter::clear_has_cx() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void CalibParameter::clear_cx() {
- cx_ = 0;
- clear_has_cx();
- }
- inline float CalibParameter::cx() const {
- // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cx)
- return cx_;
- }
- inline void CalibParameter::set_cx(float value) {
- set_has_cx();
- cx_ = value;
- // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cx)
- }
- // optional float cy = 5 [default = 0];
- inline bool CalibParameter::has_cy() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void CalibParameter::set_has_cy() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void CalibParameter::clear_has_cy() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void CalibParameter::clear_cy() {
- cy_ = 0;
- clear_has_cy();
- }
- inline float CalibParameter::cy() const {
- // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cy)
- return cy_;
- }
- inline void CalibParameter::set_cy(float value) {
- set_has_cy();
- cy_ = value;
- // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cy)
- }
- // optional float cz = 6 [default = 0];
- inline bool CalibParameter::has_cz() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void CalibParameter::set_has_cz() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void CalibParameter::clear_has_cz() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void CalibParameter::clear_cz() {
- cz_ = 0;
- clear_has_cz();
- }
- inline float CalibParameter::cz() const {
- // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cz)
- return cz_;
- }
- inline void CalibParameter::set_cz(float value) {
- set_has_cz();
- cz_ = value;
- // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cz)
- }
- // -------------------------------------------------------------------
- // lidarExtrinsic
- // required int32 lidar_id = 1;
- inline bool lidarExtrinsic::has_lidar_id() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void lidarExtrinsic::set_has_lidar_id() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void lidarExtrinsic::clear_has_lidar_id() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void lidarExtrinsic::clear_lidar_id() {
- lidar_id_ = 0;
- clear_has_lidar_id();
- }
- inline ::google::protobuf::int32 lidarExtrinsic::lidar_id() const {
- // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.lidar_id)
- return lidar_id_;
- }
- inline void lidarExtrinsic::set_lidar_id(::google::protobuf::int32 value) {
- set_has_lidar_id();
- lidar_id_ = value;
- // @@protoc_insertion_point(field_set:velodyne.lidarExtrinsic.lidar_id)
- }
- // optional .velodyne.CalibParameter calib = 2;
- inline bool lidarExtrinsic::has_calib() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void lidarExtrinsic::set_has_calib() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void lidarExtrinsic::clear_has_calib() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void lidarExtrinsic::clear_calib() {
- if (calib_ != NULL) calib_->Clear();
- clear_has_calib();
- }
- inline const ::velodyne::CalibParameter& lidarExtrinsic::calib() const {
- const ::velodyne::CalibParameter* p = calib_;
- // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.calib)
- return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
- &::velodyne::_CalibParameter_default_instance_);
- }
- inline ::velodyne::CalibParameter* lidarExtrinsic::release_calib() {
- // @@protoc_insertion_point(field_release:velodyne.lidarExtrinsic.calib)
- clear_has_calib();
- ::velodyne::CalibParameter* temp = calib_;
- calib_ = NULL;
- return temp;
- }
- inline ::velodyne::CalibParameter* lidarExtrinsic::mutable_calib() {
- set_has_calib();
- if (calib_ == NULL) {
- calib_ = new ::velodyne::CalibParameter;
- }
- // @@protoc_insertion_point(field_mutable:velodyne.lidarExtrinsic.calib)
- return calib_;
- }
- inline void lidarExtrinsic::set_allocated_calib(::velodyne::CalibParameter* calib) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete calib_;
- }
- if (calib) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- calib = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, calib, submessage_arena);
- }
- set_has_calib();
- } else {
- clear_has_calib();
- }
- calib_ = calib;
- // @@protoc_insertion_point(field_set_allocated:velodyne.lidarExtrinsic.calib)
- }
- // -------------------------------------------------------------------
- // Region
- // required float minx = 1;
- inline bool Region::has_minx() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Region::set_has_minx() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Region::clear_has_minx() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Region::clear_minx() {
- minx_ = 0;
- clear_has_minx();
- }
- inline float Region::minx() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.minx)
- return minx_;
- }
- inline void Region::set_minx(float value) {
- set_has_minx();
- minx_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.minx)
- }
- // required float maxx = 2;
- inline bool Region::has_maxx() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Region::set_has_maxx() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Region::clear_has_maxx() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Region::clear_maxx() {
- maxx_ = 0;
- clear_has_maxx();
- }
- inline float Region::maxx() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.maxx)
- return maxx_;
- }
- inline void Region::set_maxx(float value) {
- set_has_maxx();
- maxx_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.maxx)
- }
- // required float miny = 3;
- inline bool Region::has_miny() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Region::set_has_miny() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Region::clear_has_miny() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Region::clear_miny() {
- miny_ = 0;
- clear_has_miny();
- }
- inline float Region::miny() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.miny)
- return miny_;
- }
- inline void Region::set_miny(float value) {
- set_has_miny();
- miny_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.miny)
- }
- // required float maxy = 4;
- inline bool Region::has_maxy() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Region::set_has_maxy() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Region::clear_has_maxy() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Region::clear_maxy() {
- maxy_ = 0;
- clear_has_maxy();
- }
- inline float Region::maxy() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.maxy)
- return maxy_;
- }
- inline void Region::set_maxy(float value) {
- set_has_maxy();
- maxy_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.maxy)
- }
- // required float minz = 5;
- inline bool Region::has_minz() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Region::set_has_minz() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Region::clear_has_minz() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Region::clear_minz() {
- minz_ = 0;
- clear_has_minz();
- }
- inline float Region::minz() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.minz)
- return minz_;
- }
- inline void Region::set_minz(float value) {
- set_has_minz();
- minz_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.minz)
- }
- // required float maxz = 6;
- inline bool Region::has_maxz() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Region::set_has_maxz() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Region::clear_has_maxz() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Region::clear_maxz() {
- maxz_ = 0;
- clear_has_maxz();
- }
- inline float Region::maxz() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.maxz)
- return maxz_;
- }
- inline void Region::set_maxz(float value) {
- set_has_maxz();
- maxz_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.maxz)
- }
- // required int32 region_id = 7;
- inline bool Region::has_region_id() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void Region::set_has_region_id() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void Region::clear_has_region_id() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void Region::clear_region_id() {
- region_id_ = 0;
- clear_has_region_id();
- }
- inline ::google::protobuf::int32 Region::region_id() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.region_id)
- return region_id_;
- }
- inline void Region::set_region_id(::google::protobuf::int32 value) {
- set_has_region_id();
- region_id_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.region_id)
- }
- // repeated .velodyne.lidarExtrinsic lidar_exts = 8;
- inline int Region::lidar_exts_size() const {
- return lidar_exts_.size();
- }
- inline void Region::clear_lidar_exts() {
- lidar_exts_.Clear();
- }
- inline const ::velodyne::lidarExtrinsic& Region::lidar_exts(int index) const {
- // @@protoc_insertion_point(field_get:velodyne.Region.lidar_exts)
- return lidar_exts_.Get(index);
- }
- inline ::velodyne::lidarExtrinsic* Region::mutable_lidar_exts(int index) {
- // @@protoc_insertion_point(field_mutable:velodyne.Region.lidar_exts)
- return lidar_exts_.Mutable(index);
- }
- inline ::velodyne::lidarExtrinsic* Region::add_lidar_exts() {
- // @@protoc_insertion_point(field_add:velodyne.Region.lidar_exts)
- return lidar_exts_.Add();
- }
- inline ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >*
- Region::mutable_lidar_exts() {
- // @@protoc_insertion_point(field_mutable_list:velodyne.Region.lidar_exts)
- return &lidar_exts_;
- }
- inline const ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >&
- Region::lidar_exts() const {
- // @@protoc_insertion_point(field_list:velodyne.Region.lidar_exts)
- return lidar_exts_;
- }
- // required float turnplate_cx = 9;
- inline bool Region::has_turnplate_cx() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
- }
- inline void Region::set_has_turnplate_cx() {
- _has_bits_[0] |= 0x00000080u;
- }
- inline void Region::clear_has_turnplate_cx() {
- _has_bits_[0] &= ~0x00000080u;
- }
- inline void Region::clear_turnplate_cx() {
- turnplate_cx_ = 0;
- clear_has_turnplate_cx();
- }
- inline float Region::turnplate_cx() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_cx)
- return turnplate_cx_;
- }
- inline void Region::set_turnplate_cx(float value) {
- set_has_turnplate_cx();
- turnplate_cx_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_cx)
- }
- // required float turnplate_cy = 10;
- inline bool Region::has_turnplate_cy() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void Region::set_has_turnplate_cy() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void Region::clear_has_turnplate_cy() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void Region::clear_turnplate_cy() {
- turnplate_cy_ = 0;
- clear_has_turnplate_cy();
- }
- inline float Region::turnplate_cy() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_cy)
- return turnplate_cy_;
- }
- inline void Region::set_turnplate_cy(float value) {
- set_has_turnplate_cy();
- turnplate_cy_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_cy)
- }
- // required float border_minx = 11;
- inline bool Region::has_border_minx() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
- }
- inline void Region::set_has_border_minx() {
- _has_bits_[0] |= 0x00000200u;
- }
- inline void Region::clear_has_border_minx() {
- _has_bits_[0] &= ~0x00000200u;
- }
- inline void Region::clear_border_minx() {
- border_minx_ = 0;
- clear_has_border_minx();
- }
- inline float Region::border_minx() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.border_minx)
- return border_minx_;
- }
- inline void Region::set_border_minx(float value) {
- set_has_border_minx();
- border_minx_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.border_minx)
- }
- // required float border_maxx = 12;
- inline bool Region::has_border_maxx() const {
- return (_has_bits_[0] & 0x00000400u) != 0;
- }
- inline void Region::set_has_border_maxx() {
- _has_bits_[0] |= 0x00000400u;
- }
- inline void Region::clear_has_border_maxx() {
- _has_bits_[0] &= ~0x00000400u;
- }
- inline void Region::clear_border_maxx() {
- border_maxx_ = 0;
- clear_has_border_maxx();
- }
- inline float Region::border_maxx() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.border_maxx)
- return border_maxx_;
- }
- inline void Region::set_border_maxx(float value) {
- set_has_border_maxx();
- border_maxx_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.border_maxx)
- }
- // required float plc_offsetx = 13;
- inline bool Region::has_plc_offsetx() const {
- return (_has_bits_[0] & 0x00000800u) != 0;
- }
- inline void Region::set_has_plc_offsetx() {
- _has_bits_[0] |= 0x00000800u;
- }
- inline void Region::clear_has_plc_offsetx() {
- _has_bits_[0] &= ~0x00000800u;
- }
- inline void Region::clear_plc_offsetx() {
- plc_offsetx_ = 0;
- clear_has_plc_offsetx();
- }
- inline float Region::plc_offsetx() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.plc_offsetx)
- return plc_offsetx_;
- }
- inline void Region::set_plc_offsetx(float value) {
- set_has_plc_offsetx();
- plc_offsetx_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.plc_offsetx)
- }
- // required float plc_offsety = 14;
- inline bool Region::has_plc_offsety() const {
- return (_has_bits_[0] & 0x00001000u) != 0;
- }
- inline void Region::set_has_plc_offsety() {
- _has_bits_[0] |= 0x00001000u;
- }
- inline void Region::clear_has_plc_offsety() {
- _has_bits_[0] &= ~0x00001000u;
- }
- inline void Region::clear_plc_offsety() {
- plc_offsety_ = 0;
- clear_has_plc_offsety();
- }
- inline float Region::plc_offsety() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.plc_offsety)
- return plc_offsety_;
- }
- inline void Region::set_plc_offsety(float value) {
- set_has_plc_offsety();
- plc_offsety_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.plc_offsety)
- }
- // required float plc_border_miny = 15;
- inline bool Region::has_plc_border_miny() const {
- return (_has_bits_[0] & 0x00002000u) != 0;
- }
- inline void Region::set_has_plc_border_miny() {
- _has_bits_[0] |= 0x00002000u;
- }
- inline void Region::clear_has_plc_border_miny() {
- _has_bits_[0] &= ~0x00002000u;
- }
- inline void Region::clear_plc_border_miny() {
- plc_border_miny_ = 0;
- clear_has_plc_border_miny();
- }
- inline float Region::plc_border_miny() const {
- // @@protoc_insertion_point(field_get:velodyne.Region.plc_border_miny)
- return plc_border_miny_;
- }
- inline void Region::set_plc_border_miny(float value) {
- set_has_plc_border_miny();
- plc_border_miny_ = value;
- // @@protoc_insertion_point(field_set:velodyne.Region.plc_border_miny)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace velodyne
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_velodyne_5fconfig_2eproto__INCLUDED
|