4 #ifndef PROTOBUF_ignition_2fmsgs_2fjoint_5fanimation_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fjoint_5fanimation_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 22 #include <google/protobuf/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/unknown_field_set.h> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 54 class JointAnimation_Joint;
70 static const ::google::protobuf::Descriptor* descriptor();
80 void CopyFrom(const ::google::protobuf::Message& from);
81 void MergeFrom(const ::google::protobuf::Message& from);
85 bool IsInitialized()
const;
88 bool MergePartialFromCodedStream(
89 ::google::protobuf::io::CodedInputStream* input);
90 void SerializeWithCachedSizes(
91 ::google::protobuf::io::CodedOutputStream* output)
const;
92 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
93 bool deterministic, ::google::protobuf::uint8* output)
const;
95 return InternalSerializeWithCachedSizesToArray(
false, output);
101 void SetCachedSize(
int size)
const;
104 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
105 return _internal_metadata_.arena();
107 inline void* MaybeArenaPtr()
const {
108 return _internal_metadata_.raw_arena_ptr();
112 ::google::protobuf::Metadata GetMetadata()
const;
119 int name_size()
const;
121 static const int kNameFieldNumber = 1;
122 const ::std::string& name(
int index)
const;
124 void set_name(
int index, const ::std::string& value);
125 void set_name(
int index,
const char* value);
126 void set_name(
int index,
const char* value,
size_t size);
128 void add_name(const ::std::string& value);
129 void add_name(
const char* value);
130 void add_name(
const char* value,
size_t size);
131 const ::google::protobuf::RepeatedPtrField< ::std::string>& name()
const;
132 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_name();
135 int angle_size()
const;
137 static const int kAngleFieldNumber = 2;
138 double angle(
int index)
const;
139 void set_angle(
int index,
double value);
140 void add_angle(
double value);
141 const ::google::protobuf::RepeatedField< double >&
143 ::google::protobuf::RepeatedField< double >*
149 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
150 bool _is_default_instance_;
151 ::google::protobuf::RepeatedPtrField< ::std::string> name_;
152 ::google::protobuf::RepeatedField< double > angle_;
153 mutable int _angle_cached_byte_size_;
154 mutable int _cached_size_;
159 void InitAsDefaultInstance();
164 class IGNITION_MSGS_VISIBLE
JointAnimation :
public ::google::protobuf::Message {
176 static const ::google::protobuf::Descriptor* descriptor();
186 void CopyFrom(const ::google::protobuf::Message& from);
187 void MergeFrom(const ::google::protobuf::Message& from);
191 bool IsInitialized()
const;
193 int ByteSize()
const;
194 bool MergePartialFromCodedStream(
195 ::google::protobuf::io::CodedInputStream* input);
196 void SerializeWithCachedSizes(
197 ::google::protobuf::io::CodedOutputStream* output)
const;
198 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
199 bool deterministic, ::google::protobuf::uint8* output)
const;
201 return InternalSerializeWithCachedSizesToArray(
false, output);
207 void SetCachedSize(
int size)
const;
210 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
211 return _internal_metadata_.arena();
213 inline void* MaybeArenaPtr()
const {
214 return _internal_metadata_.raw_arena_ptr();
218 ::google::protobuf::Metadata GetMetadata()
const;
227 bool has_header()
const;
229 static const int kHeaderFieldNumber = 1;
230 const ::ignition::msgs::Header& header()
const;
236 void clear_model_name();
237 static const int kModelNameFieldNumber = 2;
238 const ::std::string& model_name()
const;
239 void set_model_name(const ::std::string& value);
240 void set_model_name(
const char* value);
241 void set_model_name(
const char* value,
size_t size);
244 void set_allocated_model_name(::
std::string* model_name);
247 int joint_size()
const;
249 static const int kJointFieldNumber = 3;
250 const ::ignition::msgs::JointAnimation_Joint& joint(
int index)
const;
253 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint >*
255 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint >&
259 int time_size()
const;
261 static const int kTimeFieldNumber = 4;
262 const ::ignition::msgs::Time& time(
int index)
const;
265 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >*
267 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >&
273 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
274 bool _is_default_instance_;
276 ::google::protobuf::internal::ArenaStringPtr model_name_;
277 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint > joint_;
278 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > time_;
279 mutable int _cached_size_;
284 void InitAsDefaultInstance();
292 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 304 return name_.Get(index);
308 return name_.Mutable(index);
312 name_.Mutable(index)->assign(value);
315 name_.Mutable(index)->assign(value);
319 name_.Mutable(index)->assign(
320 reinterpret_cast<const char*>(value), size);
328 name_.Add()->
assign(value);
332 name_.Add()->
assign(value);
336 name_.Add()->
assign(reinterpret_cast<const char*>(value), size);
339 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
344 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
352 return angle_.size();
359 return angle_.Get(index);
362 angle_.Set(index, value);
369 inline const ::google::protobuf::RepeatedField< double >&
374 inline ::google::protobuf::RepeatedField< double >*
386 return !_is_default_instance_ && header_ != NULL;
389 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
394 return header_ != NULL ? *header_ : *default_instance_->header_;
398 if (header_ == NULL) {
399 header_ = new ::ignition::msgs::Header;
424 model_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
428 return model_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
432 model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
437 model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
442 model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
443 ::
std::string(reinterpret_cast<const char*>(value), size));
449 return model_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
454 return model_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
457 if (model_name != NULL) {
462 model_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), model_name);
468 return joint_.size();
475 return joint_.Get(index);
479 return joint_.Mutable(index);
485 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint >*
490 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint >&
505 return time_.Get(index);
509 return time_.Mutable(index);
515 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >*
520 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >&
526 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 544 #endif // PROTOBUF_ignition_2fmsgs_2fjoint_5fanimation_2eproto__INCLUDED void clear_name()
Definition: joint_animation.pb.h:299
int angle_size() const
Definition: joint_animation.pb.h:351
JointAnimation_Joint Joint
Definition: joint_animation.pb.h:222
int time_size() const
Definition: joint_animation.pb.h:497
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: joint_animation.pb.h:200
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > * mutable_time()
Definition: joint_animation.pb.h:516
void add_angle(double value)
Definition: joint_animation.pb.h:365
JointAnimation * New() const
Definition: joint_animation.pb.h:183
void protobuf_AssignDesc_ignition_2fmsgs_2fjoint_5fanimation_2eproto()
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > & time() const
Definition: joint_animation.pb.h:521
int GetCachedSize() const
Definition: joint_animation.pb.h:97
void set_allocated_model_name(::std::string *model_name)
Definition: joint_animation.pb.h:456
int name_size() const
Definition: joint_animation.pb.h:296
JointAnimation & operator=(const JointAnimation &from)
Definition: joint_animation.pb.h:171
void set_allocated_header(::ignition::msgs::Header *header)
Definition: joint_animation.pb.h:411
const ::ignition::msgs::Header & header() const
Definition: joint_animation.pb.h:392
void set_angle(int index, double value)
Definition: joint_animation.pb.h:361
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoint_5fanimation_2eproto()
::std::string * mutable_model_name()
Definition: joint_animation.pb.h:446
void clear_angle()
Definition: joint_animation.pb.h:354
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint > & joint() const
Definition: joint_animation.pb.h:491
const ::std::string & model_name() const
Definition: joint_animation.pb.h:426
int GetCachedSize() const
Definition: joint_animation.pb.h:203
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: joint_animation.pb.h:94
std::shared_ptr< JointAnimation > JointAnimationSharedPtr
Definition: joint_animation.pb.h:532
void set_name(int index, const ::std::string &value)
Definition: joint_animation.pb.h:310
void clear_time()
Definition: joint_animation.pb.h:500
void clear_joint()
Definition: joint_animation.pb.h:470
std::shared_ptr< const JointAnimation > ConstJointAnimationSharedPtr
Definition: joint_animation.pb.h:533
const ::google::protobuf::RepeatedPtrField< ::std::string > & name() const
Definition: joint_animation.pb.h:340
const ::google::protobuf::RepeatedField< double > & angle() const
Definition: joint_animation.pb.h:370
void protobuf_ShutdownFile_ignition_2fmsgs_2fjoint_5fanimation_2eproto()
JointAnimation_Joint * New() const
Definition: joint_animation.pb.h:77
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_name()
Definition: joint_animation.pb.h:345
JointAnimation_Joint & operator=(const JointAnimation_Joint &from)
Definition: joint_animation.pb.h:65
::ignition::msgs::Header * release_header()
Definition: joint_animation.pb.h:404
::google::protobuf::RepeatedField< double > * mutable_angle()
Definition: joint_animation.pb.h:375
Definition: joint_animation.pb.h:58
Definition: joint_animation.pb.h:164
::std::string * release_model_name()
Definition: joint_animation.pb.h:451
std::unique_ptr< JointAnimation > JointAnimationUniquePtr
Definition: joint_animation.pb.h:530
std::unique_ptr< const JointAnimation > ConstJointAnimationUniquePtr
Definition: joint_animation.pb.h:531
::ignition::msgs::Time * add_time()
Definition: joint_animation.pb.h:511
bool has_header() const
Definition: joint_animation.pb.h:385
int joint_size() const
Definition: joint_animation.pb.h:467
::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint > * mutable_joint()
Definition: joint_animation.pb.h:486
void clear_header()
Definition: joint_animation.pb.h:388
::std::string * add_name()
Definition: joint_animation.pb.h:323
::ignition::msgs::JointAnimation_Joint * add_joint()
Definition: joint_animation.pb.h:481
void set_model_name(const ::std::string &value)
Definition: joint_animation.pb.h:430
void clear_model_name()
Definition: joint_animation.pb.h:423
::ignition::msgs::Header * mutable_header()
Definition: joint_animation.pb.h:396