4 #ifndef PROTOBUF_ignition_2fmsgs_2ffriction_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2ffriction_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 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 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. 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> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 54 class Friction_Torsional;
55 class Friction_Torsional_ODE;
71 static const ::google::protobuf::Descriptor* descriptor();
81 void CopyFrom(const ::google::protobuf::Message& from);
82 void MergeFrom(const ::google::protobuf::Message& from);
86 bool IsInitialized()
const;
89 bool MergePartialFromCodedStream(
90 ::google::protobuf::io::CodedInputStream* input);
91 void SerializeWithCachedSizes(
92 ::google::protobuf::io::CodedOutputStream* output)
const;
93 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
94 bool deterministic, ::google::protobuf::uint8* output)
const;
96 return InternalSerializeWithCachedSizesToArray(
false, output);
102 void SetCachedSize(
int size)
const;
105 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
106 return _internal_metadata_.arena();
108 inline void* MaybeArenaPtr()
const {
109 return _internal_metadata_.raw_arena_ptr();
113 ::google::protobuf::Metadata GetMetadata()
const;
121 static const int kSlipFieldNumber = 1;
123 void set_slip(
double value);
128 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
129 bool _is_default_instance_;
131 mutable int _cached_size_;
136 void InitAsDefaultInstance();
153 static const ::google::protobuf::Descriptor* descriptor();
163 void CopyFrom(const ::google::protobuf::Message& from);
164 void MergeFrom(const ::google::protobuf::Message& from);
168 bool IsInitialized()
const;
170 int ByteSize()
const;
171 bool MergePartialFromCodedStream(
172 ::google::protobuf::io::CodedInputStream* input);
173 void SerializeWithCachedSizes(
174 ::google::protobuf::io::CodedOutputStream* output)
const;
175 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
176 bool deterministic, ::google::protobuf::uint8* output)
const;
178 return InternalSerializeWithCachedSizesToArray(
false, output);
184 void SetCachedSize(
int size)
const;
187 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
188 return _internal_metadata_.arena();
190 inline void* MaybeArenaPtr()
const {
191 return _internal_metadata_.raw_arena_ptr();
195 ::google::protobuf::Metadata GetMetadata()
const;
204 void clear_coefficient();
205 static const int kCoefficientFieldNumber = 1;
206 double coefficient()
const;
207 void set_coefficient(
double value);
210 void clear_use_patch_radius();
211 static const int kUsePatchRadiusFieldNumber = 2;
212 bool use_patch_radius()
const;
213 void set_use_patch_radius(
bool value);
216 void clear_patch_radius();
217 static const int kPatchRadiusFieldNumber = 3;
218 double patch_radius()
const;
219 void set_patch_radius(
double value);
222 void clear_surface_radius();
223 static const int kSurfaceRadiusFieldNumber = 4;
224 double surface_radius()
const;
225 void set_surface_radius(
double value);
228 bool has_ode()
const;
230 static const int kOdeFieldNumber = 5;
231 const ::ignition::msgs::Friction_Torsional_ODE& ode()
const;
239 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
240 bool _is_default_instance_;
242 double patch_radius_;
243 double surface_radius_;
245 bool use_patch_radius_;
246 mutable int _cached_size_;
251 void InitAsDefaultInstance();
256 class IGNITION_MSGS_VISIBLE
Friction :
public ::google::protobuf::Message {
268 static const ::google::protobuf::Descriptor* descriptor();
269 static const Friction& default_instance();
277 Friction* New(::google::protobuf::Arena* arena)
const;
278 void CopyFrom(const ::google::protobuf::Message& from);
279 void MergeFrom(const ::google::protobuf::Message& from);
280 void CopyFrom(
const Friction& from);
281 void MergeFrom(
const Friction& from);
283 bool IsInitialized()
const;
285 int ByteSize()
const;
286 bool MergePartialFromCodedStream(
287 ::google::protobuf::io::CodedInputStream* input);
288 void SerializeWithCachedSizes(
289 ::google::protobuf::io::CodedOutputStream* output)
const;
290 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
291 bool deterministic, ::google::protobuf::uint8* output)
const;
293 return InternalSerializeWithCachedSizesToArray(
false, output);
299 void SetCachedSize(
int size)
const;
302 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
303 return _internal_metadata_.arena();
305 inline void* MaybeArenaPtr()
const {
306 return _internal_metadata_.raw_arena_ptr();
310 ::google::protobuf::Metadata GetMetadata()
const;
319 bool has_header()
const;
321 static const int kHeaderFieldNumber = 1;
322 const ::ignition::msgs::Header& header()
const;
329 static const int kMuFieldNumber = 2;
331 void set_mu(
double value);
335 static const int kMu2FieldNumber = 3;
337 void set_mu2(
double value);
340 bool has_fdir1()
const;
342 static const int kFdir1FieldNumber = 4;
343 const ::ignition::msgs::Vector3d& fdir1()
const;
350 static const int kSlip1FieldNumber = 5;
351 double slip1()
const;
352 void set_slip1(
double value);
356 static const int kSlip2FieldNumber = 6;
357 double slip2()
const;
358 void set_slip2(
double value);
361 bool has_torsional()
const;
362 void clear_torsional();
363 static const int kTorsionalFieldNumber = 7;
364 const ::ignition::msgs::Friction_Torsional& torsional()
const;
372 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
373 bool _is_default_instance_;
381 mutable int _cached_size_;
386 void InitAsDefaultInstance();
394 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 425 coefficient_ = value;
431 use_patch_radius_ =
false;
435 return use_patch_radius_;
439 use_patch_radius_ = value;
449 return patch_radius_;
453 patch_radius_ = value;
463 return surface_radius_;
467 surface_radius_ = value;
473 return !_is_default_instance_ && ode_ != NULL;
476 if (GetArenaNoVirtual() == NULL && ode_ != NULL)
delete ode_;
481 return ode_ != NULL ? *ode_ : *default_instance_->ode_;
486 ode_ = new ::ignition::msgs::Friction_Torsional_ODE;
515 return !_is_default_instance_ && header_ != NULL;
518 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
523 return header_ != NULL ? *header_ : *default_instance_->header_;
527 if (header_ == NULL) {
528 header_ = new ::ignition::msgs::Header;
581 return !_is_default_instance_ && fdir1_ != NULL;
584 if (GetArenaNoVirtual() == NULL && fdir1_ != NULL)
delete fdir1_;
589 return fdir1_ != NULL ? *fdir1_ : *default_instance_->fdir1_;
593 if (fdir1_ == NULL) {
594 fdir1_ = new ::ignition::msgs::Vector3d;
647 return !_is_default_instance_ && torsional_ != NULL;
650 if (GetArenaNoVirtual() == NULL && torsional_ != NULL)
delete torsional_;
655 return torsional_ != NULL ? *torsional_ : *default_instance_->torsional_;
659 if (torsional_ == NULL) {
660 torsional_ = new ::ignition::msgs::Friction_Torsional;
674 torsional_ = torsional;
683 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 703 #endif // PROTOBUF_ignition_2fmsgs_2ffriction_2eproto__INCLUDED void protobuf_ShutdownFile_ignition_2fmsgs_2ffriction_2eproto()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: friction.pb.h:177
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2ffriction_2eproto()
Friction * New() const
Definition: friction.pb.h:275
void clear_mu2()
Definition: friction.pb.h:566
std::unique_ptr< const Friction > ConstFrictionUniquePtr
Definition: friction.pb.h:690
void clear_coefficient()
Definition: friction.pb.h:416
std::unique_ptr< Friction > FrictionUniquePtr
Definition: friction.pb.h:689
int GetCachedSize() const
Definition: friction.pb.h:295
bool has_fdir1() const
Definition: friction.pb.h:580
Friction_Torsional_ODE * New() const
Definition: friction.pb.h:78
void set_coefficient(double value)
Definition: friction.pb.h:423
double mu2() const
Definition: friction.pb.h:569
void clear_fdir1()
Definition: friction.pb.h:583
void set_patch_radius(double value)
Definition: friction.pb.h:451
std::shared_ptr< Friction > FrictionSharedPtr
Definition: friction.pb.h:691
bool has_header() const
Definition: friction.pb.h:514
void set_allocated_ode(::ignition::msgs::Friction_Torsional_ODE *ode)
Definition: friction.pb.h:498
void set_allocated_torsional(::ignition::msgs::Friction_Torsional *torsional)
Definition: friction.pb.h:672
::ignition::msgs::Vector3d * mutable_fdir1()
Definition: friction.pb.h:591
::ignition::msgs::Friction_Torsional * release_torsional()
Definition: friction.pb.h:665
void set_mu(double value)
Definition: friction.pb.h:559
Friction_Torsional_ODE & operator=(const Friction_Torsional_ODE &from)
Definition: friction.pb.h:66
void clear_slip1()
Definition: friction.pb.h:618
::ignition::msgs::Friction_Torsional_ODE * release_ode()
Definition: friction.pb.h:491
void protobuf_AssignDesc_ignition_2fmsgs_2ffriction_2eproto()
Friction_Torsional_ODE ODE
Definition: friction.pb.h:199
const ::ignition::msgs::Vector3d & fdir1() const
Definition: friction.pb.h:587
Definition: friction.pb.h:59
const ::ignition::msgs::Header & header() const
Definition: friction.pb.h:521
void clear_use_patch_radius()
Definition: friction.pb.h:430
const ::ignition::msgs::Friction_Torsional_ODE & ode() const
Definition: friction.pb.h:479
::ignition::msgs::Friction_Torsional_ODE * mutable_ode()
Definition: friction.pb.h:483
Definition: friction.pb.h:256
double surface_radius() const
Definition: friction.pb.h:461
void clear_torsional()
Definition: friction.pb.h:649
Friction_Torsional & operator=(const Friction_Torsional &from)
Definition: friction.pb.h:148
void clear_header()
Definition: friction.pb.h:517
double slip2() const
Definition: friction.pb.h:635
int GetCachedSize() const
Definition: friction.pb.h:98
::ignition::msgs::Header * release_header()
Definition: friction.pb.h:533
void clear_slip()
Definition: friction.pb.h:398
double slip1() const
Definition: friction.pb.h:621
double coefficient() const
Definition: friction.pb.h:419
void set_surface_radius(double value)
Definition: friction.pb.h:465
void set_slip2(double value)
Definition: friction.pb.h:639
bool use_patch_radius() const
Definition: friction.pb.h:433
void clear_slip2()
Definition: friction.pb.h:632
const ::ignition::msgs::Friction_Torsional & torsional() const
Definition: friction.pb.h:653
::ignition::msgs::Vector3d * release_fdir1()
Definition: friction.pb.h:599
void clear_surface_radius()
Definition: friction.pb.h:458
Definition: friction.pb.h:141
Friction & operator=(const Friction &from)
Definition: friction.pb.h:263
void set_use_patch_radius(bool value)
Definition: friction.pb.h:437
::ignition::msgs::Friction_Torsional * mutable_torsional()
Definition: friction.pb.h:657
::ignition::msgs::Header * mutable_header()
Definition: friction.pb.h:525
Definition: vector3d.pb.h:56
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: friction.pb.h:95
Friction_Torsional Torsional
Definition: friction.pb.h:314
void set_allocated_fdir1(::ignition::msgs::Vector3d *fdir1)
Definition: friction.pb.h:606
void set_slip(double value)
Definition: friction.pb.h:405
Friction_Torsional * New() const
Definition: friction.pb.h:160
double patch_radius() const
Definition: friction.pb.h:447
void clear_mu()
Definition: friction.pb.h:552
bool has_ode() const
Definition: friction.pb.h:472
void set_mu2(double value)
Definition: friction.pb.h:573
void clear_ode()
Definition: friction.pb.h:475
int GetCachedSize() const
Definition: friction.pb.h:180
double mu() const
Definition: friction.pb.h:555
double slip() const
Definition: friction.pb.h:401
void set_slip1(double value)
Definition: friction.pb.h:625
bool has_torsional() const
Definition: friction.pb.h:646
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: friction.pb.h:292
std::shared_ptr< const Friction > ConstFrictionSharedPtr
Definition: friction.pb.h:692
void clear_patch_radius()
Definition: friction.pb.h:444
void set_allocated_header(::ignition::msgs::Header *header)
Definition: friction.pb.h:540