// Generated by the protocol buffer compiler. DO NOT EDIT! // source: HardwareDancer.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "HardwareDancer.pb.h" #include #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace Tango { namespace PMR { namespace Hardware { class HardwareDancerDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _HardwareDancer_default_instance_; namespace protobuf_HardwareDancer_2eproto { namespace { ::google::protobuf::Metadata file_level_metadata[1]; } // namespace PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField const TableStruct::entries[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0}, }; PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField const TableStruct::aux[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { ::google::protobuf::internal::AuxillaryParseTableField(), }; PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const TableStruct::schema[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { NULL, NULL, 0, -1, -1, -1, -1, NULL, false }, }; const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, hardwaredancertype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, gradual_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, k_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, x_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, pulsepermmspring_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, maximalmovementmm_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, zeropoint_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, resolutionbits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwareDancer, armlength_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(HardwareDancer)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&_HardwareDancer_default_instance_), }; namespace { void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "HardwareDancer.proto", schemas, file_default_instances, TableStruct::offsets, factory, file_level_metadata, NULL, NULL); } void protobuf_AssignDescriptorsOnce() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors); } void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD; void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1); } } // namespace void TableStruct::InitDefaultsImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::internal::InitProtobufDefaults(); ::Tango::PMR::Hardware::protobuf_HardwareDancerType_2eproto::InitDefaults(); _HardwareDancer_default_instance_._instance.DefaultConstruct(); ::google::protobuf::internal::OnShutdownDestroyMessage( &_HardwareDancer_default_instance_);} void InitDefaults() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl); } namespace { void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { "\n\024HardwareDancer.proto\022\022Tango.PMR.Hardwa" "re\032\030HardwareDancerType.proto\"\356\001\n\016Hardwar" "eDancer\022B\n\022HardwareDancerType\030\001 \001(\0162&.Ta" "ngo.PMR.Hardware.HardwareDancerType\022\017\n\007G" "radual\030\002 \001(\010\022\t\n\001K\030\003 \001(\001\022\t\n\001X\030\004 \001(\001\022\030\n\020Pu" "lsePerMmSpring\030\005 \001(\005\022\031\n\021MaximalMovementM" "m\030\006 \001(\005\022\021\n\tZeroPoint\030\007 \001(\005\022\026\n\016Resolution" "Bits\030\010 \001(\005\022\021\n\tArmLength\030\t \001(\005B\036\n\034com.twi" "ne.tango.pmr.hardwareb\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 349); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "HardwareDancer.proto", &protobuf_RegisterTypes); ::Tango::PMR::Hardware::protobuf_HardwareDancerType_2eproto::AddDescriptors(); } } // anonymous namespace void AddDescriptors() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); } // Force AddDescriptors() to be called at dynamic initialization time. struct StaticDescriptorInitializer { StaticDescriptorInitializer() { AddDescriptors(); } } static_descriptor_initializer; } // namespace protobuf_HardwareDancer_2eproto // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int HardwareDancer::kHardwareDancerTypeFieldNumber; const int HardwareDancer::kGradualFieldNumber; const int HardwareDancer::kKFieldNumber; const int HardwareDancer::kXFieldNumber; const int HardwareDancer::kPulsePerMmSpringFieldNumber; const int HardwareDancer::kMaximalMovementMmFieldNumber; const int HardwareDancer::kZeroPointFieldNumber; const int HardwareDancer::kResolutionBitsFieldNumber; const int HardwareDancer::kArmLengthFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 HardwareDancer::HardwareDancer() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_HardwareDancer_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:Tango.PMR.Hardware.HardwareDancer) } HardwareDancer::HardwareDancer(const HardwareDancer& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&hardwaredancertype_, &from.hardwaredancertype_, static_cast(reinterpret_cast(&armlength_) - reinterpret_cast(&hardwaredancertype_)) + sizeof(armlength_)); // @@protoc_insertion_point(copy_constructor:Tango.PMR.Hardware.HardwareDancer) } void HardwareDancer::SharedCtor() { ::memset(&hardwaredancertype_, 0, static_cast( reinterpret_cast(&armlength_) - reinterpret_cast(&hardwaredancertype_)) + sizeof(armlength_)); _cached_size_ = 0; } HardwareDancer::~HardwareDancer() { // @@protoc_insertion_point(destructor:Tango.PMR.Hardware.HardwareDancer) SharedDtor(); } void HardwareDancer::SharedDtor() { } void HardwareDancer::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* HardwareDancer::descriptor() { protobuf_HardwareDancer_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_HardwareDancer_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const HardwareDancer& HardwareDancer::default_instance() { protobuf_HardwareDancer_2eproto::InitDefaults(); return *internal_default_instance(); } HardwareDancer* HardwareDancer::New(::google::protobuf::Arena* arena) const { HardwareDancer* n = new HardwareDancer; if (arena != NULL) { arena->Own(n); } return n; } void HardwareDancer::Clear() { // @@protoc_insertion_point(message_clear_start:Tango.PMR.Hardware.HardwareDancer) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&hardwaredancertype_, 0, static_cast( reinterpret_cast(&armlength_) - reinterpret_cast(&hardwaredancertype_)) + sizeof(armlength_)); _internal_metadata_.Clear(); } bool HardwareDancer::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Tango.PMR.Hardware.HardwareDancer) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // .Tango.PMR.Hardware.HardwareDancerType HardwareDancerType = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); set_hardwaredancertype(static_cast< ::Tango::PMR::Hardware::HardwareDancerType >(value)); } else { goto handle_unusual; } break; } // bool Gradual = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &gradual_))); } else { goto handle_unusual; } break; } // double K = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( input, &k_))); } else { goto handle_unusual; } break; } // double X = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( input, &x_))); } else { goto handle_unusual; } break; } // int32 PulsePerMmSpring = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &pulsepermmspring_))); } else { goto handle_unusual; } break; } // int32 MaximalMovementMm = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &maximalmovementmm_))); } else { goto handle_unusual; } break; } // int32 ZeroPoint = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &zeropoint_))); } else { goto handle_unusual; } break; } // int32 ResolutionBits = 8; case 8: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &resolutionbits_))); } else { goto handle_unusual; } break; } // int32 ArmLength = 9; case 9: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &armlength_))); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Tango.PMR.Hardware.HardwareDancer) return true; failure: // @@protoc_insertion_point(parse_failure:Tango.PMR.Hardware.HardwareDancer) return false; #undef DO_ } void HardwareDancer::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Tango.PMR.Hardware.HardwareDancer) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .Tango.PMR.Hardware.HardwareDancerType HardwareDancerType = 1; if (this->hardwaredancertype() != 0) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->hardwaredancertype(), output); } // bool Gradual = 2; if (this->gradual() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->gradual(), output); } // double K = 3; if (this->k() != 0) { ::google::protobuf::internal::WireFormatLite::WriteDouble(3, this->k(), output); } // double X = 4; if (this->x() != 0) { ::google::protobuf::internal::WireFormatLite::WriteDouble(4, this->x(), output); } // int32 PulsePerMmSpring = 5; if (this->pulsepermmspring() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->pulsepermmspring(), output); } // int32 MaximalMovementMm = 6; if (this->maximalmovementmm() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->maximalmovementmm(), output); } // int32 ZeroPoint = 7; if (this->zeropoint() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->zeropoint(), output); } // int32 ResolutionBits = 8; if (this->resolutionbits() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->resolutionbits(), output); } // int32 ArmLength = 9; if (this->armlength() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->armlength(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:Tango.PMR.Hardware.HardwareDancer) } ::google::protobuf::uint8* HardwareDancer::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.Hardware.HardwareDancer) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .Tango.PMR.Hardware.HardwareDancerType HardwareDancerType = 1; if (this->hardwaredancertype() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->hardwaredancertype(), target); } // bool Gradual = 2; if (this->gradual() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->gradual(), target); } // double K = 3; if (this->k() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(3, this->k(), target); } // double X = 4; if (this->x() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(4, this->x(), target); } // int32 PulsePerMmSpring = 5; if (this->pulsepermmspring() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->pulsepermmspring(), target); } // int32 MaximalMovementMm = 6; if (this->maximalmovementmm() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->maximalmovementmm(), target); } // int32 ZeroPoint = 7; if (this->zeropoint() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->zeropoint(), target); } // int32 ResolutionBits = 8; if (this->resolutionbits() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->resolutionbits(), target); } // int32 ArmLength = 9; if (this->armlength() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->armlength(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:Tango.PMR.Hardware.HardwareDancer) return target; } size_t HardwareDancer::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Tango.PMR.Hardware.HardwareDancer) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // .Tango.PMR.Hardware.HardwareDancerType HardwareDancerType = 1; if (this->hardwaredancertype() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->hardwaredancertype()); } // bool Gradual = 2; if (this->gradual() != 0) { total_size += 1 + 1; } // double K = 3; if (this->k() != 0) { total_size += 1 + 8; } // double X = 4; if (this->x() != 0) { total_size += 1 + 8; } // int32 PulsePerMmSpring = 5; if (this->pulsepermmspring() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->pulsepermmspring()); } // int32 MaximalMovementMm = 6; if (this->maximalmovementmm() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->maximalmovementmm()); } // int32 ZeroPoint = 7; if (this->zeropoint() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->zeropoint()); } // int32 ResolutionBits = 8; if (this->resolutionbits() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->resolutionbits()); } // int32 ArmLength = 9; if (this->armlength() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->armlength()); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void HardwareDancer::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.Hardware.HardwareDancer) GOOGLE_DCHECK_NE(&from, this); const HardwareDancer* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.Hardware.HardwareDancer) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.Hardware.HardwareDancer) MergeFrom(*source); } } void HardwareDancer::MergeFrom(const HardwareDancer& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.Hardware.HardwareDancer) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.hardwaredancertype() != 0) { set_hardwaredancertype(from.hardwaredancertype()); } if (from.gradual() != 0) { set_gradual(from.gradual()); } if (from.k() != 0) { set_k(from.k()); } if (from.x() != 0) { set_x(from.x()); } if (from.pulsepermmspring() != 0) { set_pulsepermmspring(from.pulsepermmspring()); } if (from.maximalmovementmm() != 0) { set_maximalmovementmm(from.maximalmovementmm()); } if (from.zeropoint() != 0) { set_zeropoint(from.zeropoint()); } if (from.resolutionbits() != 0) { set_resolutionbits(from.resolutionbits()); } if (from.armlength() != 0) { set_armlength(from.armlength()); } } void HardwareDancer::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.Hardware.HardwareDancer) if (&from == this) return; Clear(); MergeFrom(from); } void HardwareDancer::CopyFrom(const HardwareDancer& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.Hardware.HardwareDancer) if (&from == this) return; Clear(); MergeFrom(from); } bool HardwareDancer::IsInitialized() const { return true; } void HardwareDancer::Swap(HardwareDancer* other) { if (other == this) return; InternalSwap(other); } void HardwareDancer::InternalSwap(HardwareDancer* other) { using std::swap; swap(hardwaredancertype_, other->hardwaredancertype_); swap(gradual_, other->gradual_); swap(k_, other->k_); swap(x_, other->x_); swap(pulsepermmspring_, other->pulsepermmspring_); swap(maximalmovementmm_, other->maximalmovementmm_); swap(zeropoint_, other->zeropoint_); swap(resolutionbits_, other->resolutionbits_); swap(armlength_, other->armlength_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata HardwareDancer::GetMetadata() const { protobuf_HardwareDancer_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_HardwareDancer_2eproto::file_level_metadata[kIndexInFileMessages]; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // HardwareDancer // .Tango.PMR.Hardware.HardwareDancerType HardwareDancerType = 1; void HardwareDancer::clear_hardwaredancertype() { hardwaredancertype_ = 0; } ::Tango::PMR::Hardware::HardwareDancerType HardwareDancer::hardwaredancertype() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.HardwareDancerType) return static_cast< ::Tango::PMR::Hardware::HardwareDancerType >(hardwaredancertype_); } void HardwareDancer::set_hardwaredancertype(::Tango::PMR::Hardware::HardwareDancerType value) { hardwaredancertype_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.HardwareDancerType) } // bool Gradual = 2; void HardwareDancer::clear_gradual() { gradual_ = false; } bool HardwareDancer::gradual() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.Gradual) return gradual_; } void HardwareDancer::set_gradual(bool value) { gradual_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.Gradual) } // double K = 3; void HardwareDancer::clear_k() { k_ = 0; } double HardwareDancer::k() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.K) return k_; } void HardwareDancer::set_k(double value) { k_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.K) } // double X = 4; void HardwareDancer::clear_x() { x_ = 0; } double HardwareDancer::x() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.X) return x_; } void HardwareDancer::set_x(double value) { x_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.X) } // int32 PulsePerMmSpring = 5; void HardwareDancer::clear_pulsepermmspring() { pulsepermmspring_ = 0; } ::google::protobuf::int32 HardwareDancer::pulsepermmspring() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.PulsePerMmSpring) return pulsepermmspring_; } void HardwareDancer::set_pulsepermmspring(::google::protobuf::int32 value) { pulsepermmspring_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.PulsePerMmSpring) } // int32 MaximalMovementMm = 6; void HardwareDancer::clear_maximalmovementmm() { maximalmovementmm_ = 0; } ::google::protobuf::int32 HardwareDancer::maximalmovementmm() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.MaximalMovementMm) return maximalmovementmm_; } void HardwareDancer::set_maximalmovementmm(::google::protobuf::int32 value) { maximalmovementmm_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.MaximalMovementMm) } // int32 ZeroPoint = 7; void HardwareDancer::clear_zeropoint() { zeropoint_ = 0; } ::google::protobuf::int32 HardwareDancer::zeropoint() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.ZeroPoint) return zeropoint_; } void HardwareDancer::set_zeropoint(::google::protobuf::int32 value) { zeropoint_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.ZeroPoint) } // int32 ResolutionBits = 8; void HardwareDancer::clear_resolutionbits() { resolutionbits_ = 0; } ::google::protobuf::int32 HardwareDancer::resolutionbits() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.ResolutionBits) return resolutionbits_; } void HardwareDancer::set_resolutionbits(::google::protobuf::int32 value) { resolutionbits_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.ResolutionBits) } // int32 ArmLength = 9; void HardwareDancer::clear_armlength() { armlength_ = 0; } ::google::protobuf::int32 HardwareDancer::armlength() const { // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwareDancer.ArmLength) return armlength_; } void HardwareDancer::set_armlength(::google::protobuf::int32 value) { armlength_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwareDancer.ArmLength) } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace Hardware } // namespace PMR } // namespace Tango // @@protoc_insertion_point(global_scope)