123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: hardware_limit.proto
- #ifndef PROTOBUF_INCLUDED_hardware_5flimit_2eproto
- #define PROTOBUF_INCLUDED_hardware_5flimit_2eproto
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3006001
- #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 3006001 < 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/inlined_string_field.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)
- #define PROTOBUF_INTERNAL_EXPORT_protobuf_hardware_5flimit_2eproto
- namespace protobuf_hardware_5flimit_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[3];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- } // namespace protobuf_hardware_5flimit_2eproto
- namespace Hardware_limit {
- class Hardware_parameter;
- class Hardware_parameterDefaultTypeInternal;
- extern Hardware_parameterDefaultTypeInternal _Hardware_parameter_default_instance_;
- class Railing;
- class RailingDefaultTypeInternal;
- extern RailingDefaultTypeInternal _Railing_default_instance_;
- class Theta_range;
- class Theta_rangeDefaultTypeInternal;
- extern Theta_rangeDefaultTypeInternal _Theta_range_default_instance_;
- } // namespace Hardware_limit
- namespace google {
- namespace protobuf {
- template<> ::Hardware_limit::Hardware_parameter* Arena::CreateMaybeMessage<::Hardware_limit::Hardware_parameter>(Arena*);
- template<> ::Hardware_limit::Railing* Arena::CreateMaybeMessage<::Hardware_limit::Railing>(Arena*);
- template<> ::Hardware_limit::Theta_range* Arena::CreateMaybeMessage<::Hardware_limit::Theta_range>(Arena*);
- } // namespace protobuf
- } // namespace google
- namespace Hardware_limit {
- // ===================================================================
- class Railing : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hardware_limit.Railing) */ {
- public:
- Railing();
- virtual ~Railing();
- Railing(const Railing& from);
- inline Railing& operator=(const Railing& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Railing(Railing&& from) noexcept
- : Railing() {
- *this = ::std::move(from);
- }
- inline Railing& operator=(Railing&& 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 Railing& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Railing* internal_default_instance() {
- return reinterpret_cast<const Railing*>(
- &_Railing_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- void Swap(Railing* other);
- friend void swap(Railing& a, Railing& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Railing* New() const final {
- return CreateMaybeMessage<Railing>(NULL);
- }
- Railing* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Railing>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Railing& from);
- void MergeFrom(const Railing& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Railing* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required float pa = 1;
- bool has_pa() const;
- void clear_pa();
- static const int kPaFieldNumber = 1;
- float pa() const;
- void set_pa(float value);
- // required float pb = 2;
- bool has_pb() const;
- void clear_pb();
- static const int kPbFieldNumber = 2;
- float pb() const;
- void set_pb(float value);
- // required float pc = 3;
- bool has_pc() const;
- void clear_pc();
- static const int kPcFieldNumber = 3;
- float pc() const;
- void set_pc(float value);
- // optional float railing_width = 4 [default = 0];
- bool has_railing_width() const;
- void clear_railing_width();
- static const int kRailingWidthFieldNumber = 4;
- float railing_width() const;
- void set_railing_width(float value);
- // @@protoc_insertion_point(class_scope:Hardware_limit.Railing)
- private:
- void set_has_pa();
- void clear_has_pa();
- void set_has_pb();
- void clear_has_pb();
- void set_has_pc();
- void clear_has_pc();
- void set_has_railing_width();
- void clear_has_railing_width();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- float pa_;
- float pb_;
- float pc_;
- float railing_width_;
- friend struct ::protobuf_hardware_5flimit_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Theta_range : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hardware_limit.Theta_range) */ {
- public:
- Theta_range();
- virtual ~Theta_range();
- Theta_range(const Theta_range& from);
- inline Theta_range& operator=(const Theta_range& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Theta_range(Theta_range&& from) noexcept
- : Theta_range() {
- *this = ::std::move(from);
- }
- inline Theta_range& operator=(Theta_range&& 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 Theta_range& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Theta_range* internal_default_instance() {
- return reinterpret_cast<const Theta_range*>(
- &_Theta_range_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- void Swap(Theta_range* other);
- friend void swap(Theta_range& a, Theta_range& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Theta_range* New() const final {
- return CreateMaybeMessage<Theta_range>(NULL);
- }
- Theta_range* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Theta_range>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Theta_range& from);
- void MergeFrom(const Theta_range& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Theta_range* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required float min_theta = 1;
- bool has_min_theta() const;
- void clear_min_theta();
- static const int kMinThetaFieldNumber = 1;
- float min_theta() const;
- void set_min_theta(float value);
- // required float max_theta = 2;
- bool has_max_theta() const;
- void clear_max_theta();
- static const int kMaxThetaFieldNumber = 2;
- float max_theta() const;
- void set_max_theta(float value);
- // @@protoc_insertion_point(class_scope:Hardware_limit.Theta_range)
- private:
- void set_has_min_theta();
- void clear_has_min_theta();
- void set_has_max_theta();
- void clear_has_max_theta();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- float min_theta_;
- float max_theta_;
- friend struct ::protobuf_hardware_5flimit_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Hardware_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hardware_limit.Hardware_parameter) */ {
- public:
- Hardware_parameter();
- virtual ~Hardware_parameter();
- Hardware_parameter(const Hardware_parameter& from);
- inline Hardware_parameter& operator=(const Hardware_parameter& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Hardware_parameter(Hardware_parameter&& from) noexcept
- : Hardware_parameter() {
- *this = ::std::move(from);
- }
- inline Hardware_parameter& operator=(Hardware_parameter&& 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 Hardware_parameter& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Hardware_parameter* internal_default_instance() {
- return reinterpret_cast<const Hardware_parameter*>(
- &_Hardware_parameter_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- void Swap(Hardware_parameter* other);
- friend void swap(Hardware_parameter& a, Hardware_parameter& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Hardware_parameter* New() const final {
- return CreateMaybeMessage<Hardware_parameter>(NULL);
- }
- Hardware_parameter* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Hardware_parameter>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Hardware_parameter& from);
- void MergeFrom(const Hardware_parameter& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Hardware_parameter* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated .Hardware_limit.Railing railing_parameter = 1;
- int railing_parameter_size() const;
- void clear_railing_parameter();
- static const int kRailingParameterFieldNumber = 1;
- ::Hardware_limit::Railing* mutable_railing_parameter(int index);
- ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing >*
- mutable_railing_parameter();
- const ::Hardware_limit::Railing& railing_parameter(int index) const;
- ::Hardware_limit::Railing* add_railing_parameter();
- const ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing >&
- railing_parameter() const;
- // repeated .Hardware_limit.Theta_range theta_range = 8;
- int theta_range_size() const;
- void clear_theta_range();
- static const int kThetaRangeFieldNumber = 8;
- ::Hardware_limit::Theta_range* mutable_theta_range(int index);
- ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range >*
- mutable_theta_range();
- const ::Hardware_limit::Theta_range& theta_range(int index) const;
- ::Hardware_limit::Theta_range* add_theta_range();
- const ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range >&
- theta_range() const;
- // required float center_min_y = 2;
- bool has_center_min_y() const;
- void clear_center_min_y();
- static const int kCenterMinYFieldNumber = 2;
- float center_min_y() const;
- void set_center_min_y(float value);
- // required float center_max_y = 3;
- bool has_center_max_y() const;
- void clear_center_max_y();
- static const int kCenterMaxYFieldNumber = 3;
- float center_max_y() const;
- void set_center_max_y(float value);
- // required float center_min_x = 4;
- bool has_center_min_x() const;
- void clear_center_min_x();
- static const int kCenterMinXFieldNumber = 4;
- float center_min_x() const;
- void set_center_min_x(float value);
- // required float center_max_x = 5;
- bool has_center_max_x() const;
- void clear_center_max_x();
- static const int kCenterMaxXFieldNumber = 5;
- float center_max_x() const;
- void set_center_max_x(float value);
- // required float corner_min_y = 6;
- bool has_corner_min_y() const;
- void clear_corner_min_y();
- static const int kCornerMinYFieldNumber = 6;
- float corner_min_y() const;
- void set_corner_min_y(float value);
- // required float corner_max_y = 7;
- bool has_corner_max_y() const;
- void clear_corner_max_y();
- static const int kCornerMaxYFieldNumber = 7;
- float corner_max_y() const;
- void set_corner_max_y(float value);
- // required float height = 9;
- bool has_height() const;
- void clear_height();
- static const int kHeightFieldNumber = 9;
- float height() const;
- void set_height(float value);
- // @@protoc_insertion_point(class_scope:Hardware_limit.Hardware_parameter)
- private:
- void set_has_center_min_y();
- void clear_has_center_min_y();
- void set_has_center_max_y();
- void clear_has_center_max_y();
- void set_has_center_min_x();
- void clear_has_center_min_x();
- void set_has_center_max_x();
- void clear_has_center_max_x();
- void set_has_corner_min_y();
- void clear_has_corner_min_y();
- void set_has_corner_max_y();
- void clear_has_corner_max_y();
- void set_has_height();
- void clear_has_height();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing > railing_parameter_;
- ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range > theta_range_;
- float center_min_y_;
- float center_max_y_;
- float center_min_x_;
- float center_max_x_;
- float corner_min_y_;
- float corner_max_y_;
- float height_;
- friend struct ::protobuf_hardware_5flimit_2eproto::TableStruct;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Railing
- // required float pa = 1;
- inline bool Railing::has_pa() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Railing::set_has_pa() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Railing::clear_has_pa() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Railing::clear_pa() {
- pa_ = 0;
- clear_has_pa();
- }
- inline float Railing::pa() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Railing.pa)
- return pa_;
- }
- inline void Railing::set_pa(float value) {
- set_has_pa();
- pa_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Railing.pa)
- }
- // required float pb = 2;
- inline bool Railing::has_pb() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Railing::set_has_pb() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Railing::clear_has_pb() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Railing::clear_pb() {
- pb_ = 0;
- clear_has_pb();
- }
- inline float Railing::pb() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Railing.pb)
- return pb_;
- }
- inline void Railing::set_pb(float value) {
- set_has_pb();
- pb_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Railing.pb)
- }
- // required float pc = 3;
- inline bool Railing::has_pc() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Railing::set_has_pc() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Railing::clear_has_pc() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Railing::clear_pc() {
- pc_ = 0;
- clear_has_pc();
- }
- inline float Railing::pc() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Railing.pc)
- return pc_;
- }
- inline void Railing::set_pc(float value) {
- set_has_pc();
- pc_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Railing.pc)
- }
- // optional float railing_width = 4 [default = 0];
- inline bool Railing::has_railing_width() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Railing::set_has_railing_width() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Railing::clear_has_railing_width() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Railing::clear_railing_width() {
- railing_width_ = 0;
- clear_has_railing_width();
- }
- inline float Railing::railing_width() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Railing.railing_width)
- return railing_width_;
- }
- inline void Railing::set_railing_width(float value) {
- set_has_railing_width();
- railing_width_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Railing.railing_width)
- }
- // -------------------------------------------------------------------
- // Theta_range
- // required float min_theta = 1;
- inline bool Theta_range::has_min_theta() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Theta_range::set_has_min_theta() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Theta_range::clear_has_min_theta() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Theta_range::clear_min_theta() {
- min_theta_ = 0;
- clear_has_min_theta();
- }
- inline float Theta_range::min_theta() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Theta_range.min_theta)
- return min_theta_;
- }
- inline void Theta_range::set_min_theta(float value) {
- set_has_min_theta();
- min_theta_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Theta_range.min_theta)
- }
- // required float max_theta = 2;
- inline bool Theta_range::has_max_theta() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Theta_range::set_has_max_theta() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Theta_range::clear_has_max_theta() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Theta_range::clear_max_theta() {
- max_theta_ = 0;
- clear_has_max_theta();
- }
- inline float Theta_range::max_theta() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Theta_range.max_theta)
- return max_theta_;
- }
- inline void Theta_range::set_max_theta(float value) {
- set_has_max_theta();
- max_theta_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Theta_range.max_theta)
- }
- // -------------------------------------------------------------------
- // Hardware_parameter
- // repeated .Hardware_limit.Railing railing_parameter = 1;
- inline int Hardware_parameter::railing_parameter_size() const {
- return railing_parameter_.size();
- }
- inline void Hardware_parameter::clear_railing_parameter() {
- railing_parameter_.Clear();
- }
- inline ::Hardware_limit::Railing* Hardware_parameter::mutable_railing_parameter(int index) {
- // @@protoc_insertion_point(field_mutable:Hardware_limit.Hardware_parameter.railing_parameter)
- return railing_parameter_.Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing >*
- Hardware_parameter::mutable_railing_parameter() {
- // @@protoc_insertion_point(field_mutable_list:Hardware_limit.Hardware_parameter.railing_parameter)
- return &railing_parameter_;
- }
- inline const ::Hardware_limit::Railing& Hardware_parameter::railing_parameter(int index) const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.railing_parameter)
- return railing_parameter_.Get(index);
- }
- inline ::Hardware_limit::Railing* Hardware_parameter::add_railing_parameter() {
- // @@protoc_insertion_point(field_add:Hardware_limit.Hardware_parameter.railing_parameter)
- return railing_parameter_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing >&
- Hardware_parameter::railing_parameter() const {
- // @@protoc_insertion_point(field_list:Hardware_limit.Hardware_parameter.railing_parameter)
- return railing_parameter_;
- }
- // required float center_min_y = 2;
- inline bool Hardware_parameter::has_center_min_y() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Hardware_parameter::set_has_center_min_y() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Hardware_parameter::clear_has_center_min_y() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Hardware_parameter::clear_center_min_y() {
- center_min_y_ = 0;
- clear_has_center_min_y();
- }
- inline float Hardware_parameter::center_min_y() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.center_min_y)
- return center_min_y_;
- }
- inline void Hardware_parameter::set_center_min_y(float value) {
- set_has_center_min_y();
- center_min_y_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.center_min_y)
- }
- // required float center_max_y = 3;
- inline bool Hardware_parameter::has_center_max_y() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Hardware_parameter::set_has_center_max_y() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Hardware_parameter::clear_has_center_max_y() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Hardware_parameter::clear_center_max_y() {
- center_max_y_ = 0;
- clear_has_center_max_y();
- }
- inline float Hardware_parameter::center_max_y() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.center_max_y)
- return center_max_y_;
- }
- inline void Hardware_parameter::set_center_max_y(float value) {
- set_has_center_max_y();
- center_max_y_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.center_max_y)
- }
- // required float center_min_x = 4;
- inline bool Hardware_parameter::has_center_min_x() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Hardware_parameter::set_has_center_min_x() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Hardware_parameter::clear_has_center_min_x() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Hardware_parameter::clear_center_min_x() {
- center_min_x_ = 0;
- clear_has_center_min_x();
- }
- inline float Hardware_parameter::center_min_x() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.center_min_x)
- return center_min_x_;
- }
- inline void Hardware_parameter::set_center_min_x(float value) {
- set_has_center_min_x();
- center_min_x_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.center_min_x)
- }
- // required float center_max_x = 5;
- inline bool Hardware_parameter::has_center_max_x() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Hardware_parameter::set_has_center_max_x() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Hardware_parameter::clear_has_center_max_x() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Hardware_parameter::clear_center_max_x() {
- center_max_x_ = 0;
- clear_has_center_max_x();
- }
- inline float Hardware_parameter::center_max_x() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.center_max_x)
- return center_max_x_;
- }
- inline void Hardware_parameter::set_center_max_x(float value) {
- set_has_center_max_x();
- center_max_x_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.center_max_x)
- }
- // required float corner_min_y = 6;
- inline bool Hardware_parameter::has_corner_min_y() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Hardware_parameter::set_has_corner_min_y() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Hardware_parameter::clear_has_corner_min_y() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Hardware_parameter::clear_corner_min_y() {
- corner_min_y_ = 0;
- clear_has_corner_min_y();
- }
- inline float Hardware_parameter::corner_min_y() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.corner_min_y)
- return corner_min_y_;
- }
- inline void Hardware_parameter::set_corner_min_y(float value) {
- set_has_corner_min_y();
- corner_min_y_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.corner_min_y)
- }
- // required float corner_max_y = 7;
- inline bool Hardware_parameter::has_corner_max_y() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Hardware_parameter::set_has_corner_max_y() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Hardware_parameter::clear_has_corner_max_y() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Hardware_parameter::clear_corner_max_y() {
- corner_max_y_ = 0;
- clear_has_corner_max_y();
- }
- inline float Hardware_parameter::corner_max_y() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.corner_max_y)
- return corner_max_y_;
- }
- inline void Hardware_parameter::set_corner_max_y(float value) {
- set_has_corner_max_y();
- corner_max_y_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.corner_max_y)
- }
- // repeated .Hardware_limit.Theta_range theta_range = 8;
- inline int Hardware_parameter::theta_range_size() const {
- return theta_range_.size();
- }
- inline void Hardware_parameter::clear_theta_range() {
- theta_range_.Clear();
- }
- inline ::Hardware_limit::Theta_range* Hardware_parameter::mutable_theta_range(int index) {
- // @@protoc_insertion_point(field_mutable:Hardware_limit.Hardware_parameter.theta_range)
- return theta_range_.Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range >*
- Hardware_parameter::mutable_theta_range() {
- // @@protoc_insertion_point(field_mutable_list:Hardware_limit.Hardware_parameter.theta_range)
- return &theta_range_;
- }
- inline const ::Hardware_limit::Theta_range& Hardware_parameter::theta_range(int index) const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.theta_range)
- return theta_range_.Get(index);
- }
- inline ::Hardware_limit::Theta_range* Hardware_parameter::add_theta_range() {
- // @@protoc_insertion_point(field_add:Hardware_limit.Hardware_parameter.theta_range)
- return theta_range_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range >&
- Hardware_parameter::theta_range() const {
- // @@protoc_insertion_point(field_list:Hardware_limit.Hardware_parameter.theta_range)
- return theta_range_;
- }
- // required float height = 9;
- inline bool Hardware_parameter::has_height() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void Hardware_parameter::set_has_height() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void Hardware_parameter::clear_has_height() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void Hardware_parameter::clear_height() {
- height_ = 0;
- clear_has_height();
- }
- inline float Hardware_parameter::height() const {
- // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.height)
- return height_;
- }
- inline void Hardware_parameter::set_height(float value) {
- set_has_height();
- height_ = value;
- // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.height)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace Hardware_limit
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_INCLUDED_hardware_5flimit_2eproto
|