Ignition Msgs

API Reference

6.4.0
joint.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/joint.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fjoint_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fjoint_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/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h>
32 #include "ignition/msgs/axis.pb.h"
33 #include "ignition/msgs/pose.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 
48 namespace ignition {
49 namespace msgs {
50 
51 // Internal implementation detail -- do not call these.
52 void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoint_2eproto();
55 
56 class Joint;
57 class Joint_Gearbox;
58 class Joint_Screw;
59 
60 enum Joint_Type {
69  Joint_Type_Joint_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
71 };
72 IGNITION_MSGS_VISIBLE bool Joint_Type_IsValid(int value);
75 const int Joint_Type_Type_ARRAYSIZE = Joint_Type_Type_MAX + 1;
76 
77 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Joint_Type_descriptor();
78 inline const ::std::string& Joint_Type_Name(Joint_Type value) {
79  return ::google::protobuf::internal::NameOfEnum(
80  Joint_Type_descriptor(), value);
81 }
82 inline bool Joint_Type_Parse(
83  const ::std::string& name, Joint_Type* value) {
84  return ::google::protobuf::internal::ParseNamedEnum<Joint_Type>(
85  Joint_Type_descriptor(), name, value);
86 }
87 // ===================================================================
88 
89 class IGNITION_MSGS_VISIBLE Joint_Gearbox : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint.Gearbox) */ {
90  public:
91  Joint_Gearbox();
92  virtual ~Joint_Gearbox();
93 
94  Joint_Gearbox(const Joint_Gearbox& from);
95 
96  inline Joint_Gearbox& operator=(const Joint_Gearbox& from) {
97  CopyFrom(from);
98  return *this;
99  }
100 
101  static const ::google::protobuf::Descriptor* descriptor();
102  static const Joint_Gearbox& default_instance();
103 
104  void Swap(Joint_Gearbox* other);
105 
106  // implements Message ----------------------------------------------
107 
108  inline Joint_Gearbox* New() const { return New(NULL); }
109 
110  Joint_Gearbox* New(::google::protobuf::Arena* arena) const;
111  void CopyFrom(const ::google::protobuf::Message& from);
112  void MergeFrom(const ::google::protobuf::Message& from);
113  void CopyFrom(const Joint_Gearbox& from);
114  void MergeFrom(const Joint_Gearbox& from);
115  void Clear();
116  bool IsInitialized() const;
117 
118  int ByteSize() const;
119  bool MergePartialFromCodedStream(
120  ::google::protobuf::io::CodedInputStream* input);
121  void SerializeWithCachedSizes(
122  ::google::protobuf::io::CodedOutputStream* output) const;
123  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
124  bool deterministic, ::google::protobuf::uint8* output) const;
125  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
126  return InternalSerializeWithCachedSizesToArray(false, output);
127  }
128  int GetCachedSize() const { return _cached_size_; }
129  private:
130  void SharedCtor();
131  void SharedDtor();
132  void SetCachedSize(int size) const;
133  void InternalSwap(Joint_Gearbox* other);
134  private:
135  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
136  return _internal_metadata_.arena();
137  }
138  inline void* MaybeArenaPtr() const {
139  return _internal_metadata_.raw_arena_ptr();
140  }
141  public:
142 
143  ::google::protobuf::Metadata GetMetadata() const;
144 
145  // nested types ----------------------------------------------------
146 
147  // accessors -------------------------------------------------------
148 
149  // optional string gearbox_reference_body = 1;
150  void clear_gearbox_reference_body();
151  static const int kGearboxReferenceBodyFieldNumber = 1;
152  const ::std::string& gearbox_reference_body() const;
153  void set_gearbox_reference_body(const ::std::string& value);
154  void set_gearbox_reference_body(const char* value);
155  void set_gearbox_reference_body(const char* value, size_t size);
156  ::std::string* mutable_gearbox_reference_body();
157  ::std::string* release_gearbox_reference_body();
158  void set_allocated_gearbox_reference_body(::std::string* gearbox_reference_body);
159 
160  // optional double gearbox_ratio = 2;
161  void clear_gearbox_ratio();
162  static const int kGearboxRatioFieldNumber = 2;
163  double gearbox_ratio() const;
164  void set_gearbox_ratio(double value);
165 
166  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint.Gearbox)
167  private:
168 
169  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
170  bool _is_default_instance_;
171  ::google::protobuf::internal::ArenaStringPtr gearbox_reference_body_;
172  double gearbox_ratio_;
173  mutable int _cached_size_;
174  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoint_2eproto();
177 
178  void InitAsDefaultInstance();
179  static Joint_Gearbox* default_instance_;
180 };
181 // -------------------------------------------------------------------
182 
183 class IGNITION_MSGS_VISIBLE Joint_Screw : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint.Screw) */ {
184  public:
185  Joint_Screw();
186  virtual ~Joint_Screw();
187 
188  Joint_Screw(const Joint_Screw& from);
189 
190  inline Joint_Screw& operator=(const Joint_Screw& from) {
191  CopyFrom(from);
192  return *this;
193  }
194 
195  static const ::google::protobuf::Descriptor* descriptor();
196  static const Joint_Screw& default_instance();
197 
198  void Swap(Joint_Screw* other);
199 
200  // implements Message ----------------------------------------------
201 
202  inline Joint_Screw* New() const { return New(NULL); }
203 
204  Joint_Screw* New(::google::protobuf::Arena* arena) const;
205  void CopyFrom(const ::google::protobuf::Message& from);
206  void MergeFrom(const ::google::protobuf::Message& from);
207  void CopyFrom(const Joint_Screw& from);
208  void MergeFrom(const Joint_Screw& from);
209  void Clear();
210  bool IsInitialized() const;
211 
212  int ByteSize() const;
213  bool MergePartialFromCodedStream(
214  ::google::protobuf::io::CodedInputStream* input);
215  void SerializeWithCachedSizes(
216  ::google::protobuf::io::CodedOutputStream* output) const;
217  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
218  bool deterministic, ::google::protobuf::uint8* output) const;
219  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
220  return InternalSerializeWithCachedSizesToArray(false, output);
221  }
222  int GetCachedSize() const { return _cached_size_; }
223  private:
224  void SharedCtor();
225  void SharedDtor();
226  void SetCachedSize(int size) const;
227  void InternalSwap(Joint_Screw* other);
228  private:
229  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
230  return _internal_metadata_.arena();
231  }
232  inline void* MaybeArenaPtr() const {
233  return _internal_metadata_.raw_arena_ptr();
234  }
235  public:
236 
237  ::google::protobuf::Metadata GetMetadata() const;
238 
239  // nested types ----------------------------------------------------
240 
241  // accessors -------------------------------------------------------
242 
243  // optional double thread_pitch = 1;
244  void clear_thread_pitch();
245  static const int kThreadPitchFieldNumber = 1;
246  double thread_pitch() const;
247  void set_thread_pitch(double value);
248 
249  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint.Screw)
250  private:
251 
252  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
253  bool _is_default_instance_;
254  double thread_pitch_;
255  mutable int _cached_size_;
256  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoint_2eproto();
259 
260  void InitAsDefaultInstance();
261  static Joint_Screw* default_instance_;
262 };
263 // -------------------------------------------------------------------
264 
265 class IGNITION_MSGS_VISIBLE Joint : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint) */ {
266  public:
267  Joint();
268  virtual ~Joint();
269 
270  Joint(const Joint& from);
271 
272  inline Joint& operator=(const Joint& from) {
273  CopyFrom(from);
274  return *this;
275  }
276 
277  static const ::google::protobuf::Descriptor* descriptor();
278  static const Joint& default_instance();
279 
280  void Swap(Joint* other);
281 
282  // implements Message ----------------------------------------------
283 
284  inline Joint* New() const { return New(NULL); }
285 
286  Joint* New(::google::protobuf::Arena* arena) const;
287  void CopyFrom(const ::google::protobuf::Message& from);
288  void MergeFrom(const ::google::protobuf::Message& from);
289  void CopyFrom(const Joint& from);
290  void MergeFrom(const Joint& from);
291  void Clear();
292  bool IsInitialized() const;
293 
294  int ByteSize() const;
295  bool MergePartialFromCodedStream(
296  ::google::protobuf::io::CodedInputStream* input);
297  void SerializeWithCachedSizes(
298  ::google::protobuf::io::CodedOutputStream* output) const;
299  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
300  bool deterministic, ::google::protobuf::uint8* output) const;
301  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
302  return InternalSerializeWithCachedSizesToArray(false, output);
303  }
304  int GetCachedSize() const { return _cached_size_; }
305  private:
306  void SharedCtor();
307  void SharedDtor();
308  void SetCachedSize(int size) const;
309  void InternalSwap(Joint* other);
310  private:
311  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
312  return _internal_metadata_.arena();
313  }
314  inline void* MaybeArenaPtr() const {
315  return _internal_metadata_.raw_arena_ptr();
316  }
317  public:
318 
319  ::google::protobuf::Metadata GetMetadata() const;
320 
321  // nested types ----------------------------------------------------
322 
325 
326  typedef Joint_Type Type;
327  static const Type REVOLUTE =
329  static const Type REVOLUTE2 =
331  static const Type PRISMATIC =
333  static const Type UNIVERSAL =
335  static const Type BALL =
337  static const Type SCREW =
339  static const Type GEARBOX =
341  static const Type FIXED =
343  static inline bool Type_IsValid(int value) {
344  return Joint_Type_IsValid(value);
345  }
346  static const Type Type_MIN =
348  static const Type Type_MAX =
350  static const int Type_ARRAYSIZE =
352  static inline const ::google::protobuf::EnumDescriptor*
354  return Joint_Type_descriptor();
355  }
356  static inline const ::std::string& Type_Name(Type value) {
357  return Joint_Type_Name(value);
358  }
359  static inline bool Type_Parse(const ::std::string& name,
360  Type* value) {
361  return Joint_Type_Parse(name, value);
362  }
363 
364  // accessors -------------------------------------------------------
365 
366  // optional .ignition.msgs.Header header = 1;
367  bool has_header() const;
368  void clear_header();
369  static const int kHeaderFieldNumber = 1;
370  const ::ignition::msgs::Header& header() const;
371  ::ignition::msgs::Header* mutable_header();
372  ::ignition::msgs::Header* release_header();
373  void set_allocated_header(::ignition::msgs::Header* header);
374 
375  // optional string name = 2;
376  void clear_name();
377  static const int kNameFieldNumber = 2;
378  const ::std::string& name() const;
379  void set_name(const ::std::string& value);
380  void set_name(const char* value);
381  void set_name(const char* value, size_t size);
382  ::std::string* mutable_name();
383  ::std::string* release_name();
384  void set_allocated_name(::std::string* name);
385 
386  // optional uint32 id = 3;
387  void clear_id();
388  static const int kIdFieldNumber = 3;
389  ::google::protobuf::uint32 id() const;
390  void set_id(::google::protobuf::uint32 value);
391 
392  // optional .ignition.msgs.Joint.Type type = 4;
393  void clear_type();
394  static const int kTypeFieldNumber = 4;
395  ::ignition::msgs::Joint_Type type() const;
396  void set_type(::ignition::msgs::Joint_Type value);
397 
398  // optional string parent = 5;
399  void clear_parent();
400  static const int kParentFieldNumber = 5;
401  const ::std::string& parent() const;
402  void set_parent(const ::std::string& value);
403  void set_parent(const char* value);
404  void set_parent(const char* value, size_t size);
405  ::std::string* mutable_parent();
406  ::std::string* release_parent();
407  void set_allocated_parent(::std::string* parent);
408 
409  // optional uint32 parent_id = 6;
410  void clear_parent_id();
411  static const int kParentIdFieldNumber = 6;
412  ::google::protobuf::uint32 parent_id() const;
413  void set_parent_id(::google::protobuf::uint32 value);
414 
415  // optional string child = 7;
416  void clear_child();
417  static const int kChildFieldNumber = 7;
418  const ::std::string& child() const;
419  void set_child(const ::std::string& value);
420  void set_child(const char* value);
421  void set_child(const char* value, size_t size);
422  ::std::string* mutable_child();
423  ::std::string* release_child();
424  void set_allocated_child(::std::string* child);
425 
426  // optional uint32 child_id = 8;
427  void clear_child_id();
428  static const int kChildIdFieldNumber = 8;
429  ::google::protobuf::uint32 child_id() const;
430  void set_child_id(::google::protobuf::uint32 value);
431 
432  // optional .ignition.msgs.Pose pose = 9;
433  bool has_pose() const;
434  void clear_pose();
435  static const int kPoseFieldNumber = 9;
436  const ::ignition::msgs::Pose& pose() const;
437  ::ignition::msgs::Pose* mutable_pose();
438  ::ignition::msgs::Pose* release_pose();
439  void set_allocated_pose(::ignition::msgs::Pose* pose);
440 
441  // optional .ignition.msgs.Axis axis1 = 10;
442  bool has_axis1() const;
443  void clear_axis1();
444  static const int kAxis1FieldNumber = 10;
445  const ::ignition::msgs::Axis& axis1() const;
446  ::ignition::msgs::Axis* mutable_axis1();
447  ::ignition::msgs::Axis* release_axis1();
448  void set_allocated_axis1(::ignition::msgs::Axis* axis1);
449 
450  // optional .ignition.msgs.Axis axis2 = 11;
451  bool has_axis2() const;
452  void clear_axis2();
453  static const int kAxis2FieldNumber = 11;
454  const ::ignition::msgs::Axis& axis2() const;
455  ::ignition::msgs::Axis* mutable_axis2();
456  ::ignition::msgs::Axis* release_axis2();
457  void set_allocated_axis2(::ignition::msgs::Axis* axis2);
458 
459  // optional double cfm = 12;
460  void clear_cfm();
461  static const int kCfmFieldNumber = 12;
462  double cfm() const;
463  void set_cfm(double value);
464 
465  // optional double bounce = 13;
466  void clear_bounce();
467  static const int kBounceFieldNumber = 13;
468  double bounce() const;
469  void set_bounce(double value);
470 
471  // optional double fudge_factor = 14;
472  void clear_fudge_factor();
473  static const int kFudgeFactorFieldNumber = 14;
474  double fudge_factor() const;
475  void set_fudge_factor(double value);
476 
477  // optional double limit_cfm = 15;
478  void clear_limit_cfm();
479  static const int kLimitCfmFieldNumber = 15;
480  double limit_cfm() const;
481  void set_limit_cfm(double value);
482 
483  // optional double limit_erp = 16;
484  void clear_limit_erp();
485  static const int kLimitErpFieldNumber = 16;
486  double limit_erp() const;
487  void set_limit_erp(double value);
488 
489  // optional double suspension_cfm = 17;
490  void clear_suspension_cfm();
491  static const int kSuspensionCfmFieldNumber = 17;
492  double suspension_cfm() const;
493  void set_suspension_cfm(double value);
494 
495  // optional double suspension_erp = 18;
496  void clear_suspension_erp();
497  static const int kSuspensionErpFieldNumber = 18;
498  double suspension_erp() const;
499  void set_suspension_erp(double value);
500 
501  // optional .ignition.msgs.Joint.Gearbox gearbox = 19;
502  bool has_gearbox() const;
503  void clear_gearbox();
504  static const int kGearboxFieldNumber = 19;
505  const ::ignition::msgs::Joint_Gearbox& gearbox() const;
506  ::ignition::msgs::Joint_Gearbox* mutable_gearbox();
507  ::ignition::msgs::Joint_Gearbox* release_gearbox();
508  void set_allocated_gearbox(::ignition::msgs::Joint_Gearbox* gearbox);
509 
510  // optional .ignition.msgs.Joint.Screw screw = 20;
511  bool has_screw() const;
512  void clear_screw();
513  static const int kScrewFieldNumber = 20;
514  const ::ignition::msgs::Joint_Screw& screw() const;
515  ::ignition::msgs::Joint_Screw* mutable_screw();
516  ::ignition::msgs::Joint_Screw* release_screw();
517  void set_allocated_screw(::ignition::msgs::Joint_Screw* screw);
518 
519  // repeated .ignition.msgs.Sensor sensor = 21;
520  int sensor_size() const;
521  void clear_sensor();
522  static const int kSensorFieldNumber = 21;
523  const ::ignition::msgs::Sensor& sensor(int index) const;
524  ::ignition::msgs::Sensor* mutable_sensor(int index);
525  ::ignition::msgs::Sensor* add_sensor();
526  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor >*
527  mutable_sensor();
528  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor >&
529  sensor() const;
530 
531  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint)
532  private:
533 
534  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
535  bool _is_default_instance_;
536  ::ignition::msgs::Header* header_;
537  ::google::protobuf::internal::ArenaStringPtr name_;
538  ::google::protobuf::uint32 id_;
539  int type_;
540  ::google::protobuf::internal::ArenaStringPtr parent_;
541  ::google::protobuf::internal::ArenaStringPtr child_;
542  ::google::protobuf::uint32 parent_id_;
543  ::google::protobuf::uint32 child_id_;
544  ::ignition::msgs::Pose* pose_;
545  ::ignition::msgs::Axis* axis1_;
546  ::ignition::msgs::Axis* axis2_;
547  double cfm_;
548  double bounce_;
549  double fudge_factor_;
550  double limit_cfm_;
551  double limit_erp_;
552  double suspension_cfm_;
553  double suspension_erp_;
556  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor > sensor_;
557  mutable int _cached_size_;
558  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoint_2eproto();
561 
562  void InitAsDefaultInstance();
563  static Joint* default_instance_;
564 };
565 // ===================================================================
566 
567 
568 // ===================================================================
569 
570 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
571 // Joint_Gearbox
572 
573 // optional string gearbox_reference_body = 1;
575  gearbox_reference_body_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
576 }
577 inline const ::std::string& Joint_Gearbox::gearbox_reference_body() const {
578  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
579  return gearbox_reference_body_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
580 }
581 inline void Joint_Gearbox::set_gearbox_reference_body(const ::std::string& value) {
582 
583  gearbox_reference_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
584  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
585 }
586 inline void Joint_Gearbox::set_gearbox_reference_body(const char* value) {
587 
588  gearbox_reference_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
589  // @@protoc_insertion_point(field_set_char:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
590 }
591 inline void Joint_Gearbox::set_gearbox_reference_body(const char* value, size_t size) {
592 
593  gearbox_reference_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
594  ::std::string(reinterpret_cast<const char*>(value), size));
595  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
596 }
598 
599  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
600  return gearbox_reference_body_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
601 }
603  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
604 
605  return gearbox_reference_body_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
606 }
607 inline void Joint_Gearbox::set_allocated_gearbox_reference_body(::std::string* gearbox_reference_body) {
608  if (gearbox_reference_body != NULL) {
609 
610  } else {
611 
612  }
613  gearbox_reference_body_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gearbox_reference_body);
614  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
615 }
616 
617 // optional double gearbox_ratio = 2;
619  gearbox_ratio_ = 0;
620 }
621 inline double Joint_Gearbox::gearbox_ratio() const {
622  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Gearbox.gearbox_ratio)
623  return gearbox_ratio_;
624 }
625 inline void Joint_Gearbox::set_gearbox_ratio(double value) {
626 
627  gearbox_ratio_ = value;
628  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Gearbox.gearbox_ratio)
629 }
630 
631 // -------------------------------------------------------------------
632 
633 // Joint_Screw
634 
635 // optional double thread_pitch = 1;
637  thread_pitch_ = 0;
638 }
639 inline double Joint_Screw::thread_pitch() const {
640  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Screw.thread_pitch)
641  return thread_pitch_;
642 }
643 inline void Joint_Screw::set_thread_pitch(double value) {
644 
645  thread_pitch_ = value;
646  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Screw.thread_pitch)
647 }
648 
649 // -------------------------------------------------------------------
650 
651 // Joint
652 
653 // optional .ignition.msgs.Header header = 1;
654 inline bool Joint::has_header() const {
655  return !_is_default_instance_ && header_ != NULL;
656 }
657 inline void Joint::clear_header() {
658  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
659  header_ = NULL;
660 }
661 inline const ::ignition::msgs::Header& Joint::header() const {
662  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.header)
663  return header_ != NULL ? *header_ : *default_instance_->header_;
664 }
665 inline ::ignition::msgs::Header* Joint::mutable_header() {
666 
667  if (header_ == NULL) {
668  header_ = new ::ignition::msgs::Header;
669  }
670  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.header)
671  return header_;
672 }
673 inline ::ignition::msgs::Header* Joint::release_header() {
674  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.header)
675 
676  ::ignition::msgs::Header* temp = header_;
677  header_ = NULL;
678  return temp;
679 }
681  delete header_;
682  header_ = header;
683  if (header) {
684 
685  } else {
686 
687  }
688  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.header)
689 }
690 
691 // optional string name = 2;
692 inline void Joint::clear_name() {
693  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
694 }
695 inline const ::std::string& Joint::name() const {
696  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.name)
697  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
698 }
699 inline void Joint::set_name(const ::std::string& value) {
700 
701  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
702  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.name)
703 }
704 inline void Joint::set_name(const char* value) {
705 
706  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
707  // @@protoc_insertion_point(field_set_char:ignition.msgs.Joint.name)
708 }
709 inline void Joint::set_name(const char* value, size_t size) {
710 
711  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
712  ::std::string(reinterpret_cast<const char*>(value), size));
713  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Joint.name)
714 }
715 inline ::std::string* Joint::mutable_name() {
716 
717  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.name)
718  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
719 }
720 inline ::std::string* Joint::release_name() {
721  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.name)
722 
723  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
724 }
726  if (name != NULL) {
727 
728  } else {
729 
730  }
731  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
732  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.name)
733 }
734 
735 // optional uint32 id = 3;
736 inline void Joint::clear_id() {
737  id_ = 0u;
738 }
739 inline ::google::protobuf::uint32 Joint::id() const {
740  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.id)
741  return id_;
742 }
743 inline void Joint::set_id(::google::protobuf::uint32 value) {
744 
745  id_ = value;
746  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.id)
747 }
748 
749 // optional .ignition.msgs.Joint.Type type = 4;
750 inline void Joint::clear_type() {
751  type_ = 0;
752 }
754  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.type)
755  return static_cast< ::ignition::msgs::Joint_Type >(type_);
756 }
758 
759  type_ = value;
760  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.type)
761 }
762 
763 // optional string parent = 5;
764 inline void Joint::clear_parent() {
765  parent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
766 }
767 inline const ::std::string& Joint::parent() const {
768  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.parent)
769  return parent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
770 }
771 inline void Joint::set_parent(const ::std::string& value) {
772 
773  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
774  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.parent)
775 }
776 inline void Joint::set_parent(const char* value) {
777 
778  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
779  // @@protoc_insertion_point(field_set_char:ignition.msgs.Joint.parent)
780 }
781 inline void Joint::set_parent(const char* value, size_t size) {
782 
783  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
784  ::std::string(reinterpret_cast<const char*>(value), size));
785  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Joint.parent)
786 }
787 inline ::std::string* Joint::mutable_parent() {
788 
789  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.parent)
790  return parent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
791 }
792 inline ::std::string* Joint::release_parent() {
793  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.parent)
794 
795  return parent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
796 }
797 inline void Joint::set_allocated_parent(::std::string* parent) {
798  if (parent != NULL) {
799 
800  } else {
801 
802  }
803  parent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent);
804  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.parent)
805 }
806 
807 // optional uint32 parent_id = 6;
808 inline void Joint::clear_parent_id() {
809  parent_id_ = 0u;
810 }
811 inline ::google::protobuf::uint32 Joint::parent_id() const {
812  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.parent_id)
813  return parent_id_;
814 }
815 inline void Joint::set_parent_id(::google::protobuf::uint32 value) {
816 
817  parent_id_ = value;
818  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.parent_id)
819 }
820 
821 // optional string child = 7;
822 inline void Joint::clear_child() {
823  child_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
824 }
825 inline const ::std::string& Joint::child() const {
826  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.child)
827  return child_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
828 }
829 inline void Joint::set_child(const ::std::string& value) {
830 
831  child_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
832  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.child)
833 }
834 inline void Joint::set_child(const char* value) {
835 
836  child_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
837  // @@protoc_insertion_point(field_set_char:ignition.msgs.Joint.child)
838 }
839 inline void Joint::set_child(const char* value, size_t size) {
840 
841  child_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
842  ::std::string(reinterpret_cast<const char*>(value), size));
843  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Joint.child)
844 }
845 inline ::std::string* Joint::mutable_child() {
846 
847  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.child)
848  return child_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
849 }
850 inline ::std::string* Joint::release_child() {
851  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.child)
852 
853  return child_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
854 }
856  if (child != NULL) {
857 
858  } else {
859 
860  }
861  child_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), child);
862  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.child)
863 }
864 
865 // optional uint32 child_id = 8;
866 inline void Joint::clear_child_id() {
867  child_id_ = 0u;
868 }
869 inline ::google::protobuf::uint32 Joint::child_id() const {
870  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.child_id)
871  return child_id_;
872 }
873 inline void Joint::set_child_id(::google::protobuf::uint32 value) {
874 
875  child_id_ = value;
876  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.child_id)
877 }
878 
879 // optional .ignition.msgs.Pose pose = 9;
880 inline bool Joint::has_pose() const {
881  return !_is_default_instance_ && pose_ != NULL;
882 }
883 inline void Joint::clear_pose() {
884  if (GetArenaNoVirtual() == NULL && pose_ != NULL) delete pose_;
885  pose_ = NULL;
886 }
887 inline const ::ignition::msgs::Pose& Joint::pose() const {
888  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.pose)
889  return pose_ != NULL ? *pose_ : *default_instance_->pose_;
890 }
891 inline ::ignition::msgs::Pose* Joint::mutable_pose() {
892 
893  if (pose_ == NULL) {
894  pose_ = new ::ignition::msgs::Pose;
895  }
896  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.pose)
897  return pose_;
898 }
899 inline ::ignition::msgs::Pose* Joint::release_pose() {
900  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.pose)
901 
902  ::ignition::msgs::Pose* temp = pose_;
903  pose_ = NULL;
904  return temp;
905 }
907  delete pose_;
908  pose_ = pose;
909  if (pose) {
910 
911  } else {
912 
913  }
914  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.pose)
915 }
916 
917 // optional .ignition.msgs.Axis axis1 = 10;
918 inline bool Joint::has_axis1() const {
919  return !_is_default_instance_ && axis1_ != NULL;
920 }
921 inline void Joint::clear_axis1() {
922  if (GetArenaNoVirtual() == NULL && axis1_ != NULL) delete axis1_;
923  axis1_ = NULL;
924 }
925 inline const ::ignition::msgs::Axis& Joint::axis1() const {
926  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.axis1)
927  return axis1_ != NULL ? *axis1_ : *default_instance_->axis1_;
928 }
929 inline ::ignition::msgs::Axis* Joint::mutable_axis1() {
930 
931  if (axis1_ == NULL) {
932  axis1_ = new ::ignition::msgs::Axis;
933  }
934  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.axis1)
935  return axis1_;
936 }
937 inline ::ignition::msgs::Axis* Joint::release_axis1() {
938  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.axis1)
939 
940  ::ignition::msgs::Axis* temp = axis1_;
941  axis1_ = NULL;
942  return temp;
943 }
945  delete axis1_;
946  axis1_ = axis1;
947  if (axis1) {
948 
949  } else {
950 
951  }
952  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.axis1)
953 }
954 
955 // optional .ignition.msgs.Axis axis2 = 11;
956 inline bool Joint::has_axis2() const {
957  return !_is_default_instance_ && axis2_ != NULL;
958 }
959 inline void Joint::clear_axis2() {
960  if (GetArenaNoVirtual() == NULL && axis2_ != NULL) delete axis2_;
961  axis2_ = NULL;
962 }
963 inline const ::ignition::msgs::Axis& Joint::axis2() const {
964  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.axis2)
965  return axis2_ != NULL ? *axis2_ : *default_instance_->axis2_;
966 }
967 inline ::ignition::msgs::Axis* Joint::mutable_axis2() {
968 
969  if (axis2_ == NULL) {
970  axis2_ = new ::ignition::msgs::Axis;
971  }
972  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.axis2)
973  return axis2_;
974 }
975 inline ::ignition::msgs::Axis* Joint::release_axis2() {
976  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.axis2)
977 
978  ::ignition::msgs::Axis* temp = axis2_;
979  axis2_ = NULL;
980  return temp;
981 }
983  delete axis2_;
984  axis2_ = axis2;
985  if (axis2) {
986 
987  } else {
988 
989  }
990  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.axis2)
991 }
992 
993 // optional double cfm = 12;
994 inline void Joint::clear_cfm() {
995  cfm_ = 0;
996 }
997 inline double Joint::cfm() const {
998  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.cfm)
999  return cfm_;
1000 }
1001 inline void Joint::set_cfm(double value) {
1002 
1003  cfm_ = value;
1004  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.cfm)
1005 }
1006 
1007 // optional double bounce = 13;
1008 inline void Joint::clear_bounce() {
1009  bounce_ = 0;
1010 }
1011 inline double Joint::bounce() const {
1012  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.bounce)
1013  return bounce_;
1014 }
1015 inline void Joint::set_bounce(double value) {
1016 
1017  bounce_ = value;
1018  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.bounce)
1019 }
1020 
1021 // optional double fudge_factor = 14;
1023  fudge_factor_ = 0;
1024 }
1025 inline double Joint::fudge_factor() const {
1026  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.fudge_factor)
1027  return fudge_factor_;
1028 }
1029 inline void Joint::set_fudge_factor(double value) {
1030 
1031  fudge_factor_ = value;
1032  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.fudge_factor)
1033 }
1034 
1035 // optional double limit_cfm = 15;
1036 inline void Joint::clear_limit_cfm() {
1037  limit_cfm_ = 0;
1038 }
1039 inline double Joint::limit_cfm() const {
1040  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.limit_cfm)
1041  return limit_cfm_;
1042 }
1043 inline void Joint::set_limit_cfm(double value) {
1044 
1045  limit_cfm_ = value;
1046  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.limit_cfm)
1047 }
1048 
1049 // optional double limit_erp = 16;
1050 inline void Joint::clear_limit_erp() {
1051  limit_erp_ = 0;
1052 }
1053 inline double Joint::limit_erp() const {
1054  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.limit_erp)
1055  return limit_erp_;
1056 }
1057 inline void Joint::set_limit_erp(double value) {
1058 
1059  limit_erp_ = value;
1060  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.limit_erp)
1061 }
1062 
1063 // optional double suspension_cfm = 17;
1065  suspension_cfm_ = 0;
1066 }
1067 inline double Joint::suspension_cfm() const {
1068  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.suspension_cfm)
1069  return suspension_cfm_;
1070 }
1071 inline void Joint::set_suspension_cfm(double value) {
1072 
1073  suspension_cfm_ = value;
1074  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.suspension_cfm)
1075 }
1076 
1077 // optional double suspension_erp = 18;
1079  suspension_erp_ = 0;
1080 }
1081 inline double Joint::suspension_erp() const {
1082  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.suspension_erp)
1083  return suspension_erp_;
1084 }
1085 inline void Joint::set_suspension_erp(double value) {
1086 
1087  suspension_erp_ = value;
1088  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.suspension_erp)
1089 }
1090 
1091 // optional .ignition.msgs.Joint.Gearbox gearbox = 19;
1092 inline bool Joint::has_gearbox() const {
1093  return !_is_default_instance_ && gearbox_ != NULL;
1094 }
1095 inline void Joint::clear_gearbox() {
1096  if (GetArenaNoVirtual() == NULL && gearbox_ != NULL) delete gearbox_;
1097  gearbox_ = NULL;
1098 }
1099 inline const ::ignition::msgs::Joint_Gearbox& Joint::gearbox() const {
1100  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.gearbox)
1101  return gearbox_ != NULL ? *gearbox_ : *default_instance_->gearbox_;
1102 }
1103 inline ::ignition::msgs::Joint_Gearbox* Joint::mutable_gearbox() {
1104 
1105  if (gearbox_ == NULL) {
1106  gearbox_ = new ::ignition::msgs::Joint_Gearbox;
1107  }
1108  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.gearbox)
1109  return gearbox_;
1110 }
1111 inline ::ignition::msgs::Joint_Gearbox* Joint::release_gearbox() {
1112  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.gearbox)
1113 
1114  ::ignition::msgs::Joint_Gearbox* temp = gearbox_;
1115  gearbox_ = NULL;
1116  return temp;
1117 }
1119  delete gearbox_;
1120  gearbox_ = gearbox;
1121  if (gearbox) {
1122 
1123  } else {
1124 
1125  }
1126  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.gearbox)
1127 }
1128 
1129 // optional .ignition.msgs.Joint.Screw screw = 20;
1130 inline bool Joint::has_screw() const {
1131  return !_is_default_instance_ && screw_ != NULL;
1132 }
1133 inline void Joint::clear_screw() {
1134  if (GetArenaNoVirtual() == NULL && screw_ != NULL) delete screw_;
1135  screw_ = NULL;
1136 }
1137 inline const ::ignition::msgs::Joint_Screw& Joint::screw() const {
1138  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.screw)
1139  return screw_ != NULL ? *screw_ : *default_instance_->screw_;
1140 }
1141 inline ::ignition::msgs::Joint_Screw* Joint::mutable_screw() {
1142 
1143  if (screw_ == NULL) {
1144  screw_ = new ::ignition::msgs::Joint_Screw;
1145  }
1146  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.screw)
1147  return screw_;
1148 }
1149 inline ::ignition::msgs::Joint_Screw* Joint::release_screw() {
1150  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.screw)
1151 
1152  ::ignition::msgs::Joint_Screw* temp = screw_;
1153  screw_ = NULL;
1154  return temp;
1155 }
1157  delete screw_;
1158  screw_ = screw;
1159  if (screw) {
1160 
1161  } else {
1162 
1163  }
1164  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.screw)
1165 }
1166 
1167 // repeated .ignition.msgs.Sensor sensor = 21;
1168 inline int Joint::sensor_size() const {
1169  return sensor_.size();
1170 }
1171 inline void Joint::clear_sensor() {
1172  sensor_.Clear();
1173 }
1174 inline const ::ignition::msgs::Sensor& Joint::sensor(int index) const {
1175  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.sensor)
1176  return sensor_.Get(index);
1177 }
1178 inline ::ignition::msgs::Sensor* Joint::mutable_sensor(int index) {
1179  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.sensor)
1180  return sensor_.Mutable(index);
1181 }
1182 inline ::ignition::msgs::Sensor* Joint::add_sensor() {
1183  // @@protoc_insertion_point(field_add:ignition.msgs.Joint.sensor)
1184  return sensor_.Add();
1185 }
1186 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor >*
1188  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Joint.sensor)
1189  return &sensor_;
1190 }
1191 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor >&
1192 Joint::sensor() const {
1193  // @@protoc_insertion_point(field_list:ignition.msgs.Joint.sensor)
1194  return sensor_;
1195 }
1196 
1197 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
1198 // -------------------------------------------------------------------
1199 
1200 // -------------------------------------------------------------------
1201 
1202 
1207 // @@protoc_insertion_point(namespace_scope)
1208 
1209 } // namespace msgs
1210 } // namespace ignition
1211 
1212 #ifndef SWIG
1213 namespace google {
1214 namespace protobuf {
1215 
1216 template <> struct is_proto_enum< ::ignition::msgs::Joint_Type> : ::google::protobuf::internal::true_type {};
1217 template <>
1218 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Joint_Type>() {
1220 }
1221 
1222 } // namespace protobuf
1223 } // namespace google
1224 #endif // SWIG
1225 
1226 #ifdef _MSC_VER
1227 #pragma warning(pop)
1228 #endif
1229 // @@protoc_insertion_point(global_scope)
1230 
1231 #endif // PROTOBUF_ignition_2fmsgs_2fjoint_2eproto__INCLUDED
bool has_gearbox() const
Definition: joint.pb.h:1092
double thread_pitch() const
Definition: joint.pb.h:639
void clear_limit_cfm()
Definition: joint.pb.h:1036
void clear_limit_erp()
Definition: joint.pb.h:1050
::ignition::msgs::Joint_Gearbox * release_gearbox()
Definition: joint.pb.h:1111
void clear_header()
Definition: joint.pb.h:657
void set_suspension_cfm(double value)
Definition: joint.pb.h:1071
Definition: pose.pb.h:58
Definition: joint.pb.h:265
const ::std::string & name() const
Definition: joint.pb.h:695
IGNITION_MSGS_VISIBLE bool Joint_Type_IsValid(int value)
const ::ignition::msgs::Pose & pose() const
Definition: joint.pb.h:887
std::shared_ptr< const Joint > ConstJointSharedPtr
Definition: joint.pb.h:1206
double fudge_factor() const
Definition: joint.pb.h:1025
Definition: joint.pb.h:63
void clear_pose()
Definition: joint.pb.h:883
const Joint_Type Joint_Type_Type_MIN
Definition: joint.pb.h:73
Joint_Gearbox * New() const
Definition: joint.pb.h:108
void clear_gearbox_reference_body()
Definition: joint.pb.h:574
const ::std::string & child() const
Definition: joint.pb.h:825
Definition: joint.pb.h:68
int sensor_size() const
Definition: joint.pb.h:1168
Definition: joint.pb.h:61
Joint_Screw * New() const
Definition: joint.pb.h:202
double gearbox_ratio() const
Definition: joint.pb.h:621
void set_allocated_gearbox_reference_body(::std::string *gearbox_reference_body)
Definition: joint.pb.h:607
::ignition::msgs::Axis * mutable_axis1()
Definition: joint.pb.h:929
void set_parent(const ::std::string &value)
Definition: joint.pb.h:771
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: joint.pb.h:301
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Joint_Type_descriptor()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: joint.pb.h:219
void clear_parent()
Definition: joint.pb.h:764
void set_bounce(double value)
Definition: joint.pb.h:1015
::google::protobuf::uint32 parent_id() const
Definition: joint.pb.h:811
void clear_gearbox_ratio()
Definition: joint.pb.h:618
Definition: joint.pb.h:62
void clear_child_id()
Definition: joint.pb.h:866
void set_allocated_header(::ignition::msgs::Header *header)
Definition: joint.pb.h:680
void protobuf_ShutdownFile_ignition_2fmsgs_2fjoint_2eproto()
Joint & operator=(const Joint &from)
Definition: joint.pb.h:272
void clear_id()
Definition: joint.pb.h:736
::std::string * mutable_child()
Definition: joint.pb.h:845
void set_fudge_factor(double value)
Definition: joint.pb.h:1029
Joint_Screw & operator=(const Joint_Screw &from)
Definition: joint.pb.h:190
void clear_suspension_erp()
Definition: joint.pb.h:1078
Joint_Type Type
Definition: joint.pb.h:326
const Joint_Type Joint_Type_Type_MAX
Definition: joint.pb.h:74
Joint_Type
Definition: joint.pb.h:60
Definition: joint.pb.h:64
::ignition::msgs::Axis * release_axis1()
Definition: joint.pb.h:937
const ::ignition::msgs::Joint_Screw & screw() const
Definition: joint.pb.h:1137
::ignition::msgs::Joint_Screw * mutable_screw()
Definition: joint.pb.h:1141
Definition: joint.pb.h:183
const ::std::string & gearbox_reference_body() const
Definition: joint.pb.h:577
void clear_name()
Definition: joint.pb.h:692
const ::ignition::msgs::Header & header() const
Definition: joint.pb.h:661
void clear_parent_id()
Definition: joint.pb.h:808
::ignition::msgs::Joint_Type type() const
Definition: joint.pb.h:753
void set_allocated_axis1(::ignition::msgs::Axis *axis1)
Definition: joint.pb.h:944
void clear_axis1()
Definition: joint.pb.h:921
double suspension_erp() const
Definition: joint.pb.h:1081
double limit_erp() const
Definition: joint.pb.h:1053
int GetCachedSize() const
Definition: joint.pb.h:222
void protobuf_AssignDesc_ignition_2fmsgs_2fjoint_2eproto()
Definition: header.pb.h:161
STL class.
void set_limit_erp(double value)
Definition: joint.pb.h:1057
::ignition::msgs::Joint_Screw * release_screw()
Definition: joint.pb.h:1149
double suspension_cfm() const
Definition: joint.pb.h:1067
::google::protobuf::uint32 id() const
Definition: joint.pb.h:739
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: joint.pb.h:353
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor > & sensor() const
Definition: joint.pb.h:1192
::ignition::msgs::Pose * release_pose()
Definition: joint.pb.h:899
::ignition::msgs::Header * mutable_header()
Definition: joint.pb.h:665
::google::protobuf::uint32 child_id() const
Definition: joint.pb.h:869
void clear_fudge_factor()
Definition: joint.pb.h:1022
void clear_gearbox()
Definition: joint.pb.h:1095
void set_allocated_name(::std::string *name)
Definition: joint.pb.h:725
::std::string * release_child()
Definition: joint.pb.h:850
std::unique_ptr< const Joint > ConstJointUniquePtr
Definition: joint.pb.h:1204
void set_limit_cfm(double value)
Definition: joint.pb.h:1043
void set_allocated_parent(::std::string *parent)
Definition: joint.pb.h:797
::std::string * mutable_name()
Definition: joint.pb.h:715
double cfm() const
Definition: joint.pb.h:997
::ignition::msgs::Joint_Gearbox * mutable_gearbox()
Definition: joint.pb.h:1103
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: joint.pb.h:125
void clear_thread_pitch()
Definition: joint.pb.h:636
const int Joint_Type_Type_ARRAYSIZE
Definition: joint.pb.h:75
Definition: joint.pb.h:89
void clear_axis2()
Definition: joint.pb.h:959
const ::std::string & Joint_Type_Name(Joint_Type value)
Definition: joint.pb.h:78
double limit_cfm() const
Definition: joint.pb.h:1039
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: joint.pb.h:906
void set_suspension_erp(double value)
Definition: joint.pb.h:1085
int GetCachedSize() const
Definition: joint.pb.h:128
Joint_Gearbox Gearbox
Definition: joint.pb.h:323
::std::string * release_name()
Definition: joint.pb.h:720
::std::string * mutable_parent()
Definition: joint.pb.h:787
::std::string * mutable_gearbox_reference_body()
Definition: joint.pb.h:597
static bool Type_IsValid(int value)
Definition: joint.pb.h:343
void set_parent_id(::google::protobuf::uint32 value)
Definition: joint.pb.h:815
void clear_sensor()
Definition: joint.pb.h:1171
bool has_header() const
Definition: joint.pb.h:654
bool has_axis2() const
Definition: joint.pb.h:956
int GetCachedSize() const
Definition: joint.pb.h:304
Joint_Gearbox & operator=(const Joint_Gearbox &from)
Definition: joint.pb.h:96
::std::string * release_gearbox_reference_body()
Definition: joint.pb.h:602
::std::string * release_parent()
Definition: joint.pb.h:792
Joint * New() const
Definition: joint.pb.h:284
const ::ignition::msgs::Joint_Gearbox & gearbox() const
Definition: joint.pb.h:1099
std::unique_ptr< Joint > JointUniquePtr
Definition: joint.pb.h:1203
double bounce() const
Definition: joint.pb.h:1011
const ::std::string & parent() const
Definition: joint.pb.h:767
void set_allocated_axis2(::ignition::msgs::Axis *axis2)
Definition: joint.pb.h:982
void set_child(const ::std::string &value)
Definition: joint.pb.h:829
void set_allocated_screw(::ignition::msgs::Joint_Screw *screw)
Definition: joint.pb.h:1156
STL class.
Definition: joint.pb.h:67
void set_allocated_gearbox(::ignition::msgs::Joint_Gearbox *gearbox)
Definition: joint.pb.h:1118
void clear_cfm()
Definition: joint.pb.h:994
::ignition::msgs::Pose * mutable_pose()
Definition: joint.pb.h:891
void set_allocated_child(::std::string *child)
Definition: joint.pb.h:855
::ignition::msgs::Axis * mutable_axis2()
Definition: joint.pb.h:967
void set_type(::ignition::msgs::Joint_Type value)
Definition: joint.pb.h:757
const ::ignition::msgs::Axis & axis1() const
Definition: joint.pb.h:925
Definition: joint.pb.h:65
Definition: sensor.pb.h:66
void set_thread_pitch(double value)
Definition: joint.pb.h:643
static const ::std::string & Type_Name(Type value)
Definition: joint.pb.h:356
::ignition::msgs::Header * release_header()
Definition: joint.pb.h:673
Definition: any.pb.h:839
void set_child_id(::google::protobuf::uint32 value)
Definition: joint.pb.h:873
::ignition::msgs::Sensor * add_sensor()
Definition: joint.pb.h:1182
bool Joint_Type_Parse(const ::std::string &name, Joint_Type *value)
Definition: joint.pb.h:82
void clear_suspension_cfm()
Definition: joint.pb.h:1064
void clear_type()
Definition: joint.pb.h:750
std::shared_ptr< Joint > JointSharedPtr
Definition: joint.pb.h:1205
Definition: axis.pb.h:57
Joint_Screw Screw
Definition: joint.pb.h:324
void clear_bounce()
Definition: joint.pb.h:1008
void clear_screw()
Definition: joint.pb.h:1133
void set_name(const ::std::string &value)
Definition: joint.pb.h:699
bool has_axis1() const
Definition: joint.pb.h:918
void set_id(::google::protobuf::uint32 value)
Definition: joint.pb.h:743
::ignition::msgs::Axis * release_axis2()
Definition: joint.pb.h:975
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: joint.pb.h:359
bool has_screw() const
Definition: joint.pb.h:1130
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor > * mutable_sensor()
Definition: joint.pb.h:1187
Definition: joint.pb.h:66
void set_cfm(double value)
Definition: joint.pb.h:1001
void clear_child()
Definition: joint.pb.h:822
void set_gearbox_ratio(double value)
Definition: joint.pb.h:625
void set_gearbox_reference_body(const ::std::string &value)
Definition: joint.pb.h:581
bool has_pose() const
Definition: joint.pb.h:880
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoint_2eproto()
const ::ignition::msgs::Axis & axis2() const
Definition: joint.pb.h:963