Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/wheel_slip_parameters_cmd.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fwheel_5fslip_5fparameters_5fcmd_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fwheel_5fslip_5fparameters_5fcmd_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < 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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fwheel_5fslip_5fparameters_5fcmd_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[1];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fwheel_5fslip_5fparameters_5fcmd_2eproto
61 namespace ignition {
62 namespace msgs {
63 class WheelSlipParametersCmd;
64 class WheelSlipParametersCmdDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern WheelSlipParametersCmdDefaultTypeInternal _WheelSlipParametersCmd_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WheelSlipParametersCmd* Arena::CreateMaybeMessage<::ignition::msgs::WheelSlipParametersCmd>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE WheelSlipParametersCmd : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.WheelSlipParametersCmd) */ {
79  public:
81  virtual ~WheelSlipParametersCmd();
82 
84 
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
92  *this = ::std::move(from);
93  }
94 
95  inline WheelSlipParametersCmd& operator=(WheelSlipParametersCmd&& from) noexcept {
96  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103  #endif
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const WheelSlipParametersCmd& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  return reinterpret_cast<const WheelSlipParametersCmd*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(WheelSlipParametersCmd* other);
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline WheelSlipParametersCmd* New() const final {
123  return CreateMaybeMessage<WheelSlipParametersCmd>(NULL);
124  }
125 
126  WheelSlipParametersCmd* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<WheelSlipParametersCmd>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const WheelSlipParametersCmd& from);
132  void MergeFrom(const WheelSlipParametersCmd& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
136  size_t ByteSizeLong() const final;
137  bool MergePartialFromCodedStream(
138  ::google::protobuf::io::CodedInputStream* input) final;
139  void SerializeWithCachedSizes(
140  ::google::protobuf::io::CodedOutputStream* output) const final;
141  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142  bool deterministic, ::google::protobuf::uint8* target) const final;
143  int GetCachedSize() const final { return _cached_size_.Get(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(WheelSlipParametersCmd* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // .ignition.msgs.Header header = 1;
166  bool has_header() const;
167  void clear_header();
168  static const int kHeaderFieldNumber = 1;
169  private:
170  const ::ignition::msgs::Header& _internal_header() const;
171  public:
172  const ::ignition::msgs::Header& header() const;
173  ::ignition::msgs::Header* release_header();
174  ::ignition::msgs::Header* mutable_header();
175  void set_allocated_header(::ignition::msgs::Header* header);
176 
177  // .ignition.msgs.Entity entity = 2;
178  bool has_entity() const;
179  void clear_entity();
180  static const int kEntityFieldNumber = 2;
181  private:
182  const ::ignition::msgs::Entity& _internal_entity() const;
183  public:
184  const ::ignition::msgs::Entity& entity() const;
185  ::ignition::msgs::Entity* release_entity();
186  ::ignition::msgs::Entity* mutable_entity();
187  void set_allocated_entity(::ignition::msgs::Entity* entity);
188 
189  // double slip_compliance_lateral = 4;
190  void clear_slip_compliance_lateral();
191  static const int kSlipComplianceLateralFieldNumber = 4;
192  double slip_compliance_lateral() const;
193  void set_slip_compliance_lateral(double value);
194 
195  // double slip_compliance_longitudinal = 5;
196  void clear_slip_compliance_longitudinal();
197  static const int kSlipComplianceLongitudinalFieldNumber = 5;
198  double slip_compliance_longitudinal() const;
199  void set_slip_compliance_longitudinal(double value);
200 
201  // @@protoc_insertion_point(class_scope:ignition.msgs.WheelSlipParametersCmd)
202  private:
203 
204  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
205  ::ignition::msgs::Header* header_;
206  ::ignition::msgs::Entity* entity_;
207  double slip_compliance_lateral_;
208  double slip_compliance_longitudinal_;
209  mutable ::google::protobuf::internal::CachedSize _cached_size_;
211 };
212 // ===================================================================
213 
214 
215 // ===================================================================
216 
217 #ifdef __GNUC__
218  #pragma GCC diagnostic push
219  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
220 #endif // __GNUC__
221 // WheelSlipParametersCmd
222 
223 // .ignition.msgs.Header header = 1;
225  return this != internal_default_instance() && header_ != NULL;
226 }
227 inline const ::ignition::msgs::Header& WheelSlipParametersCmd::_internal_header() const {
228  return *header_;
229 }
230 inline const ::ignition::msgs::Header& WheelSlipParametersCmd::header() const {
231  const ::ignition::msgs::Header* p = header_;
232  // @@protoc_insertion_point(field_get:ignition.msgs.WheelSlipParametersCmd.header)
233  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
235 }
236 inline ::ignition::msgs::Header* WheelSlipParametersCmd::release_header() {
237  // @@protoc_insertion_point(field_release:ignition.msgs.WheelSlipParametersCmd.header)
238 
239  ::ignition::msgs::Header* temp = header_;
240  header_ = NULL;
241  return temp;
242 }
243 inline ::ignition::msgs::Header* WheelSlipParametersCmd::mutable_header() {
244 
245  if (header_ == NULL) {
246  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
247  header_ = p;
248  }
249  // @@protoc_insertion_point(field_mutable:ignition.msgs.WheelSlipParametersCmd.header)
250  return header_;
251 }
253  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
254  if (message_arena == NULL) {
255  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
256  }
257  if (header) {
258  ::google::protobuf::Arena* submessage_arena = NULL;
259  if (message_arena != submessage_arena) {
260  header = ::google::protobuf::internal::GetOwnedMessage(
261  message_arena, header, submessage_arena);
262  }
263 
264  } else {
265 
266  }
267  header_ = header;
268  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WheelSlipParametersCmd.header)
269 }
270 
271 // .ignition.msgs.Entity entity = 2;
273  return this != internal_default_instance() && entity_ != NULL;
274 }
275 inline const ::ignition::msgs::Entity& WheelSlipParametersCmd::_internal_entity() const {
276  return *entity_;
277 }
278 inline const ::ignition::msgs::Entity& WheelSlipParametersCmd::entity() const {
279  const ::ignition::msgs::Entity* p = entity_;
280  // @@protoc_insertion_point(field_get:ignition.msgs.WheelSlipParametersCmd.entity)
281  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Entity*>(
283 }
284 inline ::ignition::msgs::Entity* WheelSlipParametersCmd::release_entity() {
285  // @@protoc_insertion_point(field_release:ignition.msgs.WheelSlipParametersCmd.entity)
286 
287  ::ignition::msgs::Entity* temp = entity_;
288  entity_ = NULL;
289  return temp;
290 }
291 inline ::ignition::msgs::Entity* WheelSlipParametersCmd::mutable_entity() {
292 
293  if (entity_ == NULL) {
294  auto* p = CreateMaybeMessage<::ignition::msgs::Entity>(GetArenaNoVirtual());
295  entity_ = p;
296  }
297  // @@protoc_insertion_point(field_mutable:ignition.msgs.WheelSlipParametersCmd.entity)
298  return entity_;
299 }
301  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
302  if (message_arena == NULL) {
303  delete reinterpret_cast< ::google::protobuf::MessageLite*>(entity_);
304  }
305  if (entity) {
306  ::google::protobuf::Arena* submessage_arena = NULL;
307  if (message_arena != submessage_arena) {
308  entity = ::google::protobuf::internal::GetOwnedMessage(
309  message_arena, entity, submessage_arena);
310  }
311 
312  } else {
313 
314  }
315  entity_ = entity;
316  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WheelSlipParametersCmd.entity)
317 }
318 
319 // double slip_compliance_lateral = 4;
321  slip_compliance_lateral_ = 0;
322 }
324  // @@protoc_insertion_point(field_get:ignition.msgs.WheelSlipParametersCmd.slip_compliance_lateral)
325  return slip_compliance_lateral_;
326 }
328 
329  slip_compliance_lateral_ = value;
330  // @@protoc_insertion_point(field_set:ignition.msgs.WheelSlipParametersCmd.slip_compliance_lateral)
331 }
332 
333 // double slip_compliance_longitudinal = 5;
335  slip_compliance_longitudinal_ = 0;
336 }
338  // @@protoc_insertion_point(field_get:ignition.msgs.WheelSlipParametersCmd.slip_compliance_longitudinal)
339  return slip_compliance_longitudinal_;
340 }
342 
343  slip_compliance_longitudinal_ = value;
344  // @@protoc_insertion_point(field_set:ignition.msgs.WheelSlipParametersCmd.slip_compliance_longitudinal)
345 }
346 
347 #ifdef __GNUC__
348  #pragma GCC diagnostic pop
349 #endif // __GNUC__
350 
355 // @@protoc_insertion_point(namespace_scope)
356 
357 } // namespace msgs
358 } // namespace ignition
359 
360 #ifdef _MSC_VER
361 #pragma warning(pop)
362 #endif
363 // @@protoc_insertion_point(global_scope)
364 
365 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fwheel_5fslip_5fparameters_5fcmd_2eproto
IGNITION_MSGS_VISIBLE EntityDefaultTypeInternal _Entity_default_instance_
WheelSlipParametersCmd * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:126
void set_slip_compliance_lateral(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:327
void set_allocated_entity(::ignition::msgs::Entity *entity)
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:300
STL class.
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:252
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:236
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:230
std::unique_ptr< WheelSlipParametersCmd > WheelSlipParametersCmdUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:351
std::unique_ptr< const WheelSlipParametersCmd > ConstWheelSlipParametersCmdUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:352
WheelSlipParametersCmd & operator=(const WheelSlipParametersCmd &from)
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:85
WheelSlipParametersCmd * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:122
std::shared_ptr< WheelSlipParametersCmd > WheelSlipParametersCmdSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:353
double slip_compliance_lateral() const
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:323
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:224
bool has_entity() const
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:272
std::shared_ptr< const WheelSlipParametersCmd > ConstWheelSlipParametersCmdSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:354
Definition: build/ignition-msgs8/include/ignition/msgs/entity.pb.h:107
const ::ignition::msgs::Entity & entity() const
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:278
void set_slip_compliance_longitudinal(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:341
IGNITION_MSGS_VISIBLE WheelSlipParametersCmdDefaultTypeInternal _WheelSlipParametersCmd_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:49
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
::ignition::msgs::Entity * release_entity()
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:284
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:243
friend void swap(WheelSlipParametersCmd &a, WheelSlipParametersCmd &b)
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:116
double slip_compliance_longitudinal() const
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:337
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
void clear_slip_compliance_lateral()
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:320
void Swap(WheelSlipParametersCmd *other)
void clear_slip_compliance_longitudinal()
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:334
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:51
static const WheelSlipParametersCmd * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:108
STL class.
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:78
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
::ignition::msgs::Entity * mutable_entity()
Definition: build/ignition-msgs8/include/ignition/msgs/wheel_slip_parameters_cmd.pb.h:291