// Generated by the protocol buffer compiler. DO NOT EDIT! // source: StubMotorInitRequest.proto #ifndef PROTOBUF_StubMotorInitRequest_2eproto__INCLUDED #define PROTOBUF_StubMotorInitRequest_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3004000 #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 3004000 < 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 #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) namespace Tango { namespace PMR { namespace Stubs { class StubMotorInitRequest; class StubMotorInitRequestDefaultTypeInternal; extern StubMotorInitRequestDefaultTypeInternal _StubMotorInitRequest_default_instance_; } // namespace Stubs } // namespace PMR } // namespace Tango namespace Tango { namespace PMR { namespace Stubs { namespace protobuf_StubMotorInitRequest_2eproto { // Internal implementation detail -- do not call these. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[]; static const ::google::protobuf::uint32 offsets[]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static void InitDefaultsImpl(); }; void AddDescriptors(); void InitDefaults(); } // namespace protobuf_StubMotorInitRequest_2eproto // =================================================================== class StubMotorInitRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Tango.PMR.Stubs.StubMotorInitRequest) */ { public: StubMotorInitRequest(); virtual ~StubMotorInitRequest(); StubMotorInitRequest(const StubMotorInitRequest& from); inline StubMotorInitRequest& operator=(const StubMotorInitRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 StubMotorInitRequest(StubMotorInitRequest&& from) noexcept : StubMotorInitRequest() { *this = ::std::move(from); } inline StubMotorInitRequest& operator=(StubMotorInitRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const StubMotorInitRequest& default_instance(); static inline const StubMotorInitRequest* internal_default_instance() { return reinterpret_cast( &_StubMotorInitRequest_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(StubMotorInitRequest* other); friend void swap(StubMotorInitRequest& a, StubMotorInitRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline StubMotorInitRequest* New() const PROTOBUF_FINAL { return New(NULL); } StubMotorInitRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const StubMotorInitRequest& from); void MergeFrom(const StubMotorInitRequest& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(StubMotorInitRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // uint32 Motor_ID = 1; void clear_motor_id(); static const int kMotorIDFieldNumber = 1; ::google::protobuf::uint32 motor_id() const; void set_motor_id(::google::protobuf::uint32 value); // uint32 Micro_Steps = 2; void clear_micro_steps(); static const int kMicroStepsFieldNumber = 2; ::google::protobuf::uint32 micro_steps() const; void set_micro_steps(::google::protobuf::uint32 value); // uint32 ACC = 4; void clear_acc(); static const int kACCFieldNumber = 4; ::google::protobuf::uint32 acc() const; void set_acc(::google::protobuf::uint32 value); // uint32 DEC = 6; void clear_dec(); static const int kDECFieldNumber = 6; ::google::protobuf::uint32 dec() const; void set_dec(::google::protobuf::uint32 value); // bool Set_Micro_Steps = 3; void clear_set_micro_steps(); static const int kSetMicroStepsFieldNumber = 3; bool set_micro_steps() const; void set_set_micro_steps(bool value); // bool Set_ACC = 5; void clear_set_acc(); static const int kSetACCFieldNumber = 5; bool set_acc() const; void set_set_acc(bool value); // bool Set_Dec = 7; void clear_set_dec(); static const int kSetDecFieldNumber = 7; bool set_dec() const; void set_set_dec(bool value); // bool Set_Max_Speed = 9; void clear_set_max_speed(); static const int kSetMaxSpeedFieldNumber = 9; bool set_max_speed() const; void set_set_max_speed(bool value); // uint32 Max_Speed = 8; void clear_max_speed(); static const int kMaxSpeedFieldNumber = 8; ::google::protobuf::uint32 max_speed() const; void set_max_speed(::google::protobuf::uint32 value); // uint32 Min_Speed_LSPD_OPT = 10; void clear_min_speed_lspd_opt(); static const int kMinSpeedLSPDOPTFieldNumber = 10; ::google::protobuf::uint32 min_speed_lspd_opt() const; void set_min_speed_lspd_opt(::google::protobuf::uint32 value); // bool Set_Min_Speed_LSPD_OPT = 11; void clear_set_min_speed_lspd_opt(); static const int kSetMinSpeedLSPDOPTFieldNumber = 11; bool set_min_speed_lspd_opt() const; void set_set_min_speed_lspd_opt(bool value); // uint32 Config = 12; void clear_config(); static const int kConfigFieldNumber = 12; ::google::protobuf::uint32 config() const; void set_config(::google::protobuf::uint32 value); // uint32 KVAL_HOLD = 13; void clear_kval_hold(); static const int kKVALHOLDFieldNumber = 13; ::google::protobuf::uint32 kval_hold() const; void set_kval_hold(::google::protobuf::uint32 value); // uint32 KVAL_RUN = 14; void clear_kval_run(); static const int kKVALRUNFieldNumber = 14; ::google::protobuf::uint32 kval_run() const; void set_kval_run(::google::protobuf::uint32 value); // uint32 KVAL_ACC = 15; void clear_kval_acc(); static const int kKVALACCFieldNumber = 15; ::google::protobuf::uint32 kval_acc() const; void set_kval_acc(::google::protobuf::uint32 value); // uint32 KVAL_DEC = 16; void clear_kval_dec(); static const int kKVALDECFieldNumber = 16; ::google::protobuf::uint32 kval_dec() const; void set_kval_dec(::google::protobuf::uint32 value); // uint32 ST_SLP = 17; void clear_st_slp(); static const int kSTSLPFieldNumber = 17; ::google::protobuf::uint32 st_slp() const; void set_st_slp(::google::protobuf::uint32 value); // uint32 INT_SPD = 18; void clear_int_spd(); static const int kINTSPDFieldNumber = 18; ::google::protobuf::uint32 int_spd() const; void set_int_spd(::google::protobuf::uint32 value); // uint32 FN_SLP_ACC = 19; void clear_fn_slp_acc(); static const int kFNSLPACCFieldNumber = 19; ::google::protobuf::uint32 fn_slp_acc() const; void set_fn_slp_acc(::google::protobuf::uint32 value); // uint32 FN_SLP_DEC = 20; void clear_fn_slp_dec(); static const int kFNSLPDECFieldNumber = 20; ::google::protobuf::uint32 fn_slp_dec() const; void set_fn_slp_dec(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:Tango.PMR.Stubs.StubMotorInitRequest) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::uint32 motor_id_; ::google::protobuf::uint32 micro_steps_; ::google::protobuf::uint32 acc_; ::google::protobuf::uint32 dec_; bool set_micro_steps_; bool set_acc_; bool set_dec_; bool set_max_speed_; ::google::protobuf::uint32 max_speed_; ::google::protobuf::uint32 min_speed_lspd_opt_; bool set_min_speed_lspd_opt_; ::google::protobuf::uint32 config_; ::google::protobuf::uint32 kval_hold_; ::google::protobuf::uint32 kval_run_; ::google::protobuf::uint32 kval_acc_; ::google::protobuf::uint32 kval_dec_; ::google::protobuf::uint32 st_slp_; ::google::protobuf::uint32 int_spd_; ::google::protobuf::uint32 fn_slp_acc_; ::google::protobuf::uint32 fn_slp_dec_; mutable int _cached_size_; friend struct protobuf_StubMotorInitRequest_2eproto::TableStruct; }; // =================================================================== // =================================================================== #if !PROTOBUF_INLINE_NOT_IN_HEADERS #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // StubMotorInitRequest // uint32 Motor_ID = 1; inline void StubMotorInitRequest::clear_motor_id() { motor_id_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::motor_id() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Motor_ID) return motor_id_; } inline void StubMotorInitRequest::set_motor_id(::google::protobuf::uint32 value) { motor_id_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Motor_ID) } // uint32 Micro_Steps = 2; inline void StubMotorInitRequest::clear_micro_steps() { micro_steps_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::micro_steps() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Micro_Steps) return micro_steps_; } inline void StubMotorInitRequest::set_micro_steps(::google::protobuf::uint32 value) { micro_steps_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Micro_Steps) } // bool Set_Micro_Steps = 3; inline void StubMotorInitRequest::clear_set_micro_steps() { set_micro_steps_ = false; } inline bool StubMotorInitRequest::set_micro_steps() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Set_Micro_Steps) return set_micro_steps_; } inline void StubMotorInitRequest::set_set_micro_steps(bool value) { set_micro_steps_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Set_Micro_Steps) } // uint32 ACC = 4; inline void StubMotorInitRequest::clear_acc() { acc_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::acc() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.ACC) return acc_; } inline void StubMotorInitRequest::set_acc(::google::protobuf::uint32 value) { acc_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.ACC) } // bool Set_ACC = 5; inline void StubMotorInitRequest::clear_set_acc() { set_acc_ = false; } inline bool StubMotorInitRequest::set_acc() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Set_ACC) return set_acc_; } inline void StubMotorInitRequest::set_set_acc(bool value) { set_acc_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Set_ACC) } // uint32 DEC = 6; inline void StubMotorInitRequest::clear_dec() { dec_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::dec() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.DEC) return dec_; } inline void StubMotorInitRequest::set_dec(::google::protobuf::uint32 value) { dec_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.DEC) } // bool Set_Dec = 7; inline void StubMotorInitRequest::clear_set_dec() { set_dec_ = false; } inline bool StubMotorInitRequest::set_dec() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Set_Dec) return set_dec_; } inline void StubMotorInitRequest::set_set_dec(bool value) { set_dec_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Set_Dec) } // uint32 Max_Speed = 8; inline void StubMotorInitRequest::clear_max_speed() { max_speed_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::max_speed() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Max_Speed) return max_speed_; } inline void StubMotorInitRequest::set_max_speed(::google::protobuf::uint32 value) { max_speed_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Max_Speed) } // bool Set_Max_Speed = 9; inline void StubMotorInitRequest::clear_set_max_speed() { set_max_speed_ = false; } inline bool StubMotorInitRequest::set_max_speed() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Set_Max_Speed) return set_max_speed_; } inline void StubMotorInitRequest::set_set_max_speed(bool value) { set_max_speed_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Set_Max_Speed) } // uint32 Min_Speed_LSPD_OPT = 10; inline void StubMotorInitRequest::clear_min_speed_lspd_opt() { min_speed_lspd_opt_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::min_speed_lspd_opt() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Min_Speed_LSPD_OPT) return min_speed_lspd_opt_; } inline void StubMotorInitRequest::set_min_speed_lspd_opt(::google::protobuf::uint32 value) { min_speed_lspd_opt_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Min_Speed_LSPD_OPT) } // bool Set_Min_Speed_LSPD_OPT = 11; inline void StubMotorInitRequest::clear_set_min_speed_lspd_opt() { set_min_speed_lspd_opt_ = false; } inline bool StubMotorInitRequest::set_min_speed_lspd_opt() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Set_Min_Speed_LSPD_OPT) return set_min_speed_lspd_opt_; } inline void StubMotorInitRequest::set_set_min_speed_lspd_opt(bool value) { set_min_speed_lspd_opt_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Set_Min_Speed_LSPD_OPT) } // uint32 Config = 12; inline void StubMotorInitRequest::clear_config() { config_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::config() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.Config) return config_; } inline void StubMotorInitRequest::set_config(::google::protobuf::uint32 value) { config_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.Config) } // uint32 KVAL_HOLD = 13; inline void StubMotorInitRequest::clear_kval_hold() { kval_hold_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::kval_hold() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.KVAL_HOLD) return kval_hold_; } inline void StubMotorInitRequest::set_kval_hold(::google::protobuf::uint32 value) { kval_hold_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.KVAL_HOLD) } // uint32 KVAL_RUN = 14; inline void StubMotorInitRequest::clear_kval_run() { kval_run_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::kval_run() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.KVAL_RUN) return kval_run_; } inline void StubMotorInitRequest::set_kval_run(::google::protobuf::uint32 value) { kval_run_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.KVAL_RUN) } // uint32 KVAL_ACC = 15; inline void StubMotorInitRequest::clear_kval_acc() { kval_acc_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::kval_acc() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.KVAL_ACC) return kval_acc_; } inline void StubMotorInitRequest::set_kval_acc(::google::protobuf::uint32 value) { kval_acc_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.KVAL_ACC) } // uint32 KVAL_DEC = 16; inline void StubMotorInitRequest::clear_kval_dec() { kval_dec_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::kval_dec() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.KVAL_DEC) return kval_dec_; } inline void StubMotorInitRequest::set_kval_dec(::google::protobuf::uint32 value) { kval_dec_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.KVAL_DEC) } // uint32 ST_SLP = 17; inline void StubMotorInitRequest::clear_st_slp() { st_slp_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::st_slp() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.ST_SLP) return st_slp_; } inline void StubMotorInitRequest::set_st_slp(::google::protobuf::uint32 value) { st_slp_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.ST_SLP) } // uint32 INT_SPD = 18; inline void StubMotorInitRequest::clear_int_spd() { int_spd_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::int_spd() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.INT_SPD) return int_spd_; } inline void StubMotorInitRequest::set_int_spd(::google::protobuf::uint32 value) { int_spd_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.INT_SPD) } // uint32 FN_SLP_ACC = 19; inline void StubMotorInitRequest::clear_fn_slp_acc() { fn_slp_acc_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::fn_slp_acc() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.FN_SLP_ACC) return fn_slp_acc_; } inline void StubMotorInitRequest::set_fn_slp_acc(::google::protobuf::uint32 value) { fn_slp_acc_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.FN_SLP_ACC) } // uint32 FN_SLP_DEC = 20; inline void StubMotorInitRequest::clear_fn_slp_dec() { fn_slp_dec_ = 0u; } inline ::google::protobuf::uint32 StubMotorInitRequest::fn_slp_dec() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorInitRequest.FN_SLP_DEC) return fn_slp_dec_; } inline void StubMotorInitRequest::set_fn_slp_dec(::google::protobuf::uint32 value) { fn_slp_dec_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorInitRequest.FN_SLP_DEC) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace Stubs } // namespace PMR } // namespace Tango // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_StubMotorInitRequest_2eproto__INCLUDED