Ignition Msgs

API Reference

8.2.0
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_ignition_2fmsgs_2fpose_5fanimation_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fpose_5fanimation_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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>
30 #include "ignition/msgs/pose.pb.h"
31 #include "ignition/msgs/time.pb.h"
32 #ifndef _MSC_VER
33 #pragma GCC system_header
34 #else
35 #pragma warning(push)
36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
37 #endif
38 #ifdef __linux__
39 #include <sys/sysmacros.h>
40 #endif
41 #include <memory>
42 #include <ignition/msgs/Export.hh>
43 // @@protoc_insertion_point(includes)
44 
45 namespace ignition {
46 namespace msgs {
47 
48 // Internal implementation detail -- do not call these.
52 
53 class PoseAnimation;
54 
55 // ===================================================================
56 
57 class IGNITION_MSGS_VISIBLE PoseAnimation : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PoseAnimation) */ {
58  public:
59  PoseAnimation();
60  virtual ~PoseAnimation();
61 
62  PoseAnimation(const PoseAnimation& from);
63 
64  inline PoseAnimation& operator=(const PoseAnimation& from) {
65  CopyFrom(from);
66  return *this;
67  }
68 
69  static const ::google::protobuf::Descriptor* descriptor();
70  static const PoseAnimation& default_instance();
71 
72  void Swap(PoseAnimation* other);
73 
74  // implements Message ----------------------------------------------
75 
76  inline PoseAnimation* New() const { return New(NULL); }
77 
78  PoseAnimation* New(::google::protobuf::Arena* arena) const;
79  void CopyFrom(const ::google::protobuf::Message& from);
80  void MergeFrom(const ::google::protobuf::Message& from);
81  void CopyFrom(const PoseAnimation& from);
82  void MergeFrom(const PoseAnimation& from);
83  void Clear();
84  bool IsInitialized() const;
85 
86  int ByteSize() const;
87  bool MergePartialFromCodedStream(
88  ::google::protobuf::io::CodedInputStream* input);
89  void SerializeWithCachedSizes(
90  ::google::protobuf::io::CodedOutputStream* output) const;
91  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92  bool deterministic, ::google::protobuf::uint8* output) const;
93  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
94  return InternalSerializeWithCachedSizesToArray(false, output);
95  }
96  int GetCachedSize() const { return _cached_size_; }
97  private:
98  void SharedCtor();
99  void SharedDtor();
100  void SetCachedSize(int size) const;
101  void InternalSwap(PoseAnimation* other);
102  private:
103  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
104  return _internal_metadata_.arena();
105  }
106  inline void* MaybeArenaPtr() const {
107  return _internal_metadata_.raw_arena_ptr();
108  }
109  public:
110 
111  ::google::protobuf::Metadata GetMetadata() const;
112 
113  // nested types ----------------------------------------------------
114 
115  // accessors -------------------------------------------------------
116 
117  // optional string model_name = 1;
118  void clear_model_name();
119  static const int kModelNameFieldNumber = 1;
120  const ::std::string& model_name() const;
121  void set_model_name(const ::std::string& value);
122  void set_model_name(const char* value);
123  void set_model_name(const char* value, size_t size);
124  ::std::string* mutable_model_name();
125  ::std::string* release_model_name();
126  void set_allocated_model_name(::std::string* model_name);
127 
128  // optional uint32 model_id = 2;
129  void clear_model_id();
130  static const int kModelIdFieldNumber = 2;
131  ::google::protobuf::uint32 model_id() const;
132  void set_model_id(::google::protobuf::uint32 value);
133 
134  // repeated .ignition.msgs.Pose pose = 3;
135  int pose_size() const;
136  void clear_pose();
137  static const int kPoseFieldNumber = 3;
138  const ::ignition::msgs::Pose& pose(int index) const;
139  ::ignition::msgs::Pose* mutable_pose(int index);
140  ::ignition::msgs::Pose* add_pose();
141  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >*
142  mutable_pose();
143  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >&
144  pose() const;
145 
146  // repeated .ignition.msgs.Time time = 4;
147  int time_size() const;
148  void clear_time();
149  static const int kTimeFieldNumber = 4;
150  const ::ignition::msgs::Time& time(int index) const;
151  ::ignition::msgs::Time* mutable_time(int index);
152  ::ignition::msgs::Time* add_time();
153  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >*
154  mutable_time();
155  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >&
156  time() const;
157 
158  // @@protoc_insertion_point(class_scope:ignition.msgs.PoseAnimation)
159  private:
160 
161  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
162  bool _is_default_instance_;
163  ::google::protobuf::internal::ArenaStringPtr model_name_;
164  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > pose_;
165  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > time_;
166  ::google::protobuf::uint32 model_id_;
167  mutable int _cached_size_;
168  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fpose_5fanimation_2eproto();
171 
172  void InitAsDefaultInstance();
173  static PoseAnimation* default_instance_;
174 };
175 // ===================================================================
176 
177 
178 // ===================================================================
179 
180 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
181 // PoseAnimation
182 
183 // optional string model_name = 1;
185  model_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
186 }
187 inline const ::std::string& PoseAnimation::model_name() const {
188  // @@protoc_insertion_point(field_get:ignition.msgs.PoseAnimation.model_name)
189  return model_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
190 }
191 inline void PoseAnimation::set_model_name(const ::std::string& value) {
192 
193  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
194  // @@protoc_insertion_point(field_set:ignition.msgs.PoseAnimation.model_name)
195 }
196 inline void PoseAnimation::set_model_name(const char* value) {
197 
198  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
199  // @@protoc_insertion_point(field_set_char:ignition.msgs.PoseAnimation.model_name)
200 }
201 inline void PoseAnimation::set_model_name(const char* value, size_t size) {
202 
203  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
204  ::std::string(reinterpret_cast<const char*>(value), size));
205  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.PoseAnimation.model_name)
206 }
207 inline ::std::string* PoseAnimation::mutable_model_name() {
208 
209  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseAnimation.model_name)
210  return model_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
211 }
212 inline ::std::string* PoseAnimation::release_model_name() {
213  // @@protoc_insertion_point(field_release:ignition.msgs.PoseAnimation.model_name)
214 
215  return model_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
216 }
218  if (model_name != NULL) {
219 
220  } else {
221 
222  }
223  model_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), model_name);
224  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PoseAnimation.model_name)
225 }
226 
227 // optional uint32 model_id = 2;
229  model_id_ = 0u;
230 }
231 inline ::google::protobuf::uint32 PoseAnimation::model_id() const {
232  // @@protoc_insertion_point(field_get:ignition.msgs.PoseAnimation.model_id)
233  return model_id_;
234 }
235 inline void PoseAnimation::set_model_id(::google::protobuf::uint32 value) {
236 
237  model_id_ = value;
238  // @@protoc_insertion_point(field_set:ignition.msgs.PoseAnimation.model_id)
239 }
240 
241 // repeated .ignition.msgs.Pose pose = 3;
242 inline int PoseAnimation::pose_size() const {
243  return pose_.size();
244 }
246  pose_.Clear();
247 }
248 inline const ::ignition::msgs::Pose& PoseAnimation::pose(int index) const {
249  // @@protoc_insertion_point(field_get:ignition.msgs.PoseAnimation.pose)
250  return pose_.Get(index);
251 }
252 inline ::ignition::msgs::Pose* PoseAnimation::mutable_pose(int index) {
253  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseAnimation.pose)
254  return pose_.Mutable(index);
255 }
256 inline ::ignition::msgs::Pose* PoseAnimation::add_pose() {
257  // @@protoc_insertion_point(field_add:ignition.msgs.PoseAnimation.pose)
258  return pose_.Add();
259 }
260 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >*
262  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.PoseAnimation.pose)
263  return &pose_;
264 }
265 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >&
267  // @@protoc_insertion_point(field_list:ignition.msgs.PoseAnimation.pose)
268  return pose_;
269 }
270 
271 // repeated .ignition.msgs.Time time = 4;
272 inline int PoseAnimation::time_size() const {
273  return time_.size();
274 }
276  time_.Clear();
277 }
278 inline const ::ignition::msgs::Time& PoseAnimation::time(int index) const {
279  // @@protoc_insertion_point(field_get:ignition.msgs.PoseAnimation.time)
280  return time_.Get(index);
281 }
282 inline ::ignition::msgs::Time* PoseAnimation::mutable_time(int index) {
283  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseAnimation.time)
284  return time_.Mutable(index);
285 }
286 inline ::ignition::msgs::Time* PoseAnimation::add_time() {
287  // @@protoc_insertion_point(field_add:ignition.msgs.PoseAnimation.time)
288  return time_.Add();
289 }
290 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >*
292  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.PoseAnimation.time)
293  return &time_;
294 }
295 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time >&
297  // @@protoc_insertion_point(field_list:ignition.msgs.PoseAnimation.time)
298  return time_;
299 }
300 
301 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
302 
307 // @@protoc_insertion_point(namespace_scope)
308 
309 } // namespace msgs
310 } // namespace ignition
311 
312 #ifdef _MSC_VER
313 #pragma warning(pop)
314 #endif
315 // @@protoc_insertion_point(global_scope)
316 
317 #endif // PROTOBUF_ignition_2fmsgs_2fpose_5fanimation_2eproto__INCLUDED
int GetCachedSize() const
Definition: pose_animation.pb.h:96
Definition: pose.pb.h:58
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > * mutable_time()
Definition: pose_animation.pb.h:291
void set_model_id(::google::protobuf::uint32 value)
Definition: pose_animation.pb.h:235
void clear_time()
Definition: pose_animation.pb.h:275
::std::string * release_model_name()
Definition: pose_animation.pb.h:212
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Time > & time() const
Definition: pose_animation.pb.h:296
const ::std::string & model_name() const
Definition: pose_animation.pb.h:187
PoseAnimation & operator=(const PoseAnimation &from)
Definition: pose_animation.pb.h:64
std::shared_ptr< PoseAnimation > PoseAnimationSharedPtr
Definition: pose_animation.pb.h:305
void clear_pose()
Definition: pose_animation.pb.h:245
::std::string * mutable_model_name()
Definition: pose_animation.pb.h:207
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fpose_5fanimation_2eproto()
STL class.
Definition: pose_animation.pb.h:57
void clear_model_id()
Definition: pose_animation.pb.h:228
void protobuf_AssignDesc_ignition_2fmsgs_2fpose_5fanimation_2eproto()
int time_size() const
Definition: pose_animation.pb.h:272
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > * mutable_pose()
Definition: pose_animation.pb.h:261
std::unique_ptr< const PoseAnimation > ConstPoseAnimationUniquePtr
Definition: pose_animation.pb.h:304
void clear_model_name()
Definition: pose_animation.pb.h:184
::ignition::msgs::Time * add_time()
Definition: pose_animation.pb.h:286
void set_model_name(const ::std::string &value)
Definition: pose_animation.pb.h:191
PoseAnimation * New() const
Definition: pose_animation.pb.h:76
STL class.
int pose_size() const
Definition: pose_animation.pb.h:242
::google::protobuf::uint32 model_id() const
Definition: pose_animation.pb.h:231
std::shared_ptr< const PoseAnimation > ConstPoseAnimationSharedPtr
Definition: pose_animation.pb.h:306
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
Definition: pose_animation.pb.h:266
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: pose_animation.pb.h:93
::ignition::msgs::Pose * add_pose()
Definition: pose_animation.pb.h:256
std::unique_ptr< PoseAnimation > PoseAnimationUniquePtr
Definition: pose_animation.pb.h:303
void set_allocated_model_name(::std::string *model_name)
Definition: pose_animation.pb.h:217
Definition: time.pb.h:55
void protobuf_ShutdownFile_ignition_2fmsgs_2fpose_5fanimation_2eproto()