Ignition Msgs

API Reference

8.4.0
axis.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/axis.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2faxis_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2faxis_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>
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.
49 void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2faxis_2eproto();
52 
53 class Axis;
54 
55 // ===================================================================
56 
57 class IGNITION_MSGS_VISIBLE Axis : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Axis) */ {
58  public:
59  Axis();
60  virtual ~Axis();
61 
62  Axis(const Axis& from);
63 
64  inline Axis& operator=(const Axis& from) {
65  CopyFrom(from);
66  return *this;
67  }
68 
69  static const ::google::protobuf::Descriptor* descriptor();
70  static const Axis& default_instance();
71 
72  void Swap(Axis* other);
73 
74  // implements Message ----------------------------------------------
75 
76  inline Axis* New() const { return New(NULL); }
77 
78  Axis* 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 Axis& from);
82  void MergeFrom(const Axis& 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(Axis* 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 .ignition.msgs.Header header = 1;
118  bool has_header() const;
119  void clear_header();
120  static const int kHeaderFieldNumber = 1;
121  const ::ignition::msgs::Header& header() const;
122  ::ignition::msgs::Header* mutable_header();
123  ::ignition::msgs::Header* release_header();
124  void set_allocated_header(::ignition::msgs::Header* header);
125 
126  // optional .ignition.msgs.Vector3d xyz = 2;
127  bool has_xyz() const;
128  void clear_xyz();
129  static const int kXyzFieldNumber = 2;
130  const ::ignition::msgs::Vector3d& xyz() const;
131  ::ignition::msgs::Vector3d* mutable_xyz();
132  ::ignition::msgs::Vector3d* release_xyz();
133  void set_allocated_xyz(::ignition::msgs::Vector3d* xyz);
134 
135  // optional double limit_lower = 3;
136  void clear_limit_lower();
137  static const int kLimitLowerFieldNumber = 3;
138  double limit_lower() const;
139  void set_limit_lower(double value);
140 
141  // optional double limit_upper = 4;
142  void clear_limit_upper();
143  static const int kLimitUpperFieldNumber = 4;
144  double limit_upper() const;
145  void set_limit_upper(double value);
146 
147  // optional double limit_effort = 5;
148  void clear_limit_effort();
149  static const int kLimitEffortFieldNumber = 5;
150  double limit_effort() const;
151  void set_limit_effort(double value);
152 
153  // optional double limit_velocity = 6;
154  void clear_limit_velocity();
155  static const int kLimitVelocityFieldNumber = 6;
156  double limit_velocity() const;
157  void set_limit_velocity(double value);
158 
159  // optional double damping = 7;
160  void clear_damping();
161  static const int kDampingFieldNumber = 7;
162  double damping() const;
163  void set_damping(double value);
164 
165  // optional double friction = 8;
166  void clear_friction();
167  static const int kFrictionFieldNumber = 8;
168  double friction() const;
169  void set_friction(double value);
170 
171  // optional double position = 10;
172  void clear_position();
173  static const int kPositionFieldNumber = 10;
174  double position() const;
175  void set_position(double value);
176 
177  // optional double velocity = 11;
178  void clear_velocity();
179  static const int kVelocityFieldNumber = 11;
180  double velocity() const;
181  void set_velocity(double value);
182 
183  // optional double force = 12;
184  void clear_force();
185  static const int kForceFieldNumber = 12;
186  double force() const;
187  void set_force(double value);
188 
189  // optional double acceleration = 13;
190  void clear_acceleration();
191  static const int kAccelerationFieldNumber = 13;
192  double acceleration() const;
193  void set_acceleration(double value);
194 
195  // optional string xyz_expressed_in = 14;
196  void clear_xyz_expressed_in();
197  static const int kXyzExpressedInFieldNumber = 14;
198  const ::std::string& xyz_expressed_in() const;
199  void set_xyz_expressed_in(const ::std::string& value);
200  void set_xyz_expressed_in(const char* value);
201  void set_xyz_expressed_in(const char* value, size_t size);
202  ::std::string* mutable_xyz_expressed_in();
203  ::std::string* release_xyz_expressed_in();
204  void set_allocated_xyz_expressed_in(::std::string* xyz_expressed_in);
205 
206  // @@protoc_insertion_point(class_scope:ignition.msgs.Axis)
207  private:
208 
209  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
210  bool _is_default_instance_;
211  ::ignition::msgs::Header* header_;
213  double limit_lower_;
214  double limit_upper_;
215  double limit_effort_;
216  double limit_velocity_;
217  double damping_;
218  double friction_;
219  double position_;
220  double velocity_;
221  double force_;
222  double acceleration_;
223  ::google::protobuf::internal::ArenaStringPtr xyz_expressed_in_;
224  mutable int _cached_size_;
225  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2faxis_2eproto();
228 
229  void InitAsDefaultInstance();
230  static Axis* default_instance_;
231 };
232 // ===================================================================
233 
234 
235 // ===================================================================
236 
237 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
238 // Axis
239 
240 // optional .ignition.msgs.Header header = 1;
241 inline bool Axis::has_header() const {
242  return !_is_default_instance_ && header_ != NULL;
243 }
244 inline void Axis::clear_header() {
245  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
246  header_ = NULL;
247 }
248 inline const ::ignition::msgs::Header& Axis::header() const {
249  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.header)
250  return header_ != NULL ? *header_ : *default_instance_->header_;
251 }
252 inline ::ignition::msgs::Header* Axis::mutable_header() {
253 
254  if (header_ == NULL) {
255  header_ = new ::ignition::msgs::Header;
256  }
257  // @@protoc_insertion_point(field_mutable:ignition.msgs.Axis.header)
258  return header_;
259 }
260 inline ::ignition::msgs::Header* Axis::release_header() {
261  // @@protoc_insertion_point(field_release:ignition.msgs.Axis.header)
262 
263  ::ignition::msgs::Header* temp = header_;
264  header_ = NULL;
265  return temp;
266 }
268  delete header_;
269  header_ = header;
270  if (header) {
271 
272  } else {
273 
274  }
275  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Axis.header)
276 }
277 
278 // optional .ignition.msgs.Vector3d xyz = 2;
279 inline bool Axis::has_xyz() const {
280  return !_is_default_instance_ && xyz_ != NULL;
281 }
282 inline void Axis::clear_xyz() {
283  if (GetArenaNoVirtual() == NULL && xyz_ != NULL) delete xyz_;
284  xyz_ = NULL;
285 }
286 inline const ::ignition::msgs::Vector3d& Axis::xyz() const {
287  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.xyz)
288  return xyz_ != NULL ? *xyz_ : *default_instance_->xyz_;
289 }
290 inline ::ignition::msgs::Vector3d* Axis::mutable_xyz() {
291 
292  if (xyz_ == NULL) {
293  xyz_ = new ::ignition::msgs::Vector3d;
294  }
295  // @@protoc_insertion_point(field_mutable:ignition.msgs.Axis.xyz)
296  return xyz_;
297 }
298 inline ::ignition::msgs::Vector3d* Axis::release_xyz() {
299  // @@protoc_insertion_point(field_release:ignition.msgs.Axis.xyz)
300 
301  ::ignition::msgs::Vector3d* temp = xyz_;
302  xyz_ = NULL;
303  return temp;
304 }
306  delete xyz_;
307  xyz_ = xyz;
308  if (xyz) {
309 
310  } else {
311 
312  }
313  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Axis.xyz)
314 }
315 
316 // optional double limit_lower = 3;
317 inline void Axis::clear_limit_lower() {
318  limit_lower_ = 0;
319 }
320 inline double Axis::limit_lower() const {
321  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.limit_lower)
322  return limit_lower_;
323 }
324 inline void Axis::set_limit_lower(double value) {
325 
326  limit_lower_ = value;
327  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.limit_lower)
328 }
329 
330 // optional double limit_upper = 4;
331 inline void Axis::clear_limit_upper() {
332  limit_upper_ = 0;
333 }
334 inline double Axis::limit_upper() const {
335  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.limit_upper)
336  return limit_upper_;
337 }
338 inline void Axis::set_limit_upper(double value) {
339 
340  limit_upper_ = value;
341  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.limit_upper)
342 }
343 
344 // optional double limit_effort = 5;
346  limit_effort_ = 0;
347 }
348 inline double Axis::limit_effort() const {
349  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.limit_effort)
350  return limit_effort_;
351 }
352 inline void Axis::set_limit_effort(double value) {
353 
354  limit_effort_ = value;
355  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.limit_effort)
356 }
357 
358 // optional double limit_velocity = 6;
360  limit_velocity_ = 0;
361 }
362 inline double Axis::limit_velocity() const {
363  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.limit_velocity)
364  return limit_velocity_;
365 }
366 inline void Axis::set_limit_velocity(double value) {
367 
368  limit_velocity_ = value;
369  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.limit_velocity)
370 }
371 
372 // optional double damping = 7;
373 inline void Axis::clear_damping() {
374  damping_ = 0;
375 }
376 inline double Axis::damping() const {
377  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.damping)
378  return damping_;
379 }
380 inline void Axis::set_damping(double value) {
381 
382  damping_ = value;
383  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.damping)
384 }
385 
386 // optional double friction = 8;
387 inline void Axis::clear_friction() {
388  friction_ = 0;
389 }
390 inline double Axis::friction() const {
391  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.friction)
392  return friction_;
393 }
394 inline void Axis::set_friction(double value) {
395 
396  friction_ = value;
397  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.friction)
398 }
399 
400 // optional double position = 10;
401 inline void Axis::clear_position() {
402  position_ = 0;
403 }
404 inline double Axis::position() const {
405  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.position)
406  return position_;
407 }
408 inline void Axis::set_position(double value) {
409 
410  position_ = value;
411  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.position)
412 }
413 
414 // optional double velocity = 11;
415 inline void Axis::clear_velocity() {
416  velocity_ = 0;
417 }
418 inline double Axis::velocity() const {
419  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.velocity)
420  return velocity_;
421 }
422 inline void Axis::set_velocity(double value) {
423 
424  velocity_ = value;
425  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.velocity)
426 }
427 
428 // optional double force = 12;
429 inline void Axis::clear_force() {
430  force_ = 0;
431 }
432 inline double Axis::force() const {
433  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.force)
434  return force_;
435 }
436 inline void Axis::set_force(double value) {
437 
438  force_ = value;
439  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.force)
440 }
441 
442 // optional double acceleration = 13;
444  acceleration_ = 0;
445 }
446 inline double Axis::acceleration() const {
447  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.acceleration)
448  return acceleration_;
449 }
450 inline void Axis::set_acceleration(double value) {
451 
452  acceleration_ = value;
453  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.acceleration)
454 }
455 
456 // optional string xyz_expressed_in = 14;
458  xyz_expressed_in_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
459 }
460 inline const ::std::string& Axis::xyz_expressed_in() const {
461  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.xyz_expressed_in)
462  return xyz_expressed_in_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
463 }
464 inline void Axis::set_xyz_expressed_in(const ::std::string& value) {
465 
466  xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
467  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.xyz_expressed_in)
468 }
469 inline void Axis::set_xyz_expressed_in(const char* value) {
470 
471  xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
472  // @@protoc_insertion_point(field_set_char:ignition.msgs.Axis.xyz_expressed_in)
473 }
474 inline void Axis::set_xyz_expressed_in(const char* value, size_t size) {
475 
476  xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
477  ::std::string(reinterpret_cast<const char*>(value), size));
478  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Axis.xyz_expressed_in)
479 }
480 inline ::std::string* Axis::mutable_xyz_expressed_in() {
481 
482  // @@protoc_insertion_point(field_mutable:ignition.msgs.Axis.xyz_expressed_in)
483  return xyz_expressed_in_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
484 }
485 inline ::std::string* Axis::release_xyz_expressed_in() {
486  // @@protoc_insertion_point(field_release:ignition.msgs.Axis.xyz_expressed_in)
487 
488  return xyz_expressed_in_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
489 }
490 inline void Axis::set_allocated_xyz_expressed_in(::std::string* xyz_expressed_in) {
491  if (xyz_expressed_in != NULL) {
492 
493  } else {
494 
495  }
496  xyz_expressed_in_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xyz_expressed_in);
497  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Axis.xyz_expressed_in)
498 }
499 
500 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
501 
506 // @@protoc_insertion_point(namespace_scope)
507 
508 } // namespace msgs
509 } // namespace ignition
510 
511 #ifdef _MSC_VER
512 #pragma warning(pop)
513 #endif
514 // @@protoc_insertion_point(global_scope)
515 
516 #endif // PROTOBUF_ignition_2fmsgs_2faxis_2eproto__INCLUDED
void set_velocity(double value)
Definition: axis.pb.h:422
double limit_velocity() const
Definition: axis.pb.h:362
Axis * New() const
Definition: axis.pb.h:76
double damping() const
Definition: axis.pb.h:376
void set_limit_upper(double value)
Definition: axis.pb.h:338
std::unique_ptr< Axis > AxisUniquePtr
Definition: axis.pb.h:502
void clear_xyz_expressed_in()
Definition: axis.pb.h:457
bool has_header() const
Definition: axis.pb.h:241
void set_damping(double value)
Definition: axis.pb.h:380
void set_friction(double value)
Definition: axis.pb.h:394
bool has_xyz() const
Definition: axis.pb.h:279
double limit_upper() const
Definition: axis.pb.h:334
double limit_effort() const
Definition: axis.pb.h:348
void set_xyz_expressed_in(const ::std::string &value)
Definition: axis.pb.h:464
void clear_position()
Definition: axis.pb.h:401
void set_allocated_header(::ignition::msgs::Header *header)
Definition: axis.pb.h:267
void clear_friction()
Definition: axis.pb.h:387
const ::ignition::msgs::Vector3d & xyz() const
Definition: axis.pb.h:286
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: axis.pb.h:93
void protobuf_ShutdownFile_ignition_2fmsgs_2faxis_2eproto()
::std::string * release_xyz_expressed_in()
Definition: axis.pb.h:485
void clear_limit_effort()
Definition: axis.pb.h:345
void set_position(double value)
Definition: axis.pb.h:408
double friction() const
Definition: axis.pb.h:390
double force() const
Definition: axis.pb.h:432
void clear_velocity()
Definition: axis.pb.h:415
void set_force(double value)
Definition: axis.pb.h:436
void set_limit_velocity(double value)
Definition: axis.pb.h:366
Definition: header.pb.h:161
STL class.
double acceleration() const
Definition: axis.pb.h:446
void set_limit_effort(double value)
Definition: axis.pb.h:352
std::shared_ptr< Axis > AxisSharedPtr
Definition: axis.pb.h:504
std::shared_ptr< const Axis > ConstAxisSharedPtr
Definition: axis.pb.h:505
void clear_limit_velocity()
Definition: axis.pb.h:359
::ignition::msgs::Vector3d * mutable_xyz()
Definition: axis.pb.h:290
double limit_lower() const
Definition: axis.pb.h:320
void clear_xyz()
Definition: axis.pb.h:282
void set_allocated_xyz_expressed_in(::std::string *xyz_expressed_in)
Definition: axis.pb.h:490
void clear_limit_lower()
Definition: axis.pb.h:317
void set_allocated_xyz(::ignition::msgs::Vector3d *xyz)
Definition: axis.pb.h:305
void clear_force()
Definition: axis.pb.h:429
Definition: vector3d.pb.h:56
::std::string * mutable_xyz_expressed_in()
Definition: axis.pb.h:480
std::unique_ptr< const Axis > ConstAxisUniquePtr
Definition: axis.pb.h:503
STL class.
double velocity() const
Definition: axis.pb.h:418
::ignition::msgs::Vector3d * release_xyz()
Definition: axis.pb.h:298
::ignition::msgs::Header * release_header()
Definition: axis.pb.h:260
void clear_limit_upper()
Definition: axis.pb.h:331
void clear_acceleration()
Definition: axis.pb.h:443
void set_acceleration(double value)
Definition: axis.pb.h:450
void clear_header()
Definition: axis.pb.h:244
void protobuf_AssignDesc_ignition_2fmsgs_2faxis_2eproto()
int GetCachedSize() const
Definition: axis.pb.h:96
void clear_damping()
Definition: axis.pb.h:373
double position() const
Definition: axis.pb.h:404
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2faxis_2eproto()
Definition: axis.pb.h:57
void set_limit_lower(double value)
Definition: axis.pb.h:324
::ignition::msgs::Header * mutable_header()
Definition: axis.pb.h:252
const ::ignition::msgs::Header & header() const
Definition: axis.pb.h:248
const ::std::string & xyz_expressed_in() const
Definition: axis.pb.h:460
Axis & operator=(const Axis &from)
Definition: axis.pb.h:64