// Generated by the protocol buffer compiler. DO NOT EDIT! // source: laser_parameter.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_laser_5fparameter_2eproto #define GOOGLE_PROTOBUF_INCLUDED_laser_5fparameter_2eproto #include #include #include #if PROTOBUF_VERSION < 3013000 #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 3013000 < 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 #include #include #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_laser_5fparameter_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_laser_5fparameter_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_laser_5fparameter_2eproto; namespace Laser_proto { class Laser_parameter_all; class Laser_parameter_allDefaultTypeInternal; extern Laser_parameter_allDefaultTypeInternal _Laser_parameter_all_default_instance_; class laser_parameter; class laser_parameterDefaultTypeInternal; extern laser_parameterDefaultTypeInternal _laser_parameter_default_instance_; } // namespace Laser_proto PROTOBUF_NAMESPACE_OPEN template<> ::Laser_proto::Laser_parameter_all* Arena::CreateMaybeMessage<::Laser_proto::Laser_parameter_all>(Arena*); template<> ::Laser_proto::laser_parameter* Arena::CreateMaybeMessage<::Laser_proto::laser_parameter>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace Laser_proto { // =================================================================== class laser_parameter PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Laser_proto.laser_parameter) */ { public: inline laser_parameter() : laser_parameter(nullptr) {} virtual ~laser_parameter(); laser_parameter(const laser_parameter& from); laser_parameter(laser_parameter&& from) noexcept : laser_parameter() { *this = ::std::move(from); } inline laser_parameter& operator=(const laser_parameter& from) { CopyFrom(from); return *this; } inline laser_parameter& operator=(laser_parameter&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const laser_parameter& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const laser_parameter* internal_default_instance() { return reinterpret_cast( &_laser_parameter_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(laser_parameter& a, laser_parameter& b) { a.Swap(&b); } inline void Swap(laser_parameter* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(laser_parameter* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline laser_parameter* New() const final { return CreateMaybeMessage(nullptr); } laser_parameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const laser_parameter& from); void MergeFrom(const laser_parameter& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(laser_parameter* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "Laser_proto.laser_parameter"; } protected: explicit laser_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_laser_5fparameter_2eproto); return ::descriptor_table_laser_5fparameter_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kLaserIpFieldNumber = 1, kSnFieldNumber = 24, kTypeFieldNumber = 26, kLaserPortFieldNumber = 2, kLaserPortRemoteFieldNumber = 3, kAxisXThetaFieldNumber = 16, kAxisYThetaFieldNumber = 17, kAxisZThetaFieldNumber = 18, kTranslationXFieldNumber = 19, kTranslationYFieldNumber = 20, kTranslationZFieldNumber = 21, kInstallAngleFieldNumber = 22, kIsSaveBanaryFieldNumber = 27, kScanDirectionFieldNumber = 23, kIsSaveTxtFieldNumber = 28, kMatR00FieldNumber = 4, kMatR01FieldNumber = 5, kMatR02FieldNumber = 6, kMatR03FieldNumber = 7, kMatR10FieldNumber = 8, kMatR11FieldNumber = 9, kMatR12FieldNumber = 10, kMatR13FieldNumber = 11, kMatR20FieldNumber = 12, kMatR21FieldNumber = 13, kMatR22FieldNumber = 14, kMatR23FieldNumber = 15, kFrameNumFieldNumber = 25, }; // optional string laser_ip = 1; bool has_laser_ip() const; private: bool _internal_has_laser_ip() const; public: void clear_laser_ip(); const std::string& laser_ip() const; void set_laser_ip(const std::string& value); void set_laser_ip(std::string&& value); void set_laser_ip(const char* value); void set_laser_ip(const char* value, size_t size); std::string* mutable_laser_ip(); std::string* release_laser_ip(); void set_allocated_laser_ip(std::string* laser_ip); private: const std::string& _internal_laser_ip() const; void _internal_set_laser_ip(const std::string& value); std::string* _internal_mutable_laser_ip(); public: // optional string sn = 24; bool has_sn() const; private: bool _internal_has_sn() const; public: void clear_sn(); const std::string& sn() const; void set_sn(const std::string& value); void set_sn(std::string&& value); void set_sn(const char* value); void set_sn(const char* value, size_t size); std::string* mutable_sn(); std::string* release_sn(); void set_allocated_sn(std::string* sn); private: const std::string& _internal_sn() const; void _internal_set_sn(const std::string& value); std::string* _internal_mutable_sn(); public: // optional string type = 26 [default = ""]; bool has_type() const; private: bool _internal_has_type() const; public: void clear_type(); const std::string& type() const; void set_type(const std::string& value); void set_type(std::string&& value); void set_type(const char* value); void set_type(const char* value, size_t size); std::string* mutable_type(); std::string* release_type(); void set_allocated_type(std::string* type); private: const std::string& _internal_type() const; void _internal_set_type(const std::string& value); std::string* _internal_mutable_type(); public: // optional int64 laser_port = 2; bool has_laser_port() const; private: bool _internal_has_laser_port() const; public: void clear_laser_port(); ::PROTOBUF_NAMESPACE_ID::int64 laser_port() const; void set_laser_port(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_laser_port() const; void _internal_set_laser_port(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional int64 laser_port_remote = 3; bool has_laser_port_remote() const; private: bool _internal_has_laser_port_remote() const; public: void clear_laser_port_remote(); ::PROTOBUF_NAMESPACE_ID::int64 laser_port_remote() const; void set_laser_port_remote(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_laser_port_remote() const; void _internal_set_laser_port_remote(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional double axis_x_theta = 16; bool has_axis_x_theta() const; private: bool _internal_has_axis_x_theta() const; public: void clear_axis_x_theta(); double axis_x_theta() const; void set_axis_x_theta(double value); private: double _internal_axis_x_theta() const; void _internal_set_axis_x_theta(double value); public: // optional double axis_y_theta = 17; bool has_axis_y_theta() const; private: bool _internal_has_axis_y_theta() const; public: void clear_axis_y_theta(); double axis_y_theta() const; void set_axis_y_theta(double value); private: double _internal_axis_y_theta() const; void _internal_set_axis_y_theta(double value); public: // optional double axis_z_theta = 18; bool has_axis_z_theta() const; private: bool _internal_has_axis_z_theta() const; public: void clear_axis_z_theta(); double axis_z_theta() const; void set_axis_z_theta(double value); private: double _internal_axis_z_theta() const; void _internal_set_axis_z_theta(double value); public: // optional double translation_x = 19; bool has_translation_x() const; private: bool _internal_has_translation_x() const; public: void clear_translation_x(); double translation_x() const; void set_translation_x(double value); private: double _internal_translation_x() const; void _internal_set_translation_x(double value); public: // optional double translation_y = 20; bool has_translation_y() const; private: bool _internal_has_translation_y() const; public: void clear_translation_y(); double translation_y() const; void set_translation_y(double value); private: double _internal_translation_y() const; void _internal_set_translation_y(double value); public: // optional double translation_z = 21; bool has_translation_z() const; private: bool _internal_has_translation_z() const; public: void clear_translation_z(); double translation_z() const; void set_translation_z(double value); private: double _internal_translation_z() const; void _internal_set_translation_z(double value); public: // optional double install_angle = 22 [default = 0]; bool has_install_angle() const; private: bool _internal_has_install_angle() const; public: void clear_install_angle(); double install_angle() const; void set_install_angle(double value); private: double _internal_install_angle() const; void _internal_set_install_angle(double value); public: // optional bool is_save_banary = 27 [default = false]; bool has_is_save_banary() const; private: bool _internal_has_is_save_banary() const; public: void clear_is_save_banary(); bool is_save_banary() const; void set_is_save_banary(bool value); private: bool _internal_is_save_banary() const; void _internal_set_is_save_banary(bool value); public: // optional bool scan_direction = 23 [default = true]; bool has_scan_direction() const; private: bool _internal_has_scan_direction() const; public: void clear_scan_direction(); bool scan_direction() const; void set_scan_direction(bool value); private: bool _internal_scan_direction() const; void _internal_set_scan_direction(bool value); public: // optional bool is_save_txt = 28 [default = true]; bool has_is_save_txt() const; private: bool _internal_has_is_save_txt() const; public: void clear_is_save_txt(); bool is_save_txt() const; void set_is_save_txt(bool value); private: bool _internal_is_save_txt() const; void _internal_set_is_save_txt(bool value); public: // optional double mat_r00 = 4 [default = 1]; bool has_mat_r00() const; private: bool _internal_has_mat_r00() const; public: void clear_mat_r00(); double mat_r00() const; void set_mat_r00(double value); private: double _internal_mat_r00() const; void _internal_set_mat_r00(double value); public: // optional double mat_r01 = 5 [default = 1]; bool has_mat_r01() const; private: bool _internal_has_mat_r01() const; public: void clear_mat_r01(); double mat_r01() const; void set_mat_r01(double value); private: double _internal_mat_r01() const; void _internal_set_mat_r01(double value); public: // optional double mat_r02 = 6 [default = 1]; bool has_mat_r02() const; private: bool _internal_has_mat_r02() const; public: void clear_mat_r02(); double mat_r02() const; void set_mat_r02(double value); private: double _internal_mat_r02() const; void _internal_set_mat_r02(double value); public: // optional double mat_r03 = 7 [default = 1]; bool has_mat_r03() const; private: bool _internal_has_mat_r03() const; public: void clear_mat_r03(); double mat_r03() const; void set_mat_r03(double value); private: double _internal_mat_r03() const; void _internal_set_mat_r03(double value); public: // optional double mat_r10 = 8 [default = 1]; bool has_mat_r10() const; private: bool _internal_has_mat_r10() const; public: void clear_mat_r10(); double mat_r10() const; void set_mat_r10(double value); private: double _internal_mat_r10() const; void _internal_set_mat_r10(double value); public: // optional double mat_r11 = 9 [default = 1]; bool has_mat_r11() const; private: bool _internal_has_mat_r11() const; public: void clear_mat_r11(); double mat_r11() const; void set_mat_r11(double value); private: double _internal_mat_r11() const; void _internal_set_mat_r11(double value); public: // optional double mat_r12 = 10 [default = 1]; bool has_mat_r12() const; private: bool _internal_has_mat_r12() const; public: void clear_mat_r12(); double mat_r12() const; void set_mat_r12(double value); private: double _internal_mat_r12() const; void _internal_set_mat_r12(double value); public: // optional double mat_r13 = 11 [default = 1]; bool has_mat_r13() const; private: bool _internal_has_mat_r13() const; public: void clear_mat_r13(); double mat_r13() const; void set_mat_r13(double value); private: double _internal_mat_r13() const; void _internal_set_mat_r13(double value); public: // optional double mat_r20 = 12 [default = 1]; bool has_mat_r20() const; private: bool _internal_has_mat_r20() const; public: void clear_mat_r20(); double mat_r20() const; void set_mat_r20(double value); private: double _internal_mat_r20() const; void _internal_set_mat_r20(double value); public: // optional double mat_r21 = 13 [default = 1]; bool has_mat_r21() const; private: bool _internal_has_mat_r21() const; public: void clear_mat_r21(); double mat_r21() const; void set_mat_r21(double value); private: double _internal_mat_r21() const; void _internal_set_mat_r21(double value); public: // optional double mat_r22 = 14 [default = 1]; bool has_mat_r22() const; private: bool _internal_has_mat_r22() const; public: void clear_mat_r22(); double mat_r22() const; void set_mat_r22(double value); private: double _internal_mat_r22() const; void _internal_set_mat_r22(double value); public: // optional double mat_r23 = 15 [default = 1]; bool has_mat_r23() const; private: bool _internal_has_mat_r23() const; public: void clear_mat_r23(); double mat_r23() const; void set_mat_r23(double value); private: double _internal_mat_r23() const; void _internal_set_mat_r23(double value); public: // optional int64 frame_num = 25 [default = 3000]; bool has_frame_num() const; private: bool _internal_has_frame_num() const; public: void clear_frame_num(); ::PROTOBUF_NAMESPACE_ID::int64 frame_num() const; void set_frame_num(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_frame_num() const; void _internal_set_frame_num(::PROTOBUF_NAMESPACE_ID::int64 value); public: // @@protoc_insertion_point(class_scope:Laser_proto.laser_parameter) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr laser_ip_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sn_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; ::PROTOBUF_NAMESPACE_ID::int64 laser_port_; ::PROTOBUF_NAMESPACE_ID::int64 laser_port_remote_; double axis_x_theta_; double axis_y_theta_; double axis_z_theta_; double translation_x_; double translation_y_; double translation_z_; double install_angle_; bool is_save_banary_; bool scan_direction_; bool is_save_txt_; double mat_r00_; double mat_r01_; double mat_r02_; double mat_r03_; double mat_r10_; double mat_r11_; double mat_r12_; double mat_r13_; double mat_r20_; double mat_r21_; double mat_r22_; double mat_r23_; ::PROTOBUF_NAMESPACE_ID::int64 frame_num_; friend struct ::TableStruct_laser_5fparameter_2eproto; }; // ------------------------------------------------------------------- class Laser_parameter_all PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Laser_proto.Laser_parameter_all) */ { public: inline Laser_parameter_all() : Laser_parameter_all(nullptr) {} virtual ~Laser_parameter_all(); Laser_parameter_all(const Laser_parameter_all& from); Laser_parameter_all(Laser_parameter_all&& from) noexcept : Laser_parameter_all() { *this = ::std::move(from); } inline Laser_parameter_all& operator=(const Laser_parameter_all& from) { CopyFrom(from); return *this; } inline Laser_parameter_all& operator=(Laser_parameter_all&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Laser_parameter_all& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Laser_parameter_all* internal_default_instance() { return reinterpret_cast( &_Laser_parameter_all_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(Laser_parameter_all& a, Laser_parameter_all& b) { a.Swap(&b); } inline void Swap(Laser_parameter_all* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Laser_parameter_all* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Laser_parameter_all* New() const final { return CreateMaybeMessage(nullptr); } Laser_parameter_all* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Laser_parameter_all& from); void MergeFrom(const Laser_parameter_all& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Laser_parameter_all* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "Laser_proto.Laser_parameter_all"; } protected: explicit Laser_parameter_all(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_laser_5fparameter_2eproto); return ::descriptor_table_laser_5fparameter_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kLaserParametersFieldNumber = 1, }; // repeated .Laser_proto.laser_parameter laser_parameters = 1; int laser_parameters_size() const; private: int _internal_laser_parameters_size() const; public: void clear_laser_parameters(); ::Laser_proto::laser_parameter* mutable_laser_parameters(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter >* mutable_laser_parameters(); private: const ::Laser_proto::laser_parameter& _internal_laser_parameters(int index) const; ::Laser_proto::laser_parameter* _internal_add_laser_parameters(); public: const ::Laser_proto::laser_parameter& laser_parameters(int index) const; ::Laser_proto::laser_parameter* add_laser_parameters(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter >& laser_parameters() const; // @@protoc_insertion_point(class_scope:Laser_proto.Laser_parameter_all) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter > laser_parameters_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_laser_5fparameter_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // laser_parameter // optional string laser_ip = 1; inline bool laser_parameter::_internal_has_laser_ip() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool laser_parameter::has_laser_ip() const { return _internal_has_laser_ip(); } inline void laser_parameter::clear_laser_ip() { laser_ip_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& laser_parameter::laser_ip() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_ip) return _internal_laser_ip(); } inline void laser_parameter::set_laser_ip(const std::string& value) { _internal_set_laser_ip(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_ip) } inline std::string* laser_parameter::mutable_laser_ip() { // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.laser_ip) return _internal_mutable_laser_ip(); } inline const std::string& laser_parameter::_internal_laser_ip() const { return laser_ip_.Get(); } inline void laser_parameter::_internal_set_laser_ip(const std::string& value) { _has_bits_[0] |= 0x00000001u; laser_ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void laser_parameter::set_laser_ip(std::string&& value) { _has_bits_[0] |= 0x00000001u; laser_ip_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.laser_ip) } inline void laser_parameter::set_laser_ip(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; laser_ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.laser_ip) } inline void laser_parameter::set_laser_ip(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; laser_ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.laser_ip) } inline std::string* laser_parameter::_internal_mutable_laser_ip() { _has_bits_[0] |= 0x00000001u; return laser_ip_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* laser_parameter::release_laser_ip() { // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.laser_ip) if (!_internal_has_laser_ip()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return laser_ip_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void laser_parameter::set_allocated_laser_ip(std::string* laser_ip) { if (laser_ip != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } laser_ip_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), laser_ip, GetArena()); // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.laser_ip) } // optional int64 laser_port = 2; inline bool laser_parameter::_internal_has_laser_port() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool laser_parameter::has_laser_port() const { return _internal_has_laser_port(); } inline void laser_parameter::clear_laser_port() { laser_port_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000008u; } inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::_internal_laser_port() const { return laser_port_; } inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::laser_port() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_port) return _internal_laser_port(); } inline void laser_parameter::_internal_set_laser_port(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000008u; laser_port_ = value; } inline void laser_parameter::set_laser_port(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_laser_port(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_port) } // optional int64 laser_port_remote = 3; inline bool laser_parameter::_internal_has_laser_port_remote() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool laser_parameter::has_laser_port_remote() const { return _internal_has_laser_port_remote(); } inline void laser_parameter::clear_laser_port_remote() { laser_port_remote_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000010u; } inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::_internal_laser_port_remote() const { return laser_port_remote_; } inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::laser_port_remote() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_port_remote) return _internal_laser_port_remote(); } inline void laser_parameter::_internal_set_laser_port_remote(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000010u; laser_port_remote_ = value; } inline void laser_parameter::set_laser_port_remote(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_laser_port_remote(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_port_remote) } // optional double mat_r00 = 4 [default = 1]; inline bool laser_parameter::_internal_has_mat_r00() const { bool value = (_has_bits_[0] & 0x00008000u) != 0; return value; } inline bool laser_parameter::has_mat_r00() const { return _internal_has_mat_r00(); } inline void laser_parameter::clear_mat_r00() { mat_r00_ = 1; _has_bits_[0] &= ~0x00008000u; } inline double laser_parameter::_internal_mat_r00() const { return mat_r00_; } inline double laser_parameter::mat_r00() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r00) return _internal_mat_r00(); } inline void laser_parameter::_internal_set_mat_r00(double value) { _has_bits_[0] |= 0x00008000u; mat_r00_ = value; } inline void laser_parameter::set_mat_r00(double value) { _internal_set_mat_r00(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r00) } // optional double mat_r01 = 5 [default = 1]; inline bool laser_parameter::_internal_has_mat_r01() const { bool value = (_has_bits_[0] & 0x00010000u) != 0; return value; } inline bool laser_parameter::has_mat_r01() const { return _internal_has_mat_r01(); } inline void laser_parameter::clear_mat_r01() { mat_r01_ = 1; _has_bits_[0] &= ~0x00010000u; } inline double laser_parameter::_internal_mat_r01() const { return mat_r01_; } inline double laser_parameter::mat_r01() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r01) return _internal_mat_r01(); } inline void laser_parameter::_internal_set_mat_r01(double value) { _has_bits_[0] |= 0x00010000u; mat_r01_ = value; } inline void laser_parameter::set_mat_r01(double value) { _internal_set_mat_r01(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r01) } // optional double mat_r02 = 6 [default = 1]; inline bool laser_parameter::_internal_has_mat_r02() const { bool value = (_has_bits_[0] & 0x00020000u) != 0; return value; } inline bool laser_parameter::has_mat_r02() const { return _internal_has_mat_r02(); } inline void laser_parameter::clear_mat_r02() { mat_r02_ = 1; _has_bits_[0] &= ~0x00020000u; } inline double laser_parameter::_internal_mat_r02() const { return mat_r02_; } inline double laser_parameter::mat_r02() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r02) return _internal_mat_r02(); } inline void laser_parameter::_internal_set_mat_r02(double value) { _has_bits_[0] |= 0x00020000u; mat_r02_ = value; } inline void laser_parameter::set_mat_r02(double value) { _internal_set_mat_r02(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r02) } // optional double mat_r03 = 7 [default = 1]; inline bool laser_parameter::_internal_has_mat_r03() const { bool value = (_has_bits_[0] & 0x00040000u) != 0; return value; } inline bool laser_parameter::has_mat_r03() const { return _internal_has_mat_r03(); } inline void laser_parameter::clear_mat_r03() { mat_r03_ = 1; _has_bits_[0] &= ~0x00040000u; } inline double laser_parameter::_internal_mat_r03() const { return mat_r03_; } inline double laser_parameter::mat_r03() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r03) return _internal_mat_r03(); } inline void laser_parameter::_internal_set_mat_r03(double value) { _has_bits_[0] |= 0x00040000u; mat_r03_ = value; } inline void laser_parameter::set_mat_r03(double value) { _internal_set_mat_r03(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r03) } // optional double mat_r10 = 8 [default = 1]; inline bool laser_parameter::_internal_has_mat_r10() const { bool value = (_has_bits_[0] & 0x00080000u) != 0; return value; } inline bool laser_parameter::has_mat_r10() const { return _internal_has_mat_r10(); } inline void laser_parameter::clear_mat_r10() { mat_r10_ = 1; _has_bits_[0] &= ~0x00080000u; } inline double laser_parameter::_internal_mat_r10() const { return mat_r10_; } inline double laser_parameter::mat_r10() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r10) return _internal_mat_r10(); } inline void laser_parameter::_internal_set_mat_r10(double value) { _has_bits_[0] |= 0x00080000u; mat_r10_ = value; } inline void laser_parameter::set_mat_r10(double value) { _internal_set_mat_r10(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r10) } // optional double mat_r11 = 9 [default = 1]; inline bool laser_parameter::_internal_has_mat_r11() const { bool value = (_has_bits_[0] & 0x00100000u) != 0; return value; } inline bool laser_parameter::has_mat_r11() const { return _internal_has_mat_r11(); } inline void laser_parameter::clear_mat_r11() { mat_r11_ = 1; _has_bits_[0] &= ~0x00100000u; } inline double laser_parameter::_internal_mat_r11() const { return mat_r11_; } inline double laser_parameter::mat_r11() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r11) return _internal_mat_r11(); } inline void laser_parameter::_internal_set_mat_r11(double value) { _has_bits_[0] |= 0x00100000u; mat_r11_ = value; } inline void laser_parameter::set_mat_r11(double value) { _internal_set_mat_r11(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r11) } // optional double mat_r12 = 10 [default = 1]; inline bool laser_parameter::_internal_has_mat_r12() const { bool value = (_has_bits_[0] & 0x00200000u) != 0; return value; } inline bool laser_parameter::has_mat_r12() const { return _internal_has_mat_r12(); } inline void laser_parameter::clear_mat_r12() { mat_r12_ = 1; _has_bits_[0] &= ~0x00200000u; } inline double laser_parameter::_internal_mat_r12() const { return mat_r12_; } inline double laser_parameter::mat_r12() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r12) return _internal_mat_r12(); } inline void laser_parameter::_internal_set_mat_r12(double value) { _has_bits_[0] |= 0x00200000u; mat_r12_ = value; } inline void laser_parameter::set_mat_r12(double value) { _internal_set_mat_r12(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r12) } // optional double mat_r13 = 11 [default = 1]; inline bool laser_parameter::_internal_has_mat_r13() const { bool value = (_has_bits_[0] & 0x00400000u) != 0; return value; } inline bool laser_parameter::has_mat_r13() const { return _internal_has_mat_r13(); } inline void laser_parameter::clear_mat_r13() { mat_r13_ = 1; _has_bits_[0] &= ~0x00400000u; } inline double laser_parameter::_internal_mat_r13() const { return mat_r13_; } inline double laser_parameter::mat_r13() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r13) return _internal_mat_r13(); } inline void laser_parameter::_internal_set_mat_r13(double value) { _has_bits_[0] |= 0x00400000u; mat_r13_ = value; } inline void laser_parameter::set_mat_r13(double value) { _internal_set_mat_r13(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r13) } // optional double mat_r20 = 12 [default = 1]; inline bool laser_parameter::_internal_has_mat_r20() const { bool value = (_has_bits_[0] & 0x00800000u) != 0; return value; } inline bool laser_parameter::has_mat_r20() const { return _internal_has_mat_r20(); } inline void laser_parameter::clear_mat_r20() { mat_r20_ = 1; _has_bits_[0] &= ~0x00800000u; } inline double laser_parameter::_internal_mat_r20() const { return mat_r20_; } inline double laser_parameter::mat_r20() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r20) return _internal_mat_r20(); } inline void laser_parameter::_internal_set_mat_r20(double value) { _has_bits_[0] |= 0x00800000u; mat_r20_ = value; } inline void laser_parameter::set_mat_r20(double value) { _internal_set_mat_r20(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r20) } // optional double mat_r21 = 13 [default = 1]; inline bool laser_parameter::_internal_has_mat_r21() const { bool value = (_has_bits_[0] & 0x01000000u) != 0; return value; } inline bool laser_parameter::has_mat_r21() const { return _internal_has_mat_r21(); } inline void laser_parameter::clear_mat_r21() { mat_r21_ = 1; _has_bits_[0] &= ~0x01000000u; } inline double laser_parameter::_internal_mat_r21() const { return mat_r21_; } inline double laser_parameter::mat_r21() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r21) return _internal_mat_r21(); } inline void laser_parameter::_internal_set_mat_r21(double value) { _has_bits_[0] |= 0x01000000u; mat_r21_ = value; } inline void laser_parameter::set_mat_r21(double value) { _internal_set_mat_r21(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r21) } // optional double mat_r22 = 14 [default = 1]; inline bool laser_parameter::_internal_has_mat_r22() const { bool value = (_has_bits_[0] & 0x02000000u) != 0; return value; } inline bool laser_parameter::has_mat_r22() const { return _internal_has_mat_r22(); } inline void laser_parameter::clear_mat_r22() { mat_r22_ = 1; _has_bits_[0] &= ~0x02000000u; } inline double laser_parameter::_internal_mat_r22() const { return mat_r22_; } inline double laser_parameter::mat_r22() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r22) return _internal_mat_r22(); } inline void laser_parameter::_internal_set_mat_r22(double value) { _has_bits_[0] |= 0x02000000u; mat_r22_ = value; } inline void laser_parameter::set_mat_r22(double value) { _internal_set_mat_r22(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r22) } // optional double mat_r23 = 15 [default = 1]; inline bool laser_parameter::_internal_has_mat_r23() const { bool value = (_has_bits_[0] & 0x04000000u) != 0; return value; } inline bool laser_parameter::has_mat_r23() const { return _internal_has_mat_r23(); } inline void laser_parameter::clear_mat_r23() { mat_r23_ = 1; _has_bits_[0] &= ~0x04000000u; } inline double laser_parameter::_internal_mat_r23() const { return mat_r23_; } inline double laser_parameter::mat_r23() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r23) return _internal_mat_r23(); } inline void laser_parameter::_internal_set_mat_r23(double value) { _has_bits_[0] |= 0x04000000u; mat_r23_ = value; } inline void laser_parameter::set_mat_r23(double value) { _internal_set_mat_r23(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r23) } // optional double axis_x_theta = 16; inline bool laser_parameter::_internal_has_axis_x_theta() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool laser_parameter::has_axis_x_theta() const { return _internal_has_axis_x_theta(); } inline void laser_parameter::clear_axis_x_theta() { axis_x_theta_ = 0; _has_bits_[0] &= ~0x00000020u; } inline double laser_parameter::_internal_axis_x_theta() const { return axis_x_theta_; } inline double laser_parameter::axis_x_theta() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_x_theta) return _internal_axis_x_theta(); } inline void laser_parameter::_internal_set_axis_x_theta(double value) { _has_bits_[0] |= 0x00000020u; axis_x_theta_ = value; } inline void laser_parameter::set_axis_x_theta(double value) { _internal_set_axis_x_theta(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_x_theta) } // optional double axis_y_theta = 17; inline bool laser_parameter::_internal_has_axis_y_theta() const { bool value = (_has_bits_[0] & 0x00000040u) != 0; return value; } inline bool laser_parameter::has_axis_y_theta() const { return _internal_has_axis_y_theta(); } inline void laser_parameter::clear_axis_y_theta() { axis_y_theta_ = 0; _has_bits_[0] &= ~0x00000040u; } inline double laser_parameter::_internal_axis_y_theta() const { return axis_y_theta_; } inline double laser_parameter::axis_y_theta() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_y_theta) return _internal_axis_y_theta(); } inline void laser_parameter::_internal_set_axis_y_theta(double value) { _has_bits_[0] |= 0x00000040u; axis_y_theta_ = value; } inline void laser_parameter::set_axis_y_theta(double value) { _internal_set_axis_y_theta(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_y_theta) } // optional double axis_z_theta = 18; inline bool laser_parameter::_internal_has_axis_z_theta() const { bool value = (_has_bits_[0] & 0x00000080u) != 0; return value; } inline bool laser_parameter::has_axis_z_theta() const { return _internal_has_axis_z_theta(); } inline void laser_parameter::clear_axis_z_theta() { axis_z_theta_ = 0; _has_bits_[0] &= ~0x00000080u; } inline double laser_parameter::_internal_axis_z_theta() const { return axis_z_theta_; } inline double laser_parameter::axis_z_theta() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_z_theta) return _internal_axis_z_theta(); } inline void laser_parameter::_internal_set_axis_z_theta(double value) { _has_bits_[0] |= 0x00000080u; axis_z_theta_ = value; } inline void laser_parameter::set_axis_z_theta(double value) { _internal_set_axis_z_theta(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_z_theta) } // optional double translation_x = 19; inline bool laser_parameter::_internal_has_translation_x() const { bool value = (_has_bits_[0] & 0x00000100u) != 0; return value; } inline bool laser_parameter::has_translation_x() const { return _internal_has_translation_x(); } inline void laser_parameter::clear_translation_x() { translation_x_ = 0; _has_bits_[0] &= ~0x00000100u; } inline double laser_parameter::_internal_translation_x() const { return translation_x_; } inline double laser_parameter::translation_x() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_x) return _internal_translation_x(); } inline void laser_parameter::_internal_set_translation_x(double value) { _has_bits_[0] |= 0x00000100u; translation_x_ = value; } inline void laser_parameter::set_translation_x(double value) { _internal_set_translation_x(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_x) } // optional double translation_y = 20; inline bool laser_parameter::_internal_has_translation_y() const { bool value = (_has_bits_[0] & 0x00000200u) != 0; return value; } inline bool laser_parameter::has_translation_y() const { return _internal_has_translation_y(); } inline void laser_parameter::clear_translation_y() { translation_y_ = 0; _has_bits_[0] &= ~0x00000200u; } inline double laser_parameter::_internal_translation_y() const { return translation_y_; } inline double laser_parameter::translation_y() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_y) return _internal_translation_y(); } inline void laser_parameter::_internal_set_translation_y(double value) { _has_bits_[0] |= 0x00000200u; translation_y_ = value; } inline void laser_parameter::set_translation_y(double value) { _internal_set_translation_y(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_y) } // optional double translation_z = 21; inline bool laser_parameter::_internal_has_translation_z() const { bool value = (_has_bits_[0] & 0x00000400u) != 0; return value; } inline bool laser_parameter::has_translation_z() const { return _internal_has_translation_z(); } inline void laser_parameter::clear_translation_z() { translation_z_ = 0; _has_bits_[0] &= ~0x00000400u; } inline double laser_parameter::_internal_translation_z() const { return translation_z_; } inline double laser_parameter::translation_z() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_z) return _internal_translation_z(); } inline void laser_parameter::_internal_set_translation_z(double value) { _has_bits_[0] |= 0x00000400u; translation_z_ = value; } inline void laser_parameter::set_translation_z(double value) { _internal_set_translation_z(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_z) } // optional double install_angle = 22 [default = 0]; inline bool laser_parameter::_internal_has_install_angle() const { bool value = (_has_bits_[0] & 0x00000800u) != 0; return value; } inline bool laser_parameter::has_install_angle() const { return _internal_has_install_angle(); } inline void laser_parameter::clear_install_angle() { install_angle_ = 0; _has_bits_[0] &= ~0x00000800u; } inline double laser_parameter::_internal_install_angle() const { return install_angle_; } inline double laser_parameter::install_angle() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.install_angle) return _internal_install_angle(); } inline void laser_parameter::_internal_set_install_angle(double value) { _has_bits_[0] |= 0x00000800u; install_angle_ = value; } inline void laser_parameter::set_install_angle(double value) { _internal_set_install_angle(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.install_angle) } // optional bool scan_direction = 23 [default = true]; inline bool laser_parameter::_internal_has_scan_direction() const { bool value = (_has_bits_[0] & 0x00002000u) != 0; return value; } inline bool laser_parameter::has_scan_direction() const { return _internal_has_scan_direction(); } inline void laser_parameter::clear_scan_direction() { scan_direction_ = true; _has_bits_[0] &= ~0x00002000u; } inline bool laser_parameter::_internal_scan_direction() const { return scan_direction_; } inline bool laser_parameter::scan_direction() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.scan_direction) return _internal_scan_direction(); } inline void laser_parameter::_internal_set_scan_direction(bool value) { _has_bits_[0] |= 0x00002000u; scan_direction_ = value; } inline void laser_parameter::set_scan_direction(bool value) { _internal_set_scan_direction(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.scan_direction) } // optional string sn = 24; inline bool laser_parameter::_internal_has_sn() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool laser_parameter::has_sn() const { return _internal_has_sn(); } inline void laser_parameter::clear_sn() { sn_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& laser_parameter::sn() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.sn) return _internal_sn(); } inline void laser_parameter::set_sn(const std::string& value) { _internal_set_sn(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.sn) } inline std::string* laser_parameter::mutable_sn() { // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.sn) return _internal_mutable_sn(); } inline const std::string& laser_parameter::_internal_sn() const { return sn_.Get(); } inline void laser_parameter::_internal_set_sn(const std::string& value) { _has_bits_[0] |= 0x00000002u; sn_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void laser_parameter::set_sn(std::string&& value) { _has_bits_[0] |= 0x00000002u; sn_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.sn) } inline void laser_parameter::set_sn(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; sn_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.sn) } inline void laser_parameter::set_sn(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; sn_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.sn) } inline std::string* laser_parameter::_internal_mutable_sn() { _has_bits_[0] |= 0x00000002u; return sn_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* laser_parameter::release_sn() { // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.sn) if (!_internal_has_sn()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return sn_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void laser_parameter::set_allocated_sn(std::string* sn) { if (sn != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } sn_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sn, GetArena()); // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.sn) } // optional int64 frame_num = 25 [default = 3000]; inline bool laser_parameter::_internal_has_frame_num() const { bool value = (_has_bits_[0] & 0x08000000u) != 0; return value; } inline bool laser_parameter::has_frame_num() const { return _internal_has_frame_num(); } inline void laser_parameter::clear_frame_num() { frame_num_ = PROTOBUF_LONGLONG(3000); _has_bits_[0] &= ~0x08000000u; } inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::_internal_frame_num() const { return frame_num_; } inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::frame_num() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.frame_num) return _internal_frame_num(); } inline void laser_parameter::_internal_set_frame_num(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x08000000u; frame_num_ = value; } inline void laser_parameter::set_frame_num(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_frame_num(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.frame_num) } // optional string type = 26 [default = ""]; inline bool laser_parameter::_internal_has_type() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool laser_parameter::has_type() const { return _internal_has_type(); } inline void laser_parameter::clear_type() { type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& laser_parameter::type() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.type) return _internal_type(); } inline void laser_parameter::set_type(const std::string& value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.type) } inline std::string* laser_parameter::mutable_type() { // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.type) return _internal_mutable_type(); } inline const std::string& laser_parameter::_internal_type() const { return type_.Get(); } inline void laser_parameter::_internal_set_type(const std::string& value) { _has_bits_[0] |= 0x00000004u; type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void laser_parameter::set_type(std::string&& value) { _has_bits_[0] |= 0x00000004u; type_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.type) } inline void laser_parameter::set_type(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.type) } inline void laser_parameter::set_type(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.type) } inline std::string* laser_parameter::_internal_mutable_type() { _has_bits_[0] |= 0x00000004u; return type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* laser_parameter::release_type() { // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.type) if (!_internal_has_type()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void laser_parameter::set_allocated_type(std::string* type) { if (type != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, GetArena()); // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.type) } // optional bool is_save_banary = 27 [default = false]; inline bool laser_parameter::_internal_has_is_save_banary() const { bool value = (_has_bits_[0] & 0x00001000u) != 0; return value; } inline bool laser_parameter::has_is_save_banary() const { return _internal_has_is_save_banary(); } inline void laser_parameter::clear_is_save_banary() { is_save_banary_ = false; _has_bits_[0] &= ~0x00001000u; } inline bool laser_parameter::_internal_is_save_banary() const { return is_save_banary_; } inline bool laser_parameter::is_save_banary() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.is_save_banary) return _internal_is_save_banary(); } inline void laser_parameter::_internal_set_is_save_banary(bool value) { _has_bits_[0] |= 0x00001000u; is_save_banary_ = value; } inline void laser_parameter::set_is_save_banary(bool value) { _internal_set_is_save_banary(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.is_save_banary) } // optional bool is_save_txt = 28 [default = true]; inline bool laser_parameter::_internal_has_is_save_txt() const { bool value = (_has_bits_[0] & 0x00004000u) != 0; return value; } inline bool laser_parameter::has_is_save_txt() const { return _internal_has_is_save_txt(); } inline void laser_parameter::clear_is_save_txt() { is_save_txt_ = true; _has_bits_[0] &= ~0x00004000u; } inline bool laser_parameter::_internal_is_save_txt() const { return is_save_txt_; } inline bool laser_parameter::is_save_txt() const { // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.is_save_txt) return _internal_is_save_txt(); } inline void laser_parameter::_internal_set_is_save_txt(bool value) { _has_bits_[0] |= 0x00004000u; is_save_txt_ = value; } inline void laser_parameter::set_is_save_txt(bool value) { _internal_set_is_save_txt(value); // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.is_save_txt) } // ------------------------------------------------------------------- // Laser_parameter_all // repeated .Laser_proto.laser_parameter laser_parameters = 1; inline int Laser_parameter_all::_internal_laser_parameters_size() const { return laser_parameters_.size(); } inline int Laser_parameter_all::laser_parameters_size() const { return _internal_laser_parameters_size(); } inline void Laser_parameter_all::clear_laser_parameters() { laser_parameters_.Clear(); } inline ::Laser_proto::laser_parameter* Laser_parameter_all::mutable_laser_parameters(int index) { // @@protoc_insertion_point(field_mutable:Laser_proto.Laser_parameter_all.laser_parameters) return laser_parameters_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter >* Laser_parameter_all::mutable_laser_parameters() { // @@protoc_insertion_point(field_mutable_list:Laser_proto.Laser_parameter_all.laser_parameters) return &laser_parameters_; } inline const ::Laser_proto::laser_parameter& Laser_parameter_all::_internal_laser_parameters(int index) const { return laser_parameters_.Get(index); } inline const ::Laser_proto::laser_parameter& Laser_parameter_all::laser_parameters(int index) const { // @@protoc_insertion_point(field_get:Laser_proto.Laser_parameter_all.laser_parameters) return _internal_laser_parameters(index); } inline ::Laser_proto::laser_parameter* Laser_parameter_all::_internal_add_laser_parameters() { return laser_parameters_.Add(); } inline ::Laser_proto::laser_parameter* Laser_parameter_all::add_laser_parameters() { // @@protoc_insertion_point(field_add:Laser_proto.Laser_parameter_all.laser_parameters) return _internal_add_laser_parameters(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter >& Laser_parameter_all::laser_parameters() const { // @@protoc_insertion_point(field_list:Laser_proto.Laser_parameter_all.laser_parameters) return laser_parameters_; } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace Laser_proto // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_laser_5fparameter_2eproto