456 lines
14 KiB
C++
456 lines
14 KiB
C++
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|||
|
|
// source: AlarmLinkMessage.proto
|
|||
|
|
|
|||
|
|
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
|||
|
|
#include "AlarmLinkMessage.pb.h"
|
|||
|
|
|
|||
|
|
#include <algorithm>
|
|||
|
|
|
|||
|
|
#include <google/protobuf/stubs/common.h>
|
|||
|
|
#include <google/protobuf/stubs/once.h>
|
|||
|
|
#include <google/protobuf/io/coded_stream.h>
|
|||
|
|
#include <google/protobuf/wire_format_lite_inl.h>
|
|||
|
|
#include <google/protobuf/descriptor.h>
|
|||
|
|
#include <google/protobuf/generated_message_reflection.h>
|
|||
|
|
#include <google/protobuf/reflection_ops.h>
|
|||
|
|
#include <google/protobuf/wire_format.h>
|
|||
|
|
// @@protoc_insertion_point(includes)
|
|||
|
|
|
|||
|
|
namespace kbd_idlfile {
|
|||
|
|
|
|||
|
|
namespace {
|
|||
|
|
|
|||
|
|
const ::google::protobuf::Descriptor* HmiCtrlRobot_descriptor_ = NULL;
|
|||
|
|
const ::google::protobuf::internal::GeneratedMessageReflection*
|
|||
|
|
HmiCtrlRobot_reflection_ = NULL;
|
|||
|
|
const ::google::protobuf::EnumDescriptor* enMessageType_descriptor_ = NULL;
|
|||
|
|
const ::google::protobuf::EnumDescriptor* enMessageContent_descriptor_ = NULL;
|
|||
|
|
|
|||
|
|
} // namespace
|
|||
|
|
|
|||
|
|
|
|||
|
|
void protobuf_AssignDesc_AlarmLinkMessage_2eproto() {
|
|||
|
|
protobuf_AddDesc_AlarmLinkMessage_2eproto();
|
|||
|
|
const ::google::protobuf::FileDescriptor* file =
|
|||
|
|
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
|
|||
|
|
"AlarmLinkMessage.proto");
|
|||
|
|
GOOGLE_CHECK(file != NULL);
|
|||
|
|
HmiCtrlRobot_descriptor_ = file->message_type(0);
|
|||
|
|
static const int HmiCtrlRobot_offsets_[3] = {
|
|||
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HmiCtrlRobot, entype_),
|
|||
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HmiCtrlRobot, encontent_),
|
|||
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HmiCtrlRobot, ntime_),
|
|||
|
|
};
|
|||
|
|
HmiCtrlRobot_reflection_ =
|
|||
|
|
new ::google::protobuf::internal::GeneratedMessageReflection(
|
|||
|
|
HmiCtrlRobot_descriptor_,
|
|||
|
|
HmiCtrlRobot::default_instance_,
|
|||
|
|
HmiCtrlRobot_offsets_,
|
|||
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HmiCtrlRobot, _has_bits_[0]),
|
|||
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HmiCtrlRobot, _unknown_fields_),
|
|||
|
|
-1,
|
|||
|
|
::google::protobuf::DescriptorPool::generated_pool(),
|
|||
|
|
::google::protobuf::MessageFactory::generated_factory(),
|
|||
|
|
sizeof(HmiCtrlRobot));
|
|||
|
|
enMessageType_descriptor_ = file->enum_type(0);
|
|||
|
|
enMessageContent_descriptor_ = file->enum_type(1);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
namespace {
|
|||
|
|
|
|||
|
|
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
|
|||
|
|
inline void protobuf_AssignDescriptorsOnce() {
|
|||
|
|
::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
|
|||
|
|
&protobuf_AssignDesc_AlarmLinkMessage_2eproto);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void protobuf_RegisterTypes(const ::std::string&) {
|
|||
|
|
protobuf_AssignDescriptorsOnce();
|
|||
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
|
|||
|
|
HmiCtrlRobot_descriptor_, &HmiCtrlRobot::default_instance());
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
} // namespace
|
|||
|
|
|
|||
|
|
void protobuf_ShutdownFile_AlarmLinkMessage_2eproto() {
|
|||
|
|
delete HmiCtrlRobot::default_instance_;
|
|||
|
|
delete HmiCtrlRobot_reflection_;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void protobuf_AddDesc_AlarmLinkMessage_2eproto() {
|
|||
|
|
static bool already_here = false;
|
|||
|
|
if (already_here) return;
|
|||
|
|
already_here = true;
|
|||
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|||
|
|
|
|||
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|||
|
|
"\n\026AlarmLinkMessage.proto\022\013kbd_idlfile\"{\n"
|
|||
|
|
"\014HmiCtrlRobot\022*\n\006enType\030\001 \002(\0162\032.kbd_idlf"
|
|||
|
|
"ile.enMessageType\0220\n\tenContent\030\002 \002(\0162\035.k"
|
|||
|
|
"bd_idlfile.enMessageContent\022\r\n\005nTime\030\003 \001"
|
|||
|
|
"(\004*>\n\renMessageType\022\025\n\021MT_HMI_CTRL_ROBOT"
|
|||
|
|
"\020\001\022\026\n\022MT_ROBOT_REPLY_HMI\020\002*-\n\020enMessageC"
|
|||
|
|
"ontent\022\014\n\010MT_START\020\001\022\013\n\007MT_STOP\020\002", 273);
|
|||
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|||
|
|
"AlarmLinkMessage.proto", &protobuf_RegisterTypes);
|
|||
|
|
HmiCtrlRobot::default_instance_ = new HmiCtrlRobot();
|
|||
|
|
HmiCtrlRobot::default_instance_->InitAsDefaultInstance();
|
|||
|
|
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_AlarmLinkMessage_2eproto);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// Force AddDescriptors() to be called at static initialization time.
|
|||
|
|
struct StaticDescriptorInitializer_AlarmLinkMessage_2eproto {
|
|||
|
|
StaticDescriptorInitializer_AlarmLinkMessage_2eproto() {
|
|||
|
|
protobuf_AddDesc_AlarmLinkMessage_2eproto();
|
|||
|
|
}
|
|||
|
|
} static_descriptor_initializer_AlarmLinkMessage_2eproto_;
|
|||
|
|
const ::google::protobuf::EnumDescriptor* enMessageType_descriptor() {
|
|||
|
|
protobuf_AssignDescriptorsOnce();
|
|||
|
|
return enMessageType_descriptor_;
|
|||
|
|
}
|
|||
|
|
bool enMessageType_IsValid(int value) {
|
|||
|
|
switch(value) {
|
|||
|
|
case 1:
|
|||
|
|
case 2:
|
|||
|
|
return true;
|
|||
|
|
default:
|
|||
|
|
return false;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
const ::google::protobuf::EnumDescriptor* enMessageContent_descriptor() {
|
|||
|
|
protobuf_AssignDescriptorsOnce();
|
|||
|
|
return enMessageContent_descriptor_;
|
|||
|
|
}
|
|||
|
|
bool enMessageContent_IsValid(int value) {
|
|||
|
|
switch(value) {
|
|||
|
|
case 1:
|
|||
|
|
case 2:
|
|||
|
|
return true;
|
|||
|
|
default:
|
|||
|
|
return false;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
// ===================================================================
|
|||
|
|
|
|||
|
|
#ifndef _MSC_VER
|
|||
|
|
const int HmiCtrlRobot::kEnTypeFieldNumber;
|
|||
|
|
const int HmiCtrlRobot::kEnContentFieldNumber;
|
|||
|
|
const int HmiCtrlRobot::kNTimeFieldNumber;
|
|||
|
|
#endif // !_MSC_VER
|
|||
|
|
|
|||
|
|
HmiCtrlRobot::HmiCtrlRobot()
|
|||
|
|
: ::google::protobuf::Message() {
|
|||
|
|
SharedCtor();
|
|||
|
|
// @@protoc_insertion_point(constructor:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::InitAsDefaultInstance() {
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
HmiCtrlRobot::HmiCtrlRobot(const HmiCtrlRobot& from)
|
|||
|
|
: ::google::protobuf::Message() {
|
|||
|
|
SharedCtor();
|
|||
|
|
MergeFrom(from);
|
|||
|
|
// @@protoc_insertion_point(copy_constructor:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::SharedCtor() {
|
|||
|
|
_cached_size_ = 0;
|
|||
|
|
entype_ = 1;
|
|||
|
|
encontent_ = 1;
|
|||
|
|
ntime_ = GOOGLE_ULONGLONG(0);
|
|||
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
HmiCtrlRobot::~HmiCtrlRobot() {
|
|||
|
|
// @@protoc_insertion_point(destructor:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
SharedDtor();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::SharedDtor() {
|
|||
|
|
if (this != default_instance_) {
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::SetCachedSize(int size) const {
|
|||
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|||
|
|
_cached_size_ = size;
|
|||
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|||
|
|
}
|
|||
|
|
const ::google::protobuf::Descriptor* HmiCtrlRobot::descriptor() {
|
|||
|
|
protobuf_AssignDescriptorsOnce();
|
|||
|
|
return HmiCtrlRobot_descriptor_;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
const HmiCtrlRobot& HmiCtrlRobot::default_instance() {
|
|||
|
|
if (default_instance_ == NULL) protobuf_AddDesc_AlarmLinkMessage_2eproto();
|
|||
|
|
return *default_instance_;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
HmiCtrlRobot* HmiCtrlRobot::default_instance_ = NULL;
|
|||
|
|
|
|||
|
|
HmiCtrlRobot* HmiCtrlRobot::New() const {
|
|||
|
|
return new HmiCtrlRobot;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::Clear() {
|
|||
|
|
if (_has_bits_[0 / 32] & 7) {
|
|||
|
|
entype_ = 1;
|
|||
|
|
encontent_ = 1;
|
|||
|
|
ntime_ = GOOGLE_ULONGLONG(0);
|
|||
|
|
}
|
|||
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|||
|
|
mutable_unknown_fields()->Clear();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
bool HmiCtrlRobot::MergePartialFromCodedStream(
|
|||
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|||
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
|||
|
|
::google::protobuf::uint32 tag;
|
|||
|
|
// @@protoc_insertion_point(parse_start:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
for (;;) {
|
|||
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|||
|
|
tag = p.first;
|
|||
|
|
if (!p.second) goto handle_unusual;
|
|||
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|||
|
|
// required .kbd_idlfile.enMessageType enType = 1;
|
|||
|
|
case 1: {
|
|||
|
|
if (tag == 8) {
|
|||
|
|
int value;
|
|||
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|||
|
|
int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|||
|
|
input, &value)));
|
|||
|
|
if (::kbd_idlfile::enMessageType_IsValid(value)) {
|
|||
|
|
set_entype(static_cast< ::kbd_idlfile::enMessageType >(value));
|
|||
|
|
} else {
|
|||
|
|
mutable_unknown_fields()->AddVarint(1, value);
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
goto handle_unusual;
|
|||
|
|
}
|
|||
|
|
if (input->ExpectTag(16)) goto parse_enContent;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// required .kbd_idlfile.enMessageContent enContent = 2;
|
|||
|
|
case 2: {
|
|||
|
|
if (tag == 16) {
|
|||
|
|
parse_enContent:
|
|||
|
|
int value;
|
|||
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|||
|
|
int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|||
|
|
input, &value)));
|
|||
|
|
if (::kbd_idlfile::enMessageContent_IsValid(value)) {
|
|||
|
|
set_encontent(static_cast< ::kbd_idlfile::enMessageContent >(value));
|
|||
|
|
} else {
|
|||
|
|
mutable_unknown_fields()->AddVarint(2, value);
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
goto handle_unusual;
|
|||
|
|
}
|
|||
|
|
if (input->ExpectTag(24)) goto parse_nTime;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// optional uint64 nTime = 3;
|
|||
|
|
case 3: {
|
|||
|
|
if (tag == 24) {
|
|||
|
|
parse_nTime:
|
|||
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|||
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|||
|
|
input, &ntime_)));
|
|||
|
|
set_has_ntime();
|
|||
|
|
} else {
|
|||
|
|
goto handle_unusual;
|
|||
|
|
}
|
|||
|
|
if (input->ExpectAtEnd()) goto success;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
default: {
|
|||
|
|
handle_unusual:
|
|||
|
|
if (tag == 0 ||
|
|||
|
|
::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|||
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|||
|
|
goto success;
|
|||
|
|
}
|
|||
|
|
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|||
|
|
input, tag, mutable_unknown_fields()));
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
success:
|
|||
|
|
// @@protoc_insertion_point(parse_success:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
return true;
|
|||
|
|
failure:
|
|||
|
|
// @@protoc_insertion_point(parse_failure:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
return false;
|
|||
|
|
#undef DO_
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::SerializeWithCachedSizes(
|
|||
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|||
|
|
// @@protoc_insertion_point(serialize_start:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
// required .kbd_idlfile.enMessageType enType = 1;
|
|||
|
|
if (has_entype()) {
|
|||
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|||
|
|
1, this->entype(), output);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// required .kbd_idlfile.enMessageContent enContent = 2;
|
|||
|
|
if (has_encontent()) {
|
|||
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|||
|
|
2, this->encontent(), output);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// optional uint64 nTime = 3;
|
|||
|
|
if (has_ntime()) {
|
|||
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->ntime(), output);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
if (!unknown_fields().empty()) {
|
|||
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|||
|
|
unknown_fields(), output);
|
|||
|
|
}
|
|||
|
|
// @@protoc_insertion_point(serialize_end:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
::google::protobuf::uint8* HmiCtrlRobot::SerializeWithCachedSizesToArray(
|
|||
|
|
::google::protobuf::uint8* target) const {
|
|||
|
|
// @@protoc_insertion_point(serialize_to_array_start:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
// required .kbd_idlfile.enMessageType enType = 1;
|
|||
|
|
if (has_entype()) {
|
|||
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|||
|
|
1, this->entype(), target);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// required .kbd_idlfile.enMessageContent enContent = 2;
|
|||
|
|
if (has_encontent()) {
|
|||
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|||
|
|
2, this->encontent(), target);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// optional uint64 nTime = 3;
|
|||
|
|
if (has_ntime()) {
|
|||
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->ntime(), target);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
if (!unknown_fields().empty()) {
|
|||
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|||
|
|
unknown_fields(), target);
|
|||
|
|
}
|
|||
|
|
// @@protoc_insertion_point(serialize_to_array_end:kbd_idlfile.HmiCtrlRobot)
|
|||
|
|
return target;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
int HmiCtrlRobot::ByteSize() const {
|
|||
|
|
int total_size = 0;
|
|||
|
|
|
|||
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|||
|
|
// required .kbd_idlfile.enMessageType enType = 1;
|
|||
|
|
if (has_entype()) {
|
|||
|
|
total_size += 1 +
|
|||
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->entype());
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// required .kbd_idlfile.enMessageContent enContent = 2;
|
|||
|
|
if (has_encontent()) {
|
|||
|
|
total_size += 1 +
|
|||
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->encontent());
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// optional uint64 nTime = 3;
|
|||
|
|
if (has_ntime()) {
|
|||
|
|
total_size += 1 +
|
|||
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|||
|
|
this->ntime());
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
if (!unknown_fields().empty()) {
|
|||
|
|
total_size +=
|
|||
|
|
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|||
|
|
unknown_fields());
|
|||
|
|
}
|
|||
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|||
|
|
_cached_size_ = total_size;
|
|||
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|||
|
|
return total_size;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::MergeFrom(const ::google::protobuf::Message& from) {
|
|||
|
|
GOOGLE_CHECK_NE(&from, this);
|
|||
|
|
const HmiCtrlRobot* source =
|
|||
|
|
::google::protobuf::internal::dynamic_cast_if_available<const HmiCtrlRobot*>(
|
|||
|
|
&from);
|
|||
|
|
if (source == NULL) {
|
|||
|
|
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|||
|
|
} else {
|
|||
|
|
MergeFrom(*source);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::MergeFrom(const HmiCtrlRobot& from) {
|
|||
|
|
GOOGLE_CHECK_NE(&from, this);
|
|||
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|||
|
|
if (from.has_entype()) {
|
|||
|
|
set_entype(from.entype());
|
|||
|
|
}
|
|||
|
|
if (from.has_encontent()) {
|
|||
|
|
set_encontent(from.encontent());
|
|||
|
|
}
|
|||
|
|
if (from.has_ntime()) {
|
|||
|
|
set_ntime(from.ntime());
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::CopyFrom(const ::google::protobuf::Message& from) {
|
|||
|
|
if (&from == this) return;
|
|||
|
|
Clear();
|
|||
|
|
MergeFrom(from);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::CopyFrom(const HmiCtrlRobot& from) {
|
|||
|
|
if (&from == this) return;
|
|||
|
|
Clear();
|
|||
|
|
MergeFrom(from);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
bool HmiCtrlRobot::IsInitialized() const {
|
|||
|
|
if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|||
|
|
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void HmiCtrlRobot::Swap(HmiCtrlRobot* other) {
|
|||
|
|
if (other != this) {
|
|||
|
|
std::swap(entype_, other->entype_);
|
|||
|
|
std::swap(encontent_, other->encontent_);
|
|||
|
|
std::swap(ntime_, other->ntime_);
|
|||
|
|
std::swap(_has_bits_[0], other->_has_bits_[0]);
|
|||
|
|
_unknown_fields_.Swap(&other->_unknown_fields_);
|
|||
|
|
std::swap(_cached_size_, other->_cached_size_);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
::google::protobuf::Metadata HmiCtrlRobot::GetMetadata() const {
|
|||
|
|
protobuf_AssignDescriptorsOnce();
|
|||
|
|
::google::protobuf::Metadata metadata;
|
|||
|
|
metadata.descriptor = HmiCtrlRobot_descriptor_;
|
|||
|
|
metadata.reflection = HmiCtrlRobot_reflection_;
|
|||
|
|
return metadata;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
// @@protoc_insertion_point(namespace_scope)
|
|||
|
|
|
|||
|
|
} // namespace kbd_idlfile
|
|||
|
|
|
|||
|
|
// @@protoc_insertion_point(global_scope)
|