Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/pose_animation.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5fanimation_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5fanimation_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < 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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "ignition/msgs/pose.pb.h"
34 #include "ignition/msgs/time.pb.h"
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fpose_5fanimation_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[1];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fpose_5fanimation_2eproto
61 namespace ignition {
62 namespace msgs {
63 class PoseAnimation;
64 class PoseAnimationDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern PoseAnimationDefaultTypeInternal _PoseAnimation_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PoseAnimation* Arena::CreateMaybeMessage<::ignition::msgs::PoseAnimation>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE PoseAnimation : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PoseAnimation) */ {
79  public:
80  PoseAnimation();
81  virtual ~PoseAnimation();
82 
83  PoseAnimation(const PoseAnimation& from);
84 
85  inline PoseAnimation& operator=(const PoseAnimation& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  PoseAnimation(PoseAnimation&& from) noexcept
91  : PoseAnimation() {
92  *this = ::std::move(from);
93  }
94 
95  inline PoseAnimation& operator=(PoseAnimation&& from) noexcept {
96  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103  #endif
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const PoseAnimation& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
108  static inline const PoseAnimation* internal_default_instance() {
109  return reinterpret_cast<const PoseAnimation*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(PoseAnimation* other);
116  friend void swap(PoseAnimation& a, PoseAnimation& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline PoseAnimation* New() const final {
123  return CreateMaybeMessage<PoseAnimation>(NULL);
124  }
125 
126  PoseAnimation* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<PoseAnimation>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const PoseAnimation& from);
132  void MergeFrom(const PoseAnimation& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
136  size_t ByteSizeLong() const final;
137  bool MergePartialFromCodedStream(
138  ::google::protobuf::io::CodedInputStream* input) final;
139  void SerializeWithCachedSizes(
140  ::google::protobuf::io::CodedOutputStream* output) const final;
141  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142  bool deterministic, ::google::protobuf::uint8* target) const final;
143  int GetCachedSize() const final { return _cached_size_.Get(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(PoseAnimation* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // repeated .ignition.msgs.Pose pose = 3;
166  int pose_size() const;
167  void clear_pose();
168  static const int kPoseFieldNumber = 3;
169  ::ignition::msgs::Pose* mutable_pose(int index);
170  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >*
171  mutable_pose();
172  const ::ignition::msgs::Pose& pose(int index) const;
173  ::ignition::msgs::Pose* add_pose();
174  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >&
175  pose() const;
176 
177  // repeated .ignition.msgs.Time time = 4;
178  int time_size() const;
179  void clear_time();
180  static const int kTimeFieldNumber = 4;
181  ::ignition::msgs::Time* mutable_time(int index);
182  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >*
183  mutable_time();
184  const ::ignition::msgs::Time& time(int index) const;
185  ::ignition::msgs::Time* add_time();
186  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >&
187  time() const;
188 
189  // string model_name = 1;
190  void clear_model_name();
191  static const int kModelNameFieldNumber = 1;
192  const ::std::string& model_name() const;
193  void set_model_name(const ::std::string& value);
194  #if LANG_CXX11
195  void set_model_name(::std::string&& value);
196  #endif
197  void set_model_name(const char* value);
198  void set_model_name(const char* value, size_t size);
199  ::std::string* mutable_model_name();
200  ::std::string* release_model_name();
201  void set_allocated_model_name(::std::string* model_name);
202 
203  // uint32 model_id = 2;
204  void clear_model_id();
205  static const int kModelIdFieldNumber = 2;
206  ::google::protobuf::uint32 model_id() const;
207  void set_model_id(::google::protobuf::uint32 value);
208 
209  // @@protoc_insertion_point(class_scope:ignition.msgs.PoseAnimation)
210  private:
211 
212  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
213  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > pose_;
214  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > time_;
215  ::google::protobuf::internal::ArenaStringPtr model_name_;
216  ::google::protobuf::uint32 model_id_;
217  mutable ::google::protobuf::internal::CachedSize _cached_size_;
218  friend struct ::protobuf_ignition_2fmsgs_2fpose_5fanimation_2eproto::TableStruct;
219 };
220 // ===================================================================
221 
222 
223 // ===================================================================
224 
225 #ifdef __GNUC__
226  #pragma GCC diagnostic push
227  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
228 #endif // __GNUC__
229 // PoseAnimation
230 
231 // string model_name = 1;
233  model_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
234 }
235 inline const ::std::string& PoseAnimation::model_name() const {
236  // @@protoc_insertion_point(field_get:ignition.msgs.PoseAnimation.model_name)
237  return model_name_.GetNoArena();
238 }
239 inline void PoseAnimation::set_model_name(const ::std::string& value) {
240 
241  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
242  // @@protoc_insertion_point(field_set:ignition.msgs.PoseAnimation.model_name)
243 }
244 #if LANG_CXX11
245 inline void PoseAnimation::set_model_name(::std::string&& value) {
246 
247  model_name_.SetNoArena(
248  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
249  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.PoseAnimation.model_name)
250 }
251 #endif
252 inline void PoseAnimation::set_model_name(const char* value) {
253  GOOGLE_DCHECK(value != NULL);
254 
255  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
256  // @@protoc_insertion_point(field_set_char:ignition.msgs.PoseAnimation.model_name)
257 }
258 inline void PoseAnimation::set_model_name(const char* value, size_t size) {
259 
260  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
261  ::std::string(reinterpret_cast<const char*>(value), size));
262  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.PoseAnimation.model_name)
263 }
264 inline ::std::string* PoseAnimation::mutable_model_name() {
265 
266  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseAnimation.model_name)
267  return model_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
268 }
269 inline ::std::string* PoseAnimation::release_model_name() {
270  // @@protoc_insertion_point(field_release:ignition.msgs.PoseAnimation.model_name)
271 
272  return model_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
273 }
275  if (model_name != NULL) {
276 
277  } else {
278 
279  }
280  model_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), model_name);
281  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PoseAnimation.model_name)
282 }
283 
284 // uint32 model_id = 2;
286  model_id_ = 0u;
287 }
288 inline ::google::protobuf::uint32 PoseAnimation::model_id() const {
289  // @@protoc_insertion_point(field_get:ignition.msgs.PoseAnimation.model_id)
290  return model_id_;
291 }
292 inline void PoseAnimation::set_model_id(::google::protobuf::uint32 value) {
293 
294  model_id_ = value;
295  // @@protoc_insertion_point(field_set:ignition.msgs.PoseAnimation.model_id)
296 }
297 
298 // repeated .ignition.msgs.Pose pose = 3;
299 inline int PoseAnimation::pose_size() const {
300  return pose_.size();
301 }
302 inline ::ignition::msgs::Pose* PoseAnimation::mutable_pose(int index) {
303  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseAnimation.pose)
304  return pose_.Mutable(index);
305 }
306 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >*
308  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.PoseAnimation.pose)
309  return &pose_;
310 }
311 inline const ::ignition::msgs::Pose& PoseAnimation::pose(int index) const {
312  // @@protoc_insertion_point(field_get:ignition.msgs.PoseAnimation.pose)
313  return pose_.Get(index);
314 }
315 inline ::ignition::msgs::Pose* PoseAnimation::add_pose() {
316  // @@protoc_insertion_point(field_add:ignition.msgs.PoseAnimation.pose)
317  return pose_.Add();
318 }
319 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >&
321  // @@protoc_insertion_point(field_list:ignition.msgs.PoseAnimation.pose)
322  return pose_;
323 }
324 
325 // repeated .ignition.msgs.Time time = 4;
326 inline int PoseAnimation::time_size() const {
327  return time_.size();
328 }
329 inline ::ignition::msgs::Time* PoseAnimation::mutable_time(int index) {
330  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseAnimation.time)
331  return time_.Mutable(index);
332 }
333 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >*
335  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.PoseAnimation.time)
336  return &time_;
337 }
338 inline const ::ignition::msgs::Time& PoseAnimation::time(int index) const {
339  // @@protoc_insertion_point(field_get:ignition.msgs.PoseAnimation.time)
340  return time_.Get(index);
341 }
342 inline ::ignition::msgs::Time* PoseAnimation::add_time() {
343  // @@protoc_insertion_point(field_add:ignition.msgs.PoseAnimation.time)
344  return time_.Add();
345 }
346 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >&
348  // @@protoc_insertion_point(field_list:ignition.msgs.PoseAnimation.time)
349  return time_;
350 }
351 
352 #ifdef __GNUC__
353  #pragma GCC diagnostic pop
354 #endif // __GNUC__
355 
360 // @@protoc_insertion_point(namespace_scope)
361 
362 } // namespace msgs
363 } // namespace ignition
364 
365 #ifdef _MSC_VER
366 #pragma warning(pop)
367 #endif
368 // @@protoc_insertion_point(global_scope)
369 
370 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5fanimation_2eproto
::ignition::msgs::Pose * add_pose()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:315
::google::protobuf::uint32 model_id() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:288
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:51
STL class.
STL class.
Definition: build/ignition-msgs8/include/ignition/msgs/time.pb.h:76
T move(T... args)
void clear_model_name()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:232
::ignition::msgs::Time * add_time()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:342
void set_allocated_model_name(::std::string *model_name)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:274
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > * mutable_time()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:334
std::shared_ptr< const PoseAnimation > ConstPoseAnimationSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:359
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:79
std::unique_ptr< const PoseAnimation > ConstPoseAnimationUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:357
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:49
int time_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:326
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > & time() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:347
friend void swap(PoseAnimation &a, PoseAnimation &b)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:116
void Swap(PoseAnimation *other)
PoseAnimation * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:126
void set_model_name(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:239
PoseAnimation * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:122
IGNITION_MSGS_VISIBLE PoseAnimationDefaultTypeInternal _PoseAnimation_default_instance_
int pose_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:299
::std::string * mutable_model_name()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:264
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > * mutable_pose()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:307
::std::string * release_model_name()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:269
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:320
const ::std::string & model_name() const
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:235
std::shared_ptr< PoseAnimation > PoseAnimationSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:358
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:78
PoseAnimation & operator=(const PoseAnimation &from)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:85
STL namespace.
std::unique_ptr< PoseAnimation > PoseAnimationUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:356
void set_model_id(::google::protobuf::uint32 value)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:292
static const PoseAnimation * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:108
STL class.
void clear_model_id()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:285
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78