|
|
|
|
|
|
|
|
|
|
|
#ifndef PROTOBUF_GripperCyclicMessage_2eproto__INCLUDED
|
|
|
#define PROTOBUF_GripperCyclicMessage_2eproto__INCLUDED
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
#include <google/protobuf/stubs/common.h>
|
|
|
|
|
|
#if GOOGLE_PROTOBUF_VERSION < 3005000
|
|
|
#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 3005001 < 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>
|
|
|
#include <google/protobuf/extension_set.h>
|
|
|
#include <google/protobuf/unknown_field_set.h>
|
|
|
#include "Common.pb.h"
|
|
|
|
|
|
|
|
|
namespace protobuf_GripperCyclicMessage_2eproto {
|
|
|
|
|
|
struct TableStruct {
|
|
|
static const ::google::protobuf::internal::ParseTableField entries[];
|
|
|
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
|
|
|
static const ::google::protobuf::internal::ParseTable schema[7];
|
|
|
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
|
|
|
static const ::google::protobuf::internal::SerializationTable serialization_table[];
|
|
|
static const ::google::protobuf::uint32 offsets[];
|
|
|
};
|
|
|
void AddDescriptors();
|
|
|
void InitDefaultsMessageIdImpl();
|
|
|
void InitDefaultsMessageId();
|
|
|
void InitDefaultsMotorCommandImpl();
|
|
|
void InitDefaultsMotorCommand();
|
|
|
void InitDefaultsCommandImpl();
|
|
|
void InitDefaultsCommand();
|
|
|
void InitDefaultsMotorFeedbackImpl();
|
|
|
void InitDefaultsMotorFeedback();
|
|
|
void InitDefaultsFeedbackImpl();
|
|
|
void InitDefaultsFeedback();
|
|
|
void InitDefaultsCustomDataUnitImpl();
|
|
|
void InitDefaultsCustomDataUnit();
|
|
|
void InitDefaultsCustomDataImpl();
|
|
|
void InitDefaultsCustomData();
|
|
|
inline void InitDefaults() {
|
|
|
InitDefaultsMessageId();
|
|
|
InitDefaultsMotorCommand();
|
|
|
InitDefaultsCommand();
|
|
|
InitDefaultsMotorFeedback();
|
|
|
InitDefaultsFeedback();
|
|
|
InitDefaultsCustomDataUnit();
|
|
|
InitDefaultsCustomData();
|
|
|
}
|
|
|
}
|
|
|
namespace Kinova {
|
|
|
namespace Api {
|
|
|
namespace GripperCyclic {
|
|
|
class Command;
|
|
|
class CommandDefaultTypeInternal;
|
|
|
extern CommandDefaultTypeInternal _Command_default_instance_;
|
|
|
class CustomData;
|
|
|
class CustomDataDefaultTypeInternal;
|
|
|
extern CustomDataDefaultTypeInternal _CustomData_default_instance_;
|
|
|
class CustomDataUnit;
|
|
|
class CustomDataUnitDefaultTypeInternal;
|
|
|
extern CustomDataUnitDefaultTypeInternal _CustomDataUnit_default_instance_;
|
|
|
class Feedback;
|
|
|
class FeedbackDefaultTypeInternal;
|
|
|
extern FeedbackDefaultTypeInternal _Feedback_default_instance_;
|
|
|
class MessageId;
|
|
|
class MessageIdDefaultTypeInternal;
|
|
|
extern MessageIdDefaultTypeInternal _MessageId_default_instance_;
|
|
|
class MotorCommand;
|
|
|
class MotorCommandDefaultTypeInternal;
|
|
|
extern MotorCommandDefaultTypeInternal _MotorCommand_default_instance_;
|
|
|
class MotorFeedback;
|
|
|
class MotorFeedbackDefaultTypeInternal;
|
|
|
extern MotorFeedbackDefaultTypeInternal _MotorFeedback_default_instance_;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace Kinova {
|
|
|
namespace Api {
|
|
|
namespace GripperCyclic {
|
|
|
|
|
|
|
|
|
|
|
|
class MessageId : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
MessageId();
|
|
|
virtual ~MessageId();
|
|
|
|
|
|
MessageId(const MessageId& from);
|
|
|
|
|
|
inline MessageId& operator=(const MessageId& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
MessageId(MessageId&& from) noexcept
|
|
|
: MessageId() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline MessageId& operator=(MessageId&& 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 MessageId& default_instance();
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const MessageId* internal_default_instance() {
|
|
|
return reinterpret_cast<const MessageId*>(
|
|
|
&_MessageId_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
0;
|
|
|
|
|
|
void Swap(MessageId* other);
|
|
|
friend void swap(MessageId& a, MessageId& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline MessageId* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
MessageId* 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 MessageId& from);
|
|
|
void MergeFrom(const MessageId& 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(MessageId* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear_identifier();
|
|
|
static const int kIdentifierFieldNumber = 1;
|
|
|
::google::protobuf::uint32 identifier() const;
|
|
|
void set_identifier(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::uint32 identifier_;
|
|
|
mutable int _cached_size_;
|
|
|
friend struct ::protobuf_GripperCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_GripperCyclicMessage_2eproto::InitDefaultsMessageIdImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class MotorCommand : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
MotorCommand();
|
|
|
virtual ~MotorCommand();
|
|
|
|
|
|
MotorCommand(const MotorCommand& from);
|
|
|
|
|
|
inline MotorCommand& operator=(const MotorCommand& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
MotorCommand(MotorCommand&& from) noexcept
|
|
|
: MotorCommand() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline MotorCommand& operator=(MotorCommand&& 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 MotorCommand& default_instance();
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const MotorCommand* internal_default_instance() {
|
|
|
return reinterpret_cast<const MotorCommand*>(
|
|
|
&_MotorCommand_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
1;
|
|
|
|
|
|
void Swap(MotorCommand* other);
|
|
|
friend void swap(MotorCommand& a, MotorCommand& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline MotorCommand* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
MotorCommand* 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 MotorCommand& from);
|
|
|
void MergeFrom(const MotorCommand& 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(MotorCommand* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear_motor_id();
|
|
|
static const int kMotorIdFieldNumber = 1;
|
|
|
::google::protobuf::uint32 motor_id() const;
|
|
|
void set_motor_id(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_position();
|
|
|
static const int kPositionFieldNumber = 3;
|
|
|
float position() const;
|
|
|
void set_position(float value);
|
|
|
|
|
|
|
|
|
void clear_velocity();
|
|
|
static const int kVelocityFieldNumber = 4;
|
|
|
float velocity() const;
|
|
|
void set_velocity(float value);
|
|
|
|
|
|
|
|
|
void clear_force();
|
|
|
static const int kForceFieldNumber = 5;
|
|
|
float force() const;
|
|
|
void set_force(float value);
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::uint32 motor_id_;
|
|
|
float position_;
|
|
|
float velocity_;
|
|
|
float force_;
|
|
|
mutable int _cached_size_;
|
|
|
friend struct ::protobuf_GripperCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_GripperCyclicMessage_2eproto::InitDefaultsMotorCommandImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class Command : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
Command();
|
|
|
virtual ~Command();
|
|
|
|
|
|
Command(const Command& from);
|
|
|
|
|
|
inline Command& operator=(const Command& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
Command(Command&& from) noexcept
|
|
|
: Command() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline Command& operator=(Command&& 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 Command& default_instance();
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const Command* internal_default_instance() {
|
|
|
return reinterpret_cast<const Command*>(
|
|
|
&_Command_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
2;
|
|
|
|
|
|
void Swap(Command* other);
|
|
|
friend void swap(Command& a, Command& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline Command* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
Command* 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 Command& from);
|
|
|
void MergeFrom(const Command& 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(Command* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int motor_cmd_size() const;
|
|
|
void clear_motor_cmd();
|
|
|
static const int kMotorCmdFieldNumber = 3;
|
|
|
const ::Kinova::Api::GripperCyclic::MotorCommand& motor_cmd(int index) const;
|
|
|
::Kinova::Api::GripperCyclic::MotorCommand* mutable_motor_cmd(int index);
|
|
|
::Kinova::Api::GripperCyclic::MotorCommand* add_motor_cmd();
|
|
|
::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorCommand >*
|
|
|
mutable_motor_cmd();
|
|
|
const ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorCommand >&
|
|
|
motor_cmd() const;
|
|
|
|
|
|
|
|
|
bool has_command_id() const;
|
|
|
void clear_command_id();
|
|
|
static const int kCommandIdFieldNumber = 1;
|
|
|
const ::Kinova::Api::GripperCyclic::MessageId& command_id() const;
|
|
|
::Kinova::Api::GripperCyclic::MessageId* release_command_id();
|
|
|
::Kinova::Api::GripperCyclic::MessageId* mutable_command_id();
|
|
|
void set_allocated_command_id(::Kinova::Api::GripperCyclic::MessageId* command_id);
|
|
|
|
|
|
|
|
|
void clear_flags();
|
|
|
static const int kFlagsFieldNumber = 2;
|
|
|
::google::protobuf::uint32 flags() const;
|
|
|
void set_flags(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorCommand > motor_cmd_;
|
|
|
::Kinova::Api::GripperCyclic::MessageId* command_id_;
|
|
|
::google::protobuf::uint32 flags_;
|
|
|
mutable int _cached_size_;
|
|
|
friend struct ::protobuf_GripperCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_GripperCyclicMessage_2eproto::InitDefaultsCommandImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class MotorFeedback : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
MotorFeedback();
|
|
|
virtual ~MotorFeedback();
|
|
|
|
|
|
MotorFeedback(const MotorFeedback& from);
|
|
|
|
|
|
inline MotorFeedback& operator=(const MotorFeedback& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
MotorFeedback(MotorFeedback&& from) noexcept
|
|
|
: MotorFeedback() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline MotorFeedback& operator=(MotorFeedback&& 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 MotorFeedback& default_instance();
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const MotorFeedback* internal_default_instance() {
|
|
|
return reinterpret_cast<const MotorFeedback*>(
|
|
|
&_MotorFeedback_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
3;
|
|
|
|
|
|
void Swap(MotorFeedback* other);
|
|
|
friend void swap(MotorFeedback& a, MotorFeedback& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline MotorFeedback* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
MotorFeedback* 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 MotorFeedback& from);
|
|
|
void MergeFrom(const MotorFeedback& 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(MotorFeedback* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear_motor_id();
|
|
|
static const int kMotorIdFieldNumber = 1;
|
|
|
::google::protobuf::uint32 motor_id() const;
|
|
|
void set_motor_id(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_position();
|
|
|
static const int kPositionFieldNumber = 4;
|
|
|
float position() const;
|
|
|
void set_position(float value);
|
|
|
|
|
|
|
|
|
void clear_velocity();
|
|
|
static const int kVelocityFieldNumber = 5;
|
|
|
float velocity() const;
|
|
|
void set_velocity(float value);
|
|
|
|
|
|
|
|
|
void clear_current_motor();
|
|
|
static const int kCurrentMotorFieldNumber = 7;
|
|
|
float current_motor() const;
|
|
|
void set_current_motor(float value);
|
|
|
|
|
|
|
|
|
void clear_voltage();
|
|
|
static const int kVoltageFieldNumber = 8;
|
|
|
float voltage() const;
|
|
|
void set_voltage(float value);
|
|
|
|
|
|
|
|
|
void clear_temperature_motor();
|
|
|
static const int kTemperatureMotorFieldNumber = 10;
|
|
|
float temperature_motor() const;
|
|
|
void set_temperature_motor(float value);
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::uint32 motor_id_;
|
|
|
float position_;
|
|
|
float velocity_;
|
|
|
float current_motor_;
|
|
|
float voltage_;
|
|
|
float temperature_motor_;
|
|
|
mutable int _cached_size_;
|
|
|
friend struct ::protobuf_GripperCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_GripperCyclicMessage_2eproto::InitDefaultsMotorFeedbackImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class Feedback : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
Feedback();
|
|
|
virtual ~Feedback();
|
|
|
|
|
|
Feedback(const Feedback& from);
|
|
|
|
|
|
inline Feedback& operator=(const Feedback& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
Feedback(Feedback&& from) noexcept
|
|
|
: Feedback() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline Feedback& operator=(Feedback&& 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 Feedback& default_instance();
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const Feedback* internal_default_instance() {
|
|
|
return reinterpret_cast<const Feedback*>(
|
|
|
&_Feedback_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
4;
|
|
|
|
|
|
void Swap(Feedback* other);
|
|
|
friend void swap(Feedback& a, Feedback& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline Feedback* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
Feedback* 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 Feedback& from);
|
|
|
void MergeFrom(const Feedback& 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(Feedback* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int motor_size() const;
|
|
|
void clear_motor();
|
|
|
static const int kMotorFieldNumber = 7;
|
|
|
const ::Kinova::Api::GripperCyclic::MotorFeedback& motor(int index) const;
|
|
|
::Kinova::Api::GripperCyclic::MotorFeedback* mutable_motor(int index);
|
|
|
::Kinova::Api::GripperCyclic::MotorFeedback* add_motor();
|
|
|
::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorFeedback >*
|
|
|
mutable_motor();
|
|
|
const ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorFeedback >&
|
|
|
motor() const;
|
|
|
|
|
|
|
|
|
bool has_feedback_id() const;
|
|
|
void clear_feedback_id();
|
|
|
static const int kFeedbackIdFieldNumber = 1;
|
|
|
const ::Kinova::Api::GripperCyclic::MessageId& feedback_id() const;
|
|
|
::Kinova::Api::GripperCyclic::MessageId* release_feedback_id();
|
|
|
::Kinova::Api::GripperCyclic::MessageId* mutable_feedback_id();
|
|
|
void set_allocated_feedback_id(::Kinova::Api::GripperCyclic::MessageId* feedback_id);
|
|
|
|
|
|
|
|
|
void clear_status_flags();
|
|
|
static const int kStatusFlagsFieldNumber = 2;
|
|
|
::google::protobuf::uint32 status_flags() const;
|
|
|
void set_status_flags(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_fault_bank_a();
|
|
|
static const int kFaultBankAFieldNumber = 3;
|
|
|
::google::protobuf::uint32 fault_bank_a() const;
|
|
|
void set_fault_bank_a(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_fault_bank_b();
|
|
|
static const int kFaultBankBFieldNumber = 4;
|
|
|
::google::protobuf::uint32 fault_bank_b() const;
|
|
|
void set_fault_bank_b(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_warning_bank_a();
|
|
|
static const int kWarningBankAFieldNumber = 5;
|
|
|
::google::protobuf::uint32 warning_bank_a() const;
|
|
|
void set_warning_bank_a(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_warning_bank_b();
|
|
|
static const int kWarningBankBFieldNumber = 6;
|
|
|
::google::protobuf::uint32 warning_bank_b() const;
|
|
|
void set_warning_bank_b(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorFeedback > motor_;
|
|
|
::Kinova::Api::GripperCyclic::MessageId* feedback_id_;
|
|
|
::google::protobuf::uint32 status_flags_;
|
|
|
::google::protobuf::uint32 fault_bank_a_;
|
|
|
::google::protobuf::uint32 fault_bank_b_;
|
|
|
::google::protobuf::uint32 warning_bank_a_;
|
|
|
::google::protobuf::uint32 warning_bank_b_;
|
|
|
mutable int _cached_size_;
|
|
|
friend struct ::protobuf_GripperCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_GripperCyclicMessage_2eproto::InitDefaultsFeedbackImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class CustomDataUnit : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
CustomDataUnit();
|
|
|
virtual ~CustomDataUnit();
|
|
|
|
|
|
CustomDataUnit(const CustomDataUnit& from);
|
|
|
|
|
|
inline CustomDataUnit& operator=(const CustomDataUnit& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
CustomDataUnit(CustomDataUnit&& from) noexcept
|
|
|
: CustomDataUnit() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline CustomDataUnit& operator=(CustomDataUnit&& 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 CustomDataUnit& default_instance();
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const CustomDataUnit* internal_default_instance() {
|
|
|
return reinterpret_cast<const CustomDataUnit*>(
|
|
|
&_CustomDataUnit_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
5;
|
|
|
|
|
|
void Swap(CustomDataUnit* other);
|
|
|
friend void swap(CustomDataUnit& a, CustomDataUnit& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline CustomDataUnit* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
CustomDataUnit* 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 CustomDataUnit& from);
|
|
|
void MergeFrom(const CustomDataUnit& 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(CustomDataUnit* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear_custom_data_0();
|
|
|
static const int kCustomData0FieldNumber = 1;
|
|
|
::google::protobuf::uint32 custom_data_0() const;
|
|
|
void set_custom_data_0(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_1();
|
|
|
static const int kCustomData1FieldNumber = 2;
|
|
|
::google::protobuf::uint32 custom_data_1() const;
|
|
|
void set_custom_data_1(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_2();
|
|
|
static const int kCustomData2FieldNumber = 3;
|
|
|
::google::protobuf::uint32 custom_data_2() const;
|
|
|
void set_custom_data_2(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_3();
|
|
|
static const int kCustomData3FieldNumber = 4;
|
|
|
::google::protobuf::uint32 custom_data_3() const;
|
|
|
void set_custom_data_3(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_4();
|
|
|
static const int kCustomData4FieldNumber = 5;
|
|
|
::google::protobuf::uint32 custom_data_4() const;
|
|
|
void set_custom_data_4(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_5();
|
|
|
static const int kCustomData5FieldNumber = 6;
|
|
|
::google::protobuf::uint32 custom_data_5() const;
|
|
|
void set_custom_data_5(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_6();
|
|
|
static const int kCustomData6FieldNumber = 7;
|
|
|
::google::protobuf::uint32 custom_data_6() const;
|
|
|
void set_custom_data_6(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_7();
|
|
|
static const int kCustomData7FieldNumber = 8;
|
|
|
::google::protobuf::uint32 custom_data_7() const;
|
|
|
void set_custom_data_7(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_8();
|
|
|
static const int kCustomData8FieldNumber = 9;
|
|
|
::google::protobuf::uint32 custom_data_8() const;
|
|
|
void set_custom_data_8(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_9();
|
|
|
static const int kCustomData9FieldNumber = 10;
|
|
|
::google::protobuf::uint32 custom_data_9() const;
|
|
|
void set_custom_data_9(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_10();
|
|
|
static const int kCustomData10FieldNumber = 11;
|
|
|
::google::protobuf::uint32 custom_data_10() const;
|
|
|
void set_custom_data_10(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_11();
|
|
|
static const int kCustomData11FieldNumber = 12;
|
|
|
::google::protobuf::uint32 custom_data_11() const;
|
|
|
void set_custom_data_11(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_12();
|
|
|
static const int kCustomData12FieldNumber = 13;
|
|
|
::google::protobuf::uint32 custom_data_12() const;
|
|
|
void set_custom_data_12(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_13();
|
|
|
static const int kCustomData13FieldNumber = 14;
|
|
|
::google::protobuf::uint32 custom_data_13() const;
|
|
|
void set_custom_data_13(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_14();
|
|
|
static const int kCustomData14FieldNumber = 15;
|
|
|
::google::protobuf::uint32 custom_data_14() const;
|
|
|
void set_custom_data_14(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_15();
|
|
|
static const int kCustomData15FieldNumber = 16;
|
|
|
::google::protobuf::uint32 custom_data_15() const;
|
|
|
void set_custom_data_15(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::uint32 custom_data_0_;
|
|
|
::google::protobuf::uint32 custom_data_1_;
|
|
|
::google::protobuf::uint32 custom_data_2_;
|
|
|
::google::protobuf::uint32 custom_data_3_;
|
|
|
::google::protobuf::uint32 custom_data_4_;
|
|
|
::google::protobuf::uint32 custom_data_5_;
|
|
|
::google::protobuf::uint32 custom_data_6_;
|
|
|
::google::protobuf::uint32 custom_data_7_;
|
|
|
::google::protobuf::uint32 custom_data_8_;
|
|
|
::google::protobuf::uint32 custom_data_9_;
|
|
|
::google::protobuf::uint32 custom_data_10_;
|
|
|
::google::protobuf::uint32 custom_data_11_;
|
|
|
::google::protobuf::uint32 custom_data_12_;
|
|
|
::google::protobuf::uint32 custom_data_13_;
|
|
|
::google::protobuf::uint32 custom_data_14_;
|
|
|
::google::protobuf::uint32 custom_data_15_;
|
|
|
mutable int _cached_size_;
|
|
|
friend struct ::protobuf_GripperCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_GripperCyclicMessage_2eproto::InitDefaultsCustomDataUnitImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class CustomData : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
CustomData();
|
|
|
virtual ~CustomData();
|
|
|
|
|
|
CustomData(const CustomData& from);
|
|
|
|
|
|
inline CustomData& operator=(const CustomData& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
CustomData(CustomData&& from) noexcept
|
|
|
: CustomData() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline CustomData& operator=(CustomData&& 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 CustomData& default_instance();
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const CustomData* internal_default_instance() {
|
|
|
return reinterpret_cast<const CustomData*>(
|
|
|
&_CustomData_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
6;
|
|
|
|
|
|
void Swap(CustomData* other);
|
|
|
friend void swap(CustomData& a, CustomData& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline CustomData* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
CustomData* 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 CustomData& from);
|
|
|
void MergeFrom(const CustomData& 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(CustomData* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int motor_custom_data_size() const;
|
|
|
void clear_motor_custom_data();
|
|
|
static const int kMotorCustomDataFieldNumber = 3;
|
|
|
const ::Kinova::Api::GripperCyclic::CustomDataUnit& motor_custom_data(int index) const;
|
|
|
::Kinova::Api::GripperCyclic::CustomDataUnit* mutable_motor_custom_data(int index);
|
|
|
::Kinova::Api::GripperCyclic::CustomDataUnit* add_motor_custom_data();
|
|
|
::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::CustomDataUnit >*
|
|
|
mutable_motor_custom_data();
|
|
|
const ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::CustomDataUnit >&
|
|
|
motor_custom_data() const;
|
|
|
|
|
|
|
|
|
bool has_custom_data_id() const;
|
|
|
void clear_custom_data_id();
|
|
|
static const int kCustomDataIdFieldNumber = 1;
|
|
|
const ::Kinova::Api::GripperCyclic::MessageId& custom_data_id() const;
|
|
|
::Kinova::Api::GripperCyclic::MessageId* release_custom_data_id();
|
|
|
::Kinova::Api::GripperCyclic::MessageId* mutable_custom_data_id();
|
|
|
void set_allocated_custom_data_id(::Kinova::Api::GripperCyclic::MessageId* custom_data_id);
|
|
|
|
|
|
|
|
|
bool has_gripper_custom_data() const;
|
|
|
void clear_gripper_custom_data();
|
|
|
static const int kGripperCustomDataFieldNumber = 2;
|
|
|
const ::Kinova::Api::GripperCyclic::CustomDataUnit& gripper_custom_data() const;
|
|
|
::Kinova::Api::GripperCyclic::CustomDataUnit* release_gripper_custom_data();
|
|
|
::Kinova::Api::GripperCyclic::CustomDataUnit* mutable_gripper_custom_data();
|
|
|
void set_allocated_gripper_custom_data(::Kinova::Api::GripperCyclic::CustomDataUnit* gripper_custom_data);
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::CustomDataUnit > motor_custom_data_;
|
|
|
::Kinova::Api::GripperCyclic::MessageId* custom_data_id_;
|
|
|
::Kinova::Api::GripperCyclic::CustomDataUnit* gripper_custom_data_;
|
|
|
mutable int _cached_size_;
|
|
|
friend struct ::protobuf_GripperCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_GripperCyclicMessage_2eproto::InitDefaultsCustomDataImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
#pragma GCC diagnostic push
|
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
inline void MessageId::clear_identifier() {
|
|
|
identifier_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 MessageId::identifier() const {
|
|
|
|
|
|
return identifier_;
|
|
|
}
|
|
|
inline void MessageId::set_identifier(::google::protobuf::uint32 value) {
|
|
|
|
|
|
identifier_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline void MotorCommand::clear_motor_id() {
|
|
|
motor_id_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 MotorCommand::motor_id() const {
|
|
|
|
|
|
return motor_id_;
|
|
|
}
|
|
|
inline void MotorCommand::set_motor_id(::google::protobuf::uint32 value) {
|
|
|
|
|
|
motor_id_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void MotorCommand::clear_position() {
|
|
|
position_ = 0;
|
|
|
}
|
|
|
inline float MotorCommand::position() const {
|
|
|
|
|
|
return position_;
|
|
|
}
|
|
|
inline void MotorCommand::set_position(float value) {
|
|
|
|
|
|
position_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void MotorCommand::clear_velocity() {
|
|
|
velocity_ = 0;
|
|
|
}
|
|
|
inline float MotorCommand::velocity() const {
|
|
|
|
|
|
return velocity_;
|
|
|
}
|
|
|
inline void MotorCommand::set_velocity(float value) {
|
|
|
|
|
|
velocity_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void MotorCommand::clear_force() {
|
|
|
force_ = 0;
|
|
|
}
|
|
|
inline float MotorCommand::force() const {
|
|
|
|
|
|
return force_;
|
|
|
}
|
|
|
inline void MotorCommand::set_force(float value) {
|
|
|
|
|
|
force_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline bool Command::has_command_id() const {
|
|
|
return this != internal_default_instance() && command_id_ != NULL;
|
|
|
}
|
|
|
inline void Command::clear_command_id() {
|
|
|
if (GetArenaNoVirtual() == NULL && command_id_ != NULL) {
|
|
|
delete command_id_;
|
|
|
}
|
|
|
command_id_ = NULL;
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::MessageId& Command::command_id() const {
|
|
|
const ::Kinova::Api::GripperCyclic::MessageId* p = command_id_;
|
|
|
|
|
|
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::GripperCyclic::MessageId*>(
|
|
|
&::Kinova::Api::GripperCyclic::_MessageId_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MessageId* Command::release_command_id() {
|
|
|
|
|
|
|
|
|
::Kinova::Api::GripperCyclic::MessageId* temp = command_id_;
|
|
|
command_id_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MessageId* Command::mutable_command_id() {
|
|
|
|
|
|
if (command_id_ == NULL) {
|
|
|
command_id_ = new ::Kinova::Api::GripperCyclic::MessageId;
|
|
|
}
|
|
|
|
|
|
return command_id_;
|
|
|
}
|
|
|
inline void Command::set_allocated_command_id(::Kinova::Api::GripperCyclic::MessageId* command_id) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
delete command_id_;
|
|
|
}
|
|
|
if (command_id) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
command_id = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
message_arena, command_id, submessage_arena);
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
command_id_ = command_id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Command::clear_flags() {
|
|
|
flags_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Command::flags() const {
|
|
|
|
|
|
return flags_;
|
|
|
}
|
|
|
inline void Command::set_flags(::google::protobuf::uint32 value) {
|
|
|
|
|
|
flags_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline int Command::motor_cmd_size() const {
|
|
|
return motor_cmd_.size();
|
|
|
}
|
|
|
inline void Command::clear_motor_cmd() {
|
|
|
motor_cmd_.Clear();
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::MotorCommand& Command::motor_cmd(int index) const {
|
|
|
|
|
|
return motor_cmd_.Get(index);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MotorCommand* Command::mutable_motor_cmd(int index) {
|
|
|
|
|
|
return motor_cmd_.Mutable(index);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MotorCommand* Command::add_motor_cmd() {
|
|
|
|
|
|
return motor_cmd_.Add();
|
|
|
}
|
|
|
inline ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorCommand >*
|
|
|
Command::mutable_motor_cmd() {
|
|
|
|
|
|
return &motor_cmd_;
|
|
|
}
|
|
|
inline const ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorCommand >&
|
|
|
Command::motor_cmd() const {
|
|
|
|
|
|
return motor_cmd_;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline void MotorFeedback::clear_motor_id() {
|
|
|
motor_id_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 MotorFeedback::motor_id() const {
|
|
|
|
|
|
return motor_id_;
|
|
|
}
|
|
|
inline void MotorFeedback::set_motor_id(::google::protobuf::uint32 value) {
|
|
|
|
|
|
motor_id_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void MotorFeedback::clear_position() {
|
|
|
position_ = 0;
|
|
|
}
|
|
|
inline float MotorFeedback::position() const {
|
|
|
|
|
|
return position_;
|
|
|
}
|
|
|
inline void MotorFeedback::set_position(float value) {
|
|
|
|
|
|
position_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void MotorFeedback::clear_velocity() {
|
|
|
velocity_ = 0;
|
|
|
}
|
|
|
inline float MotorFeedback::velocity() const {
|
|
|
|
|
|
return velocity_;
|
|
|
}
|
|
|
inline void MotorFeedback::set_velocity(float value) {
|
|
|
|
|
|
velocity_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void MotorFeedback::clear_current_motor() {
|
|
|
current_motor_ = 0;
|
|
|
}
|
|
|
inline float MotorFeedback::current_motor() const {
|
|
|
|
|
|
return current_motor_;
|
|
|
}
|
|
|
inline void MotorFeedback::set_current_motor(float value) {
|
|
|
|
|
|
current_motor_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void MotorFeedback::clear_voltage() {
|
|
|
voltage_ = 0;
|
|
|
}
|
|
|
inline float MotorFeedback::voltage() const {
|
|
|
|
|
|
return voltage_;
|
|
|
}
|
|
|
inline void MotorFeedback::set_voltage(float value) {
|
|
|
|
|
|
voltage_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void MotorFeedback::clear_temperature_motor() {
|
|
|
temperature_motor_ = 0;
|
|
|
}
|
|
|
inline float MotorFeedback::temperature_motor() const {
|
|
|
|
|
|
return temperature_motor_;
|
|
|
}
|
|
|
inline void MotorFeedback::set_temperature_motor(float value) {
|
|
|
|
|
|
temperature_motor_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline bool Feedback::has_feedback_id() const {
|
|
|
return this != internal_default_instance() && feedback_id_ != NULL;
|
|
|
}
|
|
|
inline void Feedback::clear_feedback_id() {
|
|
|
if (GetArenaNoVirtual() == NULL && feedback_id_ != NULL) {
|
|
|
delete feedback_id_;
|
|
|
}
|
|
|
feedback_id_ = NULL;
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::MessageId& Feedback::feedback_id() const {
|
|
|
const ::Kinova::Api::GripperCyclic::MessageId* p = feedback_id_;
|
|
|
|
|
|
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::GripperCyclic::MessageId*>(
|
|
|
&::Kinova::Api::GripperCyclic::_MessageId_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MessageId* Feedback::release_feedback_id() {
|
|
|
|
|
|
|
|
|
::Kinova::Api::GripperCyclic::MessageId* temp = feedback_id_;
|
|
|
feedback_id_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MessageId* Feedback::mutable_feedback_id() {
|
|
|
|
|
|
if (feedback_id_ == NULL) {
|
|
|
feedback_id_ = new ::Kinova::Api::GripperCyclic::MessageId;
|
|
|
}
|
|
|
|
|
|
return feedback_id_;
|
|
|
}
|
|
|
inline void Feedback::set_allocated_feedback_id(::Kinova::Api::GripperCyclic::MessageId* feedback_id) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
delete feedback_id_;
|
|
|
}
|
|
|
if (feedback_id) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
feedback_id = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
message_arena, feedback_id, submessage_arena);
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
feedback_id_ = feedback_id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_status_flags() {
|
|
|
status_flags_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::status_flags() const {
|
|
|
|
|
|
return status_flags_;
|
|
|
}
|
|
|
inline void Feedback::set_status_flags(::google::protobuf::uint32 value) {
|
|
|
|
|
|
status_flags_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_fault_bank_a() {
|
|
|
fault_bank_a_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::fault_bank_a() const {
|
|
|
|
|
|
return fault_bank_a_;
|
|
|
}
|
|
|
inline void Feedback::set_fault_bank_a(::google::protobuf::uint32 value) {
|
|
|
|
|
|
fault_bank_a_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_fault_bank_b() {
|
|
|
fault_bank_b_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::fault_bank_b() const {
|
|
|
|
|
|
return fault_bank_b_;
|
|
|
}
|
|
|
inline void Feedback::set_fault_bank_b(::google::protobuf::uint32 value) {
|
|
|
|
|
|
fault_bank_b_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_warning_bank_a() {
|
|
|
warning_bank_a_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::warning_bank_a() const {
|
|
|
|
|
|
return warning_bank_a_;
|
|
|
}
|
|
|
inline void Feedback::set_warning_bank_a(::google::protobuf::uint32 value) {
|
|
|
|
|
|
warning_bank_a_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_warning_bank_b() {
|
|
|
warning_bank_b_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::warning_bank_b() const {
|
|
|
|
|
|
return warning_bank_b_;
|
|
|
}
|
|
|
inline void Feedback::set_warning_bank_b(::google::protobuf::uint32 value) {
|
|
|
|
|
|
warning_bank_b_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline int Feedback::motor_size() const {
|
|
|
return motor_.size();
|
|
|
}
|
|
|
inline void Feedback::clear_motor() {
|
|
|
motor_.Clear();
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::MotorFeedback& Feedback::motor(int index) const {
|
|
|
|
|
|
return motor_.Get(index);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MotorFeedback* Feedback::mutable_motor(int index) {
|
|
|
|
|
|
return motor_.Mutable(index);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MotorFeedback* Feedback::add_motor() {
|
|
|
|
|
|
return motor_.Add();
|
|
|
}
|
|
|
inline ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorFeedback >*
|
|
|
Feedback::mutable_motor() {
|
|
|
|
|
|
return &motor_;
|
|
|
}
|
|
|
inline const ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::MotorFeedback >&
|
|
|
Feedback::motor() const {
|
|
|
|
|
|
return motor_;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_0() {
|
|
|
custom_data_0_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_0() const {
|
|
|
|
|
|
return custom_data_0_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_0(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_0_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_1() {
|
|
|
custom_data_1_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_1() const {
|
|
|
|
|
|
return custom_data_1_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_1(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_1_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_2() {
|
|
|
custom_data_2_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_2() const {
|
|
|
|
|
|
return custom_data_2_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_2(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_2_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_3() {
|
|
|
custom_data_3_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_3() const {
|
|
|
|
|
|
return custom_data_3_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_3(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_3_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_4() {
|
|
|
custom_data_4_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_4() const {
|
|
|
|
|
|
return custom_data_4_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_4(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_4_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_5() {
|
|
|
custom_data_5_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_5() const {
|
|
|
|
|
|
return custom_data_5_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_5(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_5_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_6() {
|
|
|
custom_data_6_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_6() const {
|
|
|
|
|
|
return custom_data_6_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_6(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_6_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_7() {
|
|
|
custom_data_7_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_7() const {
|
|
|
|
|
|
return custom_data_7_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_7(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_7_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_8() {
|
|
|
custom_data_8_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_8() const {
|
|
|
|
|
|
return custom_data_8_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_8(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_8_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_9() {
|
|
|
custom_data_9_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_9() const {
|
|
|
|
|
|
return custom_data_9_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_9(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_9_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_10() {
|
|
|
custom_data_10_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_10() const {
|
|
|
|
|
|
return custom_data_10_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_10(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_10_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_11() {
|
|
|
custom_data_11_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_11() const {
|
|
|
|
|
|
return custom_data_11_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_11(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_11_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_12() {
|
|
|
custom_data_12_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_12() const {
|
|
|
|
|
|
return custom_data_12_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_12(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_12_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_13() {
|
|
|
custom_data_13_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_13() const {
|
|
|
|
|
|
return custom_data_13_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_13(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_13_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_14() {
|
|
|
custom_data_14_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_14() const {
|
|
|
|
|
|
return custom_data_14_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_14(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_14_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomDataUnit::clear_custom_data_15() {
|
|
|
custom_data_15_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomDataUnit::custom_data_15() const {
|
|
|
|
|
|
return custom_data_15_;
|
|
|
}
|
|
|
inline void CustomDataUnit::set_custom_data_15(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_15_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline bool CustomData::has_custom_data_id() const {
|
|
|
return this != internal_default_instance() && custom_data_id_ != NULL;
|
|
|
}
|
|
|
inline void CustomData::clear_custom_data_id() {
|
|
|
if (GetArenaNoVirtual() == NULL && custom_data_id_ != NULL) {
|
|
|
delete custom_data_id_;
|
|
|
}
|
|
|
custom_data_id_ = NULL;
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::MessageId& CustomData::custom_data_id() const {
|
|
|
const ::Kinova::Api::GripperCyclic::MessageId* p = custom_data_id_;
|
|
|
|
|
|
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::GripperCyclic::MessageId*>(
|
|
|
&::Kinova::Api::GripperCyclic::_MessageId_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MessageId* CustomData::release_custom_data_id() {
|
|
|
|
|
|
|
|
|
::Kinova::Api::GripperCyclic::MessageId* temp = custom_data_id_;
|
|
|
custom_data_id_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::MessageId* CustomData::mutable_custom_data_id() {
|
|
|
|
|
|
if (custom_data_id_ == NULL) {
|
|
|
custom_data_id_ = new ::Kinova::Api::GripperCyclic::MessageId;
|
|
|
}
|
|
|
|
|
|
return custom_data_id_;
|
|
|
}
|
|
|
inline void CustomData::set_allocated_custom_data_id(::Kinova::Api::GripperCyclic::MessageId* custom_data_id) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
delete custom_data_id_;
|
|
|
}
|
|
|
if (custom_data_id) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
custom_data_id = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
message_arena, custom_data_id, submessage_arena);
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
custom_data_id_ = custom_data_id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline bool CustomData::has_gripper_custom_data() const {
|
|
|
return this != internal_default_instance() && gripper_custom_data_ != NULL;
|
|
|
}
|
|
|
inline void CustomData::clear_gripper_custom_data() {
|
|
|
if (GetArenaNoVirtual() == NULL && gripper_custom_data_ != NULL) {
|
|
|
delete gripper_custom_data_;
|
|
|
}
|
|
|
gripper_custom_data_ = NULL;
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::CustomDataUnit& CustomData::gripper_custom_data() const {
|
|
|
const ::Kinova::Api::GripperCyclic::CustomDataUnit* p = gripper_custom_data_;
|
|
|
|
|
|
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::GripperCyclic::CustomDataUnit*>(
|
|
|
&::Kinova::Api::GripperCyclic::_CustomDataUnit_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::CustomDataUnit* CustomData::release_gripper_custom_data() {
|
|
|
|
|
|
|
|
|
::Kinova::Api::GripperCyclic::CustomDataUnit* temp = gripper_custom_data_;
|
|
|
gripper_custom_data_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::CustomDataUnit* CustomData::mutable_gripper_custom_data() {
|
|
|
|
|
|
if (gripper_custom_data_ == NULL) {
|
|
|
gripper_custom_data_ = new ::Kinova::Api::GripperCyclic::CustomDataUnit;
|
|
|
}
|
|
|
|
|
|
return gripper_custom_data_;
|
|
|
}
|
|
|
inline void CustomData::set_allocated_gripper_custom_data(::Kinova::Api::GripperCyclic::CustomDataUnit* gripper_custom_data) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
delete gripper_custom_data_;
|
|
|
}
|
|
|
if (gripper_custom_data) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
gripper_custom_data = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
message_arena, gripper_custom_data, submessage_arena);
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
gripper_custom_data_ = gripper_custom_data;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline int CustomData::motor_custom_data_size() const {
|
|
|
return motor_custom_data_.size();
|
|
|
}
|
|
|
inline void CustomData::clear_motor_custom_data() {
|
|
|
motor_custom_data_.Clear();
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::CustomDataUnit& CustomData::motor_custom_data(int index) const {
|
|
|
|
|
|
return motor_custom_data_.Get(index);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::CustomDataUnit* CustomData::mutable_motor_custom_data(int index) {
|
|
|
|
|
|
return motor_custom_data_.Mutable(index);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::CustomDataUnit* CustomData::add_motor_custom_data() {
|
|
|
|
|
|
return motor_custom_data_.Add();
|
|
|
}
|
|
|
inline ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::CustomDataUnit >*
|
|
|
CustomData::mutable_motor_custom_data() {
|
|
|
|
|
|
return &motor_custom_data_;
|
|
|
}
|
|
|
inline const ::google::protobuf::RepeatedPtrField< ::Kinova::Api::GripperCyclic::CustomDataUnit >&
|
|
|
CustomData::motor_custom_data() const {
|
|
|
|
|
|
return motor_custom_data_;
|
|
|
}
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
#pragma GCC diagnostic pop
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|