diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-12-20 19:11:54 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-12-20 19:11:54 +0200 |
| commit | e96f6b832fb74c548bdcab997eafa2d49f7ea08c (patch) | |
| tree | a230ab6f1028715c3881e0833e3d804d81fbf4df /Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubMotorEncoderRequest.pb.h | |
| parent | 9bc902b25b489e4fca4496e8cccfac1b3d722ce0 (diff) | |
| download | Tango-e96f6b832fb74c548bdcab997eafa2d49f7ea08c.tar.gz Tango-e96f6b832fb74c548bdcab997eafa2d49f7ea08c.zip | |
Successfully compiled Tango.ColorLib arm/x86 project.
Diffstat (limited to 'Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubMotorEncoderRequest.pb.h')
| -rw-r--r-- | Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubMotorEncoderRequest.pb.h | 262 |
1 files changed, 262 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubMotorEncoderRequest.pb.h b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubMotorEncoderRequest.pb.h new file mode 100644 index 000000000..7d6364139 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubMotorEncoderRequest.pb.h @@ -0,0 +1,262 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StubMotorEncoderRequest.proto + +#ifndef PROTOBUF_StubMotorEncoderRequest_2eproto__INCLUDED +#define PROTOBUF_StubMotorEncoderRequest_2eproto__INCLUDED + +#include <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/io/coded_stream.h> +#include <google/protobuf/arena.h> +#include <google/protobuf/arenastring.h> +#include <google/protobuf/generated_message_table_driven.h> +#include <google/protobuf/generated_message_util.h> +#include <google/protobuf/metadata.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> // IWYU pragma: export +#include <google/protobuf/extension_set.h> // IWYU pragma: export +#include <google/protobuf/unknown_field_set.h> +// @@protoc_insertion_point(includes) +namespace Tango { +namespace PMR { +namespace Stubs { +class StubMotorEncoderRequest; +class StubMotorEncoderRequestDefaultTypeInternal; +extern StubMotorEncoderRequestDefaultTypeInternal _StubMotorEncoderRequest_default_instance_; +} // namespace Stubs +} // namespace PMR +} // namespace Tango + +namespace Tango { +namespace PMR { +namespace Stubs { + +namespace protobuf_StubMotorEncoderRequest_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_StubMotorEncoderRequest_2eproto + +// =================================================================== + +class StubMotorEncoderRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Tango.PMR.Stubs.StubMotorEncoderRequest) */ { + public: + StubMotorEncoderRequest(); + virtual ~StubMotorEncoderRequest(); + + StubMotorEncoderRequest(const StubMotorEncoderRequest& from); + + inline StubMotorEncoderRequest& operator=(const StubMotorEncoderRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + StubMotorEncoderRequest(StubMotorEncoderRequest&& from) noexcept + : StubMotorEncoderRequest() { + *this = ::std::move(from); + } + + inline StubMotorEncoderRequest& operator=(StubMotorEncoderRequest&& 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 StubMotorEncoderRequest& default_instance(); + + static inline const StubMotorEncoderRequest* internal_default_instance() { + return reinterpret_cast<const StubMotorEncoderRequest*>( + &_StubMotorEncoderRequest_default_instance_); + } + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = + 0; + + void Swap(StubMotorEncoderRequest* other); + friend void swap(StubMotorEncoderRequest& a, StubMotorEncoderRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline StubMotorEncoderRequest* New() const PROTOBUF_FINAL { return New(NULL); } + + StubMotorEncoderRequest* 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 StubMotorEncoderRequest& from); + void MergeFrom(const StubMotorEncoderRequest& 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(StubMotorEncoderRequest* 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 MotorId = 1; + void clear_motorid(); + static const int kMotorIdFieldNumber = 1; + ::google::protobuf::uint32 motorid() const; + void set_motorid(::google::protobuf::uint32 value); + + // bool ReadEncSpeed = 2; + void clear_readencspeed(); + static const int kReadEncSpeedFieldNumber = 2; + bool readencspeed() const; + void set_readencspeed(bool value); + + // bool ReadDirection = 3; + void clear_readdirection(); + static const int kReadDirectionFieldNumber = 3; + bool readdirection() const; + void set_readdirection(bool value); + + // bool Motion_Control = 4; + void clear_motion_control(); + static const int kMotionControlFieldNumber = 4; + bool motion_control() const; + void set_motion_control(bool value); + + // @@protoc_insertion_point(class_scope:Tango.PMR.Stubs.StubMotorEncoderRequest) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::uint32 motorid_; + bool readencspeed_; + bool readdirection_; + bool motion_control_; + mutable int _cached_size_; + friend struct protobuf_StubMotorEncoderRequest_2eproto::TableStruct; +}; +// =================================================================== + + +// =================================================================== + +#if !PROTOBUF_INLINE_NOT_IN_HEADERS +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// StubMotorEncoderRequest + +// uint32 MotorId = 1; +inline void StubMotorEncoderRequest::clear_motorid() { + motorid_ = 0u; +} +inline ::google::protobuf::uint32 StubMotorEncoderRequest::motorid() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorEncoderRequest.MotorId) + return motorid_; +} +inline void StubMotorEncoderRequest::set_motorid(::google::protobuf::uint32 value) { + + motorid_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorEncoderRequest.MotorId) +} + +// bool ReadEncSpeed = 2; +inline void StubMotorEncoderRequest::clear_readencspeed() { + readencspeed_ = false; +} +inline bool StubMotorEncoderRequest::readencspeed() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorEncoderRequest.ReadEncSpeed) + return readencspeed_; +} +inline void StubMotorEncoderRequest::set_readencspeed(bool value) { + + readencspeed_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorEncoderRequest.ReadEncSpeed) +} + +// bool ReadDirection = 3; +inline void StubMotorEncoderRequest::clear_readdirection() { + readdirection_ = false; +} +inline bool StubMotorEncoderRequest::readdirection() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorEncoderRequest.ReadDirection) + return readdirection_; +} +inline void StubMotorEncoderRequest::set_readdirection(bool value) { + + readdirection_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorEncoderRequest.ReadDirection) +} + +// bool Motion_Control = 4; +inline void StubMotorEncoderRequest::clear_motion_control() { + motion_control_ = false; +} +inline bool StubMotorEncoderRequest::motion_control() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubMotorEncoderRequest.Motion_Control) + return motion_control_; +} +inline void StubMotorEncoderRequest::set_motion_control(bool value) { + + motion_control_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubMotorEncoderRequest.Motion_Control) +} + +#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_StubMotorEncoderRequest_2eproto__INCLUDED |
