Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/tactile.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/tactile.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2ftactile_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2ftactile_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>
34 #ifndef _MSC_VER
35 #pragma GCC system_header
36 #else
37 #pragma warning(push)
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
39 #endif
40 #ifdef __linux__
41 #include <sys/sysmacros.h>
42 #endif
43 #include <memory>
44 #include <ignition/msgs/Export.hh>
45 // @@protoc_insertion_point(includes)
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2ftactile_2eproto IGNITION_MSGS_VISIBLE
47 
49 // Internal implementation detail -- do not use these members.
50 struct IGNITION_MSGS_VISIBLE TableStruct {
51  static const ::google::protobuf::internal::ParseTableField entries[];
52  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53  static const ::google::protobuf::internal::ParseTable schema[1];
54  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55  static const ::google::protobuf::internal::SerializationTable serialization_table[];
56  static const ::google::protobuf::uint32 offsets[];
57 };
58 void IGNITION_MSGS_VISIBLE AddDescriptors();
59 } // namespace protobuf_ignition_2fmsgs_2ftactile_2eproto
60 namespace ignition {
61 namespace msgs {
62 class Tactile;
63 class TactileDefaultTypeInternal;
64 IGNITION_MSGS_VISIBLE extern TactileDefaultTypeInternal _Tactile_default_instance_;
65 } // namespace msgs
66 } // namespace ignition
67 namespace google {
68 namespace protobuf {
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Tactile* Arena::CreateMaybeMessage<::ignition::msgs::Tactile>(Arena*);
70 } // namespace protobuf
71 } // namespace google
72 namespace ignition {
73 namespace msgs {
74 
75 // ===================================================================
76 
77 class IGNITION_MSGS_VISIBLE Tactile : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Tactile) */ {
78  public:
79  Tactile();
80  virtual ~Tactile();
81 
82  Tactile(const Tactile& from);
83 
84  inline Tactile& operator=(const Tactile& from) {
85  CopyFrom(from);
86  return *this;
87  }
88  #if LANG_CXX11
89  Tactile(Tactile&& from) noexcept
90  : Tactile() {
91  *this = ::std::move(from);
92  }
93 
94  inline Tactile& operator=(Tactile&& from) noexcept {
95  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96  if (this != &from) InternalSwap(&from);
97  } else {
98  CopyFrom(from);
99  }
100  return *this;
101  }
102  #endif
103  static const ::google::protobuf::Descriptor* descriptor();
104  static const Tactile& default_instance();
105 
106  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
107  static inline const Tactile* internal_default_instance() {
108  return reinterpret_cast<const Tactile*>(
110  }
111  static constexpr int kIndexInFileMessages =
112  0;
113 
114  void Swap(Tactile* other);
115  friend void swap(Tactile& a, Tactile& b) {
116  a.Swap(&b);
117  }
118 
119  // implements Message ----------------------------------------------
120 
121  inline Tactile* New() const final {
122  return CreateMaybeMessage<Tactile>(NULL);
123  }
124 
125  Tactile* New(::google::protobuf::Arena* arena) const final {
126  return CreateMaybeMessage<Tactile>(arena);
127  }
128  void CopyFrom(const ::google::protobuf::Message& from) final;
129  void MergeFrom(const ::google::protobuf::Message& from) final;
130  void CopyFrom(const Tactile& from);
131  void MergeFrom(const Tactile& from);
132  void Clear() final;
133  bool IsInitialized() const final;
134 
135  size_t ByteSizeLong() const final;
136  bool MergePartialFromCodedStream(
137  ::google::protobuf::io::CodedInputStream* input) final;
138  void SerializeWithCachedSizes(
139  ::google::protobuf::io::CodedOutputStream* output) const final;
140  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141  bool deterministic, ::google::protobuf::uint8* target) const final;
142  int GetCachedSize() const final { return _cached_size_.Get(); }
143 
144  private:
145  void SharedCtor();
146  void SharedDtor();
147  void SetCachedSize(int size) const final;
148  void InternalSwap(Tactile* other);
149  private:
150  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
151  return NULL;
152  }
153  inline void* MaybeArenaPtr() const {
154  return NULL;
155  }
156  public:
157 
158  ::google::protobuf::Metadata GetMetadata() const final;
159 
160  // nested types ----------------------------------------------------
161 
162  // accessors -------------------------------------------------------
163 
164  // repeated string collision_name = 2;
165  int collision_name_size() const;
166  void clear_collision_name();
167  static const int kCollisionNameFieldNumber = 2;
168  const ::std::string& collision_name(int index) const;
169  ::std::string* mutable_collision_name(int index);
170  void set_collision_name(int index, const ::std::string& value);
171  #if LANG_CXX11
172  void set_collision_name(int index, ::std::string&& value);
173  #endif
174  void set_collision_name(int index, const char* value);
175  void set_collision_name(int index, const char* value, size_t size);
176  ::std::string* add_collision_name();
177  void add_collision_name(const ::std::string& value);
178  #if LANG_CXX11
179  void add_collision_name(::std::string&& value);
180  #endif
181  void add_collision_name(const char* value);
182  void add_collision_name(const char* value, size_t size);
183  const ::google::protobuf::RepeatedPtrField< ::std::string>& collision_name() const;
184  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_collision_name();
185 
186  // repeated uint32 collision_id = 3;
187  int collision_id_size() const;
188  void clear_collision_id();
189  static const int kCollisionIdFieldNumber = 3;
190  ::google::protobuf::uint32 collision_id(int index) const;
191  void set_collision_id(int index, ::google::protobuf::uint32 value);
192  void add_collision_id(::google::protobuf::uint32 value);
193  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
194  collision_id() const;
195  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
196  mutable_collision_id();
197 
198  // repeated double pressure = 4;
199  int pressure_size() const;
200  void clear_pressure();
201  static const int kPressureFieldNumber = 4;
202  double pressure(int index) const;
203  void set_pressure(int index, double value);
204  void add_pressure(double value);
205  const ::google::protobuf::RepeatedField< double >&
206  pressure() const;
207  ::google::protobuf::RepeatedField< double >*
208  mutable_pressure();
209 
210  // .ignition.msgs.Header header = 1;
211  bool has_header() const;
212  void clear_header();
213  static const int kHeaderFieldNumber = 1;
214  private:
215  const ::ignition::msgs::Header& _internal_header() const;
216  public:
217  const ::ignition::msgs::Header& header() const;
218  ::ignition::msgs::Header* release_header();
219  ::ignition::msgs::Header* mutable_header();
220  void set_allocated_header(::ignition::msgs::Header* header);
221 
222  // @@protoc_insertion_point(class_scope:ignition.msgs.Tactile)
223  private:
224 
225  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
226  ::google::protobuf::RepeatedPtrField< ::std::string> collision_name_;
227  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > collision_id_;
228  mutable int _collision_id_cached_byte_size_;
229  ::google::protobuf::RepeatedField< double > pressure_;
230  mutable int _pressure_cached_byte_size_;
231  ::ignition::msgs::Header* header_;
232  mutable ::google::protobuf::internal::CachedSize _cached_size_;
233  friend struct ::protobuf_ignition_2fmsgs_2ftactile_2eproto::TableStruct;
234 };
235 // ===================================================================
236 
237 
238 // ===================================================================
239 
240 #ifdef __GNUC__
241  #pragma GCC diagnostic push
242  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
243 #endif // __GNUC__
244 // Tactile
245 
246 // .ignition.msgs.Header header = 1;
247 inline bool Tactile::has_header() const {
248  return this != internal_default_instance() && header_ != NULL;
249 }
250 inline const ::ignition::msgs::Header& Tactile::_internal_header() const {
251  return *header_;
252 }
253 inline const ::ignition::msgs::Header& Tactile::header() const {
254  const ::ignition::msgs::Header* p = header_;
255  // @@protoc_insertion_point(field_get:ignition.msgs.Tactile.header)
256  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
258 }
259 inline ::ignition::msgs::Header* Tactile::release_header() {
260  // @@protoc_insertion_point(field_release:ignition.msgs.Tactile.header)
261 
262  ::ignition::msgs::Header* temp = header_;
263  header_ = NULL;
264  return temp;
265 }
266 inline ::ignition::msgs::Header* Tactile::mutable_header() {
267 
268  if (header_ == NULL) {
269  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
270  header_ = p;
271  }
272  // @@protoc_insertion_point(field_mutable:ignition.msgs.Tactile.header)
273  return header_;
274 }
276  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
277  if (message_arena == NULL) {
278  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
279  }
280  if (header) {
281  ::google::protobuf::Arena* submessage_arena = NULL;
282  if (message_arena != submessage_arena) {
283  header = ::google::protobuf::internal::GetOwnedMessage(
284  message_arena, header, submessage_arena);
285  }
286 
287  } else {
288 
289  }
290  header_ = header;
291  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Tactile.header)
292 }
293 
294 // repeated string collision_name = 2;
295 inline int Tactile::collision_name_size() const {
296  return collision_name_.size();
297 }
299  collision_name_.Clear();
300 }
301 inline const ::std::string& Tactile::collision_name(int index) const {
302  // @@protoc_insertion_point(field_get:ignition.msgs.Tactile.collision_name)
303  return collision_name_.Get(index);
304 }
305 inline ::std::string* Tactile::mutable_collision_name(int index) {
306  // @@protoc_insertion_point(field_mutable:ignition.msgs.Tactile.collision_name)
307  return collision_name_.Mutable(index);
308 }
309 inline void Tactile::set_collision_name(int index, const ::std::string& value) {
310  // @@protoc_insertion_point(field_set:ignition.msgs.Tactile.collision_name)
311  collision_name_.Mutable(index)->assign(value);
312 }
313 #if LANG_CXX11
314 inline void Tactile::set_collision_name(int index, ::std::string&& value) {
315  // @@protoc_insertion_point(field_set:ignition.msgs.Tactile.collision_name)
316  collision_name_.Mutable(index)->assign(std::move(value));
317 }
318 #endif
319 inline void Tactile::set_collision_name(int index, const char* value) {
320  GOOGLE_DCHECK(value != NULL);
321  collision_name_.Mutable(index)->assign(value);
322  // @@protoc_insertion_point(field_set_char:ignition.msgs.Tactile.collision_name)
323 }
324 inline void Tactile::set_collision_name(int index, const char* value, size_t size) {
325  collision_name_.Mutable(index)->assign(
326  reinterpret_cast<const char*>(value), size);
327  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Tactile.collision_name)
328 }
329 inline ::std::string* Tactile::add_collision_name() {
330  // @@protoc_insertion_point(field_add_mutable:ignition.msgs.Tactile.collision_name)
331  return collision_name_.Add();
332 }
333 inline void Tactile::add_collision_name(const ::std::string& value) {
334  collision_name_.Add()->assign(value);
335  // @@protoc_insertion_point(field_add:ignition.msgs.Tactile.collision_name)
336 }
337 #if LANG_CXX11
338 inline void Tactile::add_collision_name(::std::string&& value) {
339  collision_name_.Add(std::move(value));
340  // @@protoc_insertion_point(field_add:ignition.msgs.Tactile.collision_name)
341 }
342 #endif
343 inline void Tactile::add_collision_name(const char* value) {
344  GOOGLE_DCHECK(value != NULL);
345  collision_name_.Add()->assign(value);
346  // @@protoc_insertion_point(field_add_char:ignition.msgs.Tactile.collision_name)
347 }
348 inline void Tactile::add_collision_name(const char* value, size_t size) {
349  collision_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
350  // @@protoc_insertion_point(field_add_pointer:ignition.msgs.Tactile.collision_name)
351 }
352 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
354  // @@protoc_insertion_point(field_list:ignition.msgs.Tactile.collision_name)
355  return collision_name_;
356 }
357 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
359  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Tactile.collision_name)
360  return &collision_name_;
361 }
362 
363 // repeated uint32 collision_id = 3;
364 inline int Tactile::collision_id_size() const {
365  return collision_id_.size();
366 }
368  collision_id_.Clear();
369 }
370 inline ::google::protobuf::uint32 Tactile::collision_id(int index) const {
371  // @@protoc_insertion_point(field_get:ignition.msgs.Tactile.collision_id)
372  return collision_id_.Get(index);
373 }
374 inline void Tactile::set_collision_id(int index, ::google::protobuf::uint32 value) {
375  collision_id_.Set(index, value);
376  // @@protoc_insertion_point(field_set:ignition.msgs.Tactile.collision_id)
377 }
378 inline void Tactile::add_collision_id(::google::protobuf::uint32 value) {
379  collision_id_.Add(value);
380  // @@protoc_insertion_point(field_add:ignition.msgs.Tactile.collision_id)
381 }
382 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
384  // @@protoc_insertion_point(field_list:ignition.msgs.Tactile.collision_id)
385  return collision_id_;
386 }
387 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
389  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Tactile.collision_id)
390  return &collision_id_;
391 }
392 
393 // repeated double pressure = 4;
394 inline int Tactile::pressure_size() const {
395  return pressure_.size();
396 }
397 inline void Tactile::clear_pressure() {
398  pressure_.Clear();
399 }
400 inline double Tactile::pressure(int index) const {
401  // @@protoc_insertion_point(field_get:ignition.msgs.Tactile.pressure)
402  return pressure_.Get(index);
403 }
404 inline void Tactile::set_pressure(int index, double value) {
405  pressure_.Set(index, value);
406  // @@protoc_insertion_point(field_set:ignition.msgs.Tactile.pressure)
407 }
408 inline void Tactile::add_pressure(double value) {
409  pressure_.Add(value);
410  // @@protoc_insertion_point(field_add:ignition.msgs.Tactile.pressure)
411 }
412 inline const ::google::protobuf::RepeatedField< double >&
414  // @@protoc_insertion_point(field_list:ignition.msgs.Tactile.pressure)
415  return pressure_;
416 }
417 inline ::google::protobuf::RepeatedField< double >*
419  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Tactile.pressure)
420  return &pressure_;
421 }
422 
423 #ifdef __GNUC__
424  #pragma GCC diagnostic pop
425 #endif // __GNUC__
426 
431 // @@protoc_insertion_point(namespace_scope)
432 
433 } // namespace msgs
434 } // namespace ignition
435 
436 #ifdef _MSC_VER
437 #pragma warning(pop)
438 #endif
439 // @@protoc_insertion_point(global_scope)
440 
441 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2ftactile_2eproto
void IGNITION_MSGS_VISIBLE AddDescriptors()
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:259
STL class.
STL class.
void clear_pressure()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:397
T move(T... args)
IGNITION_MSGS_VISIBLE TactileDefaultTypeInternal _Tactile_default_instance_
::std::string * add_collision_name()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:329
int collision_name_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:295
void Swap(Tactile *other)
void set_pressure(int index, double value)
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:404
friend void swap(Tactile &a, Tactile &b)
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:115
::google::protobuf::RepeatedField< double > * mutable_pressure()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:418
const ::google::protobuf::RepeatedPtrField< ::std::string > & collision_name() const
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:353
Tactile * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:121
std::shared_ptr< Tactile > TactileSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:429
void set_collision_name(int index, const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:309
const ::google::protobuf::RepeatedField< double > & pressure() const
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:413
static const Tactile * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:107
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & collision_id() const
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:383
std::unique_ptr< Tactile > TactileUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:427
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:247
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:253
int pressure_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:394
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_collision_id()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:388
void add_pressure(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:408
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:77
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_collision_name()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:358
std::unique_ptr< const Tactile > ConstTactileUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:428
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:266
void set_collision_id(int index, ::google::protobuf::uint32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:374
std::shared_ptr< const Tactile > ConstTactileSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:430
void add_collision_id(::google::protobuf::uint32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:378
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
STL namespace.
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
Tactile & operator=(const Tactile &from)
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:84
void clear_collision_name()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:298
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:48
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:50
int collision_id_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:364
STL class.
void clear_collision_id()
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:367
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
Tactile * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:125
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/tactile.pb.h:275