Ignition Msgs

API Reference

5.6.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 bool use_parent_model_frame = 9 [deprecated = true];
172  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_use_parent_model_frame();
173  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kUseParentModelFrameFieldNumber = 9;
174  GOOGLE_PROTOBUF_DEPRECATED_ATTR bool use_parent_model_frame() const;
175  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_use_parent_model_frame(bool value);
176 
177  // optional double position = 10;
178  void clear_position();
179  static const int kPositionFieldNumber = 10;
180  double position() const;
181  void set_position(double value);
182 
183  // optional double velocity = 11;
184  void clear_velocity();
185  static const int kVelocityFieldNumber = 11;
186  double velocity() const;
187  void set_velocity(double value);
188 
189  // optional double force = 12;
190  void clear_force();
191  static const int kForceFieldNumber = 12;
192  double force() const;
193  void set_force(double value);
194 
195  // optional double acceleration = 13;
196  void clear_acceleration();
197  static const int kAccelerationFieldNumber = 13;
198  double acceleration() const;
199  void set_acceleration(double value);
200 
201  // optional string xyz_expressed_in = 14;
202  void clear_xyz_expressed_in();
203  static const int kXyzExpressedInFieldNumber = 14;
204  const ::std::string& xyz_expressed_in() const;
205  void set_xyz_expressed_in(const ::std::string& value);
206  void set_xyz_expressed_in(const char* value);
207  void set_xyz_expressed_in(const char* value, size_t size);
208  ::std::string* mutable_xyz_expressed_in();
209  ::std::string* release_xyz_expressed_in();
210  void set_allocated_xyz_expressed_in(::std::string* xyz_expressed_in);
211 
212  // @@protoc_insertion_point(class_scope:ignition.msgs.Axis)
213  private:
214 
215  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
216  bool _is_default_instance_;
217  ::ignition::msgs::Header* header_;
219  double limit_lower_;
220  double limit_upper_;
221  double limit_effort_;
222  double limit_velocity_;
223  double damping_;
224  double friction_;
225  double position_;
226  double velocity_;
227  double force_;
228  double acceleration_;
229  ::google::protobuf::internal::ArenaStringPtr xyz_expressed_in_;
230  bool use_parent_model_frame_;
231  mutable int _cached_size_;
232  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2faxis_2eproto();
235 
236  void InitAsDefaultInstance();
237  static Axis* default_instance_;
238 };
239 // ===================================================================
240 
241 
242 // ===================================================================
243 
244 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
245 // Axis
246 
247 // optional .ignition.msgs.Header header = 1;
248 inline bool Axis::has_header() const {
249  return !_is_default_instance_ && header_ != NULL;
250 }
251 inline void Axis::clear_header() {
252  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
253  header_ = NULL;
254 }
255 inline const ::ignition::msgs::Header& Axis::header() const {
256  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.header)
257  return header_ != NULL ? *header_ : *default_instance_->header_;
258 }
259 inline ::ignition::msgs::Header* Axis::mutable_header() {
260 
261  if (header_ == NULL) {
262  header_ = new ::ignition::msgs::Header;
263  }
264  // @@protoc_insertion_point(field_mutable:ignition.msgs.Axis.header)
265  return header_;
266 }
267 inline ::ignition::msgs::Header* Axis::release_header() {
268  // @@protoc_insertion_point(field_release:ignition.msgs.Axis.header)
269 
270  ::ignition::msgs::Header* temp = header_;
271  header_ = NULL;
272  return temp;
273 }
275  delete header_;
276  header_ = header;
277  if (header) {
278 
279  } else {
280 
281  }
282  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Axis.header)
283 }
284 
285 // optional .ignition.msgs.Vector3d xyz = 2;
286 inline bool Axis::has_xyz() const {
287  return !_is_default_instance_ && xyz_ != NULL;
288 }
289 inline void Axis::clear_xyz() {
290  if (GetArenaNoVirtual() == NULL && xyz_ != NULL) delete xyz_;
291  xyz_ = NULL;
292 }
293 inline const ::ignition::msgs::Vector3d& Axis::xyz() const {
294  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.xyz)
295  return xyz_ != NULL ? *xyz_ : *default_instance_->xyz_;
296 }
297 inline ::ignition::msgs::Vector3d* Axis::mutable_xyz() {
298 
299  if (xyz_ == NULL) {
300  xyz_ = new ::ignition::msgs::Vector3d;
301  }
302  // @@protoc_insertion_point(field_mutable:ignition.msgs.Axis.xyz)
303  return xyz_;
304 }
305 inline ::ignition::msgs::Vector3d* Axis::release_xyz() {
306  // @@protoc_insertion_point(field_release:ignition.msgs.Axis.xyz)
307 
308  ::ignition::msgs::Vector3d* temp = xyz_;
309  xyz_ = NULL;
310  return temp;
311 }
313  delete xyz_;
314  xyz_ = xyz;
315  if (xyz) {
316 
317  } else {
318 
319  }
320  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Axis.xyz)
321 }
322 
323 // optional double limit_lower = 3;
324 inline void Axis::clear_limit_lower() {
325  limit_lower_ = 0;
326 }
327 inline double Axis::limit_lower() const {
328  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.limit_lower)
329  return limit_lower_;
330 }
331 inline void Axis::set_limit_lower(double value) {
332 
333  limit_lower_ = value;
334  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.limit_lower)
335 }
336 
337 // optional double limit_upper = 4;
338 inline void Axis::clear_limit_upper() {
339  limit_upper_ = 0;
340 }
341 inline double Axis::limit_upper() const {
342  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.limit_upper)
343  return limit_upper_;
344 }
345 inline void Axis::set_limit_upper(double value) {
346 
347  limit_upper_ = value;
348  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.limit_upper)
349 }
350 
351 // optional double limit_effort = 5;
353  limit_effort_ = 0;
354 }
355 inline double Axis::limit_effort() const {
356  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.limit_effort)
357  return limit_effort_;
358 }
359 inline void Axis::set_limit_effort(double value) {
360 
361  limit_effort_ = value;
362  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.limit_effort)
363 }
364 
365 // optional double limit_velocity = 6;
367  limit_velocity_ = 0;
368 }
369 inline double Axis::limit_velocity() const {
370  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.limit_velocity)
371  return limit_velocity_;
372 }
373 inline void Axis::set_limit_velocity(double value) {
374 
375  limit_velocity_ = value;
376  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.limit_velocity)
377 }
378 
379 // optional double damping = 7;
380 inline void Axis::clear_damping() {
381  damping_ = 0;
382 }
383 inline double Axis::damping() const {
384  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.damping)
385  return damping_;
386 }
387 inline void Axis::set_damping(double value) {
388 
389  damping_ = value;
390  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.damping)
391 }
392 
393 // optional double friction = 8;
394 inline void Axis::clear_friction() {
395  friction_ = 0;
396 }
397 inline double Axis::friction() const {
398  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.friction)
399  return friction_;
400 }
401 inline void Axis::set_friction(double value) {
402 
403  friction_ = value;
404  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.friction)
405 }
406 
407 // optional bool use_parent_model_frame = 9 [deprecated = true];
409  use_parent_model_frame_ = false;
410 }
411 inline bool Axis::use_parent_model_frame() const {
412  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.use_parent_model_frame)
413  return use_parent_model_frame_;
414 }
415 inline void Axis::set_use_parent_model_frame(bool value) {
416 
417  use_parent_model_frame_ = value;
418  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.use_parent_model_frame)
419 }
420 
421 // optional double position = 10;
422 inline void Axis::clear_position() {
423  position_ = 0;
424 }
425 inline double Axis::position() const {
426  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.position)
427  return position_;
428 }
429 inline void Axis::set_position(double value) {
430 
431  position_ = value;
432  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.position)
433 }
434 
435 // optional double velocity = 11;
436 inline void Axis::clear_velocity() {
437  velocity_ = 0;
438 }
439 inline double Axis::velocity() const {
440  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.velocity)
441  return velocity_;
442 }
443 inline void Axis::set_velocity(double value) {
444 
445  velocity_ = value;
446  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.velocity)
447 }
448 
449 // optional double force = 12;
450 inline void Axis::clear_force() {
451  force_ = 0;
452 }
453 inline double Axis::force() const {
454  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.force)
455  return force_;
456 }
457 inline void Axis::set_force(double value) {
458 
459  force_ = value;
460  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.force)
461 }
462 
463 // optional double acceleration = 13;
465  acceleration_ = 0;
466 }
467 inline double Axis::acceleration() const {
468  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.acceleration)
469  return acceleration_;
470 }
471 inline void Axis::set_acceleration(double value) {
472 
473  acceleration_ = value;
474  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.acceleration)
475 }
476 
477 // optional string xyz_expressed_in = 14;
479  xyz_expressed_in_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
480 }
481 inline const ::std::string& Axis::xyz_expressed_in() const {
482  // @@protoc_insertion_point(field_get:ignition.msgs.Axis.xyz_expressed_in)
483  return xyz_expressed_in_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
484 }
485 inline void Axis::set_xyz_expressed_in(const ::std::string& value) {
486 
487  xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
488  // @@protoc_insertion_point(field_set:ignition.msgs.Axis.xyz_expressed_in)
489 }
490 inline void Axis::set_xyz_expressed_in(const char* value) {
491 
492  xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
493  // @@protoc_insertion_point(field_set_char:ignition.msgs.Axis.xyz_expressed_in)
494 }
495 inline void Axis::set_xyz_expressed_in(const char* value, size_t size) {
496 
497  xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
498  ::std::string(reinterpret_cast<const char*>(value), size));
499  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Axis.xyz_expressed_in)
500 }
501 inline ::std::string* Axis::mutable_xyz_expressed_in() {
502 
503  // @@protoc_insertion_point(field_mutable:ignition.msgs.Axis.xyz_expressed_in)
504  return xyz_expressed_in_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
505 }
506 inline ::std::string* Axis::release_xyz_expressed_in() {
507  // @@protoc_insertion_point(field_release:ignition.msgs.Axis.xyz_expressed_in)
508 
509  return xyz_expressed_in_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
510 }
511 inline void Axis::set_allocated_xyz_expressed_in(::std::string* xyz_expressed_in) {
512  if (xyz_expressed_in != NULL) {
513 
514  } else {
515 
516  }
517  xyz_expressed_in_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xyz_expressed_in);
518  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Axis.xyz_expressed_in)
519 }
520 
521 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
522 
527 // @@protoc_insertion_point(namespace_scope)
528 
529 } // namespace msgs
530 } // namespace ignition
531 
532 #ifdef _MSC_VER
533 #pragma warning(pop)
534 #endif
535 // @@protoc_insertion_point(global_scope)
536 
537 #endif // PROTOBUF_ignition_2fmsgs_2faxis_2eproto__INCLUDED
void set_velocity(double value)
Definition: axis.pb.h:443
double limit_velocity() const
Definition: axis.pb.h:369
Axis * New() const
Definition: axis.pb.h:76
double damping() const
Definition: axis.pb.h:383
void set_limit_upper(double value)
Definition: axis.pb.h:345
std::unique_ptr< Axis > AxisUniquePtr
Definition: axis.pb.h:523
void clear_xyz_expressed_in()
Definition: axis.pb.h:478
bool has_header() const
Definition: axis.pb.h:248
void set_damping(double value)
Definition: axis.pb.h:387
void set_friction(double value)
Definition: axis.pb.h:401
bool has_xyz() const
Definition: axis.pb.h:286
double limit_upper() const
Definition: axis.pb.h:341
double limit_effort() const
Definition: axis.pb.h:355
void set_xyz_expressed_in(const ::std::string &value)
Definition: axis.pb.h:485
void clear_position()
Definition: axis.pb.h:422
void set_allocated_header(::ignition::msgs::Header *header)
Definition: axis.pb.h:274
void clear_friction()
Definition: axis.pb.h:394
const ::ignition::msgs::Vector3d & xyz() const
Definition: axis.pb.h:293
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: axis.pb.h:93
void protobuf_ShutdownFile_ignition_2fmsgs_2faxis_2eproto()
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_use_parent_model_frame()
Definition: axis.pb.h:408
::std::string * release_xyz_expressed_in()
Definition: axis.pb.h:506
void clear_limit_effort()
Definition: axis.pb.h:352
void set_position(double value)
Definition: axis.pb.h:429
double friction() const
Definition: axis.pb.h:397
double force() const
Definition: axis.pb.h:453
void clear_velocity()
Definition: axis.pb.h:436
void set_force(double value)
Definition: axis.pb.h:457
void set_limit_velocity(double value)
Definition: axis.pb.h:373
Definition: header.pb.h:161
STL class.
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_use_parent_model_frame(bool value)
Definition: axis.pb.h:415
double acceleration() const
Definition: axis.pb.h:467
void set_limit_effort(double value)
Definition: axis.pb.h:359
std::shared_ptr< Axis > AxisSharedPtr
Definition: axis.pb.h:525
std::shared_ptr< const Axis > ConstAxisSharedPtr
Definition: axis.pb.h:526
GOOGLE_PROTOBUF_DEPRECATED_ATTR bool use_parent_model_frame() const
Definition: axis.pb.h:411
void clear_limit_velocity()
Definition: axis.pb.h:366
::ignition::msgs::Vector3d * mutable_xyz()
Definition: axis.pb.h:297
double limit_lower() const
Definition: axis.pb.h:327
void clear_xyz()
Definition: axis.pb.h:289
void set_allocated_xyz_expressed_in(::std::string *xyz_expressed_in)
Definition: axis.pb.h:511
void clear_limit_lower()
Definition: axis.pb.h:324
void set_allocated_xyz(::ignition::msgs::Vector3d *xyz)
Definition: axis.pb.h:312
void clear_force()
Definition: axis.pb.h:450
Definition: vector3d.pb.h:56
::std::string * mutable_xyz_expressed_in()
Definition: axis.pb.h:501
std::unique_ptr< const Axis > ConstAxisUniquePtr
Definition: axis.pb.h:524
STL class.
double velocity() const
Definition: axis.pb.h:439
::ignition::msgs::Vector3d * release_xyz()
Definition: axis.pb.h:305
::ignition::msgs::Header * release_header()
Definition: axis.pb.h:267
void clear_limit_upper()
Definition: axis.pb.h:338
void clear_acceleration()
Definition: axis.pb.h:464
void set_acceleration(double value)
Definition: axis.pb.h:471
void clear_header()
Definition: axis.pb.h:251
void protobuf_AssignDesc_ignition_2fmsgs_2faxis_2eproto()
int GetCachedSize() const
Definition: axis.pb.h:96
void clear_damping()
Definition: axis.pb.h:380
double position() const
Definition: axis.pb.h:425
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:331
::ignition::msgs::Header * mutable_header()
Definition: axis.pb.h:259
const ::ignition::msgs::Header & header() const
Definition: axis.pb.h:255
const ::std::string & xyz_expressed_in() const
Definition: axis.pb.h:481
Axis & operator=(const Axis &from)
Definition: axis.pb.h:64